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§

AgentRow
One row of the blueprint list.
Edit
An in-progress text edit.
Field
A single editable setting on the Defaults / Limits screens.
McpRow
One importable MCP server.
PendingConfirm
A pending confirmation: the dialog plus what its Yes means.
ProviderRow
One row of the provider pick-list.
VerifyReply
Answered by the background verifier.
VerifyRequest
Asked of the background verifier.
Wizard
The whole wizard.

Enums§

ConfirmPurpose
Why a confirmation dialog is on screen, so its Yes can be routed.
EditTarget
Where the text being typed goes when it is committed.
FieldValue
The kinds of setting the wizard edits, and therefore the ways a key press can mean something.
Step
The wizard’s screens, in order.

Functions§

candidates_from_scans
Merge every scan into the flat (source, candidate) list the wizard takes, alongside the human-readable errors.
effort_options
Reasoning-effort levels for the Claude Code transport, from the provider rather than re-typed here.
selected_servers
Build an MCPServerConfig list from selected rows. Exposed for tests and for any future non-terminal front-end.