Skip to main content

Module state

Module state 

Source
Expand description

The wizard’s state: what step we’re on, what’s been chosen, and how a choice turns back into a SetupPlan.

Deliberately free of drawing and of key handling - those are render and input. Everything here is ordinary data and pure transitions, so the whole flow is testable without a terminal.

Structs§

Wizard
The whole wizard.

Functions§

candidates_from_scans
Merge every scan into the flat (source, candidate) list the wizard takes, alongside the human-readable errors.
selected_servers
Build an MCPServerConfig list from selected rows. Exposed for tests and for any future non-terminal front-end.