@makaio/client-codex 1.0.0-dev-1781368534585 → 1.0.0-dev-1783940945655
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 +16 -3
- package/dist/{codex-client-session-service-C2F6rQDS.mjs → codex-client-session-service-ddd3K0rw.mjs} +1064 -61
- package/dist/definition.d.ts +31 -1
- package/dist/index.mjs +2 -2
- package/dist/runtime/codex-client-session-service.d.ts +19 -5
- package/dist/runtime/hook-normalizer.d.ts +5 -1
- package/dist/runtime/namespace.d.ts +16 -0
- package/dist/runtime/native-auth-errors.d.ts +19 -0
- package/dist/runtime/native-auth-source-lock.d.ts +98 -0
- package/dist/runtime/native-auth-store.d.ts +166 -0
- package/dist/runtime/native-keyring-credential-store.d.ts +29 -0
- package/dist/runtime/package.d.ts +2 -0
- package/dist/runtime/package.mjs +3 -3
- package/dist/runtime/session-config-handler.d.ts +45 -33
- package/dist/server.mjs +1 -1
- package/dist/{src-CUFX-QsP.mjs → src-B_UWVcLO.mjs} +1 -1
- package/package.json +7 -3
package/README.md
CHANGED
|
@@ -11,12 +11,25 @@ Static client definition and schema library for the OpenAI Codex CLI. This packa
|
|
|
11
11
|
| `version` | `0.1.0` |
|
|
12
12
|
| `description` | OpenAI Codex CLI — an agentic coding assistant |
|
|
13
13
|
| `binary.name` | `codex` |
|
|
14
|
-
| `binary.supportedVersions` |
|
|
14
|
+
| `binary.supportedVersions` | `0.130.0` |
|
|
15
15
|
| `defaultApprovalPolicy` | `full-access` |
|
|
16
|
-
| `
|
|
16
|
+
| `defaultAuth` | `openai-codex` via client method `native` |
|
|
17
17
|
| `configIsolation.envVar` | `CODEX_HOME` |
|
|
18
18
|
| `configIsolation.defaultPath` | `~/.codex` |
|
|
19
19
|
|
|
20
|
+
### Authentication
|
|
21
|
+
|
|
22
|
+
| Method | Mode | Fields or native state | Codex delivery |
|
|
23
|
+
|--------|------|------------------------|----------------|
|
|
24
|
+
| `native` | `inferred` | Persisted `auth.json` or `Codex Auth` keychain state | Isolated local `CODEX_HOME` lease |
|
|
25
|
+
| `access-token` | `explicit` | Required `accessToken`; `CODEX_ACCESS_TOKEN` is an environment source hint | Selected subprocess environment |
|
|
26
|
+
|
|
27
|
+
The provider-owned `openai-codex/api-key` method is separate: its `apiKey` may
|
|
28
|
+
come from `OPENAI_API_KEY`, but the app-server adapter delivers it through
|
|
29
|
+
`account/login/start` after initialization. It is never treated as the Codex
|
|
30
|
+
access-token method. Native leases use compare-and-swap write-back so a refresh
|
|
31
|
+
is preserved without overwriting a concurrently changed canonical credential.
|
|
32
|
+
|
|
20
33
|
### Runtime Capabilities
|
|
21
34
|
|
|
22
35
|
| Capability | Value |
|
|
@@ -24,7 +37,7 @@ Static client definition and schema library for the OpenAI Codex CLI. This packa
|
|
|
24
37
|
| `supportsHooks` | `true` |
|
|
25
38
|
| `supportsStatusline` | `false` |
|
|
26
39
|
| `supportsSupervisorLaunch` | `true` |
|
|
27
|
-
| `supportsManagedBinary` | `
|
|
40
|
+
| `supportsManagedBinary` | `true` |
|
|
28
41
|
|
|
29
42
|
### Hook Events
|
|
30
43
|
|