@youdie006/swapdex 0.167.32 → 0.167.34

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 CHANGED
@@ -251,7 +251,9 @@ account is always visible inside the tool you are switching
251
251
 
252
252
  To show who is paying and what that account has left, use
253
253
  `swapdex serve --quiet` instead. It prints one line from swapdex's cache, e.g.
254
- `work (you@example.com) - 5h 95% | 7d 24%`. Claude Code re-runs a status line
254
+ `work (you@example.com) - 5h 95% | 7d 24%`. When the paying account's or your
255
+ sessions' account's Claude sign-in ends within three days, the line says so after
256
+ the usage: `... - 7d 24% · work login ends Mon 9:40am`. Claude Code re-runs a status line
255
257
  command only when the conversation changes, so also set `refreshInterval` (in
256
258
  seconds); without it the numbers stay where they were while a session waits on
257
259
  a long tool call:
@@ -338,6 +340,12 @@ remains valid, but provider expiry, revocation or renewal by another credential
338
340
  holder can make a new browser sign-in necessary. Keep-alive reduces avoidable
339
341
  idle expiry; it cannot guarantee that a login never expires.
340
342
 
343
+ A Claude sign-in also has a fixed end, set when you sign in (27 days later on
344
+ the logins measured), and no renewal moves it. `swapdex ls` and `swapdex doctor`
345
+ name that end from three days out, and again once it has passed, so you can run
346
+ `/login` in a session of that account (`swapdex run <name>`) before Claude Code
347
+ says "Login expired".
348
+
341
349
  Swapdex can renew idle accounts **while its proxy is running**,
342
350
  because that is the process holding the timer:
343
351
 
@@ -433,7 +441,9 @@ Already-current accounts and successful or empty runs return 0. Missing or
433
441
  unreadable logins produce a sign-in remedy without an OAuth request.
434
442
 
435
443
  `swapdex refresh --keep-alive` runs the same check without a proxy. If a local
436
- session holds a due account, Swapdex leaves its refresh token alone. A verified
444
+ session holds a due account, Swapdex leaves its refresh token alone. A session
445
+ of the same account signed in separately, whose own refresh token is readable
446
+ and different, holds nothing a renewal could retire, so it does not count. A verified
437
447
  usable native login is shown as managed by Claude or Codex, including
438
448
  `renewal_owner` in `ls --json`; this is not an OAuth renewal by Swapdex. When
439
449
  that native login cannot be verified, renewal remains deferred and unverified.
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.167.32"
3
+ .TH swapdex 1 "swapdex 0.167.34"
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.167.32
142
+ v0.167.34
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@youdie006/swapdex",
3
- "version": "0.167.32",
3
+ "version": "0.167.34",
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"
@@ -13,10 +13,10 @@
13
13
  "man/swapdex.1"
14
14
  ],
15
15
  "optionalDependencies": {
16
- "@youdie006/swapdex-darwin-arm64": "0.167.32",
17
- "@youdie006/swapdex-darwin-x64": "0.167.32",
18
- "@youdie006/swapdex-linux-x64": "0.167.32",
19
- "@youdie006/swapdex-linux-arm64": "0.167.32"
16
+ "@youdie006/swapdex-darwin-arm64": "0.167.34",
17
+ "@youdie006/swapdex-darwin-x64": "0.167.34",
18
+ "@youdie006/swapdex-linux-x64": "0.167.34",
19
+ "@youdie006/swapdex-linux-arm64": "0.167.34"
20
20
  },
21
21
  "keywords": [
22
22
  "cli",