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

@@ -713,6 +713,7 @@ When reading settings, project values override global values. The merged view is
- `defaultThinkingLevel` — Default thinking effort level
- `ntfyEnabled` — Enable push notifications
- `ntfyTopic` — ntfy.sh topic for notifications
- `modelOnboardingComplete` — Whether first-run model/provider onboarding has been completed
**Project settings** (`~/.fusion/config.json`):
- All other settings listed below (concurrency, merge, worktrees, commands, etc.)