Skip to main content

handle_agent_broadcast_confirm

Function handle_agent_broadcast_confirm 

Source
pub(super) async fn handle_agent_broadcast_confirm(
    caller: Option<Extension<Caller>>,
    __arg1: Json<AgentBroadcastConfirmRequest>,
) -> impl IntoResponse
Expand description

POST /agentmux/agent/broadcast/confirm: another instance on this machine asks whether this one sent that forward from the operator’s window. Answers yes once, and only for a forward this instance sent; a request that carries an agent’s token is refused.