th claude tui: ratatui control dashboard (mode toggle + attach)#117
Merged
Conversation
…ttach) Adds `th claude tui`: a live dashboard of supervised Claude Code sessions with each one's mode and a snippet of its pane, plus single-key control — `d`/`m`/`p` flip driving/manual/paused, `a`/`enter` attach (suspends the TUI, hands the terminal to `tmux attach`, restores on return), `r` refresh, `q` quit. This is the "switch between Big Smooth driving and the session itself" surface from the orchestration plan. Key bindings, selection clamping, pane tailing, and list navigation are pure and unit-tested; the draw + event loop is the IO shell. Doc updated with `th claude mode` + `tui` (41 tests pass; clippy -D warnings clean). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DXqPyj8SvxyUbfyRPvBA6P
🦋 Changeset detectedLatest commit: da63d59 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
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.
What
Adds
th claude tui— the control dashboard for supervised Claude Code sessions, completing the "switch between Big Smooth driving and the session itself" surface from the orchestration plan (builds on #116).A live split view: left = list of supervised sessions with their mode; right = a snippet of the selected session's pane. Single-key control:
d/m/p— flip the session between driving / manual / pauseda/enter— attach (suspends the TUI, hands the terminal totmux attach, restores on return)r— refresh ·q/esc— quit ·↑↓/jk— navigateSame control is scriptable via
th claude mode <id> <mode>(shipped in #116).Verification
cargo clippy -- -D warningsclean;cargo fmtclean.key_action,clamp_selected,tail_lines,Appnavigation) is pure + unit-tested; only the draw + event loop is the IO shell.th claude mode+tuiin Using-th-CLI.md).Closes pearl th-75b557.
🤖 Generated with Claude Code