Claude
|
81beafa2a1
|
feat(tui): Sprint 5 — chat modes, /diff, /undo, /ls commands
- Create src/chat_mode.rs: ChatMode enum (Code/Ask/Architect) with
system_prompt_suffix() for model behavior control
- /code, /ask, /architect slash commands to switch modes
- /diff — shows uncommitted git changes in conversation (no --color=always)
- /undo — shows revertable changes, /undo --confirm to actually revert
- /ls <path> — reads file contents into conversation
- /theme <name> — switches between 11 built-in themes at runtime
- /keys <preset> — switches Emacs/Vim/Windows keybindings
- ChatMode field in TuiApp, integrated with dashboard display
- 267 tests pass
Sprint 5 of 7.
Authored by TheArchitectit
|
2026-06-11 19:15:02 -05:00 |