Skip to content

feat(tui): implement Claude Theater Mode TUI interface#3

Open
ibro45 wants to merge 1 commit into
mainfrom
feat/tui-theater-mode
Open

feat(tui): implement Claude Theater Mode TUI interface#3
ibro45 wants to merge 1 commit into
mainfrom
feat/tui-theater-mode

Conversation

@ibro45
Copy link
Copy Markdown
Owner

@ibro45 ibro45 commented Feb 2, 2026

Implements the TUI redesign specification with an interactive, visual interface inspired by Claude Code.

Implements the TUI redesign specification for bmaduum with an interactive,
visual interface inspired by Claude Code.

New Features:
- Header bar with step progress, story key, model, and elapsed time
- Token-by-token text streaming animation
- Tool visualization with ⏺ and ⎿ symbols
- Thinking spinner during processing gaps
- Auto-scroll to follow new content
- Mouse wheel scrolling to view earlier output
- Only Ctrl+C keyboard shortcut for quitting

New Package: internal/tui/
- styles/: Color palette, symbols, and lipgloss styles
- events/: Event message types for Bubble Tea
- model.go: Main TUI model with state management
- update.go: Event handling and animations
- view.go: Rendering functions
- runner.go: Integration with workflow execution

CLI Changes:
- Add --tui flag to story command for single-story execution
- TUI mode works with the existing lifecycle executor
- Graceful fallback to standard output when not using TUI

Documentation:
- Update CLI_REFERENCE.md with TUI mode documentation
- Include TUI layout examples and control reference

Dependencies:
- Add github.com/charmbracelet/bubbletea
- Add github.com/charmbracelet/bubbles
- Add github.com/alecthomas/chroma/v2

Test Coverage:
- Unit tests for all TUI components
- Color palette and style validation
- Model state management tests
- Event adapter tests

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant