Skip to content

CJFCodexSwitcher v0.1.4

Choose a tag to compare

@github-actions github-actions released this 25 Mar 12:33
· 12 commits to main since this release

CJFCodexSwitcher v0.1.4

This release adds a direct add-account flow to the live quota view and consolidates the latest onboarding and live-view UX improvements already shipped before the v0.1.4 tag.

Highlights

  • A new a action is available in the live quota view to start the official codex login flow
  • Newly authenticated accounts are archived automatically and kept as the active account
  • Existing archives for the same account are updated in place instead of creating duplicate snapshots
  • Failed or canceled login attempts restore the previous ~/.codex/auth.json state
  • The active account is rendered at the top of the live quota view and visually separated from the rest
  • The public repository now defaults to an English README.md with a dedicated README_CN.md
  • Homebrew installation is part of the documented first-class install path
  • The English and Chinese READMEs now describe the Homebrew-ready add-account workflow

Installation

Homebrew

brew tap mileson/cjfcodexswitcher && brew upgrade cjfcodexswitcher

pipx

pipx install --force git+https://github.com/mileson/CJFCodexSwitcher.git

Verification

  • python3 -m py_compile codex_switcher.py
  • Simulated codex login runs cover new-account archive creation, same-account archive update, and failed-login rollback
  • The live quota view now shows a as the add-account action
  • The active account is shown first in the live quota view with separation before the remaining rows
  • Homebrew installation and upgrade path have been validated for the documented formula

Note

Windows automatic restart support has landed on main after v0.1.4 and will be described in the next release note instead of being backfilled into this tag.

How To Use

  • Run codex-switcher
  • In the live quota view, press a to start the official login flow
  • After login completes, return to the quota list and confirm the new account appears as [当前]