Skip to main content

handle_state

Function handle_state 

Source
pub async fn handle_state(
    __arg0: State<AppState>,
    headers: HeaderMap,
) -> impl IntoResponse
Expand description

GET /api/quickstart/state — minimal payload the Quickstart UI needs to render every step’s “Use existing” section without pulling the entire config. Response shape is owned by zeroclaw_runtime::quickstart::QuickstartState; both transports build the body via zeroclaw_runtime::quickstart::snapshot_state so they cannot drift.