Skip to main content

Module handlers

Module handlers 

Source
Expand description

The two ways a window is answered from outside: the agent’s Agents ready (POST /api/v1/agent/self/ready) and the person’s “Switch now” (agent.prep.now).

Structs§

AgentPrepNowReq
agent.prep.now: end the window the agent is in and let the change run.
AgentPrepNowResult
ReadyRequest

Functions§

handle_ready_self
POST /api/v1/agent/self/ready: the caller answers the window open for its own agent. Acts only on the pane its token names, never on a name, so a prep id that leaks is no use to another agent.
refused 🔒
register
Registers agent.prep.now. Open to agents as well as the window, as every account change is: the audit row of the change names whoever asked.