mirror of
https://github.com/storytold/craft-anything.git
synced 2026-11-05 20:47:45 +01:00
3ac6fb137e
OpenCode had no adapter of its own, so it got the plain one: the prompt as its only argument. OpenCode reads its first argument as the folder to open, so every chat and build stopped at once with exit code 1. It now runs `opencode run [--auto] [--model …] <prompt>`; builds pass `--auto` so what OpenCode would stop to ask is allowed unless its own settings deny it, as Codex builds get a workspace-write sandbox. Flags checked against OpenCode's own `run` command. Fixes #32 Fixes #15