@nyssance/codex-acp-v2 0.7.13 → 0.7.15
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/CHANGELOG.md +26 -0
- package/README.md +1 -1
- package/dist/index.js +1513 -9307
- package/docs/protocol.md +5 -7
- package/package.json +4 -4
package/docs/protocol.md
CHANGED
|
@@ -490,7 +490,7 @@ to status `cancelled`, and a cancelled turn marks every still-open tool call
|
|
|
490
490
|
| `web_search` | `fetch` | web search |
|
|
491
491
|
| `view_image` | `read` | image view |
|
|
492
492
|
| `image_generation` | `other` | image generation; result as image content |
|
|
493
|
-
| `subagent`, `collab` | `other` | sub-agent activity and collaboration calls; `_meta.codex.subagent` / `_meta.codex.collaboration` |
|
|
493
|
+
| `subagent`, `collab` | `other` | sub-agent activity and collaboration calls; `_meta.codex.subagent` (`model`, `reasoningEffort`, `threadId`, `path`, `activity`) / `_meta.codex.collaboration` (`tool`, `senderThreadId`, `receiverThreadIds`, `agents`: per receiver `threadId`, `nickname`, `role`, `model`, `reasoningEffort` read from its thread, and its `state`; identity fields are null while the thread cannot be read) |
|
|
494
494
|
| `fuzzy_file_search` | `search` | Codex fuzzy file search sessions |
|
|
495
495
|
| `guardian_review` | `think` | auto-approval reviews |
|
|
496
496
|
| `mcp_startup` | `other` | failed MCP server startups (status `failed`) |
|
|
@@ -505,7 +505,7 @@ unknown ids, and transport errors fail closed.
|
|
|
505
505
|
|
|
506
506
|
| Title | Options (`optionId` → Codex decision) |
|
|
507
507
|
| --- | --- |
|
|
508
|
-
| `Run command?` / `Allow network access?` | `allow_once` → accept, `allow_for_session` → acceptForSession, `accept_execpolicy_amendment` → acceptWithExecpolicyAmendment, `apply_network_policy_amendment:<n>` → applyNetworkPolicyAmendment, `decline`, `cancel`.
|
|
508
|
+
| `Run command?` / `Allow network access?` | `allow_once` → accept, `allow_for_session` → acceptForSession, `accept_execpolicy_amendment` → acceptWithExecpolicyAmendment, `apply_network_policy_amendment:<n>` → applyNetworkPolicyAmendment, `decline`, `cancel`. Codex always sends `availableDecisions` and that list is authoritative; a missing list, or one naming an amendment Codex did not propose, fails closed with `cancel`. |
|
|
509
509
|
| `Make edits?` | `allow_once` → accept, `allow_for_session` → acceptForSession, `cancel` |
|
|
510
510
|
| `Grant permissions?` | `allow_permissions_turn`, `allow_permissions_turn_strict_auto_review`, `allow_permissions_session`, `reject_permissions` |
|
|
511
511
|
| MCP approvals | `allow_once` / `accept`, `allow_session`, `allow_always` (only when Codex advertises `persist`), `decline`, `cancel` |
|
|
@@ -777,11 +777,9 @@ also contains ordered `{text, question?}` display parts. Receipt-adopting client
|
|
|
777
777
|
that retain optimistic prompt content use these parts for display and copying;
|
|
778
778
|
this does not alter the original input sent to Codex.
|
|
779
779
|
|
|
780
|
-
Review results:
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
A standalone or different review result remains visible. Item-level history retains
|
|
784
|
-
its per-item projection because the matching answer may be outside the requested page.
|
|
780
|
+
Review results: Codex follows every `exitedReviewMode` item with an assistant message
|
|
781
|
+
carrying the same conclusion, including the notice for an interrupted review. The adapter
|
|
782
|
+
maps only that message; review entry and exit markers produce no updates, live or in history.
|
|
785
783
|
|
|
786
784
|
### Plugin enablement
|
|
787
785
|
|
package/package.json
CHANGED
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "0.7.
|
|
6
|
+
"version": "0.7.15",
|
|
7
7
|
"description": "Native ACP v2 agent for the OpenAI Codex app-server",
|
|
8
|
-
"packageManager": "bun@1.4.
|
|
8
|
+
"packageManager": "bun@1.4.3",
|
|
9
9
|
"engines": {
|
|
10
10
|
"bun": ">=1.4.0"
|
|
11
11
|
},
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"package:win-x64": "cd dist/bin && zip codex-acp-v2-x64-windows.zip codex-acp-v2-x64-windows.exe",
|
|
39
39
|
"package:win-arm64": "cd dist/bin && zip codex-acp-v2-arm64-windows.zip codex-acp-v2-arm64-windows.exe",
|
|
40
40
|
"start": "bun src/index.ts",
|
|
41
|
-
"generate-types": "codex app-server generate-ts --experimental --out src/app-server",
|
|
41
|
+
"generate-types": "rm -rf src/app-server && codex app-server generate-ts --experimental --out src/app-server",
|
|
42
42
|
"test": "vitest run --exclude src/__tests__/e2e.test.ts",
|
|
43
43
|
"test:watch": "vitest",
|
|
44
44
|
"typecheck": "tsc --noEmit",
|
|
@@ -76,6 +76,6 @@
|
|
|
76
76
|
"vscode-jsonrpc": "^9.0.2"
|
|
77
77
|
},
|
|
78
78
|
"optionalDependencies": {
|
|
79
|
-
"@openai/codex": "^0.
|
|
79
|
+
"@openai/codex": "^0.163.0"
|
|
80
80
|
}
|
|
81
81
|
}
|