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§
- Roster
Slot - One persisted roster position. Slots are independent: the same agent may occupy several positions and each position may select a different model.
Enums§
- Launch
Decision - 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.rosterfrom 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.