codex-multi-auth 0.1.1 → 0.1.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.
Files changed (34) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +5 -4
  3. package/assets/readme-hero.svg +31 -31
  4. package/dist/lib/codex-manager.d.ts.map +1 -1
  5. package/dist/lib/codex-manager.js +1 -2
  6. package/dist/lib/codex-manager.js.map +1 -1
  7. package/dist/lib/context-overflow.js +10 -10
  8. package/dist/lib/prompts/codex.js +2 -2
  9. package/dist/lib/runtime-paths.d.ts.map +1 -1
  10. package/dist/lib/runtime-paths.js +31 -5
  11. package/dist/lib/runtime-paths.js.map +1 -1
  12. package/dist/lib/storage/paths.d.ts.map +1 -1
  13. package/dist/lib/storage/paths.js +24 -6
  14. package/dist/lib/storage/paths.js.map +1 -1
  15. package/dist/lib/storage.d.ts.map +1 -1
  16. package/dist/lib/storage.js +184 -49
  17. package/dist/lib/storage.js.map +1 -1
  18. package/node_modules/@codex-ai/plugin/dist/index.d.ts +1 -1
  19. package/node_modules/@codex-ai/plugin/dist/tool.d.ts +41 -41
  20. package/node_modules/@codex-ai/plugin/dist/tool.js +28 -28
  21. package/package.json +1 -1
  22. package/scripts/audit-dev-allowlist.js +128 -128
  23. package/scripts/bench-format/hashline-v2.mjs +642 -642
  24. package/scripts/bench-format/render.mjs +496 -496
  25. package/scripts/bench-format/stats.mjs +54 -54
  26. package/scripts/bench-format/tasks.mjs +151 -151
  27. package/scripts/benchmark-render-dashboard.mjs +49 -49
  28. package/scripts/copy-oauth-success.js +37 -37
  29. package/scripts/test-all-models.sh +7 -7
  30. package/scripts/validate-model-map.sh +7 -7
  31. package/vendor/codex-ai-plugin/dist/index.d.ts +1 -1
  32. package/vendor/codex-ai-plugin/dist/tool.d.ts +41 -41
  33. package/vendor/codex-ai-plugin/dist/tool.js +28 -28
  34. package/vendor/codex-ai-sdk/dist/index.d.ts +3 -3
package/LICENSE CHANGED
@@ -1 +1 @@
1
-
1
+
package/README.md CHANGED
@@ -266,10 +266,11 @@ codex auth doctor --json
266
266
 
267
267
  ---
268
268
 
269
- ## Release Notes
270
-
271
- - Current stable: [docs/releases/v0.1.1.md](docs/releases/v0.1.1.md)
272
- - Previous stable: [docs/releases/v0.1.0.md](docs/releases/v0.1.0.md)
269
+ ## Release Notes
270
+
271
+ - Current stable: [docs/releases/v0.1.3.md](docs/releases/v0.1.3.md)
272
+ - Previous stable: [docs/releases/v0.1.2.md](docs/releases/v0.1.2.md)
273
+ - Earlier stable: [docs/releases/v0.1.1.md](docs/releases/v0.1.1.md)
273
274
  - Archived prerelease: [docs/releases/v0.1.0-beta.0.md](docs/releases/v0.1.0-beta.0.md)
274
275
 
275
276
  ## License
@@ -1,31 +1,31 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="1200" height="300" viewBox="0 0 1200 300" role="img" aria-label="Codex Multi-Auth OAuth">
2
- <defs>
3
- <linearGradient id="bg" x1="0" y1="0" x2="1" y2="1">
4
- <stop offset="0%" stop-color="#0f172a" />
5
- <stop offset="100%" stop-color="#1f2937" />
6
- </linearGradient>
7
- <linearGradient id="accent" x1="0" y1="0" x2="1" y2="0">
8
- <stop offset="0%" stop-color="#38bdf8" />
9
- <stop offset="100%" stop-color="#22d3ee" />
10
- </linearGradient>
11
- </defs>
12
- <rect width="1200" height="300" rx="28" fill="url(#bg)" />
13
- <g opacity="0.12">
14
- <circle cx="1020" cy="70" r="120" fill="#38bdf8" />
15
- <circle cx="150" cy="260" r="140" fill="#22d3ee" />
16
- </g>
17
- <g fill="none" stroke="url(#accent)" stroke-width="8" stroke-linecap="round" stroke-linejoin="round">
18
- <path d="M160 95 L100 150 L160 205" />
19
- <path d="M280 95 L340 150 L280 205" />
20
- <path d="M205 80 L235 220" />
21
- </g>
22
- <text x="420" y="120" fill="#e2e8f0" font-size="42" font-family="'IBM Plex Sans','Segoe UI',Arial,sans-serif" font-weight="600">
23
- Codex Multi-Auth OAuth
24
- </text>
25
- <text x="420" y="170" fill="#cbd5f5" font-size="24" font-family="'IBM Plex Sans','Segoe UI',Arial,sans-serif">
26
- ChatGPT Plus/Pro auth for GPT-5.2 and Codex models
27
- </text>
28
- <text x="420" y="220" fill="#7dd3fc" font-size="18" font-family="'IBM Plex Sans','Segoe UI',Arial,sans-serif">
29
- One-command install, modern variants, full tool support
30
- </text>
31
- </svg>
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="1200" height="300" viewBox="0 0 1200 300" role="img" aria-label="Codex Multi-Auth OAuth">
2
+ <defs>
3
+ <linearGradient id="bg" x1="0" y1="0" x2="1" y2="1">
4
+ <stop offset="0%" stop-color="#0f172a" />
5
+ <stop offset="100%" stop-color="#1f2937" />
6
+ </linearGradient>
7
+ <linearGradient id="accent" x1="0" y1="0" x2="1" y2="0">
8
+ <stop offset="0%" stop-color="#38bdf8" />
9
+ <stop offset="100%" stop-color="#22d3ee" />
10
+ </linearGradient>
11
+ </defs>
12
+ <rect width="1200" height="300" rx="28" fill="url(#bg)" />
13
+ <g opacity="0.12">
14
+ <circle cx="1020" cy="70" r="120" fill="#38bdf8" />
15
+ <circle cx="150" cy="260" r="140" fill="#22d3ee" />
16
+ </g>
17
+ <g fill="none" stroke="url(#accent)" stroke-width="8" stroke-linecap="round" stroke-linejoin="round">
18
+ <path d="M160 95 L100 150 L160 205" />
19
+ <path d="M280 95 L340 150 L280 205" />
20
+ <path d="M205 80 L235 220" />
21
+ </g>
22
+ <text x="420" y="120" fill="#e2e8f0" font-size="42" font-family="'IBM Plex Sans','Segoe UI',Arial,sans-serif" font-weight="600">
23
+ Codex Multi-Auth OAuth
24
+ </text>
25
+ <text x="420" y="170" fill="#cbd5f5" font-size="24" font-family="'IBM Plex Sans','Segoe UI',Arial,sans-serif">
26
+ ChatGPT Plus/Pro auth for GPT-5.2 and Codex models
27
+ </text>
28
+ <text x="420" y="220" fill="#7dd3fc" font-size="18" font-family="'IBM Plex Sans','Segoe UI',Arial,sans-serif">
29
+ One-command install, modern variants, full tool support
30
+ </text>
31
+ </svg>
@@ -1 +1 @@
1
- {"version":3,"file":"codex-manager.d.ts","sourceRoot":"","sources":["../../lib/codex-manager.ts"],"names":[],"mappings":"AAioHA,wBAAsB,oBAAoB,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,MAAM,CAAC,CA6D7E"}
1
+ {"version":3,"file":"codex-manager.d.ts","sourceRoot":"","sources":["../../lib/codex-manager.ts"],"names":[],"mappings":"AAgoHA,wBAAsB,oBAAoB,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,MAAM,CAAC,CA6D7E"}
@@ -3142,8 +3142,7 @@ async function runSwitch(args) {
3142
3142
  expiresAt: account.expiresAt,
3143
3143
  });
3144
3144
  if (!synced) {
3145
- console.error(`Switch failed: account ${parsed} was selected locally but Codex auth sync failed. Run \"Refresh login for this account\" and retry.`);
3146
- return 1;
3145
+ console.warn(`Switched account ${parsed} locally, but Codex auth sync did not complete. Multi-auth routing will still use this account.`);
3147
3146
  }
3148
3147
  console.log(`Switched to account ${parsed}: ${formatAccountLabel(account, targetIndex)}${wasDisabled ? " (re-enabled)" : ""}`);
3149
3148
  return 0;