Expand description
App: this AgentMux itself (docs/specs/SPEC_UPGRADE_FOR_USERS_AND_AGENTS_2026_10_15.md
§5.1, phase 4). version says what is running and whether a newer
release exists; upgrade asks for it. A tool of its own, like Stop,
because an upgrade restarts every agent: a harness can gate it
(SPEC_MUXAPI_TOOL_CONSOLIDATION_2026_10_15.md §4.1).
Functions§
- ago 🔒
- “5 min” or “2 h 10 min” for the time from
since_mstonow_ms. - ask 🔒
- Run a read-only operation on
host; an error carries the machine’s refusal in words. - ask_
with 🔒 askwith the operation’s parameters.- call 🔒
- contains_
arg 🔒 logs’contains, exactly as given: the text is searched for as written, so leading and trailing spaces are part of it (" store "does not match “storefront”) and a text of only spaces is a real filter. Only the empty string means no filter.- describe_
disk 🔒 disk’s answer, from the report: volumes, the largest build folders, older versions.- describe_
identity 🔒 - An AgentMux in words, from its
app.versionanswer: “AgentMux 0.60.22 (a release, build 0.60.22, data in channel local-main-b28b7a-0000000a, linux)”. What kind of build it is comes from the machine’s ownbuild_kind, never from the channel’s name: an upgraded release keeps the channel of the build it replaced, and the channel only says where the data is. An AgentMux from beforebuild_kindsays nothing about its kind. - describe_
logs 🔒 - A log read in words: which log, what was asked of it, how many lines passed and how many came back.
- describe_
network 🔒 network’s answer, from srv’sConnectivityStatus: one line per service, then what to make of it.- describe_
outcome 🔒 upgrade’s answer, from srv’s outcome.- describe_
reclaim 🔒 history_reclaim’s answer, from srv’s status of the request and the last reclaim.- describe_
remote_ 🔒request - A sensitive request’s state on another machine, from
app.upgradewith astatus. - describe_
status 🔒 version’s answer, from srv’sAppUpdateStatus.- describe_
volume 🔒 - disk 🔒
disk: what AgentMux filled on another machine’s disk (app.disk.report), measured there and deleting nothing. Withclean, ask that machine to clear its idle build folders (app.disk.cleanup), filed there as a sensitive request; withrequest_id, read where such a request stands.- gb 🔒
- history_
reclaim 🔒 history_reclaim: ask for the shared pane-history store’s free space to be given back at the next start, withdraw that, or read where it stands (/api/v1/agent/history/reclaim). srv records the request as this agent.- local_
health 🔒 healthon this machine, from the same report a remote call gets.- logs 🔒
logs: the last lines of AgentMux’s own srv or host log, on another machine (app.logs.tail) or, without ahost, on this one (GET /api/v1/app/logs: through srv, so a container agent reads it too).levelandcontainsare applied before the lastlinesare taken.- mb 🔒
- network 🔒
- not_
confirmed_ 🔒words - What a download says about the last restart into it that was asked for and not confirmed, as a sentence to add
after “ready to restart into”: when and why (
not_confirmed_at,not_confirmed); empty when there was none. - remote_
health 🔒 healthwith ahost: what a steward checks after an upgrade, on that machine.- remote_
history_ 🔒reclaim history_reclaimwith ahost: the same request, withdrawal or read, on that machine.- remote_
upgrade 🔒 upgradewith ahost: ask that machine to upgrade itself. It is filed there as the sensitive request a local agent’supgradefiles: its super agent decides and the person at that machine can veto the countdown, so this never starts anything by itself. Withrequest_id, read where an earlier request stands instead.- remote_
version 🔒 versionwith ahost: the AgentMux on that machine, from its own answer.- s 🔒
- upgrade 🔒
- version 🔒