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

推荐订阅源

宝玉的分享
宝玉的分享
WordPress大学
WordPress大学
博客园 - 司徒正美
美团技术团队
酷 壳 – CoolShell
酷 壳 – CoolShell
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
小众软件
小众软件
量子位
阮一峰的网络日志
阮一峰的网络日志
Apple Machine Learning Research
Apple Machine Learning Research
有赞技术团队
有赞技术团队
博客园 - 【当耐特】
博客园 - Franky
Jina AI
Jina AI
人人都是产品经理
人人都是产品经理
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
T
Threat Research - Cisco Blogs
D
Darknet – Hacking Tools, Hacker News & Cyber Security
F
Fox-IT International blog
T
ThreatConnect
A
Arctic Wolf
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Last Week in AI
Last Week in AI
C
CERT Recently Published Vulnerability Notes
P
Palo Alto Networks Blog
李成银的技术随笔
Project Zero
Project Zero
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
The Register - Security
The Register - Security
F
Full Disclosure
H
Hacker News: Front Page
雷峰网
雷峰网
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
S
SegmentFault 最新的问题
S
Schneier on Security
T
Tor Project blog
博客园_首页
月光博客
月光博客
大猫的无限游戏
大猫的无限游戏
博客园 - 聂微东
S
Securelist
C
Comments on: Blog
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Attack and Defense Labs
Attack and Defense Labs
IT之家
IT之家
博客园 - 叶小钗
J
Java Code Geeks
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events

Recent Commits to openclaw:main

fix(doctor): classify codex asset notice as info (#85119) fix(ui): keep chat picker search current (#85547) fix(codex): add API key paste auth (#85533) fix: satisfy openai video test typecheck · openclaw/openclaw@743caed fix: route openai video edits to edits endpoint · openclaw/openclaw@6c3fcb8 fix(qmd): normalize direct file collection paths (#65212) · openclaw/openclaw@227b4bf fix(testbox): preserve clean sparse checkouts · openclaw/openclaw@58e9628 fix(ui): run ui script through junction paths (#85525) · openclaw/openclaw@ad19dd8 docs: fix troubleshooting logs link (#85545) · openclaw/openclaw@60582b6 Revert chat session picker inline search (#85527) · openclaw/openclaw@d69bcfd fix: preserve guarded video operation cleanup · openclaw/openclaw@ed7d99a fix: honor openai video provider request network policy fix: retry guarded video downloads · openclaw/openclaw@efbf9f3 fix: thread openai video request policy · openclaw/openclaw@31b5145 docs(changelog): note heartbeat message-tool fix · openclaw/openclaw@c127334 fix: use fs-safe trash for agent delete (#84394) · openclaw/openclaw@951bbe6 Fix heartbeat message-tool delivery policy (#85357) · openclaw/openclaw@bd9c78f Scope config preflight note suppression (#84439) · openclaw/openclaw@91d85e7 fix(cron): document best-effort edit delivery mode (#84526) fix(dreaming): open report cards from memory palace (#85144) · openclaw/openclaw@2e15830 fix(openai-codex): preserve image input capability (#85393) · openclaw/openclaw@49ce171 fix(codex): stabilize heartbeat dynamic tool schema (#84681) · openclaw/openclaw@c52daa4 docs: absorb small documentation PRs · openclaw/openclaw@658be7f fix(scripts): preserve bws resolver parse errors (#85528) · openclaw/openclaw@13a4c57 fix(telegram): honor outbound media max bytes (#83478) · openclaw/openclaw@f2d4f93 fix(skills): restore executable bit on bundled whisper script + relea… · openclaw/openclaw@1dd3b52 fix(google): print Gemini OAuth URL before browser launch (#71469) · openclaw/openclaw@2d5bda9 docs: absorb contributor documentation fixes docs: tighten landable bug sweep gates · openclaw/openclaw@8f86383 fix: reuse provider auth lookup facts (#85499) · openclaw/openclaw@299ed80 fix: keep session picker focus separate · openclaw/openclaw@7e12370 feat: start onboarding for fresh CLI installs (#85519) · openclaw/openclaw@464ffc1 docs: refresh contributor docs · openclaw/openclaw@64d13c0 fix(update): prepack npm git update specs · openclaw/openclaw@84f6b5c fix: simplify chat session search · openclaw/openclaw@7e16a50 fix: use native mac settings sidebar · openclaw/openclaw@0556958 chore: ignore antigravity cli state · openclaw/openclaw@dd07fb4 fix(media): replace Gemini CLI fallback with sandboxed Antigravity (#… · openclaw/openclaw@0622fb6 docs: add bugbash landing changelog entries · openclaw/openclaw@faad2b0 fix(diffs): continue after card hydration errors (#84775) · openclaw/openclaw@9b5c281 fix(proxy): add missing clientSocket error handler in CONNECT tunnel … · openclaw/openclaw@e008bc9 fix(memory): report qmd workspace cwd probe failures (#63167) · openclaw/openclaw@7134a95 fix(agents): handle parallel tool call deltas in openai-completions s… test: align release validation package acceptance check (#85515) · openclaw/openclaw@423f525 fix: recover stuck Codex compaction · openclaw/openclaw@44d5330 docs: require visual proof for control ui e2e (#85513) · openclaw/openclaw@8174bfc Policy: add gateway exposure checks (#81981) · openclaw/openclaw@dcc5e45 ci: unblock advisory Tideclaw alpha release checks · openclaw/openclaw@dcfc7e5 fix(installer): tolerate WSL UNC launch cwd · openclaw/openclaw@684a9b2 docs: absorb docs sweep · openclaw/openclaw@bb5010b fix: cancel stale provider auth prewarms (#85503) · openclaw/openclaw@60e3749 Add TUI PTY integration coverage (#85485) · openclaw/openclaw@0a50cbd fix(security): escape entry.id in HTML export to prevent attribute XS… · openclaw/openclaw@7bc4a33 fix: guard openai-completions tool payload with supportsTools compat … · openclaw/openclaw@76a025c fix(slack): surface auth.test failure + normalize explicit-bot mentio… · openclaw/openclaw@995a020 chore(release): bump version to 2026.5.22 fix(ui): keep chat session search inline (#85490) · openclaw/openclaw@2601453 Policy: add secret and auth conformance checks (#81974) · openclaw/openclaw@c85feac fix(delivery): log failDelivery errors instead of silently swallowing… · openclaw/openclaw@f75789f fix(cli): validate debug proxy numeric options (#84260) · openclaw/openclaw@5c866a1 fix(daemon): use exit code instead of localized text for schtasks fal… · openclaw/openclaw@501e74d fix(auto-reply): enforce word boundary in slash command prefix match … · openclaw/openclaw@5c614de fix(message-tool): normalize send body aliases (#84102) docs: absorb maintainer docs sweep · openclaw/openclaw@e0fda55 fix(gateway): coalesce provider auth rewarms docs(voyage): clarify API key setup (#81803) · openclaw/openclaw@57178b1 docs(config): quote bracket config paths (#83058) · openclaw/openclaw@88f50e8 docs: link Copilot model availability (#76252) · openclaw/openclaw@14b2b8a test(telegram): await watchdog registration event · openclaw/openclaw@9fae5f7 ci: run binding command escape in release checks · openclaw/openclaw@4b63502 fix(tui): dismiss watchdog notice when response actually arrives (#77… · openclaw/openclaw@b741ddb test: add docker proof for plugin binding command escape · openclaw/openclaw@d756e1c test(telegram): wait for polling watchdog deterministically · openclaw/openclaw@7c9127c ci: skip pnpm auto repair in Crabbox shell · openclaw/openclaw@0241a6e fix(gateway): add .catch() to SIGTERM/SIGUSR1 signal handlers (#83131) fix: release cron runtime state after isolated runs (#85053) · openclaw/openclaw@247e536 fix(cron): suppress fatal error completion announce (#83724) · openclaw/openclaw@0c7220f fix(exec): parse nested approval metadata in async followups (#72268) · openclaw/openclaw@34c441c ci: share Crabbox hydrate pnpm store · openclaw/openclaw@7552634 chore(release): refresh plugin SDK baseline · openclaw/openclaw@736e7de ci(release): harden node setup before pnpm cache · openclaw/openclaw@a26aba6 ci(release): pass node pin to pnpm setup ci: use stable pnpm wrapper for Crabbox hydrate · openclaw/openclaw@b00d306 docs: refine maintainer docs sweep docs(memory): add guidance for action-sensitive memories (#82788) · openclaw/openclaw@bd04b1e docs(feishu): add dynamicAgentCreation and per-user isolation docs (#… docs(secrets): clarify agent-readable plaintext boundary (#84574) · openclaw/openclaw@ce5dcb0 docs(channels): document ackReactionScope for Slack & Telegram (DM go… · openclaw/openclaw@bbbed26 build(pnpm): use packageManager as pnpm source · openclaw/openclaw@a0702e1 ci: export Crabbox hydrate pnpm layout · openclaw/openclaw@f6840ac fix(gateway): preserve fresh agent session state · openclaw/openclaw@6f41653 fix(gateway): attribute agent wait timeouts ci: keep Crabbox hydrate runs reusable · openclaw/openclaw@489ea84 Speed up /models browse replies (#84735) · openclaw/openclaw@936dfaa docs: update changelog for plugin binding command escape (#85188) · openclaw/openclaw@9fc5346 Let binding commands escape plugin routes · openclaw/openclaw@af12082 ci: fix Crabbox hydrate pnpm modules dir · openclaw/openclaw@c9b17c5 Restore Control UI gateway token pairing [AI] (#85459) · openclaw/openclaw@10cb0a5 fix(docker): accept single-object pnpm list output · openclaw/openclaw@5e97045 fix: apply docs sweep updates · openclaw/openclaw@59aef2f
fix: preserve message-tool delivery evidence · openclaw/openclaw@f022b05
shakkernerd · 2026-05-23 · via Recent Commits to openclaw:main

@@ -27,6 +27,7 @@ import type { OutboundSessionContext } from "../../infra/outbound/session-contex

2727

import { type RuntimeEnv, writeRuntimeJson } from "../../runtime.js";

2828

import { isInternalMessageChannel } from "../../utils/message-channel.js";

2929

import { isNestedAgentLane } from "../lanes.js";

30+

import type { MessagingToolSend } from "../pi-embedded-messaging.types.js";

3031

import type { EmbeddedPiRunMeta } from "../pi-embedded-runner/types.js";

3132

import type { AgentCommandOpts, AgentCommandResultMetaOverrides } from "./types.js";

3233

@@ -67,6 +68,10 @@ export type AgentCommandDeliveryStatus = {

6768

export type AgentCommandDeliveryResult = {

6869

payloads: ReturnType<typeof projectOutboundPayloadPlanForJson>;

6970

meta: EmbeddedPiRunMeta & AgentCommandResultMetaOverrides;

71+

didSendViaMessagingTool?: boolean;

72+

messagingToolSentTexts?: string[];

73+

messagingToolSentMediaUrls?: string[];

74+

messagingToolSentTargets?: MessagingToolSend[];

7075

deliverySucceeded?: boolean;

7176

deliveryStatus?: AgentCommandDeliveryStatus;

7277

};

@@ -159,6 +164,45 @@ function mergeResultMetaOverrides(

159164

};

160165

}

161166167+

function hasNonEmptyString(value: unknown): value is string {

168+

return typeof value === "string" && value.trim().length > 0;

169+

}

170+171+

function hasNonEmptyStringArray(value: unknown): value is string[] {

172+

return Array.isArray(value) && value.some(hasNonEmptyString);

173+

}

174+175+

function hasNonEmptyArray<T>(value: T[] | undefined): value is T[] {

176+

return Array.isArray(value) && value.length > 0;

177+

}

178+179+

function buildDeliveryResult(params: {

180+

payloads: AgentCommandDeliveryResult["payloads"];

181+

meta: AgentCommandDeliveryResult["meta"];

182+

result: RunResult;

183+

deliverySucceeded?: boolean;

184+

deliveryStatus?: AgentCommandDeliveryStatus;

185+

}): AgentCommandDeliveryResult {

186+

return {

187+

payloads: params.payloads,

188+

meta: params.meta,

189+

...(params.result.didSendViaMessagingTool === true ? { didSendViaMessagingTool: true } : {}),

190+

...(hasNonEmptyStringArray(params.result.messagingToolSentTexts)

191+

? { messagingToolSentTexts: params.result.messagingToolSentTexts }

192+

: {}),

193+

...(hasNonEmptyStringArray(params.result.messagingToolSentMediaUrls)

194+

? { messagingToolSentMediaUrls: params.result.messagingToolSentMediaUrls }

195+

: {}),

196+

...(hasNonEmptyArray(params.result.messagingToolSentTargets)

197+

? { messagingToolSentTargets: params.result.messagingToolSentTargets }

198+

: {}),

199+

...(params.deliverySucceeded !== undefined

200+

? { deliverySucceeded: params.deliverySucceeded }

201+

: {}),

202+

...(params.deliveryStatus ? { deliveryStatus: params.deliveryStatus } : {}),

203+

};

204+

}

205+162206

function serializeDeliveryPayloadOutcomes(

163207

outcomes: DurableSendResult["payloadOutcomes"],

164208

): AgentCommandDeliveryPayloadOutcome[] | undefined {

@@ -611,12 +655,13 @@ export async function deliverAgentCommandResult(

611655

deliveryStatus = deliver ? (deliveryStatus ?? noVisiblePayloadStatus()) : undefined;

612656

const deliverySucceeded = deliveryStatus?.succeeded === true ? true : undefined;

613657

emitJsonEnvelope(deliveryStatus);

614-

return {

658+

return buildDeliveryResult({

615659

payloads: normalizedPayloads,

616660

meta: resultMeta,

617-

...(deliverySucceeded !== undefined ? { deliverySucceeded } : {}),

618-

...(deliveryStatus ? { deliveryStatus } : {}),

619-

};

661+

result,

662+

deliverySucceeded,

663+

deliveryStatus,

664+

});

620665

}

621666622667

let deliverySucceeded = false;

@@ -639,7 +684,7 @@ export async function deliverAgentCommandResult(

639684

logPayload(payload);

640685

}

641686

emitJsonEnvelope();

642-

return { payloads: normalizedPayloads, meta: resultMeta };

687+

return buildDeliveryResult({ payloads: normalizedPayloads, meta: resultMeta, result });

643688

}

644689

if (deliver && deliveryChannel && !isInternalMessageChannel(deliveryChannel)) {

645690

if (deliveryTarget && !deliveryStatus) {

@@ -682,5 +727,11 @@ export async function deliverAgentCommandResult(

682727

}

683728684729

emitJsonEnvelope(deliveryStatus);

685-

return { payloads: normalizedPayloads, meta: resultMeta, deliverySucceeded, deliveryStatus };

730+

return buildDeliveryResult({

731+

payloads: normalizedPayloads,

732+

meta: resultMeta,

733+

result,

734+

deliverySucceeded,

735+

deliveryStatus,

736+

});

686737

}