Agent behavior improvements:
- Add project context detection (tsconfig.json, pom.xml, etc.)
- Enforce validation after changes (tsc --noEmit, mvn compile, etc.)
- Run tests automatically - never ask "do you want me to run tests"
- Complete full loop: create → type-check → test → confirm
- Add command detection for direct execution (run tree, run ls)
Diff view improvements:
- Use darker backgrounds for added/removed lines
- Add diffLineBgAdded, diffLineBgRemoved, diffLineText theme colors
- Improve text visibility with white text on dark backgrounds
- Update both React/Ink and SolidJS diff components
Streaming fixes:
- Fix tool call argument accumulation using OpenAI index field
- Fix streaming content display after tool calls
- Add consecutive error tracking to prevent token waste
Other changes:
- ESC to abort operations, Ctrl+C to exit
- Fix model selection when provider changes in cascade mode
- Add debug logging for troubleshooting
- Move tests to root tests/ folder
- Fix banner test GRADIENT_COLORS reference
Features:
- Add /logs command to toggle debug log panel (20% width on right)
- Debug panel shows API calls, streaming events, tool calls, state changes
- Add /help submenus with detailed command explanations
- Center all modal dialogs in the terminal window
Bug Fixes:
- Fix streaming content not displaying (add fallback when streaming fails)
- Fix permission modal shortcut key mismatch ('a' → 'l' for local scope)
- Fix agent prompt accumulation when switching agents multiple times
- Fix permission modal using brittle index for "No" option
Improvements:
- Restrict git commands (add, commit, push, etc.) unless user explicitly requests
- Unify permission options across all UI components
- Add Ollama model selection when switching to Ollama provider
- Store base system prompt to prevent agent prompt stacking
New files:
- src/tui-solid/components/debug-log-panel.tsx
- src/tui-solid/components/centered-modal.tsx
- src/tui-solid/components/help-menu.tsx
- src/tui-solid/components/help-detail.tsx
- src/constants/help-content.ts