Releases: Leuconoe/ClaudeCodeMultiAccounts
Releases · Leuconoe/ClaudeCodeMultiAccounts
Release list
v0.3.9
v0.3.8
v0.3.8 — Output Simplification
What changed
- Replaced
unknownwith?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
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
v0.3.4 — Usage Wording Clarification
What changed
- Updated compact usage columns to explicitly show
usedpercentages 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
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
.pystatusline 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.commandvalues 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
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
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.cjsis now a thin CLI adapter over dedicated moduleslib/store/*— account store persistence and live-file synclib/usage/*— usage API fetch, cache, and formattinglib/output/*— account line rendering, usage block rendering, and user-facing messageslib/actions/*— list, sync, switch, remove, and usage action handlers
Installer updates
- Installer now copies all new module directories to the installed runtime
package.jsonincludes 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 WindowsNotes
- npm registry publish is pending
- This is a structural refactoring release with no user-facing behavior changes
v0.2.9
What changed
- Updated README to recommend
npx claude-code-multi-accounts installas 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.shv0.2.8
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 accountNotes
- Claude Code must be restarted after switching accounts for the change to take effect.
- Usage data comes from
api.anthropic.com/api/oauth/usagewith Claude-compatible OAuth headers.
v0.2.7
What changed
- Added restart notice after account switch:
Note: Restart Claude Code to apply the account change. - Account switching now writes to
~/.claude.jsonand~/.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 accountNotes
- Claude Code must be restarted after switching accounts for the change to take effect.
- Usage data comes from
api.anthropic.com/api/oauth/usagewith Claude-compatible OAuth headers.