codex-multi-auth 2.0.1 → 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.
- package/README.md +7 -5
- package/config/README.md +4 -4
- package/config/codex-legacy.json +571 -571
- package/config/codex-modern.json +258 -258
- package/config/minimal-codex.json +1 -1
- package/dist/lib/auth/device-auth.d.ts +46 -0
- package/dist/lib/auth/device-auth.d.ts.map +1 -0
- package/dist/lib/auth/device-auth.js +325 -0
- package/dist/lib/auth/device-auth.js.map +1 -0
- package/dist/lib/auth/index.d.ts +2 -0
- package/dist/lib/auth/index.d.ts.map +1 -1
- package/dist/lib/auth/index.js +1 -0
- package/dist/lib/auth/index.js.map +1 -1
- package/dist/lib/codex-manager/help.d.ts +1 -0
- package/dist/lib/codex-manager/help.d.ts.map +1 -1
- package/dist/lib/codex-manager/help.js +18 -1
- package/dist/lib/codex-manager/help.js.map +1 -1
- package/dist/lib/codex-manager.d.ts.map +1 -1
- package/dist/lib/codex-manager.js +22 -5
- package/dist/lib/codex-manager.js.map +1 -1
- package/dist/lib/schemas.d.ts +3 -0
- package/dist/lib/schemas.d.ts.map +1 -1
- package/dist/lib/schemas.js +1 -0
- package/dist/lib/schemas.js.map +1 -1
- package/package.json +1 -1
- package/scripts/bench-format/codex-host.mjs +142 -142
- package/scripts/bench-format/models.mjs +23 -23
- package/scripts/benchmark-edit-formats.mjs +9 -9
- package/scripts/codex-app-router.js +121 -121
- package/scripts/codex.js +165 -165
package/README.md
CHANGED
|
@@ -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
|
|
|
@@ -305,7 +306,7 @@ codex auth login
|
|
|
305
306
|
- Requests fail fast after repeated upstream 5xx errors: inspect `codex auth report --json` for runtime traffic and cooldown details
|
|
306
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
|
|
307
308
|
- OAuth callback on port `1455` fails: free the port and re-run `codex auth login`
|
|
308
|
-
- Browser launch is blocked or you are in a headless shell:
|
|
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
|
|
309
310
|
- `missing field id_token` / `token_expired` / `refresh_token_reused`: re-login affected account
|
|
310
311
|
|
|
311
312
|
</details>
|
|
@@ -347,9 +348,10 @@ codex auth doctor --json
|
|
|
347
348
|
|
|
348
349
|
## Release Notes
|
|
349
350
|
|
|
350
|
-
- Current stable: [docs/releases/v2.0.
|
|
351
|
-
- Previous stable: [docs/releases/
|
|
352
|
-
- Earlier stable: [docs/releases/v1.3.
|
|
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)
|
|
353
355
|
- Full release archive: [docs/README.md#release-history](docs/README.md#release-history)
|
|
354
356
|
- Archived prerelease: [docs/releases/v0.1.0-beta.0.md](docs/releases/v0.1.0-beta.0.md)
|
|
355
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
|
-
- Current documented OpenAI/Codex model families (`gpt-5.5`, `gpt-5.4`, and `gpt-5.3-codex`)
|
|
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
|