Expand description
HTTP routes for the Quickstart flow.
Thin wrapper over zeroclaw_runtime::quickstart::{validate_only, apply}.
Routes:
GET /api/quickstart/state— current Quickstart state (completed flag + live-config slices for each step’s “Use existing” section).POST /api/quickstart/validate— runvalidate_onlyagainst the submittedBuilderSubmission; returns{ ok: true }or{ ok: false, errors: [...] }.POST /api/quickstart/apply— atomically apply the submission, then signal an in-place daemon reload through the existingreload_txwatch channel (same mechanism/admin/reloaduses); returns theAppliedAgentsummary or a structured error list.
All business logic lives in zeroclaw-runtime; this module is route
plumbing only.
Structs§
Enums§
Functions§
- handle_
apply - handle_
dismiss - handle_
fields - handle_
state 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 byzeroclaw_runtime::quickstart::QuickstartState; both transports build the body viazeroclaw_runtime::quickstart::snapshot_stateso they cannot drift.- handle_
validate