@agentconnect.md/codex-acp 2.6.0-agentconnect.2 → 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.
Files changed (2) hide show
  1. package/dist/index.js +3 -3
  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.2",
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,
@@ -55839,7 +55839,7 @@ function startAcpServer() {
55839
55839
  defaultAuthRequest: defaultAuthRequest ?? null
55840
55840
  });
55841
55841
  const startupState = {
55842
- appServerStartupArgs: hookConfig.appServerStartupArgs,
55842
+ appServerStartupArgs,
55843
55843
  providerStartupConfig: providerStartupConfig(modelProvider ?? null, hookConfig.sessionConfig ?? {}, null)
55844
55844
  };
55845
55845
  const startup = appServerStartup(startupState);
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "2.6.0-agentconnect.2",
6
+ "version": "2.6.0-agentconnect.4",
7
7
  "description": "",
8
8
  "main": "dist/index.js",
9
9
  "bin": {