@youdie006/swapdex 0.23.0 → 0.24.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +11 -5
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -62,10 +62,10 @@ npm install -g @youdie006/swapdex
62
62
  curl -fsSL https://raw.githubusercontent.com/youdie006/swapdex/main/install.sh | sh
63
63
  ```
64
64
 
65
- Linux / WSL first; on macOS, Codex works today and Claude-via-Keychain is
66
- [issue #1](https://github.com/youdie006/swapdex/issues/1). Requires the Claude Code
67
- and/or Codex CLI already installed and logged in. Full command, exit-code, and
68
- environment reference: [docs/COMMANDS.md](docs/COMMANDS.md).
65
+ Linux, WSL, and macOS (Claude's macOS login lives in the Keychain; swapdex
66
+ swaps it there, via `/usr/bin/security`). Requires the Claude Code and/or Codex
67
+ CLI already installed and logged in. Full command, exit-code, and environment
68
+ reference: [docs/COMMANDS.md](docs/COMMANDS.md).
69
69
 
70
70
  ## Use
71
71
 
@@ -160,7 +160,7 @@ quota - remaining on your Claude accounts
160
160
  live from Anthropic's usage endpoint; opt-in network, spends 0 message quota.
161
161
 
162
162
  work (active) you@work.com
163
- 5h ▓▓▓▓▓▓▓░░░ 68% left resets in 2h14m
163
+ 5h ▓▓▓▓▓▓▓░░░ 68% left resets in 2h 14m
164
164
  7d ▓▓▓▓▓▓░░░░ 57% left resets in 3d 4h
165
165
 
166
166
  personal you@personal.com
@@ -190,6 +190,12 @@ atomically, backing up the current login first. For Claude, only the
190
190
  `oauthAccount` block of `~/.claude.json` is swapped -- your projects, MCP
191
191
  servers, and settings in that file are never touched.
192
192
 
193
+ On macOS the Claude token lives in the login Keychain, one item per
194
+ `CLAUDE_CONFIG_DIR` profile. swapdex manages **the profile of the environment
195
+ it runs in**, exactly like `claude` itself resolves it: plain `swapdex`
196
+ manages the default profile; profiles you run side by side via
197
+ `CLAUDE_CONFIG_DIR` aliases are never touched.
198
+
193
199
  ## Safety
194
200
 
195
201
  - Every credential file swapdex writes is `0600`; the store directory is `0700`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@youdie006/swapdex",
3
- "version": "0.23.0",
3
+ "version": "0.24.0",
4
4
  "description": "Switch between multiple Claude Code, Codex, Gemini, and Antigravity login accounts, locally and safely.",
5
5
  "bin": {
6
6
  "swapdex": "bin/swapdex.js"