You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Align Claude Code API requests with the CLI User-Agent, Stainless headers,
API version, and beta query while keeping the 2.1.316 version metadata.
Expand cookie-issued OAuth scopes and use the CLI's JSON token refresh flow.
Accounts continue to be added through cookies.
Fixes
Compute the billing CCH checksum from the final request bytes and replace
existing billing blocks instead of adding duplicates.
Preserve the stored refresh token when a refresh response omits it, and save
rotated tokens automatically. Re-authorize through the cookie when needed.
Retry rejected scope expansion with the existing grant for older accounts.
Decode the response compression formats advertised by the API client.
更新内容
保留 Claude Code 2.1.316 版本信息,对齐 CLI User-Agent、Stainless 请求头、
API 版本和 beta 查询参数。