Claude provider labels Team subscription as "Max" in menu (single-account, web/sessionKey)
Summary
With a single Claude tokenAccounts entry using a sessionKey cookie from a claude.ai
login bound to a Team workspace, the menu's Claude card shows the plan as Max
(top-right). The Anthropic subscription is Team, not Max. All usage metrics (Session
window, Weekly limit, Sonnet/Designs/Daily Routines) look correct — only the plan label
is wrong.
Environment
- CodexBar 0.23 (build 58), macOS 26.4.1, Apple Silicon
- Single
claudetoken account in~/.codexbar/config.json cookieSource: "manual",showAllTokenAccountsInMenu = false- Token: 131-char
sk-ant-sid02-…sessionKey copied from claude.ai cookies - Anthropic subscription tier of the workspace: Team
Steps to reproduce
- Log into claude.ai in a browser as a member of a Team workspace.
- Copy the
sessionKeycookie value (sk-ant-sid02-…, 131 chars). - Set that sessionKey as the only Claude account in
~/.codexbar/config.json. - Quit CodexBar; remove
~/Library/HTTPStorages/com.steipete.codexbar*for a clean baseline. - Launch CodexBar and open the Claude menu after the first refresh.
Observed
- Menu header:
Maxnext to "Claude". - Session 3% used / Resets in 4h 55m, Weekly 14% / 50% in reserve / Resets in 2d 12h, etc. — all correct.
Expected
Plan label should match the actual Anthropic subscription tier for the workspace bound to the sessionKey (`Team` rather than `Max`).
Related
- #848 (multi-account web/sessionKey convergence) — both cards there also collapsed to `Max`. That issue is about per-account data convergence; this one reproduces the plan mislabel on a clean single-account setup, suggesting the plan-tier mapping itself defaults to `Max` for any non-free Claude subscription returned by the web/sessionKey path.
Suspected area
`Sources/CodexBarCore/Providers/Claude/ClaudeWeb/…` — wherever the claude.ai response is mapped to a plan label. Likely a missing case for the Team tier in the switch/normalizer that falls through to `Max`.
Resolved on CodexBar 0.24. After upgrading from 0.23, the menu now correctly shows Team instead of Max for the same sessionKey on the same setup. The 0.24 release notes did not call out this fix, but the symptom is gone. Closing.