@agentconnect.md/codex-acp 2.6.0-agentconnect.3 → 2.6.0-agentconnect.4
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/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -41951,7 +41951,7 @@ var package_default = {
|
|
|
41951
41951
|
publishConfig: {
|
|
41952
41952
|
access: "public"
|
|
41953
41953
|
},
|
|
41954
|
-
version: "2.6.0-agentconnect.
|
|
41954
|
+
version: "2.6.0-agentconnect.4",
|
|
41955
41955
|
description: "",
|
|
41956
41956
|
main: "dist/index.js",
|
|
41957
41957
|
bin: {
|
|
@@ -43649,7 +43649,7 @@ var CodexAcpClient = class _CodexAcpClient {
|
|
|
43649
43649
|
if (shouldCancel?.()) {
|
|
43650
43650
|
return null;
|
|
43651
43651
|
}
|
|
43652
|
-
const permissionProfileId = agentMode.permissionProfileId;
|
|
43652
|
+
const permissionProfileId = agentMode.permissionProfileId ?? (this.permissionProfileConfig ? permissionProfileForMode(this.permissionProfileConfig, agentMode.id) : null);
|
|
43653
43653
|
return await this.codexClient.runTurn({
|
|
43654
43654
|
threadId: request.sessionId,
|
|
43655
43655
|
input: input2,
|