Skip to content

v0.21.0

Choose a tag to compare

@errhythm errhythm released this 11 Jul 16:29
· 1047 commits to main since this release
774c0f9

Highlights

Codex accounts labelled by plan

Codex accounts now show their ChatGPT plan (Codex Team, Codex Pro, Codex Plus, …) in the TUI, ccswap codex list, status, and JSON — the closest local equivalent to Claude Code's org name. Codex stores no workspace name on disk, so the label is read from the login token. Works for accounts saved before this release, too.

ccswap list covers both providers

ccswap list (and list --json) now merges Claude Code and Codex by default. Use --provider claude|codex|all to narrow it.

Breaking (scripts): the default ccswap list --json is now keyed by provider ({"claude": {…}, "codex": {…}}). Scripts that parsed the old top-level accounts should use ccswap list --provider claude --json, which returns the unchanged bare payload.

Codex usage reset countdowns

ccswap codex usage now prints a live reset countdown per window, e.g. 5h: 4% used · resets in 4h 46m (Jul 12 02:36).

Smarter Codex restart reminder

After a Codex switch, ccswap detects whether Codex is running and tailors the message — "quit and relaunch" when live, "ready on next launch" otherwise. The Codex CLI reads auth.json only at startup, so a running session always needs a restart to pick up a new account.

Full Changelog: v0.20.2...v0.21.0