AgentCliHubDriver extension

on

Methods

handleMailCommand(String rest) → Future<void>

Available on AgentCli, provided by the AgentCliHubDriver extension

/mail - the deferred-panel history; /mail <id> - one panel in full with its reply prefill.
handleReplyCommand(String rest) → Future<void>

Available on AgentCli, provided by the AgentCliHubDriver extension

/reply <id|address> <text> - direct-send to a panel's reply mailbox (absolute addresses go cross-instance) or to a live sibling id.
hubActionForTest(String action, String? key) → Future<void>

Available on AgentCli, provided by the AgentCliHubDriver extension

Test seam: the overlay action router (enter / back / close) the TUI routes its hub keys onto.
hubMailCountsForTest() → Future<Map<String, int>>

Available on AgentCli, provided by the AgentCliHubDriver extension

Test seam: refreshes the pending-inbox counts (the async half of the mail:N markers) and returns the snapshot the tree rows render with.
hubTranscriptForTest(String id) → Future<(List<String>, bool)>

Available on AgentCli, provided by the AgentCliHubDriver extension

Test seam: the transcript push for id (the overlay's enter target).
hubTreeForTest() → (List<HubRow>, HubFooter)

Available on AgentCli, provided by the AgentCliHubDriver extension

Test seam: the live fleet snapshot + aggregates the tree overlay renders from (the same upsert + rows assembly as _pushHubTree).
openAgentsHubOverlay() → Future<void>

Available on AgentCli, provided by the AgentCliHubDriver extension

Opens the hub overlay (/agents bare in the TUI). Line mode keeps the Variant-B picker (no full-screen surface to render into).
pushHubTreeForTest(FaTuiController controller) → void

Available on AgentCli, provided by the AgentCliHubDriver extension

Test seam: pushes the tree overlay into controller — the same _pushHubTree assembly the TUI-attached /agents runs — so driver tests can cover it without a PTY model loop.