Skip to main content

Module dashboard

Module dashboard 

Source
Expand description

Ratatui TUI status table for pane 0.

Reads from BrokerState on a 1-second tick and renders a read-only agent status table. The v0.3.0 dashboard is display-only — the only interaction is quitting with q.

Modules§

broker_log
The dashboard’s “Broker log” panel: a bounded ring buffer of observed broker messages plus the ratatui widget that renders them with per-type filtering and a details overlay.

Structs§

AgentRow
A formatted row for display in the agent status table.

Enums§

AgentTableRow
One entry in the dashboard’s agent table, either an agent row or a visual divider rendered between the pinned supervisor row and the coding-agent rows beneath it.

Functions§

arrange_with_supervisor_pinned
Reorders a slice of AgentRow so the supervisor row (if present) is pinned to position 0, followed by a AgentTableRow::Divider, with the remaining coding-agent rows in their incoming (alphabetical) order.
format_age
Formats an elapsed duration as a human-readable relative time string.
format_agent_rows
Converts raw agent status entries into formatted display rows.
format_status_line
Produces a summary status line for the dashboard footer.
render_dashboard
Renders one frame of the dashboard TUI to the given Frame.
run_dashboard
Runs the dashboard TUI, polling broker state on a 1-second tick.
run_dashboard_with_panes
Runs the dashboard with an explicit agent ID → tmux pane index map and session name. Retained for source compatibility with v0.4 launchers, but pane_map and session_name are now unused — the prompt-inbox panel that consumed them was removed in v0.5.0.
status_symbol
Maps an agent status label to a Unicode symbol.