Expand description
Agents list and Agents status across machines (docs/specs/SPEC_MUXAPI_AGENT_LIVE_FACTS_2026_11_20.md ยง6):
host names one LAN peer, or all for this machine and every pinned peer. Each peer is asked agents.status
at once with a short wait; a peer that does not answer, or is too old to know the op, is listed by what the LAN
poll already says of it (facts: "liveness_only") and named in the hosts block. Nothing is guessed: a missing
field is absent.
Structsยง
- Peer
Reply ๐ - What a peer said to
agents.status, or why it did not. - Tally ๐
- What
Agents statusadds up over the machines.
Constantsยง
- PEER_
WAIT ๐ - How long a peer has to answer before it is listed as unreachable.
Functionsยง
- across ๐
Agents listorAgents statuswithhost: one peer, orall.- add_
counts ๐ - ask ๐
- host_
entry ๐ - One entry of the
hostsblock. - line_
with_ ๐host - A status line with its machine as the second column:
name | host | state .... - liveness_
rows ๐ - A peerโs agents as the LAN poll lists them: name, state, provider and kind, and nothing else.
- merge_
list ๐ Agents listacross machines: every machineโs rows, each saying which machine it came from, and thehostsblock.- merge_
status ๐ Agents statusacross machines: the lines with their machine, the counts added up (and by machine), the groups merged.- peers_
of ๐ - The peers
host: allasks, from the local answerโspeers: one per instance, with what the LAN poll says of each. - reply_
of ๐ - How a peerโs answer to the op reads: its facts, or the state it is in and why.
- tagged ๐
- target_
of ๐ - The name a peer is asked by:
name, orname/channel[/install]so two instances of one machine are told apart. - this_
host_ ๐entry - This machineโs own
hostsentry.