Skip to main content

handle_jobs_stop_run

Function handle_jobs_stop_run 

Source
pub(crate) async fn handle_jobs_stop_run(
    __arg0: State<AppState>,
    caller: Option<Extension<Caller>>,
    __arg2: Json<StopRunRequest>,
) -> impl IntoResponse
Expand description

POST /agentmux/jobs/stop-run: close the run this instance follows and interrupt its pane’s turn. Only a run this process follows in the named pane, that the asking AgentMux fired and asked in its row to stop. The route is on the full-key router only: not LAN-reachable, and not on the container allowlist.