You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Makes saved Codex account switching reliable, keeping credentials, usage windows, and limit reset credits bound to the selected account.
Reduces repeated login Keychain password prompts by avoiding unnecessary credential reads and writes.
Hardens Cookie- and Codex-credential-based usage refreshes so results cannot cross account boundaries.
Fixes
Discards late usage and reset-credit responses from the previously selected account, then refreshes the current account when credentials or the selected source change mid-request.
Preserves rotated OAuth credentials in their original saved account without overwriting a newly selected or reauthenticated account.
Keeps refreshed credentials recoverable across account switches and app restarts when a temporary Keychain write fails, and removes obsolete recovery data after success, reauthentication, or account deletion.
Loads account metadata without reading every saved Keychain credential, reads only the target credential during switching, and avoids rewriting unchanged credentials.
Provides clearer recovery instructions when the Mac login Keychain is locked, including that the requested password is the Mac Keychain password rather than the Codex password.
Restricts imported browser Cookies to valid HTTPS chatgpt.com scope, verifies that the signed-in email matches the selected Codex account, and never sends browser Cookies to configured alternate endpoints.
Shows the actual usage source, separate usage and reset-credit refresh states, update times, cached or stale status, and actionable errors in the compact Usage details.
Retains valid cached quota data during temporary service failures, clears it when credentials are rejected, and explicitly displays zero available reset credits.
Release verification
Clean first-run validation covered account addition, account switching, quota and reset-credit isolation, and Keychain authorization behavior.
DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer swift test --jobs 1