@youdie006/swapdex 0.165.1 → 0.165.3
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 +13 -9
- 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
|
|
@@ -451,13 +453,15 @@ external consumers need their own login instead of a copy of a managed slot.
|
|
|
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
455
|
for idle logins. `quota` and the dashboard contact provider usage endpoints;
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
native tool's sign-in flow. The proxy
|
|
458
|
-
credential using `ureq`, rustls and
|
|
459
|
-
|
|
460
|
-
|
|
456
|
+
they never invoke OAuth renewal or update saved credentials. Expired credentials
|
|
457
|
+
are reported without a usage request, while a running native Claude session may
|
|
458
|
+
supply its current token for the same account. `doctor` checks the published
|
|
459
|
+
version online. Login commands invoke the native tool's sign-in flow. The proxy
|
|
460
|
+
relays model requests with the selected credential using `ureq`, rustls and
|
|
461
|
+
bundled roots. Its Hyper HTTP/1 listener uses a single-thread Tokio runtime to
|
|
462
|
+
flush streamed responses and close failed streams. CI limits runtime features
|
|
463
|
+
and excludes additional client frameworks and system-TLS dependencies. An
|
|
464
|
+
ordinary account selection does not submit a model request.
|
|
461
465
|
|
|
462
466
|
Explicit account selection, launch defaults and configured proxy failover are
|
|
463
467
|
separate controls. A local file lock coordinates participating Swapdex callers;
|
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.3"
|
|
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.3
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@youdie006/swapdex",
|
|
3
|
-
"version": "0.165.
|
|
3
|
+
"version": "0.165.3",
|
|
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.3",
|
|
16
|
+
"@youdie006/swapdex-darwin-x64": "0.165.3",
|
|
17
|
+
"@youdie006/swapdex-linux-x64": "0.165.3",
|
|
18
|
+
"@youdie006/swapdex-linux-arm64": "0.165.3"
|
|
19
19
|
},
|
|
20
20
|
"keywords": [
|
|
21
21
|
"cli",
|