Skip to main content

handle_version_upgrade

Function handle_version_upgrade 

pub async fn handle_version_upgrade(
    __arg0: State<AppState>,
    headers: HeaderMap,
    body: Bytes,
) -> impl IntoResponse
Expand description

POST /api/version/upgrade — apply an upgrade via zeroclaw update.

Returns 202 with a handoff_id; the work runs on a detached task and the client polls GET /api/version/upgrade/status.