v0.2.4
Fixes
- Remove the broken per-email
claude auth loginstep from token generation. It wrote global subscription credentials that the injectedCLAUDE_CODE_OAUTH_TOKENalways overrides (per Claude Code's auth precedence), so it had no effect on which account a session used — and its unconditionalauth logoutcould destroy the active Claude CLI session if the login failed, with no rollback.claude setup-tokenalready binds the token to whichever account is signed in on claude.ai; the prompt now tells you to switch accounts there first. - Clear cached usage only after a new profile is registered, so a failed save no longer discards usage for an account that was never added.
Upgrade
curl -fsSL https://raw.githubusercontent.com/leegunwoo98/claude-code-account-switcher/v0.2.4/install.zsh | zshIf a profile's token was generated under v0.2.3 while the wrong account was signed in on claude.ai, regenerate it: switch to the intended account on claude.ai, then claude-accounts → select the profile → Refresh token.