@youdie006/swapdex 0.2.1 → 0.3.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 +30 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -76,6 +76,7 @@ swapdex ls
|
|
|
76
76
|
swapdex status
|
|
77
77
|
|
|
78
78
|
# Switch (takes effect on your next message -- no restart)
|
|
79
|
+
swapdex ui # or pick from a list interactively
|
|
79
80
|
swapdex use personal
|
|
80
81
|
swapdex use - # toggle back to the previous profile
|
|
81
82
|
swapdex use w # a unique prefix is enough
|
|
@@ -116,6 +117,16 @@ e.g. in a starship prompt: `command = "swapdex status --short"` in a
|
|
|
116
117
|
[custom module](https://starship.rs/config/#custom-commands), or in `PS1`
|
|
117
118
|
via `$(swapdex status --short)`.
|
|
118
119
|
|
|
120
|
+
It also drops straight into **Claude Code's own status line**, so the active
|
|
121
|
+
account is always visible inside the tool you are switching
|
|
122
|
+
(`~/.claude/settings.json`):
|
|
123
|
+
|
|
124
|
+
```json
|
|
125
|
+
{
|
|
126
|
+
"statusLine": { "type": "command", "command": "swapdex status --short" }
|
|
127
|
+
}
|
|
128
|
+
```
|
|
129
|
+
|
|
119
130
|
`usage` reads your local session logs (no network) to gauge how heavily you've
|
|
120
131
|
been using each tool lately, so you know when to switch to a fresher account:
|
|
121
132
|
|
|
@@ -204,6 +215,25 @@ swapdex is the accounts layer of a small local AI-CLI stack:
|
|
|
204
215
|
- [prodex](https://github.com/youdie006/prodex) -- share one logged-in ChatGPT
|
|
205
216
|
Pro session across agents. swapdex coexists with it without touching its auth.
|
|
206
217
|
|
|
218
|
+
## Alternatives
|
|
219
|
+
|
|
220
|
+
Good tools exist in this space; they make different trade-offs (each line from
|
|
221
|
+
that project's README, July 2026):
|
|
222
|
+
|
|
223
|
+
- [claude-swap](https://github.com/realiti4/claude-swap) -- Claude Code only,
|
|
224
|
+
a TUI with live usage bars, and *optional auto-switching* near your limit.
|
|
225
|
+
If you want auto-rotation, use it -- swapdex deliberately refuses to have
|
|
226
|
+
that feature.
|
|
227
|
+
- [aisw](https://github.com/burakdede/aisw) -- cross-tool including Gemini,
|
|
228
|
+
OS-keyring storage, Windows support. More features, bigger surface.
|
|
229
|
+
- [caam](https://github.com/Dicklesworthstone/coding_agent_account_manager) --
|
|
230
|
+
cross-tool with a shell wrapper and automatic rotation on rate limits; the
|
|
231
|
+
philosophical opposite of swapdex.
|
|
232
|
+
|
|
233
|
+
Pick swapdex if you want the smallest thing that switches Claude Code and
|
|
234
|
+
Codex together, can always undo (`restore`), diagnoses itself (`doctor`),
|
|
235
|
+
and structurally cannot rotate, proxy, or touch the network.
|
|
236
|
+
|
|
207
237
|
## Roadmap
|
|
208
238
|
|
|
209
239
|
- **Claude Code on macOS (Keychain).** On macOS, Claude Code keeps its login in
|