Commit graph

3 commits

Author SHA1 Message Date
jedarden
31829c48e4 feat(tui): commit Phase 8/9 source files
- Add tui/main.go, tui/go.mod, tui/go.sum (Go + Bubble Tea TUI)
- Add CLAUDE.md with project instructions
- Add bin/trailboss-preview script
- Update bin/trailboss, bin/trailboss-start, bin/trailboss-watch
- Update PROGRESS.md and docs/plan/plan.md to reflect completion
- Add .gitignore entries for build artifacts (tui/tui, bin/trailboss-tui)
- Remove stray root main.go placeholder and ~ directory

Bead-Id: tb-25j
Co-Authored-By: Claude <noreply@anthropic.com>
2026-07-02 07:57:11 -04:00
jedarden
3e4f77289f feat(tui): add HTTP client + daemon data models
- Add Go types matching daemon /queue response (QueueItem, QueueResponse)
- Add Go types for /status response (StatusResponse)
- Add HTTP client with configurable base URL (default http://127.0.0.1:4000)
- Add 1s timeout
- Add FetchQueue() ([]QueueItem, error)
- Add PostSkip() error
- Add PostNext() (string, error)
- Add GetPaneSessionMap() to parse pane_id→session_name map via tmux list-panes -a

Co-Authored-By: Claude <noreply@anthropic.com>
2026-06-25 00:56:04 -04:00
jedarden
dd0ebbd6ce feat(tui): add Dracula lipgloss theme with auto-detection
- Define Theme struct with all Dracula palette colors
- Auto-detect terminal color support (truecolor, 256-color, no-color)
- Implement graceful fallback for dumb terminals
- Fix model theme field type to use pointer
- Colors: stopped badge (#F1FA8C), permission badge (#FF5555), selected row (#BD93F9),
  panel border (#6272A4), header bar (#282A36), status bar (#44475A),
  metadata text (#AAAAAA), accent cyan (#8BE9FD), accent green (#50FA7B)

Closes tb-6cj
2026-06-25 00:50:59 -04:00