open-design/apps/daemon
Weston Houghton 7a9dcf38d7
fix(memory): deliver OpenCode extraction prompt on stdin (#3238)
`opencode run`'s `-f, --file` is a yargs array option that greedily
consumes every trailing non-flag token, so the memory extractor's
`--file <prompt-file> "<message>"` invocation made OpenCode treat the
message text as a second attachment and exit 1 with "File not found".
Every LLM memory extraction failed for OpenCode Local CLI users.

Deliver the prompt on stdin like the chat-run path (def.promptViaStdin)
and drop the --file attachment. The connector-memory test now models
the real yargs --file array-greediness so it would catch a regression.
2026-05-30 04:48:42 +00:00
..
scripts feat(runtimes): register AMR (vela) as an ACP stdio agent (#2355) 2026-05-28 05:09:55 +00:00
src fix(memory): deliver OpenCode extraction prompt on stdin (#3238) 2026-05-30 04:48:42 +00:00
tests fix(memory): deliver OpenCode extraction prompt on stdin (#3238) 2026-05-30 04:48:42 +00:00
package.json feat(runtimes): register AMR (vela) as an ACP stdio agent (#2355) 2026-05-28 05:09:55 +00:00
tsconfig.json Refresh desktop integration control plane (#123) 2026-04-30 14:23:53 +08:00
tsconfig.tests.json Refresh desktop integration control plane (#123) 2026-04-30 14:23:53 +08:00
vitest.config.ts chore: pin dependency versions and harden CI caches (#2189) 2026-05-19 13:58:27 +08:00