Skip to content

Interactive TUI dashboard with keybindings #11

@chanakyav

Description

@chanakyav

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions