Skip to main content

Module launcher

Module launcher 

Source
Expand description

Startup configuration and saved-roster restoration.

The launcher runs before a session or adapter exists. This module keeps that decision independent from the terminal UI: a saved roster is only a request to restore agents that still exist in the current catalog. The catalog is authoritative, so stale identities are discarded and an empty result always opens the store instead of auto-starting detected agents.

Structs§

RosterSlot
One persisted roster position. Slots are independent: the same agent may occupy several positions and each position may select a different model.

Enums§

LaunchDecision
The action the bare launcher should take after reading persisted state.

Functions§

launch_decision
Decide whether bare launch restores the saved roster or opens the store.
parse_saved_roster
Parse launcher.roster from a persisted CodeSwarm settings document.
parse_saved_slots
Parse the slot-based roster format. The former newline-separated identity string is accepted as a lossless model-free migration input.
read_saved_roster
Read and parse a persisted settings file.
resolve_saved_roster
Resolve a saved roster against the currently known canonical identities.
resolve_saved_slots
Resolve saved slots while retaining their per-slot model choices.