hub_queue_wait_all
Wait for the first new event across all role queues, returning its role, node, and text. Non-destructive—does not consume messages, ideal for an orchestrator reacting to the first responding agent.
Instructions
Subscribe to EVERY role's queue at once and block until new content lands in ANY of them — for an orchestrator reacting to whichever agent reports first, instead of calling hub_queue_wait per role or ssh-ing into each host to poll. Returns {changed:true, events:[{role,node,text}, ...]} tagging which role/node each event came from, or {changed:false} on timeout. Uses its own offset bookkeeping — does NOT consume/steal messages from a role's own hub_queue_wait consumer, it only taps. Local/stdio only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timeout | No | seconds to block, default 45, max 540. The default is deliberately short: MCP clients abort a tool call on their own timeout (commonly ~60s) and hubd cannot see that limit. Raise it only if you know your client tolerates a longer call. |