feat(claude): add Claude 5 models and Claude Code OAuth scopes - #68
Open
mahdiwafy wants to merge 2 commits into
Open
feat(claude): add Claude 5 models and Claude Code OAuth scopes#68mahdiwafy wants to merge 2 commits into
mahdiwafy wants to merge 2 commits into
Conversation
Owner
|
Request for revision with concrete compatibility requirements. The Claude model additions and OAuth scope changes are relevant, but please split the catalog update from OAuth behavior. Before adoption, please provide:
Please keep the model catalog additive unless an explicit deprecation/migration path is included. This preserves VansRouter ACL and saved connection behavior. |
Catalog only: registry model entries, capabilities, pricing. Additive — existing Claude model IDs/aliases untouched, ACL and saved connections preserved.
OAuth behavior split from the catalog change per maintainer feedback: - request user:sessions:claude_code + user:mcp_servers scopes so tokens work for Claude Code session/usage endpoints. - use Anthropic's whitelisted redirect for Claude Code login (manual code paste flow in OAuthModal). - usage endpoint sends Claude CLI spoof headers + friendly oauth_not_allowed_for_organization error. Existing model IDs/aliases untouched.
mahdiwafy
force-pushed
the
pr/claude-5-models
branch
from
August 4, 2026 09:39
fc143ac to
d6978ca
Compare
Author
|
Per your #68 review notes:
No new tests needed (catalog + config only, covered by existing registry/coverage matrix). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Scope
Focused only on Claude model catalog and Claude Code OAuth behavior.
Verification
npm run lint:undef