Skip to content

fix(anthropic): restore Claude plan names - #63

Merged
MaxAnderson95 merged 1 commit into
mainfrom
fix/anthropic-profile-endpoint
Nov 23, 2026
Merged

MaxAnderson95 merged 1 commit into
mainfrom
fix/anthropic-profile-endpoint

Conversation

@MaxAnderson95

Copy link
Copy Markdown
Owner

Tally shows an unknown plan when its Anthropic profile request gets a Cloudflare HTTP 403 from claude.ai, even though quota collection succeeds. Fetch the OAuth profile from api.anthropic.com, where the same credentials returned Claude Team and Claude Max profiles. Quota collection and plan decoding stay unchanged.

The existing HTTP test now reproduces the 403 on the old host and accepts a profile response only at the verified URL. It failed before the change; all four Anthropic tests passed afterward with Swift 6.4 Command Line Tools and the macOS 26 SDK.

Originally created in OpenCode session ID: ses_df62e259bffevW5VsG1NWsh0Zh using model: openai/gpt-6.2-sol-fast

Fetch OAuth profiles from the Anthropic API host because claude.ai returns a Cloudflare challenge for both accounts. Keep usage collection and plan decoding unchanged.

OpenCode session ID: ses_df62e259bffevW5VsG1NWsh0Zh using model: openai/gpt-6.2-sol-fast
@MaxAnderson95
MaxAnderson95 merged commit faece80 into main Nov 23, 2026
4 checks passed
@MaxAnderson95
MaxAnderson95 deleted the fix/anthropic-profile-endpoint branch November 23, 2026 19:27
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.

1 participant