Skip to main content

Module app_ops

Module app_ops 

Source
Expand description

app.version and app.health: the first operations, both reads (spec §4.3). Nothing here returns a credential, a path or an address.

Functions§

activity 🔒
Whether a window of this AgentMux is focused: where the person is, for a notice meant for them.
agents_by_state 🔒
How many agents are in each lifecycle state (working, idle, limited, signed_out…), the same state Agents list shows: the fleet feed’s, from agent_state::decide.
download_summary 🔒
A download as it leaves this machine: the release and its state, and, after a restart that was asked for and not confirmed, when and why (a time and a word, no text).
handle_health 🔒
GET /api/v1/app/health: App with action health, for this machine.
health 🔒
health_report 🔒
The upgrade spec’s health report, on demand: the identity above, and what a steward checks after an upgrade (MuxBus, LAN peers, free disk, how many agents are in which state). Also what GET /api/v1/app/health gives this machine’s own agents. status is ok or degraded (the messaging path stuck, or srv panicking in bulk), with the detail under messaging.
identity 🔒
Which AgentMux this is: the facts the AGENTMUX_VERSION, AGENTMUX_BUILD and AGENTMUX_INSTANCE_CHANNEL variables carry, plus what the last release check found.
muxbus_summary 🔒
MuxBus delivery, without the signed-in account’s email or the error text.
update_summary 🔒
What the last release check found, field by field: the status struct also holds the release asset’s URL and the download’s folder, installer path and error text, none of which leaves this machine (a read needs only the first-seen pin, and discovery is unauthenticated).
version 🔒