@agentclientprotocol/codex-acp 1.0.0 → 1.0.1
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 +5 -2
- package/dist/index.js +593 -213
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -40,17 +40,20 @@ CODEX_PATH=/path/to/codex npx -y @agentclientprotocol/codex-acp
|
|
|
40
40
|
|
|
41
41
|
The adapter advertises ACP auth methods during initialization. Clients can authenticate with:
|
|
42
42
|
|
|
43
|
-
- ChatGPT login.
|
|
44
|
-
-
|
|
43
|
+
- ChatGPT login. Set `NO_BROWSER=1` to hide this method in remote or browserless environments.
|
|
44
|
+
- API key via `CODEX_API_KEY` or `OPENAI_API_KEY`.
|
|
45
45
|
- A custom OpenAI-compatible gateway, when the client opts in to the gateway auth capability.
|
|
46
46
|
|
|
47
47
|
## Runtime options
|
|
48
48
|
|
|
49
|
+
- `CODEX_API_KEY` - API key used when the API-key auth method is selected. Takes precedence over `OPENAI_API_KEY`.
|
|
50
|
+
- `OPENAI_API_KEY` - fallback API key used when the API-key auth method is selected.
|
|
49
51
|
- `CODEX_PATH` - run a specific Codex executable instead of the bundled package dependency.
|
|
50
52
|
- `CODEX_CONFIG` - JSON object merged into the Codex session config.
|
|
51
53
|
- `MODEL_PROVIDER` - model provider to pass to Codex for new sessions.
|
|
52
54
|
- `DEFAULT_AUTH_REQUEST` - ACP auth request JSON used when Codex requires authentication.
|
|
53
55
|
- `INITIAL_AGENT_MODE` - initial mode id: `read-only`, `agent`, or `agent-full-access`.
|
|
56
|
+
- `NO_BROWSER` - hide browser-based ChatGPT auth when set.
|
|
54
57
|
- `APP_SERVER_LOGS` - directory for adapter logs.
|
|
55
58
|
|
|
56
59
|
## Development
|