GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — opencode/packages/schema/src/event-manifest.ts at v2 · anomalyco/opencode Expand file tree/ Copy pathevent-manifest.tsMore file actions 103 lines (97 loc) · 3.62 KB / Copy pathevent-manifest.tsFile metadata and controls103 lines (97 loc) · 3.62 KB 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 export * as EventManifest from "./event-manifest.js" import { Schema } from "effect" import { Agent } from "./agent.js" import { Command } from "./command.js" import { Config } from "./config.js" import { Credential } from "./credential.js" import { Durable } from "./durable-event-manifest.js" import { Event } from "./event.js" import { FileSystem } from "./filesystem.js" import { FileSystemV1 } from "./filesystem-v1.js" import { Form } from "./form.js" import { InstallationEvent } from "./installation-event.js" import { Integration } from "./integration.js" import { LegacyEventV1 } from "./legacy-event.js" import { LspEvent } from "./lsp-event.js" import { LocationEvent } from "./location-event.js" import { McpEvent } from "./mcp-event.js" import { Model } from "./model.js" import { ModelsDev } from "./models-dev.js" import { Permission } from "./permission.js" import { PersistentPty } from "./persistent-pty.js" import { Plugin } from "./plugin.js" import { Project } from "./project.js" import { Provider } from "./provider.js" import { Worktree } from "./worktree.js" import { Pty } from "./pty.js" import { Reference } from "./reference.js" import { ServerEvent } from "./server-event.js" import { Shell } from "./shell.js" import { Skill } from "./skill.js" import { SessionCompactionEvent } from "./session-compaction-event.js" import { SessionEvent } from "./session-event.js" import { SessionStatusEvent } from "./session-status-event.js" import { TuiEvent } from "./tui-event.js" import { VcsEvent } from "./vcs-event.js" import { WorkspaceEvent } from "./workspace-event.js" import { WorktreeEvent } from "./worktree-event.js" import { WebSearch } from "./websearch.js" const coreDefinitions = Event.inventory(...SessionEvent.Definitions) const foundationDefinitions = Event.inventory( ...LocationEvent.Definitions, ...ModelsDev.Event.Definitions, ...Credential.Event.Definitions, ...Integration.Event.Definitions, ...Provider.Event.Definitions, ...Model.Event.Definitions, ...Agent.Event.Definitions, ...coreDefinitions, ) const featureDefinitions = Event.inventory( ...FileSystem.Event.Definitions, ...Reference.Event.Definitions, ...Permission.Event.Definitions, ...Plugin.Event.Definitions, ...Project.Event.Definitions, ...Worktree.Event.Definitions, ...Command.Event.Definitions, ...Config.Event.Definitions, ...Skill.Event.Definitions, ...Pty.Event.Definitions, ...PersistentPty.Event.Definitions, ...Shell.Event.Definitions, ...Form.Event.Definitions, ...WebSearch.Event.Definitions, ) export const ServerDefinitions = Event.inventory( ...foundationDefinitions, ...featureDefinitions, // Current events the TUI consumes from the public stream. ...SessionStatusEvent.Definitions, ...TuiEvent.Definitions, ...InstallationEvent.Definitions, ...VcsEvent.Definitions, McpEvent.StatusChanged, McpEvent.ResourcesChanged, ) export const Server = Event.latest(ServerDefinitions) export type ServerEvent = Schema.Schema.Type<(typeof ServerDefinitions)[number]> export const isServer = (event: { readonly type: string }): event is ServerEvent => Server.has(event.type) export const Definitions = Event.inventory( ...foundationDefinitions, ...InstallationEvent.Definitions, ...featureDefinitions, ...LspEvent.Definitions, ...TuiEvent.Definitions, ...McpEvent.Definitions, ...LegacyEventV1.Definitions, ...FileSystemV1.Event.Definitions, ...SessionStatusEvent.Definitions, ...SessionCompactionEvent.Definitions, ...VcsEvent.Definitions, ...WorkspaceEvent.Definitions, ...WorktreeEvent.Definitions, ...ServerEvent.Definitions, ) export const Latest = Event.latest(Definitions) export { Durable } |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |