cloudaxe-opencode/packages/opencode
Simon Klee f2f8efa411
cli: fix question recovery matching wrong session
The recovery logic matched questions by checking if the list was
non-empty, which caused it to pick up stale questions from earlier
turns. When a re-ask fired, the wrong question could resolve the
blocker, leaving the real question undelivered and the process stuck.

Match questions by messageID and callID from the originating tool part
so only the correct question unblocks the prompt.

Fixes #27503
2026-05-18 10:09:06 +02:00
..
bin fix(cli): forward signals from npm shim (#26259) 2026-05-08 14:00:51 -05:00
migration chore: generate 2026-05-12 05:20:22 +00:00
script Load models.dev snapshot from build global (#28077) 2026-05-17 21:59:44 -04:00
specs chore: generate 2026-05-16 00:44:10 +00:00
src cli: fix question recovery matching wrong session 2026-05-18 10:09:06 +02:00
test cli: fix question recovery matching wrong session 2026-05-18 10:09:06 +02:00
.gitignore Load models.dev snapshot from build global (#28077) 2026-05-17 21:59:44 -04:00
AGENTS.md refactor(instance): remove legacy runtime fallback (#27757) 2026-05-15 23:05:44 +05:30
BUN_SHELL_MIGRATION_PLAN.md
bunfig.toml
Dockerfile
drizzle.config.ts
git
package.json sync release versions for v1.15.4 2026-05-17 17:44:50 +00:00
parsers-config.ts chore: generate 2026-05-11 14:13:39 +00:00
README.md
sst-env.d.ts
tsconfig.json core: remove @effect/language-service plugin and optimize hot path type performance 2026-04-30 23:21:05 -04:00

js

To install dependencies:

bun install

To run:

bun run index.ts

This project was created using bun init in bun v1.2.12. Bun is a fast all-in-one JavaScript runtime.