- Convert tui.rs → tui/ directory module with legacy.rs re-export - Add Component + Overlay traits for clean separation of concerns - Build component-based TuiApp (app.rs) with pre-borrow draw pattern - Extract: ConversationPane, InputBar, Dashboard, CommandPaletteOverlay, AgentViewOverlay as independent components - Add EventBus with crossbeam-channel for component communication - Add SlashCommandDispatcher (testable, decoupled from main.rs) - Add shared MarkdownAst + parser + shared markdown utilities - Add StreamingMarkdownState stub for incremental rendering - Wire new TuiApp into main.rs::run_tui_repl() - ELIMINATE unsafe libc::dup/dup2 stdout suppression — replaced with suspend/resume pattern (same as provider swap flow) - All 320 tests pass, 57 TUI-specific tests pass |
||
|---|---|---|
| .. | ||
| api | ||
| claw-analog | ||
| claw-rag-service | ||
| commands | ||
| compat-harness | ||
| mock-anthropic-service | ||
| plugins | ||
| runtime | ||
| rusty-claude-cli | ||
| telemetry | ||
| tools | ||