pub(crate) async fn handle_request_upgrade(
__arg0: State<AppState>,
caller: Option<Extension<Caller>>,
__arg2: Json<RequestUpgradeRequest>,
) -> ResponseExpand description
POST /api/v1/agent/self/upgrade: the App tool’s upgrade. Starts the
upgrade when the user’s own turn asked for it (self_quit::gate_upgrade: as
for QuitSelf, but not a Swarm broadcast), otherwise files a sensitive
request: the super agent decides and the person can veto the countdown.