refactor: move source files into workspace crates

- Move src/* into crates/tui/src/ to create a proper workspace structure
- Add .claude/ and .trimtab/ directories for Trimtab closed-loop workflow
- Add DEPENDENCY_GRAPH.md and update documentation
- Update Cargo.toml files to reflect new crate dependencies
- Update CI workflows and npm package scripts
- All tests pass, release build works
This commit is contained in:
Hunter Bown
2026-03-11 20:00:38 -05:00
parent cc0ac49822
commit 7b91169017
171 changed files with 4326 additions and 981 deletions
+13 -2
View File
@@ -1,19 +1,30 @@
# Modes and Approvals
DeepSeek CLI has two related concepts:
DeepSeek TUI has two related concepts:
- **TUI mode**: what kind of interaction youre in (Normal/Plan/Agent/YOLO).
- **Approval mode**: how aggressively the UI asks before executing tools.
## TUI Modes
Press `Tab` to cycle: **Plan → Agent → YOLO → Plan**.
Press `Tab` to cycle forward: **Normal → Agent → YOLO → Plan → Normal**.
Press `Shift+Tab` to cycle in reverse.
- **Normal**: chat-first. Approvals for file writes, shell, and paid tools.
- **Plan**: design-first prompting. Approvals match Normal.
- **Agent**: multi-step tool use. Approvals for shell and paid tools (file writes are allowed without a prompt).
- **YOLO**: enables shell + trust mode and auto-approves all tools. Use only in trusted repos.
## Escape Key Behavior
`Esc` is a cancel stack, not a mode switch.
- Close slash menus or transient UI first.
- Cancel the active request if a turn is running.
- Discard a queued draft if the composer is empty.
- Clear the current input if text is present.
- Otherwise it is a no-op.
## Approval Mode
You can override approval behavior at runtime: