Expand description
The account’s other installs, read back from the relay for the Swarm’s cloud tier
(docs/specs/SPEC_SWARM_CLOUD_TIER_2026_11_14.md): the presence records wan_presence publishes, listed by
the relay for the signed-in account.
A record is display data. Each one is verified before it is used (the install’s own signature, its id against its key, the bounds), so the relay’s list is trusted for availability and not for correctness; nothing acts on one. The read is on demand, behind a 30-second cache: nothing runs while nobody asks. Signed out, a relay without the route, a refusal or a network error each leave no cloud tier and no error in an answer; after a network error the last good list is kept for ten minutes, ageing as time goes.
Structs§
- Cloud
Install - One verified record of another install, with when the relay heard from it on this machine’s clock.
- Cloud
View - What the Swarm reads.
- Newer
Install - A record of a version this build cannot read (a newer AgentMux published it), as far as it can be told: only the fields a plain reading of it gives, none of them verified, since its signature covers material this build cannot rebuild. It is shown as a computer that needs a newer AgentMux, never as one with agents, and never used for anything else.
- Reader
- The cache and the one read at a time.
- Relay
Source - The relay’s list, with the MuxBus sign-in’s token.
Enums§
- Cloud
State - How the last read went.
- Fetched
- What one read of the relay came to.
Traits§
- Source
- Where the list is read from.
Functions§
- cached
- The account’s other installs as they are cached, at once; a read to fill the cache is started when it is old.
Nonebeforeinstall. - install
- Start reading with this srv’s sign-in. The first call wins.
- invalidate
- A sign-in or sign-out happened: the old list is dropped and the next ask reads again.
- split
verified, and the records that are of a newer format than this build reads, each as far as can be told.- verified
- The records that verify, with their ages moved onto this machine’s clock. A record the relay heard from
ageago was seenagebeforelocal_now_ms, whatever this clock says about the relay’s: so a wrong local clock does not make a live machine stale. A goodbye is left out. - view
- The account’s other installs now, or
Nonebeforeinstall(a build with no sign-in to read with).