Skip to main content

handle_agent_stop_pending_forward

Function handle_agent_stop_pending_forward 

Source
pub(super) async fn handle_agent_stop_pending_forward(
    __arg0: State<AppState>,
    __arg1: Json<AgentStopPendingForwardRequest>,
) -> impl IntoResponse
Expand description

POST /agentmux/agent/stop-pending — another instance on this machine forwards an agent’s FleetBulkStop for a block running HERE: open this instance’s own override window (banner, chime, Keep running) rather than stopping at once. The caller polls /api/v1/agent/shutdown/{request_id} here. Same trust model and gate as /agentmux/agent/stop.