@youdie006/swapdex 0.5.0 → 0.6.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.
- package/README.md +5 -3
- 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,
|
|
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,
|
|
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
|
|
@@ -150,6 +151,7 @@ Each CLI keeps its login in a small on-disk file:
|
|
|
150
151
|
`~/.claude.json`
|
|
151
152
|
- Codex: `~/.codex/auth.json`
|
|
152
153
|
- Gemini CLI: `~/.gemini/oauth_creds.json` plus `~/.gemini/google_accounts.json`
|
|
154
|
+
- Antigravity: `~/.gemini/antigravity-cli/antigravity-oauth-token`
|
|
153
155
|
|
|
154
156
|
`add` copies the current login into a private store at
|
|
155
157
|
`~/.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.
|
|
4
|
-
"description": "Switch between multiple Claude Code, Codex, and
|
|
3
|
+
"version": "0.6.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
|
],
|