Commit Graph

4 Commits

Author SHA1 Message Date
9789db5633 docs: mark Wave 2 tasks complete, update file structure and design decisions 2026-03-15 16:39:23 -05:00
9628fe5a82 docs: update TUI task tracker with handoff notes for Wave 2 2026-03-15 16:39:22 -05:00
3e7e860984 chore: update TUI task tracker — Wave 1 complete 2026-03-15 16:38:58 -05:00
9ae1bac614 feat(cli): TUI component architecture — status bars, message list, input bar
- Split monolithic app.tsx into composable components:
  - TopBar: connection indicator (●/○), gateway URL, model name, conversation ID
  - BottomBar: cwd, git branch, token usage
  - MessageList: timestamped messages, tool call indicators, thinking display
  - InputBar: context-aware prompt with streaming/disconnect states
- Extract socket logic into useSocket hook with typed events
- Extract git/cwd info into useGitInfo hook
- Quiet disconnect: single indicator instead of error flood
- Add @mosaic/types dependency for typed Socket.IO events
- Add PRD and task tracking docs

Tasks: TUI-001 through TUI-007 (Wave 1)
2026-03-15 16:38:58 -05:00