@bakers-build/addon-codex 0.8.1-next.7 → 0.8.1-next.9

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/src/index.js CHANGED
@@ -4,7 +4,7 @@ import { readdir, readFile, stat } from 'node:fs/promises';
4
4
  import { homedir } from 'node:os';
5
5
  import { join } from 'node:path';
6
6
  import { promisify } from 'node:util';
7
- import { CONDUCTOR_TOKEN_ENV, CONDUCTOR_TOOLS_SERVER, ensureHome, homeKey, homePath, lastLine, resolveAgentCliOptions, resolveSecurityOptions, systemSandboxHost, validateOptionalBoolean, } from '@bakers-build/conductor/contract';
7
+ import { CONDUCTOR_TOKEN_ENV, CONDUCTOR_TOOL_TIMEOUT_MS, CONDUCTOR_TOOLS_SERVER, ensureHome, homeKey, homePath, lastLine, resolveAgentCliOptions, resolveSecurityOptions, systemSandboxHost, validateOptionalBoolean, } from '@bakers-build/conductor/contract';
8
8
  import { gitSandboxPaths, shellQuote, withoutGitDirs, } from '@bakers-build/core';
9
9
  import { parseCodexTranscript } from './footprint.js';
10
10
  export { parseCodexTranscript } from './footprint.js';
@@ -283,7 +283,7 @@ export class CodexAgent {
283
283
  if (tools) {
284
284
  // A whole inline table replaces any config.toml entry of that id. Codex
285
285
  // reads the token from the run env, so it never enters argv.
286
- parts.push('-c', word(`mcp_servers.${CONDUCTOR_TOOLS_SERVER}={url=${JSON.stringify(tools.url)},bearer_token_env_var=${JSON.stringify(CONDUCTOR_TOKEN_ENV)},default_tools_approval_mode="approve"}`));
286
+ parts.push('-c', word(`mcp_servers.${CONDUCTOR_TOOLS_SERVER}={url=${JSON.stringify(tools.url)},bearer_token_env_var=${JSON.stringify(CONDUCTOR_TOKEN_ENV)},default_tools_approval_mode="approve",tool_timeout_sec=${CONDUCTOR_TOOL_TIMEOUT_MS / 1000}}`));
287
287
  }
288
288
  if (this.model !== undefined && !this.overrides.model) {
289
289
  parts.push('--model', shellQuote(this.model));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bakers-build/addon-codex",
3
- "version": "0.8.1-next.7",
3
+ "version": "0.8.1-next.9",
4
4
  "description": "bakers.build agent plugin for the Codex CLI.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -22,11 +22,11 @@
22
22
  "directory": "bakers-cli/addons/codex"
23
23
  },
24
24
  "peerDependencies": {
25
- "@bakers-build/conductor": "^0.8.1-next.7",
26
- "@bakers-build/core": "^0.8.1-next.7"
25
+ "@bakers-build/conductor": "^0.8.1-next.9",
26
+ "@bakers-build/core": "^0.8.1-next.9"
27
27
  },
28
28
  "bakersBuild": {
29
- "commit": "4669f7b545a32fda92cee71129ff5aacc492a620",
29
+ "commit": "9dd53d3c212a1ae8ca140b24b1b63fe08b20f964",
30
30
  "channel": "next"
31
31
  }
32
32
  }