feat(FN-812): add first-run model onboarding modal and API key provider support

- Add ModelOnboardingModal component with provider selection, API key input, and model verification flow
- Add API key authentication support to SettingsModal with clear-key functionality
- Trigger onboarding from App.tsx when modelOnboardingComplete setting is false
- Add comprehensive tests for ModelOnboardingModal and SettingsModal authentication
- Document model onboarding flow and API key auth in AGENTS.md and README
- Add CSS styles for onboarding modal, provider cards, and auth section
This commit is contained in:
gsxdsm
2026-04-04 14:44:06 -07:00
parent 78e95246d8
commit fb5b97e134
10 changed files with 1798 additions and 56 deletions

View File

@@ -103,6 +103,8 @@ fn dashboard --interactive
Open [http://localhost:4040](http://localhost:4040) - create tasks from the board or the CLI.
**First-run setup:** On first launch, Fusion opens a guided onboarding modal that walks you through configuring provider credentials (OAuth login or API key entry) and selecting a default AI model. Completion is tracked via the `modelOnboardingComplete` global setting. You can re-trigger onboarding at any time by clearing this flag in Settings, or configure providers and models manually from the Settings modal.
### CLI commands
**Dashboard:**