codex-multi-auth 2.0.0 → 2.0.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.
Files changed (102) hide show
  1. package/README.md +13 -10
  2. package/config/README.md +4 -4
  3. package/config/codex-legacy.json +45 -120
  4. package/config/codex-modern.json +36 -52
  5. package/config/minimal-codex.json +1 -1
  6. package/dist/index.d.ts +1 -1
  7. package/dist/index.d.ts.map +1 -1
  8. package/dist/index.js +85 -14
  9. package/dist/index.js.map +1 -1
  10. package/dist/lib/auth/device-auth.d.ts +46 -0
  11. package/dist/lib/auth/device-auth.d.ts.map +1 -0
  12. package/dist/lib/auth/device-auth.js +325 -0
  13. package/dist/lib/auth/device-auth.js.map +1 -0
  14. package/dist/lib/auth/index.d.ts +2 -0
  15. package/dist/lib/auth/index.d.ts.map +1 -1
  16. package/dist/lib/auth/index.js +1 -0
  17. package/dist/lib/auth/index.js.map +1 -1
  18. package/dist/lib/auto-update-checker.d.ts +23 -1
  19. package/dist/lib/auto-update-checker.d.ts.map +1 -1
  20. package/dist/lib/auto-update-checker.js +481 -8
  21. package/dist/lib/auto-update-checker.js.map +1 -1
  22. package/dist/lib/cli.d.ts +5 -0
  23. package/dist/lib/cli.d.ts.map +1 -1
  24. package/dist/lib/cli.js.map +1 -1
  25. package/dist/lib/codex-manager/commands/best.js +1 -1
  26. package/dist/lib/codex-manager/commands/best.js.map +1 -1
  27. package/dist/lib/codex-manager/commands/forecast.js +3 -3
  28. package/dist/lib/codex-manager/commands/forecast.js.map +1 -1
  29. package/dist/lib/codex-manager/commands/report.js +3 -3
  30. package/dist/lib/codex-manager/commands/report.js.map +1 -1
  31. package/dist/lib/codex-manager/commands/rotation.d.ts +4 -0
  32. package/dist/lib/codex-manager/commands/rotation.d.ts.map +1 -1
  33. package/dist/lib/codex-manager/commands/rotation.js +37 -11
  34. package/dist/lib/codex-manager/commands/rotation.js.map +1 -1
  35. package/dist/lib/codex-manager/commands/status.d.ts +6 -0
  36. package/dist/lib/codex-manager/commands/status.d.ts.map +1 -1
  37. package/dist/lib/codex-manager/commands/status.js +26 -3
  38. package/dist/lib/codex-manager/commands/status.js.map +1 -1
  39. package/dist/lib/codex-manager/forecast-report-commands.js +4 -4
  40. package/dist/lib/codex-manager/forecast-report-commands.js.map +1 -1
  41. package/dist/lib/codex-manager/help.d.ts +1 -0
  42. package/dist/lib/codex-manager/help.d.ts.map +1 -1
  43. package/dist/lib/codex-manager/help.js +20 -3
  44. package/dist/lib/codex-manager/help.js.map +1 -1
  45. package/dist/lib/codex-manager/rate-limit-markers.d.ts +2 -0
  46. package/dist/lib/codex-manager/rate-limit-markers.d.ts.map +1 -0
  47. package/dist/lib/codex-manager/rate-limit-markers.js +4 -0
  48. package/dist/lib/codex-manager/rate-limit-markers.js.map +1 -0
  49. package/dist/lib/codex-manager/repair-commands.js +3 -3
  50. package/dist/lib/codex-manager/repair-commands.js.map +1 -1
  51. package/dist/lib/codex-manager.d.ts.map +1 -1
  52. package/dist/lib/codex-manager.js +78 -91
  53. package/dist/lib/codex-manager.js.map +1 -1
  54. package/dist/lib/config.js +2 -2
  55. package/dist/lib/config.js.map +1 -1
  56. package/dist/lib/prompts/codex.d.ts +1 -1
  57. package/dist/lib/prompts/codex.d.ts.map +1 -1
  58. package/dist/lib/prompts/codex.js +3 -3
  59. package/dist/lib/prompts/codex.js.map +1 -1
  60. package/dist/lib/quota-probe.js +1 -1
  61. package/dist/lib/quota-probe.js.map +1 -1
  62. package/dist/lib/quota-readiness.d.ts +16 -0
  63. package/dist/lib/quota-readiness.d.ts.map +1 -0
  64. package/dist/lib/quota-readiness.js +82 -0
  65. package/dist/lib/quota-readiness.js.map +1 -0
  66. package/dist/lib/request/fetch-helpers.d.ts.map +1 -1
  67. package/dist/lib/request/fetch-helpers.js +19 -8
  68. package/dist/lib/request/fetch-helpers.js.map +1 -1
  69. package/dist/lib/request/helpers/model-map.d.ts +2 -1
  70. package/dist/lib/request/helpers/model-map.d.ts.map +1 -1
  71. package/dist/lib/request/helpers/model-map.js +52 -60
  72. package/dist/lib/request/helpers/model-map.js.map +1 -1
  73. package/dist/lib/request/request-transformer.d.ts +2 -2
  74. package/dist/lib/request/request-transformer.js +4 -3
  75. package/dist/lib/request/request-transformer.js.map +1 -1
  76. package/dist/lib/runtime/login-menu-accounts.d.ts +5 -0
  77. package/dist/lib/runtime/login-menu-accounts.d.ts.map +1 -1
  78. package/dist/lib/runtime/login-menu-accounts.js +7 -2
  79. package/dist/lib/runtime/login-menu-accounts.js.map +1 -1
  80. package/dist/lib/runtime/quota-probe.js +1 -1
  81. package/dist/lib/runtime/quota-probe.js.map +1 -1
  82. package/dist/lib/runtime/runtime-current-account.d.ts +52 -0
  83. package/dist/lib/runtime/runtime-current-account.d.ts.map +1 -0
  84. package/dist/lib/runtime/runtime-current-account.js +252 -0
  85. package/dist/lib/runtime/runtime-current-account.js.map +1 -0
  86. package/dist/lib/runtime-rotation-proxy.js +1 -1
  87. package/dist/lib/runtime-rotation-proxy.js.map +1 -1
  88. package/dist/lib/schemas.d.ts +3 -0
  89. package/dist/lib/schemas.d.ts.map +1 -1
  90. package/dist/lib/schemas.js +1 -0
  91. package/dist/lib/schemas.js.map +1 -1
  92. package/dist/lib/ui/auth-menu.d.ts +6 -1
  93. package/dist/lib/ui/auth-menu.d.ts.map +1 -1
  94. package/dist/lib/ui/auth-menu.js +22 -2
  95. package/dist/lib/ui/auth-menu.js.map +1 -1
  96. package/package.json +1 -1
  97. package/scripts/bench-format/codex-host.mjs +142 -142
  98. package/scripts/bench-format/models.mjs +20 -22
  99. package/scripts/benchmark-edit-formats.mjs +9 -9
  100. package/scripts/codex-app-router.js +121 -121
  101. package/scripts/codex.js +3636 -3473
  102. package/scripts/postinstall.js +120 -14
package/README.md CHANGED
@@ -23,7 +23,7 @@ Codex CLI-first multi-account OAuth manager for the official Codex CLI. The inst
23
23
  - Experimental settings tab for staged sync, backup, and refresh-guard controls
24
24
  - Forecast, report, fix, and doctor commands for operational safety
25
25
  - Runtime counters, budget/cooldown state, and multi-auth probe visibility in `codex auth status` / `codex auth report`
26
- - Opt-in runtime Responses proxy for live account rotation inside forwarded Codex CLI/app sessions
26
+ - Default-on runtime Responses proxy for live account rotation inside forwarded Codex CLI/app sessions
27
27
  - Reversible packaged Codex app bind and user-level launcher routing helpers
28
28
  - Flagged account verification and restore flow
29
29
  - Session affinity and live account sync controls
@@ -134,7 +134,8 @@ codex auth switch 2
134
134
  codex auth forecast --live
135
135
  ```
136
136
 
137
- If browser launch is blocked, use the alternate login paths in [docs/getting-started.md](docs/getting-started.md#alternate-login-paths).
137
+ If browser launch is blocked, use the alternate login paths in [docs/getting-started.md](docs/getting-started.md#alternate-login-paths).
138
+ For remote or headless shells, prefer `codex auth login --device-auth`.
138
139
 
139
140
  ---
140
141
 
@@ -170,7 +171,7 @@ If browser launch is blocked, use the alternate login paths in [docs/getting-sta
170
171
  | Command | What it answers |
171
172
  | --- | --- |
172
173
  | `codex auth report --live --json` | How do I get the full machine-readable health report? |
173
- | `codex auth fix --live --model gpt-5-codex` | How do I run live repair probes with a chosen model? |
174
+ | `codex auth fix --live --model gpt-5.3-codex` | How do I run live repair probes with a chosen model? |
174
175
  | `codex auth why-selected --json` | Which account does the selector pick now, and why? |
175
176
  | `codex auth rotation status` | Is live runtime account rotation enabled for forwarded Codex sessions? |
176
177
 
@@ -239,10 +240,11 @@ Selected runtime/environment overrides:
239
240
  | `CODEX_MULTI_AUTH_DIR` | Override settings/accounts root |
240
241
  | `CODEX_MULTI_AUTH_CONFIG_PATH` | Alternate config file path |
241
242
  | `CODEX_MODE=0/1` | Disable/enable Codex mode |
242
- | `CODEX_MULTI_AUTH_RUNTIME_ROTATION_PROXY=0/1` | Opt in/out of live Responses proxy rotation for forwarded Codex CLI/app sessions |
243
+ | `CODEX_MULTI_AUTH_RUNTIME_ROTATION_PROXY=0/1` | Opt out/in of live Responses proxy rotation for forwarded Codex CLI/app sessions |
243
244
  | `CODEX_MULTI_AUTH_APP_ROTATION_IDLE_MS=<ms>` | Override automatic Codex app helper idle shutdown |
244
245
  | `CODEX_MULTI_AUTH_APP_BIND_INSTALL=0/1` | Opt out/in of packaged Codex app bind self-heal during install/update or rotation enable |
245
- | `CODEX_MULTI_AUTH_APP_LAUNCHER_INSTALL=0/1` | Opt out/in of routing supported app shortcuts during rotation enable |
246
+ | `CODEX_MULTI_AUTH_APP_LAUNCHER_INSTALL=0/1` | Opt out/in of routing supported app shortcuts during install/update or rotation enable |
247
+ | `CODEX_MULTI_AUTH_AUTO_UPDATE=0/1` | Opt out/in of best-effort global package auto-update checks |
246
248
  | `CODEX_TUI_V2=0/1` | Disable/enable TUI v2 |
247
249
  | `CODEX_TUI_COLOR_PROFILE=truecolor|ansi256|ansi16` | TUI color profile |
248
250
  | `CODEX_TUI_GLYPHS=ascii|unicode|auto` | TUI glyph style |
@@ -260,7 +262,7 @@ codex auth forecast --live
260
262
 
261
263
  Responses background mode stays opt-in. Enable `backgroundResponses` in settings or `CODEX_AUTH_BACKGROUND_RESPONSES=1` only for callers that intentionally send `background: true`, because those requests switch from stateless `store=false` routing to stateful `store=true`. See [docs/upgrade.md](docs/upgrade.md) for rollout guidance.
262
264
 
263
- Runtime rotation also stays opt-in. `codex auth rotation enable` persists the setting, starts a localhost-only provider path for future wrapper-launched sessions, and binds supported packaged Codex app installs through a reversible local router. `codex auth rotation disable` turns the setting off and removes the persistent app bind.
265
+ Runtime rotation is enabled by default for request-bearing wrapper-launched Codex sessions. Global install/update self-heals supported packaged Codex app binds and user-level launcher routing when possible, while `codex auth rotation enable` remains the explicit repair command. `codex auth rotation disable` turns the setting off and removes the persistent app bind. Set `CODEX_MULTI_AUTH_RUNTIME_ROTATION_PROXY=0`, `CODEX_MULTI_AUTH_APP_BIND_INSTALL=0`, `CODEX_MULTI_AUTH_APP_LAUNCHER_INSTALL=0`, or `CODEX_MULTI_AUTH_AUTO_UPDATE=0` to opt out of the matching default behavior.
264
266
 
265
267
  ---
266
268
 
@@ -304,7 +306,7 @@ codex auth login
304
306
  - Requests fail fast after repeated upstream 5xx errors: inspect `codex auth report --json` for runtime traffic and cooldown details
305
307
  - Storage cleanup fails with `EBUSY` / `EPERM` (Windows): run `codex auth doctor --fix` to retry, or manually remove `~/.codex/multi-auth/<project-key>/` and re-login
306
308
  - OAuth callback on port `1455` fails: free the port and re-run `codex auth login`
307
- - Browser launch is blocked or you are in a headless shell: re-run `codex auth login --manual` or set `CODEX_AUTH_NO_BROWSER=1`
309
+ - Browser launch is blocked or you are in a headless shell: prefer `codex auth login --device-auth`; use `codex auth login --manual` or `CODEX_AUTH_NO_BROWSER=1` only when you need the callback-paste fallback
308
310
  - `missing field id_token` / `token_expired` / `refresh_token_reused`: re-login affected account
309
311
 
310
312
  </details>
@@ -346,9 +348,10 @@ codex auth doctor --json
346
348
 
347
349
  ## Release Notes
348
350
 
349
- - Current stable: [docs/releases/v2.0.0.md](docs/releases/v2.0.0.md)
350
- - Previous stable: [docs/releases/v1.3.2.md](docs/releases/v1.3.2.md)
351
- - Earlier stable: [docs/releases/v1.3.1.md](docs/releases/v1.3.1.md)
351
+ - Current stable: [docs/releases/v2.0.2.md](docs/releases/v2.0.2.md)
352
+ - Previous stable: [docs/releases/v2.0.1.md](docs/releases/v2.0.1.md)
353
+ - Earlier stable: [docs/releases/v1.3.2.md](docs/releases/v1.3.2.md)
354
+ - Stable archive: [docs/releases/v1.3.1.md](docs/releases/v1.3.1.md)
352
355
  - Full release archive: [docs/README.md#release-history](docs/README.md#release-history)
353
356
  - Archived prerelease: [docs/releases/v0.1.0-beta.0.md](docs/releases/v0.1.0-beta.0.md)
354
357
 
package/config/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Config Templates
2
2
 
3
- These files are optional model/provider templates for host/plugin configurations that still load `codex-multi-auth` directly. The normal wrapper workflow uses `codex auth ...` and does not require these templates.
3
+ These files are optional model/provider templates for host/plugin configurations that still load `codex-multi-auth` directly. The normal wrapper workflow uses `codex auth ...` and does not require these templates.
4
4
 
5
5
  ## Primary (Codex-named)
6
6
 
@@ -12,12 +12,12 @@ These files are optional model/provider templates for host/plugin configurations
12
12
 
13
13
  ## Notes
14
14
 
15
- - These templates are optional for the OAuth account manager flow and the runtime rotation proxy.
16
- - Core auth commands use `codex auth login`.
15
+ - These templates are optional for the OAuth account manager flow and the runtime rotation proxy.
16
+ - Core auth commands use `codex auth login`.
17
17
 
18
18
  ## Defaults Included
19
19
 
20
- - GPT-5.x Codex model families
20
+ - Current documented OpenAI/Codex model families (`gpt-5.5`, `gpt-5.4`, and `gpt-5.3-codex`)
21
21
  - `store: false`
22
22
  - `include: ["reasoning.encrypted_content"]`
23
23
  - Sensible fallback behavior for unsupported model entitlements
@@ -215,8 +215,8 @@
215
215
  "store": false
216
216
  }
217
217
  },
218
- "gpt-5.1-codex-max-low": {
219
- "name": "GPT 5.1 Codex Max Low (OAuth)",
218
+ "gpt-5.4-none": {
219
+ "name": "GPT 5.4 None (OAuth)",
220
220
  "limit": {
221
221
  "context": 272000,
222
222
  "output": 128000
@@ -231,8 +231,8 @@
231
231
  ]
232
232
  },
233
233
  "options": {
234
- "reasoningEffort": "low",
235
- "reasoningSummary": "detailed",
234
+ "reasoningEffort": "none",
235
+ "reasoningSummary": "auto",
236
236
  "textVerbosity": "medium",
237
237
  "include": [
238
238
  "reasoning.encrypted_content"
@@ -240,8 +240,8 @@
240
240
  "store": false
241
241
  }
242
242
  },
243
- "gpt-5.1-codex-max-medium": {
244
- "name": "GPT 5.1 Codex Max Medium (OAuth)",
243
+ "gpt-5.4-low": {
244
+ "name": "GPT 5.4 Low (OAuth)",
245
245
  "limit": {
246
246
  "context": 272000,
247
247
  "output": 128000
@@ -256,8 +256,8 @@
256
256
  ]
257
257
  },
258
258
  "options": {
259
- "reasoningEffort": "medium",
260
- "reasoningSummary": "detailed",
259
+ "reasoningEffort": "low",
260
+ "reasoningSummary": "auto",
261
261
  "textVerbosity": "medium",
262
262
  "include": [
263
263
  "reasoning.encrypted_content"
@@ -265,8 +265,8 @@
265
265
  "store": false
266
266
  }
267
267
  },
268
- "gpt-5.1-codex-max-high": {
269
- "name": "GPT 5.1 Codex Max High (OAuth)",
268
+ "gpt-5.4-medium": {
269
+ "name": "GPT 5.4 Medium (OAuth)",
270
270
  "limit": {
271
271
  "context": 272000,
272
272
  "output": 128000
@@ -281,8 +281,8 @@
281
281
  ]
282
282
  },
283
283
  "options": {
284
- "reasoningEffort": "high",
285
- "reasoningSummary": "detailed",
284
+ "reasoningEffort": "medium",
285
+ "reasoningSummary": "auto",
286
286
  "textVerbosity": "medium",
287
287
  "include": [
288
288
  "reasoning.encrypted_content"
@@ -290,8 +290,8 @@
290
290
  "store": false
291
291
  }
292
292
  },
293
- "gpt-5.1-codex-max-xhigh": {
294
- "name": "GPT 5.1 Codex Max Extra High (OAuth)",
293
+ "gpt-5.4-high": {
294
+ "name": "GPT 5.4 High (OAuth)",
295
295
  "limit": {
296
296
  "context": 272000,
297
297
  "output": 128000
@@ -306,7 +306,7 @@
306
306
  ]
307
307
  },
308
308
  "options": {
309
- "reasoningEffort": "xhigh",
309
+ "reasoningEffort": "high",
310
310
  "reasoningSummary": "detailed",
311
311
  "textVerbosity": "medium",
312
312
  "include": [
@@ -315,8 +315,8 @@
315
315
  "store": false
316
316
  }
317
317
  },
318
- "gpt-5.1-codex-low": {
319
- "name": "GPT 5.1 Codex Low (OAuth)",
318
+ "gpt-5.4-xhigh": {
319
+ "name": "GPT 5.4 Extra High (OAuth)",
320
320
  "limit": {
321
321
  "context": 272000,
322
322
  "output": 128000
@@ -331,8 +331,8 @@
331
331
  ]
332
332
  },
333
333
  "options": {
334
- "reasoningEffort": "low",
335
- "reasoningSummary": "auto",
334
+ "reasoningEffort": "xhigh",
335
+ "reasoningSummary": "detailed",
336
336
  "textVerbosity": "medium",
337
337
  "include": [
338
338
  "reasoning.encrypted_content"
@@ -340,8 +340,8 @@
340
340
  "store": false
341
341
  }
342
342
  },
343
- "gpt-5.1-codex-medium": {
344
- "name": "GPT 5.1 Codex Medium (OAuth)",
343
+ "gpt-5.4-pro-medium": {
344
+ "name": "GPT 5.4 Pro Medium (OAuth)",
345
345
  "limit": {
346
346
  "context": 272000,
347
347
  "output": 128000
@@ -357,7 +357,7 @@
357
357
  },
358
358
  "options": {
359
359
  "reasoningEffort": "medium",
360
- "reasoningSummary": "auto",
360
+ "reasoningSummary": "detailed",
361
361
  "textVerbosity": "medium",
362
362
  "include": [
363
363
  "reasoning.encrypted_content"
@@ -365,8 +365,8 @@
365
365
  "store": false
366
366
  }
367
367
  },
368
- "gpt-5.1-codex-high": {
369
- "name": "GPT 5.1 Codex High (OAuth)",
368
+ "gpt-5.4-pro-high": {
369
+ "name": "GPT 5.4 Pro High (OAuth)",
370
370
  "limit": {
371
371
  "context": 272000,
372
372
  "output": 128000
@@ -390,8 +390,8 @@
390
390
  "store": false
391
391
  }
392
392
  },
393
- "gpt-5.1-codex-mini-medium": {
394
- "name": "GPT 5.1 Codex Mini Medium (OAuth)",
393
+ "gpt-5.4-pro-xhigh": {
394
+ "name": "GPT 5.4 Pro Extra High (OAuth)",
395
395
  "limit": {
396
396
  "context": 272000,
397
397
  "output": 128000
@@ -406,8 +406,8 @@
406
406
  ]
407
407
  },
408
408
  "options": {
409
- "reasoningEffort": "medium",
410
- "reasoningSummary": "auto",
409
+ "reasoningEffort": "xhigh",
410
+ "reasoningSummary": "detailed",
411
411
  "textVerbosity": "medium",
412
412
  "include": [
413
413
  "reasoning.encrypted_content"
@@ -415,8 +415,8 @@
415
415
  "store": false
416
416
  }
417
417
  },
418
- "gpt-5.1-codex-mini-high": {
419
- "name": "GPT 5.1 Codex Mini High (OAuth)",
418
+ "gpt-5.4-mini-medium": {
419
+ "name": "GPT 5.4 Mini Medium (OAuth)",
420
420
  "limit": {
421
421
  "context": 272000,
422
422
  "output": 128000
@@ -431,8 +431,8 @@
431
431
  ]
432
432
  },
433
433
  "options": {
434
- "reasoningEffort": "high",
435
- "reasoningSummary": "detailed",
434
+ "reasoningEffort": "medium",
435
+ "reasoningSummary": "auto",
436
436
  "textVerbosity": "medium",
437
437
  "include": [
438
438
  "reasoning.encrypted_content"
@@ -440,8 +440,8 @@
440
440
  "store": false
441
441
  }
442
442
  },
443
- "gpt-5.1-none": {
444
- "name": "GPT 5.1 None (OAuth)",
443
+ "gpt-5.4-nano-medium": {
444
+ "name": "GPT 5.4 Nano Medium (OAuth)",
445
445
  "limit": {
446
446
  "context": 272000,
447
447
  "output": 128000
@@ -456,7 +456,7 @@
456
456
  ]
457
457
  },
458
458
  "options": {
459
- "reasoningEffort": "none",
459
+ "reasoningEffort": "medium",
460
460
  "reasoningSummary": "auto",
461
461
  "textVerbosity": "medium",
462
462
  "include": [
@@ -465,8 +465,8 @@
465
465
  "store": false
466
466
  }
467
467
  },
468
- "gpt-5.1-low": {
469
- "name": "GPT 5.1 Low (OAuth)",
468
+ "gpt-5.3-codex-low": {
469
+ "name": "GPT 5.3 Codex Low (OAuth)",
470
470
  "limit": {
471
471
  "context": 272000,
472
472
  "output": 128000
@@ -483,15 +483,15 @@
483
483
  "options": {
484
484
  "reasoningEffort": "low",
485
485
  "reasoningSummary": "auto",
486
- "textVerbosity": "low",
486
+ "textVerbosity": "medium",
487
487
  "include": [
488
488
  "reasoning.encrypted_content"
489
489
  ],
490
490
  "store": false
491
491
  }
492
492
  },
493
- "gpt-5.1-medium": {
494
- "name": "GPT 5.1 Medium (OAuth)",
493
+ "gpt-5.3-codex-medium": {
494
+ "name": "GPT 5.3 Codex Medium (OAuth)",
495
495
  "limit": {
496
496
  "context": 272000,
497
497
  "output": 128000
@@ -515,8 +515,8 @@
515
515
  "store": false
516
516
  }
517
517
  },
518
- "gpt-5.1-high": {
519
- "name": "GPT 5.1 High (OAuth)",
518
+ "gpt-5.3-codex-high": {
519
+ "name": "GPT 5.3 Codex High (OAuth)",
520
520
  "limit": {
521
521
  "context": 272000,
522
522
  "output": 128000
@@ -533,56 +533,6 @@
533
533
  "options": {
534
534
  "reasoningEffort": "high",
535
535
  "reasoningSummary": "detailed",
536
- "textVerbosity": "high",
537
- "include": [
538
- "reasoning.encrypted_content"
539
- ],
540
- "store": false
541
- }
542
- },
543
- "gpt-5-codex": {
544
- "name": "GPT 5 Codex (OAuth)",
545
- "limit": {
546
- "context": 272000,
547
- "output": 128000
548
- },
549
- "modalities": {
550
- "input": [
551
- "text",
552
- "image"
553
- ],
554
- "output": [
555
- "text"
556
- ]
557
- },
558
- "options": {
559
- "reasoningEffort": "high",
560
- "reasoningSummary": "detailed",
561
- "textVerbosity": "medium",
562
- "include": [
563
- "reasoning.encrypted_content"
564
- ],
565
- "store": false
566
- }
567
- },
568
- "gpt-5-codex-low": {
569
- "name": "GPT 5 Codex Low (OAuth)",
570
- "limit": {
571
- "context": 272000,
572
- "output": 128000
573
- },
574
- "modalities": {
575
- "input": [
576
- "text",
577
- "image"
578
- ],
579
- "output": [
580
- "text"
581
- ]
582
- },
583
- "options": {
584
- "reasoningEffort": "low",
585
- "reasoningSummary": "auto",
586
536
  "textVerbosity": "medium",
587
537
  "include": [
588
538
  "reasoning.encrypted_content"
@@ -590,8 +540,8 @@
590
540
  "store": false
591
541
  }
592
542
  },
593
- "gpt-5-codex-medium": {
594
- "name": "GPT 5 Codex Medium (OAuth)",
543
+ "gpt-5.3-codex-xhigh": {
544
+ "name": "GPT 5.3 Codex Extra High (OAuth)",
595
545
  "limit": {
596
546
  "context": 272000,
597
547
  "output": 128000
@@ -606,32 +556,7 @@
606
556
  ]
607
557
  },
608
558
  "options": {
609
- "reasoningEffort": "medium",
610
- "reasoningSummary": "auto",
611
- "textVerbosity": "medium",
612
- "include": [
613
- "reasoning.encrypted_content"
614
- ],
615
- "store": false
616
- }
617
- },
618
- "gpt-5-codex-high": {
619
- "name": "GPT 5 Codex High (OAuth)",
620
- "limit": {
621
- "context": 272000,
622
- "output": 128000
623
- },
624
- "modalities": {
625
- "input": [
626
- "text",
627
- "image"
628
- ],
629
- "output": [
630
- "text"
631
- ]
632
- },
633
- "options": {
634
- "reasoningEffort": "high",
559
+ "reasoningEffort": "xhigh",
635
560
  "reasoningSummary": "detailed",
636
561
  "textVerbosity": "medium",
637
562
  "include": [
@@ -91,8 +91,8 @@
91
91
  }
92
92
  }
93
93
  },
94
- "gpt-5.1-codex-max": {
95
- "name": "GPT 5.1 Codex Max (OAuth)",
94
+ "gpt-5.4": {
95
+ "name": "GPT 5.4 (OAuth)",
96
96
  "limit": {
97
97
  "context": 272000,
98
98
  "output": 128000
@@ -107,14 +107,19 @@
107
107
  ]
108
108
  },
109
109
  "variants": {
110
+ "none": {
111
+ "reasoningEffort": "none",
112
+ "reasoningSummary": "auto",
113
+ "textVerbosity": "medium"
114
+ },
110
115
  "low": {
111
116
  "reasoningEffort": "low",
112
- "reasoningSummary": "detailed",
117
+ "reasoningSummary": "auto",
113
118
  "textVerbosity": "medium"
114
119
  },
115
120
  "medium": {
116
121
  "reasoningEffort": "medium",
117
- "reasoningSummary": "detailed",
122
+ "reasoningSummary": "auto",
118
123
  "textVerbosity": "medium"
119
124
  },
120
125
  "high": {
@@ -129,8 +134,8 @@
129
134
  }
130
135
  }
131
136
  },
132
- "gpt-5.1-codex": {
133
- "name": "GPT 5.1 Codex (OAuth)",
137
+ "gpt-5.4-pro": {
138
+ "name": "GPT 5.4 Pro (OAuth)",
134
139
  "limit": {
135
140
  "context": 272000,
136
141
  "output": 128000
@@ -145,25 +150,25 @@
145
150
  ]
146
151
  },
147
152
  "variants": {
148
- "low": {
149
- "reasoningEffort": "low",
150
- "reasoningSummary": "auto",
151
- "textVerbosity": "medium"
152
- },
153
153
  "medium": {
154
154
  "reasoningEffort": "medium",
155
- "reasoningSummary": "auto",
155
+ "reasoningSummary": "detailed",
156
156
  "textVerbosity": "medium"
157
157
  },
158
158
  "high": {
159
159
  "reasoningEffort": "high",
160
160
  "reasoningSummary": "detailed",
161
161
  "textVerbosity": "medium"
162
+ },
163
+ "xhigh": {
164
+ "reasoningEffort": "xhigh",
165
+ "reasoningSummary": "detailed",
166
+ "textVerbosity": "medium"
162
167
  }
163
168
  }
164
169
  },
165
- "gpt-5.1-codex-mini": {
166
- "name": "GPT 5.1 Codex Mini (OAuth)",
170
+ "gpt-5.4-mini": {
171
+ "name": "GPT 5.4 Mini (OAuth)",
167
172
  "limit": {
168
173
  "context": 272000,
169
174
  "output": 128000
@@ -177,21 +182,14 @@
177
182
  "text"
178
183
  ]
179
184
  },
180
- "variants": {
181
- "medium": {
182
- "reasoningEffort": "medium",
183
- "reasoningSummary": "auto",
184
- "textVerbosity": "medium"
185
- },
186
- "high": {
187
- "reasoningEffort": "high",
188
- "reasoningSummary": "detailed",
189
- "textVerbosity": "medium"
190
- }
185
+ "options": {
186
+ "reasoningEffort": "medium",
187
+ "reasoningSummary": "auto",
188
+ "textVerbosity": "medium"
191
189
  }
192
190
  },
193
- "gpt-5.1": {
194
- "name": "GPT 5.1 (OAuth)",
191
+ "gpt-5.4-nano": {
192
+ "name": "GPT 5.4 Nano (OAuth)",
195
193
  "limit": {
196
194
  "context": 272000,
197
195
  "output": 128000
@@ -205,31 +203,14 @@
205
203
  "text"
206
204
  ]
207
205
  },
208
- "variants": {
209
- "none": {
210
- "reasoningEffort": "none",
211
- "reasoningSummary": "auto",
212
- "textVerbosity": "medium"
213
- },
214
- "low": {
215
- "reasoningEffort": "low",
216
- "reasoningSummary": "auto",
217
- "textVerbosity": "low"
218
- },
219
- "medium": {
220
- "reasoningEffort": "medium",
221
- "reasoningSummary": "auto",
222
- "textVerbosity": "medium"
223
- },
224
- "high": {
225
- "reasoningEffort": "high",
226
- "reasoningSummary": "detailed",
227
- "textVerbosity": "high"
228
- }
206
+ "options": {
207
+ "reasoningEffort": "medium",
208
+ "reasoningSummary": "auto",
209
+ "textVerbosity": "medium"
229
210
  }
230
211
  },
231
- "gpt-5-codex": {
232
- "name": "GPT 5 Codex (OAuth)",
212
+ "gpt-5.3-codex": {
213
+ "name": "GPT 5.3 Codex (OAuth)",
233
214
  "limit": {
234
215
  "context": 272000,
235
216
  "output": 128000
@@ -258,6 +239,11 @@
258
239
  "reasoningEffort": "high",
259
240
  "reasoningSummary": "detailed",
260
241
  "textVerbosity": "medium"
242
+ },
243
+ "xhigh": {
244
+ "reasoningEffort": "xhigh",
245
+ "reasoningSummary": "detailed",
246
+ "textVerbosity": "medium"
261
247
  }
262
248
  },
263
249
  "options": {
@@ -270,5 +256,3 @@
270
256
  }
271
257
  }
272
258
  }
273
-
274
-
@@ -9,7 +9,7 @@
9
9
  }
10
10
  }
11
11
  },
12
- "model": "openai/gpt-5-codex"
12
+ "model": "openai/gpt-5.3-codex"
13
13
  }
14
14
 
15
15
 
package/dist/index.d.ts CHANGED
@@ -35,7 +35,7 @@ import type { Plugin } from "@codex-ai/plugin";
35
35
  * {
36
36
  * "plugin": ["codex-multi-auth"],
37
37
 
38
- * "model": "openai/gpt-5-codex"
38
+ * "model": "openai/gpt-5.3-codex"
39
39
  * }
40
40
  * ```
41
41
  */
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AAEH,OAAO,KAAK,EAAE,MAAM,EAAe,MAAM,kBAAkB,CAAC;AAwR5D;;;;;;;;;;;;;;;GAeG;AAEH,eAAO,MAAM,iBAAiB,EAAE,MAyiI/B,CAAC;AAEF,eAAO,MAAM,gBAAgB,KAAoB,CAAC;AAElD,eAAe,iBAAiB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AAEH,OAAO,KAAK,EAAE,MAAM,EAAe,MAAM,kBAAkB,CAAC;AAmV5D;;;;;;;;;;;;;;;GAeG;AAEH,eAAO,MAAM,iBAAiB,EAAE,MAgoI/B,CAAC;AAEF,eAAO,MAAM,gBAAgB,KAAoB,CAAC;AAElD,eAAe,iBAAiB,CAAC"}