@youdie006/swapdex 0.165.0 → 0.165.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 +8 -4
- package/man/swapdex.1 +2 -2
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -432,8 +432,10 @@ For an HTTP request rejected with 401, the managed proxy first attempts bounded
|
|
|
432
432
|
recovery of the same selected account: reread a changed usable native access
|
|
433
433
|
token, or await a coordinated Swapdex renewal for an idle login. It retries
|
|
434
434
|
only with a changed usable token, before any explicitly configured failover.
|
|
435
|
-
|
|
436
|
-
|
|
435
|
+
Managed requests remove client API-key headers before applying the selected
|
|
436
|
+
account's OAuth credential. An unavailable selected login produces an error
|
|
437
|
+
instead of silently using the client's different account. Explicit passthrough
|
|
438
|
+
and native authentication exchanges preserve client authentication.
|
|
437
439
|
|
|
438
440
|
The launch default and proxy selection control different operations: the first
|
|
439
441
|
affects new native launches, and the second affects subsequent managed HTTP
|
|
@@ -450,8 +452,10 @@ external consumers need their own login instead of a copy of a managed slot.
|
|
|
450
452
|
|
|
451
453
|
Account selection and listing use local state. Managed launches and `serve`
|
|
452
454
|
can start a local proxy; its scheduled renewal work contacts OAuth endpoints
|
|
453
|
-
for idle logins. `quota` and the dashboard contact provider usage endpoints
|
|
454
|
-
|
|
455
|
+
for idle logins. `quota` and the dashboard contact provider usage endpoints;
|
|
456
|
+
`quota` can first renew eligible expired Claude slot credentials through the
|
|
457
|
+
same coordinated path. Saved snapshots remain read-only, and running native
|
|
458
|
+
sessions keep renewal ownership. `doctor` checks the published version online. Login commands invoke the
|
|
455
459
|
native tool's sign-in flow. The proxy relays model requests with the selected
|
|
456
460
|
credential using `ureq`, rustls and bundled roots; CI excludes heavy async
|
|
457
461
|
runtimes and system-TLS dependencies. An ordinary account selection does not
|
package/man/swapdex.1
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
.ie \n(.g .ds Aq \(aq
|
|
2
2
|
.el .ds Aq '
|
|
3
|
-
.TH swapdex 1 "swapdex 0.165.
|
|
3
|
+
.TH swapdex 1 "swapdex 0.165.2"
|
|
4
4
|
.SH NAME
|
|
5
5
|
swapdex \- Switch Claude Code / Codex / Gemini / Antigravity login accounts, locally and safely.
|
|
6
6
|
.SH SYNOPSIS
|
|
@@ -139,4 +139,4 @@ Print the man page (roff) to stdout
|
|
|
139
139
|
swapdex\-help(1)
|
|
140
140
|
Print this message or the help of the given subcommand(s)
|
|
141
141
|
.SH VERSION
|
|
142
|
-
v0.165.
|
|
142
|
+
v0.165.2
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@youdie006/swapdex",
|
|
3
|
-
"version": "0.165.
|
|
3
|
+
"version": "0.165.2",
|
|
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"
|
|
@@ -12,10 +12,10 @@
|
|
|
12
12
|
"man/swapdex.1"
|
|
13
13
|
],
|
|
14
14
|
"optionalDependencies": {
|
|
15
|
-
"@youdie006/swapdex-darwin-arm64": "0.165.
|
|
16
|
-
"@youdie006/swapdex-darwin-x64": "0.165.
|
|
17
|
-
"@youdie006/swapdex-linux-x64": "0.165.
|
|
18
|
-
"@youdie006/swapdex-linux-arm64": "0.165.
|
|
15
|
+
"@youdie006/swapdex-darwin-arm64": "0.165.2",
|
|
16
|
+
"@youdie006/swapdex-darwin-x64": "0.165.2",
|
|
17
|
+
"@youdie006/swapdex-linux-x64": "0.165.2",
|
|
18
|
+
"@youdie006/swapdex-linux-arm64": "0.165.2"
|
|
19
19
|
},
|
|
20
20
|
"keywords": [
|
|
21
21
|
"cli",
|