Dashboard › opencode › Distillation
a347de77-5d58-432f-afe7-1ddb8f400141["lore_tm_v1_2LwbkLhXNXimNfKBnYnBXiwYGPieluZNmtFQaucjyFc","lore_tm_v1_dwATizo5kW6VfnL-m8hm8wIR1A2fAR9og3y2T-w5Ppk","lore_tm_v1_2DWjxH4m3o5NhW-Ihyq80KsiMevVzjsiqq8nHoc0c7k","lore_tm_v1_WmpDpSNu9FZSwIRmxH5AWPi8-5IEjuEuz-IBBhOEf3s","lore_tm_v1_QHwgF5kWPU38GH-sElLoALYrcye864xopZwPP6Rl4bc","lore_tm_v1_jErXT2IzB0ufGIsAFDVFveA9TnMG1wVDm_sNqp-qPwM","lore_tm_v1_Z9vQcpo-pAVlA9PaLedVkAdGNBlNpRx0wGGESAR7E1Q","lore_tm_v1_wYHKSnU7GEJwGuLDPKLxC7fkxffICmzF4693IZ2wlkM","lore_tm_v1_MIlFXNa-5Pe-0Q_6JRo7-_5DK6McHIqTdKmZRhD5JG0","lore_tm_v1_jGm5pDQBqWrwHPkRhmLpvXV2ZaBuDGXefIKclnxEOiU","lore_tm_v1_X5Z-fc_W4MPGWqvuft_H1cNnsYh7A3EdSEMEcJMIQmE","lore_tm_v1_GIJOZJuAEr4umvqSTesZStHiCJWFdmMIX8PfcglxWns","lore_tm_v1_i-iwaiAJ4G_6O3OE84vOLbiKoo-_B9saUOZRL1UkGI8","lore_tm_v1_e5EtLy4UIC0IGabCxdshb2p6_vx20uF3lBQkXS5QIHQ","lore_tm_v1_xAvCkF3fwNl3gE7p4n6TsSzKEDo0An3EbCbhfkGq67o","lore_tm_v1_kNZwG9enuBbVZMUHyIAkn41pnsNjLrR38RdZtD5mQ_0","lore_tm_v1_gkG8CvvAWl65m6_Ib8Fy7_AHIDlMChtk4T8SprH0Luc"]
Date: Sep 9, 2026
packages/opencode/test/ contains 10 test files: 1. /home/byk/Code/opencode-lore-v2/packages/opencode/test/package.test.ts, 2. /home/byk/Code/opencode-lore-v2/packages/opencode/test/server.test.ts, 3. /home/byk/Code/opencode-lore-v2/packages/opencode/test/server-runtime.test.ts, 4. /home/byk/Code/opencode-lore-v2/packages/opencode/test/tui-silence.test.ts, 5. /home/byk/Code/opencode-lore-v2/packages/opencode/test/subagent-detection.test.ts, 6. /home/byk/Code/opencode-lore-v2/packages/opencode/test/session-state.test.ts, 7. /home/byk/Code/opencode-lore-v2/packages/opencode/test/routing.e2e.test.ts, 8. /home/byk/Code/opencode-lore-v2/packages/opencode/test/internal.test.ts, 9. /home/byk/Code/opencode-lore-v2/packages/opencode/test/index.test.ts, 10. /home/byk/Code/opencode-lore-v2/packages/opencode/test/gateway-smoke.test.ts.@opencode/plugin was not found at root path /home/byk/Code/opencode-lore-v2/node_modules/@opencode/plugin; package-local /home/byk/Code/opencode-lore-v2/packages/opencode/node_modules contains .bin/, @loreai/, @opencode-ai/, @opencode/, and @types/./home/byk/Code/opencode-lore-v2/packages/opencode/node_modules/@opencode/plugin exists and contains dist/ and package.json.@opencode/plugin is version 0.0.0-beta-19378, ESM ("type": "module"), MIT licensed, and defines scripts test: bun test --only-failures, typecheck: tsgo --noEmit, and build: tsc -p tsconfig.build.json.@opencode/plugin exports: root . from ./dist/promise/index.js with types ./dist/promise/index.d.ts; ./effect from ./dist/effect/index.js; ./host from ./dist/host.js; ./tui from ./dist/tui/index.js; and wildcard ./* from ./dist/*.js, each with corresponding .d.ts types.@opencode/plugin import alias #plugin-source resolves to ./dist/source.bun.js under Bun and ./dist/source.node.js under Node/default; its published files list contains dist.@opencode/plugin@0.0.0-beta-19378 runtime dependencies are @ai-sdk/provider: 3.0.8, @opencode/ai: 0.0.0-beta-19378, @opencode/client: 0.0.0-beta-19378, @opencode/protocol: 0.0.0-beta-19378, @opencode/schema: 0.0.0-beta-19378, @opencode/util: 0.0.0-beta-19378, @standard-schema/spec: 1.1.0, effect: 4.0.0-rc.112, and zod: 4.1.8.@opencode/plugin@0.0.0-beta-19378 declares optional peer dependencies @opencode/theme: 0.0.0-beta-19378, @opentui/core: >=0.5.10, @opentui/solid: >=0.5.10, and solid-js: >=1.9.0; its dev dependencies include exact versions @opencode/theme: 0.0.0-beta-19378, @opentui/core: 0.5.10, @opentui/solid: 0.5.10, @tsconfig/bun: 1.0.9, @tsconfig/node22: 22.0.2, @types/bun: 1.4.0, @types/node: 24.12.2, solid-js: 1.9.15, typescript: 5.8.2, and @typescript/native-preview: 7.0.0-dev.20251207.1./home/byk/Code/opencode-lore-v2/packages/opencode/node_modules/@opencode/plugin/dist contains 21 entries: app.d.ts, app.js, effect/, host.d.ts, host.js, options.d.ts, options.js, promise/, rpc.d.ts, rpc.js, source.bun.d.ts, source.bun.js, source.d.ts, source.js, source.node.d.ts, source.node.js, storage.d.ts, storage.js, tui/, worktree.d.ts, and worktree.js.@opencode/plugin/dist/promise contains 23 declaration/JavaScript module pairs (46 entries): adapter, agent, aisdk, catalog, command, event, index, integration, mcp, permission, plugin, reference, registration, rpc, session, shell, skill, storage, tool, types, vcs, websearch, and worktree.@opencode/plugin/dist/promise/plugin.d.ts defines Plugin as { readonly id: string; readonly setup: (context: Context) => Promise<Cleanup | void> | Cleanup | void }, Cleanup = () => Promise<void> | void, and define(plugin: Plugin): Plugin.Context interface in @opencode/plugin/dist/promise/plugin.d.ts exposes app, location, options, agent, aisdk, catalog, command, event, experimental.terminal.read, integration, mcp, generate, permission, plugin.list, reference, rpc, session, shell, skill, storage, tool, vcs, websearch, and worktree.@opencode/plugin/dist/promise/session.d.ts defines 6 session request kinds in SessionRequestKind: "primary", "compaction", "title", and "generate" (4 literal values); auxiliary requests share the session hook identity but are distinguished from the agent loop by this field.SessionModelRequest contains readonly sessionID, agent, model, and kind, plus mutable optional baseURL?: string and mutable headers: Record<string, string>.SessionHttpRequest contains readonly sessionID, agent, model, and kind, plus mutable request: Request; SessionHttpResponse adds readonly request: Request and mutable response: Response.SessionRetryDecision is either { retry: false } or { retry: true; delay: number }; SessionRetry includes readonly sessionID, agent, model, error, and attempt, with mutable decision.SessionHooks exposes prompt, context, "model.request", "http.request", "http.response", and retry; SessionDomain picks create, get, switchAgent, switchModel, prompt, generate, command, synthetic, interrupt, rename, move, wait, and context from SessionApi, plus hook: ModelHooks<SessionHooks>.SessionContext includes readonly sessionID, agent, and model, with mutable system: Array<SystemPart>, messages: Array<Message>, tools, generation: Types.DeepMutable<GenerationOptionsFields>, and providerOptions: Record<string, unknown>; unset generation fields retain route and model defaults.AgentEditor provides list(), get(id), default(id), update(id, update), and remove(id); AgentDomain extends AgentApi and adds transform: Transform<AgentEditor> plus reload: () => Promise<void>.@opencode/plugin/dist/promise/registration.d.ts defines Registration.dispose(): Promise<void>, ModelHookOptions.providerID?: string, Hooks<Spec>, ModelHooks<Spec>, and Transform<Input>; providerID limits a hook to one provider, while unscoped hooks apply to every provider./home/byk/Code/opencode-lore-v2/packages/opencode/node_modules/@opencode/schema/dist/location.d.ts was not found, and package-local /home/byk/Code/opencode-lore-v2/packages/opencode/node_modules/@opencode contains only plugin/./home/byk/Code/opencode/packages/schema/src/location.ts exports namespace Location; Location.Ref contains directory: AbsolutePath and optional workspaceID, while Location.Info contains directory, optional workspaceID, and project with id: ProjectID and directory: AbsolutePath; response(data) returns Schema.Struct({ location: Info, data }).@opencode/plugin is /home/byk/Code/opencode-lore-v2/node_modules/.pnpm/@opencode+plugin@0.0.0-beta-19378_@opentelemetry+api-logs@0.214.0_@opentelemetry+resour_adca8235564d91579da6ab6087184da7/node_modules/@opencode/plugin.