@youdie006/swapdex 0.5.0 → 0.7.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 +7 -4
  2. package/package.json +3 -2
package/README.md CHANGED
@@ -8,8 +8,8 @@
8
8
 
9
9
  </div>
10
10
 
11
- One command to flip your Claude Code, Codex, or Gemini CLI from your work
12
- account to your personal one, and back. No re-login, no browser, no copying
11
+ One command to flip your Claude Code, Codex, Gemini CLI, or Antigravity from
12
+ your work account to your personal one, and back. No re-login, no browser, no copying
13
13
  tokens around. 100% local. Never touches the network.
14
14
 
15
15
  <div align="center">
@@ -20,7 +20,8 @@ tokens around. 100% local. Never touches the network.
20
20
 
21
21
  ## Why
22
22
 
23
- If you run Claude Code, Codex, or Gemini CLI under more than one account -- a work seat and a
23
+ If you run Claude Code, Codex, Gemini CLI, or Antigravity under more than one
24
+ account -- a work seat and a
24
25
  personal subscription, a client's org and your own -- switching means logging
25
26
  out and back in every time. swapdex snapshots each logged-in account once, then
26
27
  swaps between them in place: the running CLI picks up the new account on your
@@ -76,7 +77,8 @@ swapdex ls
76
77
  swapdex status
77
78
 
78
79
  # Switch (takes effect on your next message -- no restart)
79
- swapdex ui # or pick from a list interactively
80
+ swapdex ui # full-screen picker: switch, add, restore
81
+ swapdex login personal --tool claude # sign in to a NEW account and save it
80
82
  swapdex use personal
81
83
  swapdex use - # toggle back to the previous profile
82
84
  swapdex use w # a unique prefix is enough
@@ -150,6 +152,7 @@ Each CLI keeps its login in a small on-disk file:
150
152
  `~/.claude.json`
151
153
  - Codex: `~/.codex/auth.json`
152
154
  - Gemini CLI: `~/.gemini/oauth_creds.json` plus `~/.gemini/google_accounts.json`
155
+ - Antigravity: `~/.gemini/antigravity-cli/antigravity-oauth-token`
153
156
 
154
157
  `add` copies the current login into a private store at
155
158
  `~/.local/share/swapdex`. `use` writes a saved snapshot back into place
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@youdie006/swapdex",
3
- "version": "0.5.0",
4
- "description": "Switch between multiple Claude Code, Codex, and Gemini CLI login accounts, locally and safely.",
3
+ "version": "0.7.0",
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"
7
7
  },
@@ -19,6 +19,7 @@
19
19
  "claude",
20
20
  "codex",
21
21
  "gemini",
22
+ "antigravity",
22
23
  "accounts",
23
24
  "credentials"
24
25
  ],