Skip to main content

Module onboarding

Module onboarding 

Source
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§

OnboardingResult
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.