* feat: advance Go-first TUI and npm wrapper
* fix: address wrapper and footer review feedback
* feat: deepen Go TUI model and exec controls
* fix: address coderabbit exec and model list feedback
* fix plan mode and add test
* Address review: wire plan mode, harden test script, restore friendly errors
- Wire /plan into agent behavior: add PLAN_MODE_SYSTEM_PROMPT and a planMode
option on runAgent; App passes isPlanMode through so the agent actually
plans without editing instead of only changing UI color.
- Harden test script to "bun test ./tests --timeout 15000" for deterministic
discovery and a bounded runtime so it always exits.
- Restore friendly provider-setup/auth/network error mapping via
toFriendlyError(); debug mode still records the full error object.
- Add tests/agent-loop.test.ts covering prompt selection and the
tool-call -> result -> final-answer loop with a mock provider.
Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
---------
Co-authored-by: Kevin Codex <[email protected]>
Co-authored-by: Claude Opus 4.8 (1M context) <[email protected]>