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 11:28:03 -07:00
2026-07-01 15:39:34 -07:00
2026-07-01 15:39:34 -07:00
2026-06-30 15:23:51 -07:00
2026-06-30 23:45:02 -07:00
2026-06-27 12:20:42 -07:00
2026-07-01 11:12:59 -07:00
2026-06-11 09:21:23 -07:00
2026-07-01 11:01:50 -07:00
2026-06-30 13:43:28 -07:00
2026-06-23 10:43:14 -07:00
2026-06-30 07:58:55 -07:00
2026-06-21 00:12:57 -07:00