feat(tui): implement Claude Theater Mode TUI interface#3
Open
ibro45 wants to merge 1 commit into
Open
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implements the TUI redesign specification with an interactive, visual interface inspired by Claude Code.