mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-05-19 07:39:41 +08:00
Read Codex OAuth credentials from ~/.codex/auth.json (with macOS Keychain fallback) and query chatgpt.com/backend-api/wham/usage to show rate limit utilization on official Codex provider cards. Reuses the same tier naming (five_hour, seven_day) for frontend i18n compat.