Dashboard › opencode › Distillation
e8183364-f949-434d-b63b-159486239a57["lore_tm_v1_Q3lV_nux8313mUy6qS2iUbizALz1KxIHrxFaUcAopls"]
Date: Sep 8, 2026
/home/byk/Code/opencode-v2-pilot/packages/plugin/src/promise/plugin.ts:25-52 defines Context with readonly properties: app: App, location: Location.Info, options: PluginOptions, agent: AgentDomain, aisdk: AISDKDomain, catalog: CatalogDomain, command: CommandDomain, event: EventDomain, experimental.terminal: Pick<OpenCodeClient["experimental"]["persistentPty"], "read">, integration: IntegrationDomain, mcp: MCPDomain, generate: GenerateApi, permission: PermissionDomain, plugin: Pick<PluginApi, "list">, reference: ReferenceDomain, rpc: RpcDomain, session: SessionDomain, shell: ShellDomain, skill: SkillDomain, storage: StorageDomain, tool: ToolDomain, vcs: VcsDomain, websearch: WebSearchDomain, and worktree: WorktreeDomain./home/byk/Code/opencode-v2-pilot/packages/plugin/src/promise/plugin.ts:54-63 defines Cleanup = () => Promise<void> | void, a Plugin interface with readonly id: string and readonly setup: (context: Context) => Promise<Cleanup | void> | Cleanup | void, and identity helper define(plugin: Plugin) returning plugin.