Commit Graph

12 Commits

Author SHA1 Message Date
William Valentin dafe9b4d3d fix(core): harden env loading, OpenAI compatibility, and runtime recovery 2026-02-22 15:56:21 -08:00
William Valentin 3210e75c94 feat(ops): add setup operator pack, heartbeat alert cooldown, and doctor strict mode 2026-02-16 14:57:56 -08:00
William Valentin 289fc44380 feat(cli): enforce minio ingestion extractor checks in setup and doctor 2026-02-16 14:45:45 -08:00
William Valentin ae36248da8 feat(skills): add registry doctor diagnostics and docs 2026-02-16 00:53:25 -08:00
William Valentin 0470647ee7 feat(models): add minimax and moonshot providers 2026-02-15 19:18:48 -08:00
William Valentin 81385745e6 fix(config): align default.yaml with server schema 2026-02-15 18:11:29 -08:00
William Valentin a624f5efb5 docs(cli): add Vercel provider to setup and doctor 2026-02-15 10:53:29 -08:00
William Valentin 60e30a8138 cli: improve doctor auth diagnostics 2026-02-15 10:43:21 -08:00
William Valentin 955b9e28e0 feat: add OpenAI OAuth, strict model overrides, and Gmail pull mode 2026-02-13 14:55:40 -08:00
William Valentin 0a19f01639 feat(doctor): surface skill directory health in diagnostics 2026-02-12 17:05:04 -08:00
William Valentin ff03f74404 feat(cli): add gmail-auth command for OAuth2 token setup
Implements `flynn gmail-auth` to complete the OAuth2 flow that
GmailWatcher references but was never built. Supports local callback
server (default) and --manual paste mode. Adds Gmail health check
to `flynn doctor`.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-10 10:33:01 -08:00
William Valentin e4b7f96d33 fix: provider-aware model routing with fallback visibility
- Extract createClientFromConfig() to dispatch on provider field instead
  of hardcoding all tiers as AnthropicClient
- Add fallback/fallbackReason metadata to ChatResponse and ChatStreamEvent
  so callers know when a fallback model was used
- Enhance doctor check to report full model stack and warn on missing
  API keys for cloud providers
- Log fallback warnings in NativeAgent and display them in TUI
- Support tier names and local_providers entries in fallback_chain
- Add 8 tests for createClientFromConfig covering all provider types
2026-02-06 09:58:56 -08:00