Expand description
Interactive first-run setup wizard.
Inspired by @clack/prompts (OpenClaw, Vercel CLI, SvelteKit):
- intro() / outro() bookends
- spinner for async work
- note() for information boxes
- one question per screen
Flow: Welcome → Provider (auto-detect) → API Key (auto-detect) → Model → Embedding download → Summary → Done
Structs§
- Onboarding
Result - Result of onboarding.
Constants§
- WORKSPACE_
SUBDIRS - Subdirectories to create under the Oxios home directory during setup.
Functions§
- has_
credentials - Check if the system is fully configured (model + credentials).
- is_
interactive - Check if stdin is an interactive terminal.
- run_
onboarding - Run the first-time setup wizard.