@youdie006/swapdex 0.161.0 → 0.163.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 CHANGED
@@ -239,6 +239,27 @@ setup is one keystroke and a name.
239
239
  <img src="https://raw.githubusercontent.com/youdie006/swapdex/main/docs/ui-demo.gif" alt="swapdex ui on a fresh machine: it finds the Claude Code and Codex logins already present, saves them as a profile named main, and shows the account with its 5h and 7d usage bars" width="760" />
240
240
  </div>
241
241
 
242
+ ## Resuming Codex conversations
243
+
244
+ Use `codex resume` normally, or `codex resume --all` to include other working
245
+ directories. Swapdex keeps one stable OpenAI provider across account changes.
246
+ The paying account is shown by `swapdex serve --tool codex --quiet`.
247
+ If the proxy cannot start, the launcher warns that Codex will use its own login
248
+ directly.
249
+
250
+ After updating from a version that created `swapdex` provider IDs, run
251
+ `swapdex shim` to refresh the launcher. It automatically repairs those legacy
252
+ session labels before launching Codex. To inspect or retry the repair directly:
253
+
254
+ ```sh
255
+ swapdex repair-codex-sessions --dry-run
256
+ swapdex repair-codex-sessions
257
+ ```
258
+
259
+ The repair preserves conversation contents and keeps a private recovery journal.
260
+ Open sessions are deferred until they close. Unsupported compressed rollouts
261
+ and unsuccessful repairs are reported rather than silently hidden.
262
+
242
263
  ## Keeping accounts from expiring
243
264
 
244
265
  Access tokens expire by design. An idle slot can renew while its refresh token
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.161.0"
3
+ .TH swapdex 1 "swapdex 0.163.0"
4
4
  .SH NAME
5
5
  swapdex \- Switch Claude Code / Codex / Gemini / Antigravity login accounts, locally and safely.
6
6
  .SH SYNOPSIS
@@ -16,6 +16,9 @@ Print help
16
16
  Print version
17
17
  .SH SUBCOMMANDS
18
18
  .TP
19
+ swapdex\-repair\-codex\-sessions(1)
20
+ Repair provider metadata written by older Swapdex Codex shims
21
+ .TP
19
22
  swapdex\-add(1)
20
23
  Save the current live login as a named profile
21
24
  .TP
@@ -136,4 +139,4 @@ Print the man page (roff) to stdout
136
139
  swapdex\-help(1)
137
140
  Print this message or the help of the given subcommand(s)
138
141
  .SH VERSION
139
- v0.161.0
142
+ v0.163.0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@youdie006/swapdex",
3
- "version": "0.161.0",
3
+ "version": "0.163.0",
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.161.0",
16
- "@youdie006/swapdex-darwin-x64": "0.161.0",
17
- "@youdie006/swapdex-linux-x64": "0.161.0",
18
- "@youdie006/swapdex-linux-arm64": "0.161.0"
15
+ "@youdie006/swapdex-darwin-arm64": "0.163.0",
16
+ "@youdie006/swapdex-darwin-x64": "0.163.0",
17
+ "@youdie006/swapdex-linux-x64": "0.163.0",
18
+ "@youdie006/swapdex-linux-arm64": "0.163.0"
19
19
  },
20
20
  "keywords": [
21
21
  "cli",