Module quickstart
Expand description
Quickstart apply path.
Structs§
- Applied
Agent - Field
Descriptor - Quickstart
Error - Quickstart
State - Quickstart
Type Option - Staged
Quickstart Apply - One staged quickstart application: a validated, mutated working config
plus its personality temp files, ready for the irreversible
persist-and-publish phase. Created by
stage_apply; completed either as a one-shot (complete_staged_apply, for private-config callers like the CLI) or as an admitted config commit (complete_staged_apply_as_commit, for the supervised transports).
Enums§
- Field
Section - Selector kinds that the Quickstart “field shape” descriptor covers. The TUI / web ask the runtime for the shape, then render inputs dumbly off the response.
- Quickstart
Apply Outcome - Terminal outcome of one quickstart application.
- Quickstart
Step - Surface
- Which surface invoked the Quickstart. Stamped on every event in the apply path so SSE/dashboard consumers can filter by origin without parsing message strings.
Functions§
- apply
- apply_
with_ surface - One-shot quickstart application for callers that own a private
Configwith no supervised publication domain (the CLI). Persists the staged config and installs the personality files; there is no live publication to make, so a post-commit side-effect failure is reported without any publication semantics. - apply_
with_ surface_ checked - One-shot application with a policy compile check before persistence.
- complete_
staged_ apply - Persist one staged quickstart and install its personality files
without a publication domain. A persistence failure returns with
nothing committed; a personality failure returns
QuickstartApplyOutcome::CommittedWithSideEffectErrorsbecause the config is already on disk. - complete_
staged_ apply_ as_ commit - Complete one staged quickstart as an admitted, serialized config
commit: persist the staged config, publish it under
revision(the caller allocated it before any irreversible I/O), then move the staged personality files into place. - field_
shape - Return the renderable field shape for a single section + type
combination. Walks
prop_fields()against a synthetic config with one default-instantiated entry under the requested type, then filters to the per-section “essential” allowlist. - model_
catalog - model_
catalog_ with_ config - Backward-compatible catalog projection for callers that intentionally treat
discovery failure as an unavailable catalog. Configured-profile surfaces
should call
model_catalog_with_config_resultto preserve actionable errors. - model_
catalog_ with_ config_ result - model_
provider_ is_ local truefor model_provider families that need no remote credential.- record_
dismissed - resolve_
model_ provider_ type - Resolve a Quickstart provider-type input to the canonical config family.
- should_
auto_ launch onboard_state.quickstart_completedis false and noagents.*entries exist. Returning users with existing agents never see the auto-trigger even if the flag was never flipped.- snapshot_
state - Build a
QuickstartStatesnapshot from the live config. - stage_
apply - Validate one submission and stage it onto a working config clone: every mutation (provider, presets, channels, peer groups, agent, completion flag) plus personality-file staging to tempfiles. No irreversible work happens here — a rejected submission returns with nothing on disk changed, and dropping the returned staging (or never completing it) cleans up its temp files.
- stage_
apply_ checked - Compile the staged authorization policy before any persistent write.
- validate_
only - validate_
only_ with_ surface