Expand description
What this install says about itself beyond agent names, on the LAN fleet
feed, the UDP and mDNS records and the cloud presence record
(agentmux-mobile’s SPEC_FLEET_HOST_TAGS_AND_CLOUD_HOSTS_2026_10_06 §5–6):
each agent’s kind, how many channels this machine is running, and this
install’s id. Also each agent’s state and since when
(backend::agent_state, agentmux-mobile’s
SPEC_AGENT_STATUS_AND_LIVE_PANE_FEED_2026_10_07 §3).
The fleet feed’s change detection calls FleetSource::observe once a
second. The LAN replies, which have no fleet feed in hand, read the
channel count it last saw (latest_channels_running) and
install_id.
Structs§
- Fleet
Source - The fleet feed’s view of this instance.
Constants§
- CHANNELS_
REREAD 🔒 - How long a channel count is reused before the shared registry is read again. The registry’s own heartbeat is 20 s; reading its directory every second would buy nothing.
- MAX_
CHANNELS_ RUNNING - The upper bound of
channels_runningon every wire.
Statics§
- INSTALL_
ID 🔒 - LATEST_
CHANNELS_ 🔒RUNNING - The count
FleetSource::observelast saw; 0 before the first look.
Functions§
- count_
channels_ running - 1 for this channel plus every other channel of this machine with a live
entry in the host-global shared registry (
swarm_remote::other_channels, with itsHIDE_AFTER_MS), clamped to 1..=MAX_CHANNELS_RUNNING. A channel with no agent registered has no entry and is not counted. - install_
id - This install’s WAN instance id (26 chars of lowercase base32, a hash of
the instance public key; not a secret), or
Nonewhen this process has no WAN identity store. The instance is minted once per channel and never changes, so the first answer is kept. - kinds_
by_ name - Each agent’s kind by name, from its block. An agent whose block can’t be read is left out (a peer then shows no tag rather than a guess).
- latest_
channels_ running - The channel count the fleet feed last saw, for the UDP replies;
Nonebefore its first look.
Type Aliases§
- Agent
List 🔒 - Kind
OfBlock 🔒 - Line
OfBlock 🔒 - Registry
Read 🔒 - State
OfBlock 🔒