@nyssance/codex-acp-v2 0.7.0 → 0.7.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/CHANGELOG.md +19 -0
- package/README.md +1 -1
- package/dist/index.js +18 -3
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.7.1 — 2026-09-29
|
|
4
|
+
|
|
5
|
+
### Changed
|
|
6
|
+
|
|
7
|
+
- Generated against Codex 0.158.0 (`@openai/codex` `^0.158.0`); the version floor follows.
|
|
8
|
+
- MCP `openai/userVerification` elicitations (signed device challenges) are declined with
|
|
9
|
+
`cancelled`: ACP has no surface for them and enrollment stays inside Codex.
|
|
10
|
+
- `codexErrorInfo` `flexUnavailable` classifies as `flex_unavailable`, retryable.
|
|
11
|
+
- Replayed `image` user input renders `image:<fileId>` when Codex stored an uploaded file
|
|
12
|
+
instead of a URL.
|
|
13
|
+
|
|
14
|
+
## 0.7.0 — 2026-09-29
|
|
15
|
+
|
|
16
|
+
### Changed
|
|
17
|
+
|
|
18
|
+
- `session/prompt` returns `{messageId}` (ACP v2, sdk 1.5.1). The id is passed to Codex as
|
|
19
|
+
`clientUserMessageId`; `user_message` echoes and replays report it as `messageId`
|
|
20
|
+
(`userMessage.clientId ?? id`). Steering returns `{messageId, _meta.codex.steered}`.
|
|
21
|
+
|
|
3
22
|
## 0.6.0 — 2026-09-11
|
|
4
23
|
|
|
5
24
|
### Added
|
package/README.md
CHANGED
|
@@ -59,7 +59,7 @@ See [`docs/protocol.md`](docs/protocol.md) for the exact wire contract.
|
|
|
59
59
|
|
|
60
60
|
## Requirements
|
|
61
61
|
|
|
62
|
-
- Codex CLI **0.
|
|
62
|
+
- Codex CLI **0.158.0 or newer** — the app-server types under `src/app-server` are generated
|
|
63
63
|
from the `@openai/codex` release named in `optionalDependencies`, and the agent checks
|
|
64
64
|
`codex --version` before starting the server; an older Codex fails at startup with an
|
|
65
65
|
upgrade hint.
|
package/dist/index.js
CHANGED
|
@@ -21844,7 +21844,7 @@ var package_default = {
|
|
|
21844
21844
|
publishConfig: {
|
|
21845
21845
|
access: "public"
|
|
21846
21846
|
},
|
|
21847
|
-
version: "0.7.
|
|
21847
|
+
version: "0.7.1",
|
|
21848
21848
|
description: "Native ACP v2 agent for the OpenAI Codex app-server",
|
|
21849
21849
|
packageManager: "bun@1.4.0",
|
|
21850
21850
|
engines: {
|
|
@@ -21916,7 +21916,7 @@ var package_default = {
|
|
|
21916
21916
|
"vscode-jsonrpc": "^9.0.2"
|
|
21917
21917
|
},
|
|
21918
21918
|
optionalDependencies: {
|
|
21919
|
-
"@openai/codex": "^0.
|
|
21919
|
+
"@openai/codex": "^0.158.0"
|
|
21920
21920
|
}
|
|
21921
21921
|
};
|
|
21922
21922
|
|
|
@@ -22084,6 +22084,8 @@ function classifyTurnError(info) {
|
|
|
22084
22084
|
return failure2("rate_limit", true);
|
|
22085
22085
|
case "serverOverloaded":
|
|
22086
22086
|
return failure2("overloaded", true);
|
|
22087
|
+
case "flexUnavailable":
|
|
22088
|
+
return failure2("flex_unavailable", true);
|
|
22087
22089
|
case "internalServerError":
|
|
22088
22090
|
return failure2("internal", true);
|
|
22089
22091
|
case "unauthorized":
|
|
@@ -23556,7 +23558,7 @@ function fromUserInput(input) {
|
|
|
23556
23558
|
case "text":
|
|
23557
23559
|
return input.text.length > 0 ? [{ type: "text", text: input.text }] : [];
|
|
23558
23560
|
case "image":
|
|
23559
|
-
return [{ type: "text", text: formatUriAsLink("image", input.url) }];
|
|
23561
|
+
return [{ type: "text", text: "url" in input ? formatUriAsLink("image", input.url) : `image:${input.fileId}` }];
|
|
23560
23562
|
case "localImage":
|
|
23561
23563
|
return [{ type: "text", text: formatUriAsLink(null, toFileUri(input.path)) }];
|
|
23562
23564
|
case "skill":
|
|
@@ -23904,6 +23906,8 @@ ${details}` : summary)];
|
|
|
23904
23906
|
case "mcpServer/event/stream/notification":
|
|
23905
23907
|
case "account/updated":
|
|
23906
23908
|
case "account/login/completed":
|
|
23909
|
+
case "account/gatewayOAuth/changed":
|
|
23910
|
+
case "thread/attachment/updated":
|
|
23907
23911
|
case "app/list/updated":
|
|
23908
23912
|
case "remoteControl/status/changed":
|
|
23909
23913
|
case "externalAgentConfig/import/progress":
|
|
@@ -24892,6 +24896,10 @@ class CodexElicitationHandler {
|
|
|
24892
24896
|
}
|
|
24893
24897
|
async handleElicitation(params) {
|
|
24894
24898
|
try {
|
|
24899
|
+
if (params.mode === "openai/userVerification") {
|
|
24900
|
+
logger.log("MCP user verification is not supported over ACP", { server: params.serverName });
|
|
24901
|
+
return cancelled();
|
|
24902
|
+
}
|
|
24895
24903
|
const context = this.mcpContext(params);
|
|
24896
24904
|
const messageOnly = isMessageOnlyForm(params);
|
|
24897
24905
|
if (!messageOnly && this.useAcpElicitation(params)) {
|
|
@@ -26623,6 +26631,7 @@ function gatewayModel(model, isDefault, template, entry) {
|
|
|
26623
26631
|
additionalSpeedTiers: [],
|
|
26624
26632
|
serviceTiers: [],
|
|
26625
26633
|
defaultServiceTier: null,
|
|
26634
|
+
availableAccessPrograms: null,
|
|
26626
26635
|
isDefault
|
|
26627
26636
|
};
|
|
26628
26637
|
}
|
|
@@ -28026,12 +28035,18 @@ function readOnlyThread(thread, cwd) {
|
|
|
28026
28035
|
model: thread.model ?? "",
|
|
28027
28036
|
modelProvider: thread.modelProvider,
|
|
28028
28037
|
serviceTier: null,
|
|
28038
|
+
disabledPluginIds: [],
|
|
28029
28039
|
cwd,
|
|
28040
|
+
runtimeWorkspaceRoots: [],
|
|
28030
28041
|
instructionSources: [],
|
|
28031
28042
|
approvalPolicy: "on-request",
|
|
28032
28043
|
approvalsReviewer: "user",
|
|
28033
28044
|
sandbox: { type: "readOnly", networkAccess: false },
|
|
28045
|
+
activePermissionProfile: null,
|
|
28034
28046
|
reasoningEffort: thread.reasoningEffort,
|
|
28047
|
+
collaborationMode: null,
|
|
28048
|
+
multiAgentMode: "explicitRequestOnly",
|
|
28049
|
+
initialTurnsPage: null,
|
|
28035
28050
|
turnsBackwardsCursor: null,
|
|
28036
28051
|
itemsBackwardsCursor: null
|
|
28037
28052
|
};
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "0.7.
|
|
6
|
+
"version": "0.7.1",
|
|
7
7
|
"description": "Native ACP v2 agent for the OpenAI Codex app-server",
|
|
8
8
|
"packageManager": "bun@1.4.0",
|
|
9
9
|
"engines": {
|
|
@@ -75,6 +75,6 @@
|
|
|
75
75
|
"vscode-jsonrpc": "^9.0.2"
|
|
76
76
|
},
|
|
77
77
|
"optionalDependencies": {
|
|
78
|
-
"@openai/codex": "^0.
|
|
78
|
+
"@openai/codex": "^0.158.0"
|
|
79
79
|
}
|
|
80
80
|
}
|