Skip to content

v0.1.4

Choose a tag to compare

@github-actions github-actions released this 24 Jul 16:50
· 33 commits to main since this release
cc786cc

What's new

  • See which account has headroom. Signed-in rows in the picker now show each account's 5-hour and weekly rate-limit usage (5h 42% · wk 12%), turning amber at 70% and red — with the reset time — at 90%. A new ccswitch usage command prints the same numbers in the terminal. Display-only: tokens are never refreshed or written.
  • Pin a shell to a profile. ccswitch use work prints the command that sets CLAUDE_CONFIG_DIR for your current shell (eval it, nvm-style: Invoke-Expression (ccswitch use work) / eval "$(ccswitch use work)"), so every plain claude afterwards runs as that account. ccswitch use --unset unpins. Detects PowerShell, bash/zsh and fish; --shell overrides.
  • Manage profiles from the CLI. ccswitch new, import, rename and rm mirror the picker's keys as plain commands, so setup scripts and dotfiles can manage profiles without the UI. rm asks before deleting; -y skips the prompt.

Upgrade with ccswitch upgrade.

Full Changelog: v0.1.3...v0.1.4