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

推荐订阅源

宝玉的分享
宝玉的分享
J
Java Code Geeks
S
SegmentFault 最新的问题
L
LangChain Blog
M
MIT News - Artificial intelligence
Stack Overflow Blog
Stack Overflow Blog
IT之家
IT之家
量子位
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
雷峰网
雷峰网
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
The Cloudflare Blog
MongoDB | Blog
MongoDB | Blog
Microsoft Security Blog
Microsoft Security Blog
腾讯CDC
H
Help Net Security
阮一峰的网络日志
阮一峰的网络日志
Jina AI
Jina AI
N
Netflix TechBlog - Medium
A
About on SuperTechFans
博客园 - 叶小钗
美团技术团队
人人都是产品经理
人人都是产品经理
D
DataBreaches.Net

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): force message tool for source replies (#76663...
VishalJ99 · 2026-05-03 · via Recent Commits to openclaw:main
Original file line numberDiff line numberDiff line change

@@ -51,6 +51,7 @@ Docs: https://docs.openclaw.ai

5151

- Chat delivery: make `/verbose on|full|off` changes affect subsequent tool-use chat bubbles again, including channels with draft preview tool progress enabled, while preserving one-shot verbose directives.

5252

- CLI/logs: auto-reconnect `openclaw logs --follow` on transient gateway disconnects (WebSocket close, timeout, connection drop) with bounded exponential backoff (up to 8 retries, capped at 30 s) and stderr retry warnings, while still exiting immediately on non-recoverable auth or configuration errors. Fixes #74782. (#75059) Thanks @shashank-poola.

5353

- CLI/logs: announce `--follow` recovery with a `[logs] gateway reconnected` notice once a poll succeeds after a transient outage, and emit JSON `notice` records in `--json` mode for both the retry warning and the reconnect transition, so live monitoring scripts can react to the recovery. Carries forward #75059. (#75372) Thanks @romneyda.

54+

- Codex/WhatsApp: keep the `message` dynamic tool available when Codex source replies are configured for message-tool delivery, so coding-profile chat agents do not complete turns privately without a visible channel reply. Fixes #76660. (#76663) Thanks @VishalJ99.

5455

- Plugins/onboarding: trust optional official plugin and web-search installs selected from the official catalog so npm security scanning treats them like other source-linked official install paths. Thanks @vincentkoc.

5556

- Agents/web_search: keep installed runtime provider discovery enabled when web-search metadata is missing, so externally installed official providers such as Brave remain visible to agent and cron turns instead of falling back to bundled-only lookup. Fixes #76626. Thanks @amknight.

5657

- Tests/plugins: expose the Discord npm onboarding Docker lane as a package script and assert planned Docker lanes point at real scripts, so external-channel onboarding coverage can actually run. Thanks @vincentkoc.

Original file line numberDiff line numberDiff line change

@@ -440,6 +440,37 @@ describe("runCodexAppServerAttempt", () => {

440440

);

441441

});

442442
443+

it("forces the message dynamic tool for message-tool-only source replies", async () => {

444+

const harness = createStartedThreadHarness();

445+

const params = createParams(

446+

path.join(tempDir, "session.jsonl"),

447+

path.join(tempDir, "workspace"),

448+

);

449+

params.disableTools = false;

450+

params.config = { tools: { profile: "coding" } };

451+

params.sourceReplyDeliveryMode = "message_tool_only";

452+

params.messageProvider = "whatsapp";

453+

params.timeoutMs = 60_000;

454+
455+

const run = runCodexAppServerAttempt(params, { turnCompletionIdleTimeoutMs: 5 });

456+

await harness.waitForMethod("thread/start");

457+

await harness.waitForMethod("turn/start");

458+
459+

const startRequest = harness.requests.find((request) => request.method === "thread/start");

460+

const dynamicToolNames = (

461+

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

462+

?.dynamicTools ?? []

463+

).map((tool) => tool.name);

464+

expect(dynamicToolNames).toContain("message");

465+
466+

await new Promise<void>((resolve) => setImmediate(resolve));

467+

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

468+

await expect(run).resolves.toMatchObject({

469+

timedOut: false,

470+

aborted: false,

471+

});

472+

});

473+
443474

it("returns a failed dynamic tool response when an app-server tool call exceeds the deadline", async () => {

444475

vi.useFakeTimers();

445476

let capturedSignal: AbortSignal | undefined;

Original file line numberDiff line numberDiff line change

@@ -1482,6 +1482,7 @@ async function buildDynamicTools(input: DynamicToolBuildParams) {

14821482

requireExplicitMessageTarget:

14831483

params.requireExplicitMessageTarget ?? isSubagentSessionKey(params.sessionKey),

14841484

disableMessageTool: params.disableMessageTool,

1485+

forceMessageTool: params.sourceReplyDeliveryMode === "message_tool_only",

14851486

enableHeartbeatTool: params.trigger === "heartbeat",

14861487

forceHeartbeatTool: params.trigger === "heartbeat",

14871488

onYield: (message) => {