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