feat(dashboard): default focus to agents pane
The dashboard is primarily an agent-management surface (PRD 0020 + 0021); landing on the proposals pane was a holdover from when proposals were the only thing the dashboard showed. Default focus is now `PANE_AGENTS`, so j/k navigates the agents list immediately on launch — the operator Tabs to proposals when something queues. Focus choice still persists across operations.
This commit is contained in:
@@ -1220,7 +1220,11 @@ def _main_loop(stdscr: "curses._CursesWindow") -> None:
|
|||||||
first_seen: dict[str, float] = {}
|
first_seen: dict[str, float] = {}
|
||||||
selected = 0
|
selected = 0
|
||||||
selected_agent = 0
|
selected_agent = 0
|
||||||
focus = PANE_PROPOSALS
|
# Default focus on agents — the dashboard is now primarily an
|
||||||
|
# agent-management surface (PRD 0020 + 0021). The operator can
|
||||||
|
# Tab to proposals when something queues; until then, j/k go
|
||||||
|
# through the agents list.
|
||||||
|
focus = PANE_AGENTS
|
||||||
status_line = ""
|
status_line = ""
|
||||||
# PRD 0020: bottles spun up from inside this dashboard session.
|
# PRD 0020: bottles spun up from inside this dashboard session.
|
||||||
# Each entry: slug -> (context-manager, Bottle handle, identity).
|
# Each entry: slug -> (context-manager, Bottle handle, identity).
|
||||||
|
|||||||
Reference in New Issue
Block a user