Visualize auto/manual mode in the TUI status bar
Problem
The current auto/manual mode (auto_mode config) is not visible in the TUI. The user has no way to know whether they're in auto mode without checking config.
Current state
auto_mode is a config flag in packages/core/src/v1/config/config.ts
- Auto mode is toggled via the
--auto CLI flag or the /auto command
- No visual indicator exists in the TUI status bar or prompt line
- The
auto-mode-btw-command change already has some related work but doesn't include a TUI indicator
Fix
Add a clear, unobtrusive indicator in the TUI that shows the current mode:
Option A: Status bar label
- Add
AUTO or MANUAL label to the existing status bar next to the model/agent display
- Style: small badge with distinct color (green for auto, gray for manual)
Option B: Prompt line indicator
- Add
(auto) or (manual) suffix to the prompt input line
- Less prominent but always visible when typing
Option C: Leader key menu
- Add a toggle in the leader key menu that shows current state
- Good for discovery but doesn't persist in the UI
Recommendation: Option A — status bar label is the most idiomatic for TUIs, always visible, and follows the pattern of other status indicators (model, agent).
Verification
- Indicator appears in status bar when auto mode is on
- Indicator disappears or changes when auto mode is off
- Indicator updates in real time when mode changes via config,
--auto flag, or /auto command
Tasks
Tasks
Visualize auto/manual mode in the TUI status bar
Problem
The current auto/manual mode (
auto_modeconfig) is not visible in the TUI. The user has no way to know whether they're in auto mode without checking config.Current state
auto_modeis a config flag inpackages/core/src/v1/config/config.ts--autoCLI flag or the/autocommandauto-mode-btw-commandchange already has some related work but doesn't include a TUI indicatorFix
Add a clear, unobtrusive indicator in the TUI that shows the current mode:
Option A: Status bar label
AUTOorMANUALlabel to the existing status bar next to the model/agent displayOption B: Prompt line indicator
(auto)or(manual)suffix to the prompt input lineOption C: Leader key menu
Recommendation: Option A — status bar label is the most idiomatic for TUIs, always visible, and follows the pattern of other status indicators (model, agent).
Verification
--autoflag, or/autocommandTasks
Tasks
packages/tui/src/