@melonite/codex-acp 1.1.0 → 1.1.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 +4 -4
- package/dist/index.js +11 -6
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# ACP adapter for Codex CLI
|
|
2
2
|
|
|
3
|
-
[](https://www.npmjs.com/package/@agentclientprotocol/codex-acp)
|
|
4
4
|
|
|
5
5
|
Use [OpenAI Codex](https://github.com/openai/codex) from [Agent Client Protocol](https://agentclientprotocol.com/) clients.
|
|
6
6
|
|
|
@@ -20,20 +20,20 @@ Use [OpenAI Codex](https://github.com/openai/codex) from [Agent Client Protocol]
|
|
|
20
20
|
Run the published package directly:
|
|
21
21
|
|
|
22
22
|
```bash
|
|
23
|
-
npx -y @
|
|
23
|
+
npx -y @agentclientprotocol/codex-acp
|
|
24
24
|
```
|
|
25
25
|
|
|
26
26
|
Or install it globally:
|
|
27
27
|
|
|
28
28
|
```bash
|
|
29
|
-
npm install -g @
|
|
29
|
+
npm install -g @agentclientprotocol/codex-acp
|
|
30
30
|
codex-acp --version
|
|
31
31
|
```
|
|
32
32
|
|
|
33
33
|
The npm package includes a compatible `@openai/codex` dependency. Set `CODEX_PATH` only when you want the adapter to run a different Codex binary:
|
|
34
34
|
|
|
35
35
|
```bash
|
|
36
|
-
CODEX_PATH=/path/to/codex npx -y @
|
|
36
|
+
CODEX_PATH=/path/to/codex npx -y @agentclientprotocol/codex-acp
|
|
37
37
|
```
|
|
38
38
|
|
|
39
39
|
## Authentication
|
package/dist/index.js
CHANGED
|
@@ -23489,13 +23489,18 @@ ${event.details}` : "";
|
|
|
23489
23489
|
return this.createExitedReviewModeEvent(event.item);
|
|
23490
23490
|
case "contextCompaction":
|
|
23491
23491
|
return this.createContextCompactedEvent();
|
|
23492
|
+
case "plan":
|
|
23493
|
+
return createAgentTextMessageChunk(
|
|
23494
|
+
event.item.text,
|
|
23495
|
+
event.item.id,
|
|
23496
|
+
{ codex: { plan: { itemId: event.item.id, status: "completed" } } }
|
|
23497
|
+
);
|
|
23492
23498
|
//ignored types
|
|
23493
23499
|
case "subAgentActivity":
|
|
23494
23500
|
case "sleep":
|
|
23495
23501
|
case "userMessage":
|
|
23496
23502
|
case "hookPrompt":
|
|
23497
23503
|
case "enteredReviewMode":
|
|
23498
|
-
case "plan":
|
|
23499
23504
|
return null;
|
|
23500
23505
|
}
|
|
23501
23506
|
}
|
|
@@ -25211,7 +25216,7 @@ var package_default = {
|
|
|
25211
25216
|
publishConfig: {
|
|
25212
25217
|
access: "public"
|
|
25213
25218
|
},
|
|
25214
|
-
version: "1.1.
|
|
25219
|
+
version: "1.1.1",
|
|
25215
25220
|
description: "",
|
|
25216
25221
|
main: "dist/index.js",
|
|
25217
25222
|
bin: {
|
|
@@ -25241,20 +25246,20 @@ var package_default = {
|
|
|
25241
25246
|
"package:win-x64": "cd dist/bin && zip codex-acp-x64-windows.zip codex-acp-x64-windows.exe",
|
|
25242
25247
|
"package:win-arm64": "cd dist/bin && zip codex-acp-arm64-windows.zip codex-acp-arm64-windows.exe",
|
|
25243
25248
|
start: "node --import tsx src/index.ts",
|
|
25244
|
-
"generate-types": "codex app-server generate-ts --out src/app-server",
|
|
25249
|
+
"generate-types": "./node_modules/.bin/codex app-server generate-ts --out src/app-server",
|
|
25245
25250
|
test: "vitest run",
|
|
25246
25251
|
"test:e2e": "npm run build && RUN_E2E_TESTS=true vitest run src/__tests__/CodexACPAgent/e2e",
|
|
25247
25252
|
"test:watch": "vitest",
|
|
25248
25253
|
typecheck: "tsc --noEmit",
|
|
25249
25254
|
"codex-test": "tsx .claude/skills/run-codex/scripts/run-codex-test.ts"
|
|
25250
25255
|
},
|
|
25251
|
-
homepage: "https://github.com/
|
|
25256
|
+
homepage: "https://github.com/agentclientprotocol/codex-acp#readme",
|
|
25252
25257
|
bugs: {
|
|
25253
|
-
url: "https://github.com/
|
|
25258
|
+
url: "https://github.com/agentclientprotocol/codex-acp/issues"
|
|
25254
25259
|
},
|
|
25255
25260
|
repository: {
|
|
25256
25261
|
type: "git",
|
|
25257
|
-
url: "git+https://github.com/
|
|
25262
|
+
url: "git+https://github.com/agentclientprotocol/codex-acp.git"
|
|
25258
25263
|
},
|
|
25259
25264
|
keywords: [],
|
|
25260
25265
|
author: "Agent Client Protocol",
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "1.1.
|
|
6
|
+
"version": "1.1.1",
|
|
7
7
|
"description": "",
|
|
8
8
|
"main": "dist/index.js",
|
|
9
9
|
"bin": {
|
|
@@ -33,20 +33,20 @@
|
|
|
33
33
|
"package:win-x64": "cd dist/bin && zip codex-acp-x64-windows.zip codex-acp-x64-windows.exe",
|
|
34
34
|
"package:win-arm64": "cd dist/bin && zip codex-acp-arm64-windows.zip codex-acp-arm64-windows.exe",
|
|
35
35
|
"start": "node --import tsx src/index.ts",
|
|
36
|
-
"generate-types": "codex app-server generate-ts --out src/app-server",
|
|
36
|
+
"generate-types": "./node_modules/.bin/codex app-server generate-ts --out src/app-server",
|
|
37
37
|
"test": "vitest run",
|
|
38
38
|
"test:e2e": "npm run build && RUN_E2E_TESTS=true vitest run src/__tests__/CodexACPAgent/e2e",
|
|
39
39
|
"test:watch": "vitest",
|
|
40
40
|
"typecheck": "tsc --noEmit",
|
|
41
41
|
"codex-test": "tsx .claude/skills/run-codex/scripts/run-codex-test.ts"
|
|
42
42
|
},
|
|
43
|
-
"homepage": "https://github.com/
|
|
43
|
+
"homepage": "https://github.com/agentclientprotocol/codex-acp#readme",
|
|
44
44
|
"bugs": {
|
|
45
|
-
"url": "https://github.com/
|
|
45
|
+
"url": "https://github.com/agentclientprotocol/codex-acp/issues"
|
|
46
46
|
},
|
|
47
47
|
"repository": {
|
|
48
48
|
"type": "git",
|
|
49
|
-
"url": "git+https://github.com/
|
|
49
|
+
"url": "git+https://github.com/agentclientprotocol/codex-acp.git"
|
|
50
50
|
},
|
|
51
51
|
"keywords": [],
|
|
52
52
|
"author": "Agent Client Protocol",
|