Skip to content

Releases: Leuconoe/ClaudeCodeMultiAccounts

v0.3.9

Choose a tag to compare

@Leuconoe Leuconoe released this 25 Jun 23:40

What's new

  • Account aliases — assign and display custom names for accounts
  • Pro/Max plan detection fix — correctly identifies Pro and Max subscription tiers

Full changelog: v0.3.8...v0.3.9

v0.3.8

Choose a tag to compare

@Leuconoe Leuconoe released this 22 Apr 06:29

v0.3.8 — Output Simplification

What changed

  • Replaced unknown with ? in compact usage columns for shorter output.
  • Updated README examples to match the compact output format.

Example

* [0] test | Team Std | 5H:91%(~4h 4min) | 7D:92%(1D 18h) | used:14m ago

Notes

  • This is a display-only refinement.
  • Runtime behavior and account switching logic are unchanged.
  • npm publish remains a separate manual step.

v0.3.7

Choose a tag to compare

@Leuconoe Leuconoe released this 22 Apr 01:33

v0.3.7 — Output Clarity and Team Tier Labels

What changed

  • Switched usage percentages to show remaining quota instead of consumed quota.
  • Compact account rows now use shorter, denser formatting.
  • Claude Team accounts are now distinguished as Team Std vs Team Prem based on
    ateLimitTier.

Example output

` ext

  • [0] trkim | Team Prem | 5H:70% (~3h 4min) | 7D:33% (1D 22h) | used:5h ago
    `

Notes

  • This release improves readability without changing the core switching workflow.
  • npm publish remains a separate manual step.

v0.3.4

Choose a tag to compare

@Leuconoe Leuconoe released this 10 Apr 08:05

v0.3.4 — Usage Wording Clarification

What changed

  • Updated compact usage columns to explicitly show used percentages instead of bare percentages.
  • Updated README examples and output column descriptions to match the current display format.
  • Bumped package version to 0.3.4.

Display format

[0] Name <email> - Org - Plan | 5H used:70% (~3h 5min) | 7D used:33% (1D 23h) | synced: just now

Notes

  • The percentage values represent used quota, not remaining quota.
  • Current account reset timing still uses live API-derived data when available.
  • npm publish remains a separate manual step.

v0.3.3

Choose a tag to compare

@Leuconoe Leuconoe released this 07 Apr 05:32

v0.3.3 — Statusline Cleanup

What changed

  • Ignore stale downstream statusline targets that point to removed plugin commands.
  • Stop forwarding stale downstream plugin output like Plugin not installed.
  • Prevent stale .py statusline targets from being preserved on reinstall unless they are explicitly wrapped by Python.
  • Bump package version to 0.3.3.

Why

If an older HUD/statusline integration was previously installed, our statusline wrapper could keep trying to execute its leftover command path. This release cleans that up so only valid downstream statusline targets are preserved.

Notes

  • Existing statusLine.command values are still preserved when they look valid.
  • Invalid/stale plugin targets are now silently dropped.
  • npm publish remains a separate manual step.

v0.3.2

Choose a tag to compare

@Leuconoe Leuconoe released this 07 Apr 03:44

v0.3.2 — Release Alignment

What changed

  • Aligns the npm package version with the current modular runtime state.
  • Carries forward the modular runtime split (lib/store, lib/usage, lib/output, lib/actions).
  • Includes the simplified HUD status line label (use !ccs).

Included functionality

  • cc-switch, ccs, cc-sync-oauth, ccso
  • startup guidance
  • status line prepend
  • separate account store (~/.ClaudeCodeMultiAccounts.json)
  • usage fetching and compact 5H / 7D columns
  • account removal

Notes

  • Windows, Git Bash, and WSL remain the verified environments.
  • npm publish is still a manual step.

v0.3.0

Choose a tag to compare

@Leuconoe Leuconoe released this 03 Apr 02:53

v0.3.0 — Modular Runtime Refactoring

This release completes a major internal restructuring that separates the runtime into clear, independently testable modules.

What changed

Runtime modularization

  • cc-switch.cjs is now a thin CLI adapter over dedicated modules
  • lib/store/* — account store persistence and live-file sync
  • lib/usage/* — usage API fetch, cache, and formatting
  • lib/output/* — account line rendering, usage block rendering, and user-facing messages
  • lib/actions/* — list, sync, switch, remove, and usage action handlers

Installer updates

  • Installer now copies all new module directories to the installed runtime
  • package.json includes all new module files for npm packaging

Behavior preserved

  • All existing commands remain unchanged: cc-switch, ccs, cc-sync-oauth, ccso
  • Windows, Git Bash, and WSL wrappers continue to work as before
  • Usage display, account removal, and restart notice behavior unchanged

Internal structure

cc-switch.cjs              # Thin CLI adapter
lib/
  store/
    io.cjs                 # File I/O, backup rotation, live file writes
    accounts.cjs           # Store normalization, sync, selection, removal
  usage/
    cache.cjs              # Rate-limit reset caching and settings
    fetch.cjs              # Claude OAuth usage API client
    format.cjs             # Usage formatting and snapshot refresh
  output/
    accounts.cjs           # Display name, plan type, account line rendering
    usage.cjs              # Relative time, reset estimate, usage block formatting
    messages.cjs           # User-facing guidance text
  actions/
    list.cjs               # List accounts action
    sync.cjs               # Sync action
    switch.cjs             # Switch action
    remove.cjs             # Remove action
    usage.cjs              # Usage-only action

Installation

# Recommended
npx claude-code-multi-accounts install

# Manual
git clone https://github.com/Leuconoe/ClaudeCodeMultiAccounts.git
cd ClaudeCodeMultiAccounts
./install.sh  # or install.cmd on Windows

Notes

  • npm registry publish is pending
  • This is a structural refactoring release with no user-facing behavior changes

v0.2.9

Choose a tag to compare

@Leuconoe Leuconoe released this 02 Apr 07:57

What changed

  • Updated README to recommend npx claude-code-multi-accounts install as the primary installation method.
  • Clarified manual installation steps for source builds.
  • Fixed duplicate manual install section in README.

Installation

# Recommended
npx claude-code-multi-accounts install

# Manual (from source)
git clone https://github.com/Leuconoe/ClaudeCodeMultiAccounts.git
cd ClaudeCodeMultiAccounts
./install.sh

v0.2.8

Choose a tag to compare

@Leuconoe Leuconoe released this 02 Apr 06:58

What changed

  • Added account removal: cc-switch --remove <index>
  • Updated usage hints to include removal instructions.

Usage

cc-switch              # list accounts
cc-switch 0            # switch to account at index 0
cc-switch --remove 0   # remove account at index 0
cc-switch --usage      # show detailed usage for current account

Notes

  • Claude Code must be restarted after switching accounts for the change to take effect.
  • Usage data comes from api.anthropic.com/api/oauth/usage with Claude-compatible OAuth headers.

v0.2.7

Choose a tag to compare

@Leuconoe Leuconoe released this 02 Apr 05:52

What changed

  • Added restart notice after account switch: Note: Restart Claude Code to apply the account change.
  • Account switching now writes to ~/.claude.json and ~/.claude/.credentials.json, but Claude Code caches tokens in memory.

Usage

cc-switch          # list accounts
cc-switch 0        # switch to account at index 0
cc-switch --usage  # show detailed usage for current account

Notes

  • Claude Code must be restarted after switching accounts for the change to take effect.
  • Usage data comes from api.anthropic.com/api/oauth/usage with Claude-compatible OAuth headers.