Skip to content

v0.2.4

Choose a tag to compare

@leegunwoo98 leegunwoo98 released this 28 Jun 07:36

Fixes

  • Remove the broken per-email claude auth login step from token generation. It wrote global subscription credentials that the injected CLAUDE_CODE_OAUTH_TOKEN always overrides (per Claude Code's auth precedence), so it had no effect on which account a session used — and its unconditional auth logout could destroy the active Claude CLI session if the login failed, with no rollback. claude setup-token already 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 | zsh

If 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.