Problem
autopilot status --watch currently provides an auto-refreshing table display but is non-interactive — you can only watch, not act.
Inspired by gavraz/recon's table view, we should add an interactive TUI with keybindings to the --watch mode:
Proposed Keybindings
| Key |
Action |
j / k |
Navigate sessions up/down |
Enter |
Attach to selected session (switch tmux) |
x |
Kill/stop selected session |
i / Tab |
Jump to next session waiting for input |
r |
Force refresh |
q / Esc |
Quit |
Implementation Notes
- Could use
rich + textual for the TUI, or a lighter-weight approach with raw terminal handling
- The current
_status_watch function with rich.live.Live is the foundation
- Session state is already in SQLite so polling is cheap
- tmux integration (
switch-client, kill-session) already exists in cmd_attach and cmd_stop
Context
This was intentionally deferred from PR #10 which shipped the simpler --watch auto-refresh as a first step.
Problem
autopilot status --watchcurrently provides an auto-refreshing table display but is non-interactive — you can only watch, not act.Inspired by gavraz/recon's table view, we should add an interactive TUI with keybindings to the
--watchmode:Proposed Keybindings
j/kEnterxi/Tabrq/EscImplementation Notes
rich+textualfor the TUI, or a lighter-weight approach with raw terminal handling_status_watchfunction withrich.live.Liveis the foundationswitch-client,kill-session) already exists incmd_attachandcmd_stopContext
This was intentionally deferred from PR #10 which shipped the simpler
--watchauto-refresh as a first step.