Files
cc-switch/src/lib
T
Jason 521571c4ca fix(usage): only show CLI subscription quota for active provider
CLI-credential-based subscriptions (Claude/Codex/Gemini) read from a
single global credential file, so the quota always reflects the last
CLI login rather than a specific provider. Showing it on non-current
cards is misleading when multiple official subscriptions exist.

Apply the same isCurrent + autoQuery pattern already used by Copilot
and Codex OAuth: only query and render the quota footer when the
provider is the currently active one.
521571c4ca · 2026-04-09 16:49:14 +08:00
History
..
2025-11-25 09:30:55 +08:00
2025-10-16 10:00:22 +08:00