惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

腾讯CDC
The Cloudflare Blog
IT之家
IT之家
V
V2EX
雷峰网
雷峰网
MyScale Blog
MyScale Blog
P
Proofpoint News Feed
Stack Overflow Blog
Stack Overflow Blog
博客园 - Franky
Engineering at Meta
Engineering at Meta
S
SegmentFault 最新的问题
GbyAI
GbyAI
Microsoft Azure Blog
Microsoft Azure Blog
博客园 - 司徒正美
云风的 BLOG
云风的 BLOG
小众软件
小众软件
博客园 - 叶小钗
Blog — PlanetScale
Blog — PlanetScale
C
Check Point Blog
A
About on SuperTechFans
B
Blog
月光博客
月光博客
宝玉的分享
宝玉的分享
Last Week in AI
Last Week in AI

Recent Commits to openclaw:main

test: merge chat side-result checks · openclaw/openclaw@ddd2c2a test: merge cron history checks · openclaw/openclaw@f7eb746 test: merge responsive navigation shell checks · openclaw/openclaw@c2e4b47 docs(changelog): add codex oauth fixes · openclaw/openclaw@628e6cd test: merge navigation routing cases · openclaw/openclaw@5d8cecb Tests: mock channel registry bundled fallback · openclaw/openclaw@2b08233 Secrets: avoid broad web search discovery for single plugin config · openclaw/openclaw@a464f59 test: merge config view browser checks · openclaw/openclaw@20cf511 fix(status): align oauth health with runtime · openclaw/openclaw@eed7116 feat: add macOS screen snapshots for monitor preview (#67954) thanks … · openclaw/openclaw@f377db1 fix: report shared auth scopes in hello-ok (#67810) thanks @BunsDev · openclaw/openclaw@0b6c39b Auto-reply: avoid eager bundled route fallback · openclaw/openclaw@3ea1bf4 Tests: narrow session binding contract setup · openclaw/openclaw@54e4e16 fix(macOS): enable undo/redo in webchat composer text input (#34962) · openclaw/openclaw@00951dc Tests: speed up channel setup promotion · openclaw/openclaw@82b529a Docs: refresh agent instructions · openclaw/openclaw@5775fe2 fix(auth): serialize OAuth refresh across agents to fix #26322 (#67876) · openclaw/openclaw@8e79080 test: allow ollama public surface boundary test · openclaw/openclaw@7d4f1a6 Docs: add test performance guardrails · openclaw/openclaw@89706d3 Tests: restore context-engine usage proof · openclaw/openclaw@e4c4f95 Tests: slim context engine runtime coverage · openclaw/openclaw@74c198f ci: retry failed custom checkouts · openclaw/openclaw@0ee5baf test: trim duplicate provider auth onboarding cases · openclaw/openclaw@1ffc02e matrix: fix sessions_spawn --thread subagent session spawning (#67643) · openclaw/openclaw@1ce2596 test: reduce auth choice fixture churn · openclaw/openclaw@857b9cd test: mock health status config boundaries · openclaw/openclaw@9d5ab4a test: mock onboard config io boundary · openclaw/openclaw@299694d test: mock legacy state plugin boundaries · openclaw/openclaw@2713089 test: mock channel install boundaries · openclaw/openclaw@b945248 test: mock doctor preview channel boundaries · openclaw/openclaw@b1a3ad4
fix(codex): keep dynamic tools available in code mode (#8...
steipete · 2026-05-18 · via Recent Commits to openclaw:main

@@ -393,6 +393,7 @@ function createThreadLifecycleAppServerOptions(): Parameters<

393393

approvalPolicy: "never",

394394

approvalsReviewer: "user",

395395

sandbox: "workspace-write",

396+

codeModeOnly: false,

396397

};

397398

}

398399

@@ -1164,7 +1165,7 @@ describe("runCodexAppServerAttempt", () => {

11641165

expect(dynamicToolNames).toEqual(["message"]);

11651166

});

116611671167-

it("starts Codex threads with searchable OpenClaw dynamic tools by default", async () => {

1168+

it("keeps searchable OpenClaw dynamic tools when code-mode-only is enabled", async () => {

11681169

__testing.setOpenClawCodingToolsFactoryForTests(() => [

11691170

createRuntimeDynamicTool("message"),

11701171

createRuntimeDynamicTool("web_search"),

@@ -1180,16 +1181,9 @@ describe("runCodexAppServerAttempt", () => {

11801181

params.disableTools = false;

11811182

params.runtimePlan = createCodexRuntimePlanFixture();

11821183

params.sourceReplyDeliveryMode = "message_tool_only";

1183-

params.toolsAllow = [

1184-

"message",

1185-

"web_search",

1186-

"heartbeat_respond",

1187-

"sessions_spawn",

1188-

"sessions_yield",

1189-

];

1190118411911185

const run = runCodexAppServerAttempt(params, {

1192-

pluginConfig: { appServer: { mode: "yolo" } },

1186+

pluginConfig: { appServer: { mode: "yolo", codeModeOnly: true } },

11931187

});

11941188

await harness.waitForMethod("turn/start", 120_000);

11951189

await harness.completeTurn({ threadId: "thread-1", turnId: "turn-1" });

@@ -1199,6 +1193,8 @@ describe("runCodexAppServerAttempt", () => {

11991193

const dynamicTools =

12001194

(startRequest?.params as { dynamicTools?: Array<Record<string, unknown>> } | undefined)

12011195

?.dynamicTools ?? [];

1196+

const startConfig = (startRequest?.params as { config?: Record<string, unknown> } | undefined)

1197+

?.config;

12021198

const message = dynamicTools.find((tool) => tool.name === "message");

12031199

const webSearch = dynamicTools.find((tool) => tool.name === "web_search");

12041200

const heartbeat = dynamicTools.find((tool) => tool.name === "heartbeat_respond");

@@ -1215,6 +1211,8 @@ describe("runCodexAppServerAttempt", () => {

12151211

expect(sessionsSpawn?.deferLoading).toBe(true);

12161212

expect(sessionsYield).not.toHaveProperty("namespace");

12171213

expect(sessionsYield).not.toHaveProperty("deferLoading");

1214+

expect(startConfig?.["features.code_mode"]).toBe(true);

1215+

expect(startConfig?.["features.code_mode_only"]).toBe(true);

12181216

});

1219121712201218

it("disables Codex native tool surfaces when runtime toolsAllow is empty", async () => {

@@ -8349,6 +8347,7 @@ describe("runCodexAppServerAttempt", () => {

83498347

args: ["app-server", "--listen", "stdio://"],

83508348

headers: {},

83518349

},

8350+

codeModeOnly: false,

83528351

requestTimeoutMs: 60_000,

83538352

turnCompletionIdleTimeoutMs: 60_000,

83548353

approvalPolicy: "on-request" as const,

@@ -8465,6 +8464,7 @@ describe("runCodexAppServerAttempt", () => {

84658464

args: ["app-server"],

84668465

headers: {},

84678466

},

8467+

codeModeOnly: false,

84688468

requestTimeoutMs: 60_000,

84698469

turnCompletionIdleTimeoutMs: 60_000,

84708470

approvalPolicy: "never",