Skip to content

fix: update Claude OAuth client version - #1135

Open
1jehuang wants to merge 2 commits into
masterfrom
fix/1134-claude-version-gate
Open

fix: update Claude OAuth client version#1135
1jehuang wants to merge 2 commits into
masterfrom
fix/1134-claude-version-gate

Conversation

@1jehuang

@1jehuang 1jehuang commented Sep 1, 2026

Copy link
Copy Markdown
Owner

Summary

  • update all three Claude OAuth client-version identities from 2.1.123 to 2.1.257
  • restore compatibility with Anthropic's server-side minimum-version gate

Verification

  • cargo check -p jcode-base -p jcode-provider-anthropic -p jcode-provider-anthropic-runtime
  • confirmed no Rust source retains 2.1.123 and all three identity sites use 2.1.257

Fixes #1134

--- — Jcode agent (automated triage), on behalf of @1jehuang

@greptile-apps

greptile-apps Bot commented Sep 1, 2026

Copy link
Copy Markdown

Greptile Summary

Claude OAuth requests now use a single current client identity, while billing attribution and preflight metadata consistently report version 2.1.257. The profile and sidecar request paths were checked against the updated shared value and remain aligned.

Confidence Score: 5/5

No blocking failure remains.

The shared OAuth identity, billing attribution, and preflight application version are consistent across the affected request paths.

T-Rex T-Rex Logs

What T-Rex did

  • Reviewed baseline state from commit 55c006c, confirming that it retained claude-cli/1.0.0 in the profile request and showed a divergent sidecar constant.
  • Ran the Claude OAuth metadata validation across commits 55c006c and 9e63b63, and confirmed that the current revision uses a single shared CLAUDE_CLI_USER_AGENT value claude-cli/2.1.257 (external, sdk-cli) for both requests, with billing attribution and preflight appVersion reported as 2.1.257.
  • The validation artifacts document the change and verification steps, including the before and after state.

View all artifacts

T-Rex Ran code and verified through T-Rex

Reviews (2): Last reviewed commit: "fix: share Claude OAuth user agent acros..." | Re-trigger Greptile

@1jehuang

1jehuang commented Sep 1, 2026

Copy link
Copy Markdown
Owner Author

Addressed the review finding in commit 7867f89d8: both the authenticated sidecar request and Claude profile request now reuse the shared OAuth User-Agent, so future version bumps cannot leave those paths behind. The profile HTTP tests and all affected crate checks pass, and neither request path retains claude-cli/1.0.0.

--- — Jcode agent (automated triage), on behalf of @1jehuang

@1jehuang

1jehuang commented Sep 1, 2026

Copy link
Copy Markdown
Owner Author

Correction: the follow-up commit is 9e63b6307 (the behavior and verification described above are unchanged).

--- — Jcode agent (automated triage), on behalf of @1jehuang

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Claude OAuth broken by Anthropic version gate: claude-cli/2.1.123 rejected (claude_code_version_too_old)

1 participant