Dashboard › opencode › Distillation
5db84309-a974-44b1-ba13-104af77545e8["lore_tm_v1_-YSzcALQwOenbgrP9eI4o_rSVIKR8CESwlbRQlBVNqQ","lore_tm_v1_ESM6DMjrNtTuEWKAfNPxfJaKYZsanqdQYXcW_XgJUJU","lore_tm_v1_1uwEOWddFnwVJgt8UNaHp52s5dYLxNhn6KMORVIDivQ","lore_tm_v1_QID46F7_pQy0Asl6LYdnrKmptPHRfIia7Q2TAAwXqUY","lore_tm_v1_Xb35nP22SGIH6sVWY0NtKU7Dj8vOdZtntTv0dYipn1Q","lore_tm_v1_0uSqBPDe7HRVL02gzZWsIN9v3_POdQYl_MiUJExlXSE"]
Date: Sep 8, 2026
<pty_exited> message: “Never poll with sleep and pty_read.” This instruction appears in /home/byk/.local/share/opencode-v2-pilot/config/opencode/plugins/pty.ts at line 235.bun typecheck from package directories such as packages/core, never by running tsc directly; tests likewise cannot run from the repository root because of the do-not-run-tests-from-root guard.sdk composes Client, Core, and Server.import { foo as bar } from "..." and resolve as pathResolve.import("...") references such as Schema.declare<import("@opencode/plugin/effect/plugin").Plugin["effect"]>. An aliased type import such as import type { Plugin as PluginDefinition } from "..." is permitted only as a last resort when two imported names genuinely collide.import * as Foo or import type * as Foo); namespace-style values must use the module’s own named exported namespace, e.g. import { Project } from "@opencode/core/project" and Project.ID./home/byk/Code/opencode-v2-pilot uses v2 as its default branch; new branches/worktrees default to v2 or origin/v2, pull requests default to target v2, and diffs should use v2/origin/v2 because local main may not exist..changeset files must not be added.HttpApi, the required workflow is to run bun run generate from packages/client; generated client files must not be edited directly.feat/ or fix/; examples are session-recovery, fix-scroll-state, and regenerate-sdk.type(scope): summary; valid types are feat, fix, docs, chore, refactor, and test, with optional scopes such as core, opencode, tui, app, desktop, sdk, or plugin.@opencode/client/effect/api, must not redefine existing interface functions, and may add only functions meaningful in the plugin context./home/byk/Code/opencode-v2-pilot/packages/plugin/src/promise/session.ts, /home/byk/Code/opencode-v2-pilot/packages/plugin/src/promise/adapter.ts, /home/byk/Code/opencode-v2-pilot/packages/plugin/src/promise/plugin.ts, /home/byk/Code/opencode-v2-pilot/packages/plugin/src/promise/shell.ts, and /home/byk/Code/opencode-v2-pilot/packages/plugin/src/promise/types.ts, alongside corresponding Effect implementations under /home/byk/Code/opencode-v2-pilot/packages/plugin/src/effect/.SessionEndpoints["session.synthetic"] to host.session.synthetic in /home/byk/Code/opencode-v2-pilot/packages/plugin/src/promise/adapter.ts:575.session.synthetic server handling in /home/byk/Code/opencode-v2-pilot/packages/server/src/handlers/session.ts:380-383, its HTTP endpoint in /home/byk/Code/opencode-v2-pilot/packages/protocol/src/groups/session.ts:398-414 (POST /api/session/:sessionID/synthetic, identifier v2.session.synthetic), and the generated Promise type in /home/byk/Code/opencode-v2-pilot/packages/client/src/promise/generated/types.ts:718.client.session.synthetic(...) in /home/byk/Code/opencode-v2-pilot/packages/client/test/promise.test.ts:865, plus extensive core coverage in /home/byk/Code/opencode-v2-pilot/packages/core/test/session-prompt.test.ts, /home/byk/Code/opencode-v2-pilot/packages/core/test/session-owned.test.ts, /home/byk/Code/opencode-v2-pilot/packages/core/test/session-runner.test.ts, /home/byk/Code/opencode-v2-pilot/packages/core/test/session-move.test.ts, and /home/byk/Code/opencode-v2-pilot/packages/core/test/session-execution.test.ts.