@bakers-build/addon-codex 0.8.1-next.1 → 0.8.1-next.10
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 +2 -2
- package/options.schema.json +8 -1
- package/package.json +4 -4
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/options.schema.json
CHANGED
|
@@ -3,6 +3,13 @@
|
|
|
3
3
|
"$id": "https://bakers.build/schema/addon-codex/options.schema.json",
|
|
4
4
|
"title": "@bakers-build/addon-codex options",
|
|
5
5
|
"$ref": "https://bakers.build/schema/harness-options.schema.json",
|
|
6
|
-
"properties": {
|
|
6
|
+
"properties": {
|
|
7
|
+
"model": {
|
|
8
|
+
"description": "Passed as `--model`, else Codex's own default; drops the four named variants."
|
|
9
|
+
},
|
|
10
|
+
"effort": {
|
|
11
|
+
"description": "Passed as `-c model_reasoning_effort=…`."
|
|
12
|
+
}
|
|
13
|
+
},
|
|
7
14
|
"unevaluatedProperties": false
|
|
8
15
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bakers-build/addon-codex",
|
|
3
|
-
"version": "0.8.1-next.
|
|
3
|
+
"version": "0.8.1-next.10",
|
|
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.
|
|
26
|
-
"@bakers-build/core": "^0.8.1-next.
|
|
25
|
+
"@bakers-build/conductor": "^0.8.1-next.10",
|
|
26
|
+
"@bakers-build/core": "^0.8.1-next.10"
|
|
27
27
|
},
|
|
28
28
|
"bakersBuild": {
|
|
29
|
-
"commit": "
|
|
29
|
+
"commit": "ceb44a12624feaa85cb2b0c9f84345399b38bf50",
|
|
30
30
|
"channel": "next"
|
|
31
31
|
}
|
|
32
32
|
}
|