Dashboard › opencode › Distillation
239e13e5-6650-487f-a609-4e186999b4b0["lore_tm_v1_nHU3Fr8zCoPIateE9fpQnLWlC2ZSyuodwfWgb20t7OY","lore_tm_v1_Jx_xV4rCqNg_s0FYvqicPbNI1roZlq_sVWIkc4A06-Q","lore_tm_v1_7b2MEnJ-Pk1CV_fEs6sbezCjcIYZw2xdBgMCtTcMLCs","lore_tm_v1_XN3th80B7C_Y8-objtQ34g9BPp5iygcRNx-Oq5g7Zzk","lore_tm_v1_LH4fwikbJlauUQCE9ZppnuFACQa3EHbCMoSdStLILbI","lore_tm_v1_p2NVnZ8lAwzs0D77PfWIGuFKrGMYFDOR5i56eEJC5fY","lore_tm_v1_vm0bDKskRfxFiDImR_El2RZ_DUPpQpa1rs3KM1636Q4","lore_tm_v1_PRAo4Ab3xVodZ1wuQqaod6oxWByAdzVEn8hDa_W6mvs","lore_tm_v1_yhB4ftcHvTRLP-wAgfCV1K2oHmYFFhEU7XAfbwM5iOo","lore_tm_v1_U0gXbhXbRqj4QBES1FQgBZWbAyha9XHtRzhxT-xVTl8","lore_tm_v1_7gCBN0PU9AHnnIZgwOM7slPHPbdVsYqjXhpcq60A5wk","lore_tm_v1_b49exFkUovCEZ2ZwZH-HiblOK7jmfgseXNoMeSg5BDk","lore_tm_v1_9K0kcFAJ-D1IB_hdCGv9WXCLsqdCrvtVzsXv3MpYRjI","lore_tm_v1_6Iq4tYO3FGXDm8-oGZlyrj3dZpxCwq5lokJAJtf7NYs","lore_tm_v1_J6C-1GRGfaUnfCi0c7aPw1eT6UKeCwDYby8wequW6os","lore_tm_v1_I-HFo4D4C9F9vRQQ80pKiEoqFc7tlZNLqfuU2EBqdnI","lore_tm_v1_DktKT3zOozl3xzU_jx_8_T7ci-18lcq398YZC9CivqA"]
Date: Sep 15, 2026
never arms durable wake for a conflicting execution retry in packages/core/test/session-prompt.test.ts verifies that retrying the same messageID with a different prompt and resume:true returns Session.PromptConflictError, leaves SessionInputTable.wake_pending=false, emits 0 PromptExecutionRequested v1 events, triggers no advisory wake, remains false after replaySessionProjection(), and triggers no wake during recover().packages/core/src/session/input.ts confirmed SessionInput.admit requires requestExecution: boolean and explicitly includes it when publishing SessionEvent.PromptAdmitted; exact retries call requestExecution(...) only when true. SessionInput.projectAdmitted writes wake_pending: input.requestExecution.SessionInput.requestExecution publishes SessionEvent.PromptExecutionRequested with deterministic ID evt_prompt_execution_${input.id} only when the input is neither promoted nor already wake-pending; duplicate-publication defects are accepted only if stored wake_pending is already true.packages/schema/src/session-event.ts, packages/core/src/session/projector.ts, and packages/core/test/session-prompt.test.ts.3 pass, 25 filtered out, 0 fail, and 11 expect() calls across 1 file in 2.90s.55 pass, 0 fail, and 158 expect() calls across 2 files in 8.04s.bun run ./src/index.ts generate using @hey-api/openapi-ts v0.90.10; generated output was written to /home/byk/Code/opencode/packages/sdk/js/src/v2/gen. Generation succeeded with the existing warning that @hey-api/sdk option instance is deprecated in favor of operations: { strategy: "single", containerName: "OpencodeClient", methods: "instance" }.2 pass, 0 fail, and 23 expect() calls across 1 file in 354.00ms; the subsequent tsgo --noEmit completed successfully.tsgo --noEmit completed successfully.tsgo --noEmit completed successfully.packages/sdk/js/src/v2/gen/types.gen.ts contains 4 optional declarations of requestExecution?: boolean, at lines 874, 3430, 4362, and 6464.SessionEvent.PromptAdmitted at durable version 1 and changed its schema in packages/schema/src/session-event.ts from required PromptFields.requestExecution to requestExecution: Schema.Boolean.pipe(optional).packages/core/src/session/projector.ts to project PromptAdmitted.requestExecution with requestExecution ?? false, so absent historical values become wake_pending=false while explicit true and explicit false retain their supplied values.packages/core/src/session/input.ts because new admissions already emit an explicit requestExecution boolean.packages/core/test/session-prompt.test.ts using a manually shaped durable v1 PromptAdmitted payload without requestExecution; it proves decoding succeeds, the input remains unpromoted with wake_pending=false, and recovery issues no wake.requestExecution:true replays as true and newly emitted requestExecution:false replays as false.packages/sdk/js/src/v2/gen/types.gen.ts; the public SDK now exposes requestExecution?: boolean.bun test --printConsoleTrace test/session-prompt.test.ts -t "historical prompt admission|durably records execution intent|reprojects pending inbox input" — 3 passed, 0 failed, 11 assertions; 2. bun test --printConsoleTrace test/session-prompt.test.ts test/session-projector.test.ts — 55 passed, 0 failed, 158 assertions; 3. bun test --printConsoleTrace test/event-manifest.test.ts — 2 passed, 0 failed, 23 assertions; 4. ./packages/sdk/js/script/build.ts — passed with only the existing @hey-api/sdk instance deprecation warning; 5. bun typecheck from packages/core — passed; 6. bun typecheck from packages/schema — passed; 7. bun typecheck from packages/sdk/js — passed; 8. git diff --check — passed.