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

推荐订阅源

月光博客
月光博客
C
Check Point Blog
J
Java Code Geeks
腾讯CDC
Apple Machine Learning Research
Apple Machine Learning Research
宝玉的分享
宝玉的分享
Microsoft Azure Blog
Microsoft Azure Blog
WordPress大学
WordPress大学
量子位
Google DeepMind News
Google DeepMind News
I
InfoQ
The GitHub Blog
The GitHub Blog
aimingoo的专栏
aimingoo的专栏
N
Netflix TechBlog - Medium
Hugging Face - Blog
Hugging Face - Blog
博客园 - Franky
V
V2EX
Blog — PlanetScale
Blog — PlanetScale
T
The Blog of Author Tim Ferriss
小众软件
小众软件
博客园_首页
人人都是产品经理
人人都是产品经理
博客园 - 聂微东
IT之家
IT之家

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(agents): record visible delivery target evidence · op...
vincentkoc · 2026-06-16 · via Recent Commits to openclaw:main

@@ -43,6 +43,7 @@ import {

4343

isMessagingTool,

4444

isMessagingToolDeliveryAction,

4545

isMessagingToolSendAction,

46+

isMessagingToolTargetEvidenceAction,

4647

} from "../embedded-agent-messaging.js";

4748

import type {

4849

MessagingToolSend,

@@ -123,7 +124,7 @@ function extractCliMessagingTarget(

123124

normalizedToolName === "message" && currentProvider && !hasExplicitProvider

124125

? { ...args, provider: currentProvider }

125126

: args;

126-

if (!isMessagingToolSendAction(normalizedToolName, targetArgs)) {

127+

if (!isMessagingToolTargetEvidenceAction(normalizedToolName, targetArgs)) {

127128

return undefined;

128129

}

129130

return extractMessagingToolSend(normalizedToolName, targetArgs, {

@@ -733,38 +734,40 @@ export async function executePreparedCliRun(

733734

}

734735

didSendViaMessagingTool = true;

735736

const toolArgs = paramsLocal.args ?? {};

736-

if (!isMessagingToolSendAction(paramsLocal.toolName, toolArgs)) {

737-

return;

738-

}

739-

const content = extractCliMessagingContent(toolArgs, paramsLocal.result);

740-

appendUniqueCliMessagingEvidence(

741-

messagingToolSentTexts,

742-

messagingToolSentTextKeys,

743-

content.text ? [content.text] : [],

744-

);

745-

appendUniqueCliMessagingEvidence(

746-

messagingToolSentMediaUrls,

747-

messagingToolSentMediaUrlKeys,

748-

content.mediaUrls ?? [],

749-

);

750-

if (

751-

isDeliveredMessageToolOnlySourceReplyResult({

752-

sourceReplyDeliveryMode: context.params.sourceReplyDeliveryMode,

753-

toolName: paramsLocal.toolName,

754-

args: paramsLocal.args,

755-

result: paramsLocal.result,

756-

isError: paramsLocal.isError,

757-

})

758-

) {

759-

didDeliverSourceReplyViaMessageTool = true;

760-

const sourceReplyPayload = extractMessagingToolSourceReplyPayload(paramsLocal.result);

761-

if (sourceReplyPayload) {

762-

if (messagingToolSourceReplyPayloads.length >= CLI_MESSAGING_EVIDENCE_MAX_CALLS) {

763-

messagingToolSourceReplyPayloads.shift();

737+

const isMessagingSend = isMessagingToolSendAction(paramsLocal.toolName, toolArgs);

738+

const content = isMessagingSend

739+

? extractCliMessagingContent(toolArgs, paramsLocal.result)

740+

: {};

741+

if (isMessagingSend) {

742+

appendUniqueCliMessagingEvidence(

743+

messagingToolSentTexts,

744+

messagingToolSentTextKeys,

745+

content.text ? [content.text] : [],

746+

);

747+

appendUniqueCliMessagingEvidence(

748+

messagingToolSentMediaUrls,

749+

messagingToolSentMediaUrlKeys,

750+

content.mediaUrls ?? [],

751+

);

752+

if (

753+

isDeliveredMessageToolOnlySourceReplyResult({

754+

sourceReplyDeliveryMode: context.params.sourceReplyDeliveryMode,

755+

toolName: paramsLocal.toolName,

756+

args: paramsLocal.args,

757+

result: paramsLocal.result,

758+

isError: paramsLocal.isError,

759+

})

760+

) {

761+

didDeliverSourceReplyViaMessageTool = true;

762+

const sourceReplyPayload = extractMessagingToolSourceReplyPayload(paramsLocal.result);

763+

if (sourceReplyPayload) {

764+

if (messagingToolSourceReplyPayloads.length >= CLI_MESSAGING_EVIDENCE_MAX_CALLS) {

765+

messagingToolSourceReplyPayloads.shift();

766+

}

767+

// Each internal source-reply send is a distinct delivery, even when

768+

// two intentional sends have identical text or media.

769+

messagingToolSourceReplyPayloads.push(sourceReplyPayload);

764770

}

765-

// Each internal source-reply send is a distinct delivery, even when

766-

// two intentional sends have identical text or media.

767-

messagingToolSourceReplyPayloads.push(sourceReplyPayload);

768771

}

769772

}

770773

if (paramsLocal.target) {