gsxdsm
9c2a264322
FN-7398: restore Anthropic model selection
Restore Anthropic model selector discovery across API-key, OAuth subscription, and Claude CLI flows.
- Read injected auth storage when building /api/models so Settings connection state feeds model availability.
- Keep Anthropic subscription OAuth separate from direct Anthropic API-key rows while allowing enabled Claude CLI models to appear.
- Add regression coverage for selector rendering, stale empty catalog refresh, and authenticated model-route filtering.
- Document the restored Anthropic provider surfaces and add a patch changeset.
Files changed:
.changeset/fn-7398-anthropic-model-selector.md | 7 ++
docs/settings-reference.md | 4 +-
.../components/__tests__/ModelSelectorTab.test.tsx | 105 +++++++++++++++++
.../app/hooks/__tests__/useModelsCache.test.ts | 40 +++++++
.../dashboard/src/__tests__/routes-auth.test.ts | 125 ++++++++++++++++++++-
.../dashboard/src/routes/register-model-routes.ts | 60 +++++++++-
6 files changed, 333 insertions(+), 8 deletions(-)
Fusion-Task-Id: FN-7398
Fusion-Task-Lineage: 5d1b1b8e-9b8b-40fe-b76f-7d6142e0e21f
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai>
2026-07-01 15:39:34 -07:00
..
2026-07-01 15:39:34 -07:00
2026-07-01 00:47:09 -07:00
2026-07-01 15:39:34 -07:00
2026-07-01 15:39:34 -07:00
2026-07-01 08:01:59 -07:00
2026-07-01 00:47:09 -07:00
2026-07-01 15:39:34 -07:00
2026-07-01 11:28:03 -07:00
2026-07-01 00:47:09 -07:00
2026-07-01 15:39:33 -07:00
2026-06-08 15:19:27 -07:00
2026-07-01 00:47:09 -07:00