mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-10-26 01:34:51 +08:00
Editing a Codex official card showed the row's stored `auth`, which is the OAuth snapshot older versions backfilled. Switching no longer backfills, so once Codex rotates its tokens the editor displayed an access token that no longer matched ~/.codex/auth.json. Follow-login cards (empty row auth) showed an empty object instead of the current login. For official cards not bound to a managed account, the auth.json box now shows what auth.json will contain after switching to the card, predicted read-only from the same login plan the switch uses. Saving without touching the box keeps the row's original auth, so opening and saving neither binds a follow-login card to the current account nor stores soon-to-expire tokens. Switching never wrote the stale snapshot over the same account's login, so the live file was not affected.