请使用本机 Codex 凭证查一下 rate-limit reset credits:
读取 ~/.codex/auth.json 里的 tokens.access_token,请求接口: https://chatgpt.com/backend-api/wham/rate-limit-reset-credits
要求:
- 不要打印 access_token、refresh_token、cookie 或完整唯一 ID
- 只汇总 available_count、每个 credit 的 status/title/granted_at/expires_at
- 把 granted_at/expires_at 从 UTC 转成本地时间
- 如果状态码返回 401,说明是凭证失效或没带对 Authorization header