Skip to main content

Module fleet

Module fleet 

Source
Expand description

Agent-to-agent messaging and fleet operations. Not advertised: Agents (agents_tool.rs), Message (message_tool.rs) and Stop (stop_tool.rs) call these by their old names.

EnumsΒ§

Sent πŸ”’
How one broadcast target took its jekt.

ConstantsΒ§

DISCOVERY_PARAMS πŸ”’
What narrows or shapes the answer (spec SPEC_MUXAPI_AGENT_LIVE_FACTS Β§5): passed to srv as the query string.

FunctionsΒ§

broadcast_args πŸ”’
The targets and message a broadcast was given, refused when either is missing.
broadcast_report πŸ”’
What a broadcast tells the agent: who it reached, who held it, who failed, and the files it carried.
call πŸ”’
discover_value πŸ”’
This machine’s discovery answer as a value; with all_hosts it also names the LAN peers (Agents with host: all).
discovered_block_to_agent πŸ”’
Each local and cross-channel agent’s block id mapped to its name, from discovery.
discovery_query πŸ”’
The query for the discovery endpoint from a call’s arguments: only the parameters it knows, each as text.
in_reply_to_arg πŸ”’
in_reply_to on a send: the MSGID of the message this one answers.
post_jekt πŸ”’
One signed jekt posted to inject: delivered, held until the agent is next active, or why not.
reply_arg πŸ”’
reply: "none" on a send: the message asks for no reply (the marker says REPLY=none, and srv refuses an answer to it). Any other value is an ordinary message.
run_discover_agents πŸ”’
DiscoverAgents, its fleet-framed alias FleetList and Agents status: one call to the discovery endpoint, returned as it came.
run_fleet_broadcast πŸ”’
run_fleet_bulk_stop πŸ”’
run_send_message πŸ”’
urgent_priority πŸ”’
urgent: true on a send or broadcast: deliver now, even to a session that has been idle for about an hour (srv holds a routine message for such a session until it is next active).