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

推荐订阅源

H
Help Net Security
G
Google Developers Blog
aimingoo的专栏
aimingoo的专栏
博客园 - 聂微东
酷 壳 – CoolShell
酷 壳 – CoolShell
小众软件
小众软件
Stack Overflow Blog
Stack Overflow Blog
美团技术团队
博客园_首页
T
Tailwind CSS Blog
博客园 - 三生石上(FineUI控件)
B
Blog
D
DataBreaches.Net
腾讯CDC
C
Check Point Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
U
Unit 42
月光博客
月光博客
V
V2EX
Vercel News
Vercel News
T
The Blog of Author Tim Ferriss
The Cloudflare Blog
博客园 - 叶小钗
Y
Y Combinator Blog

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(ci): restore main checks · openclaw/openclaw@c8e7070
vincentkoc · 2026-06-16 · via Recent Commits to openclaw:main

@@ -28,6 +28,7 @@ const RESULT_ENVELOPE_KEYS = [

2828

const BROADCAST_SEND_ENVELOPE_KEYS = ["payload", "result", "sendResult", "toolResult"];

2929

const PARTIAL_DELIVERY_ENVELOPE_KEYS = [...RESULT_ENVELOPE_KEYS, "error", "cause"];

3030

const SESSIONS_SEND_DELIVERY_STATUSES = new Set(["accepted", "ok"]);

31+

const BARE_OK_DELIVERY_STATUS = "ok";

3132

function asRecord(value: unknown): Record<string, unknown> {

3233

return value && typeof value === "object" && !Array.isArray(value)

3334

? (value as Record<string, unknown>)

@@ -53,6 +54,14 @@ function normalizeStatus(value: unknown): string | undefined {

5354

return typeof value === "string" ? value.trim().toLowerCase() : undefined;

5455

}

555657+

function isBareOkDeliveryStatus(value: unknown): boolean {

58+

return normalizeStatus(value) === BARE_OK_DELIVERY_STATUS;

59+

}

60+61+

function isBareSentDeliveryStatus(value: unknown): boolean {

62+

return normalizeStatus(value) === SENT_DELIVERY_STATUS;

63+

}

64+5665

function parseJsonRecord(value: string): Record<string, unknown> | undefined {

5766

try {

5867

const parsed = JSON.parse(value);

@@ -125,6 +134,9 @@ function deliveryEnvelopeHasCreatedConversationId(value: unknown, depth = 0): bo

125134

}

126135127136

function deliveryEnvelopeIndicatesOk(value: unknown, depth = 0): boolean {

137+

if (isBareOkDeliveryStatus(value)) {

138+

return true;

139+

}

128140

if (!value || typeof value !== "object" || depth > 4) {

129141

return false;

130142

}

@@ -140,6 +152,9 @@ function deliveryEnvelopeIndicatesOk(value: unknown, depth = 0): boolean {

140152

if (parsed && deliveryEnvelopeIndicatesOk(parsed, depth + 1)) {

141153

return true;

142154

}

155+

if (isBareOkDeliveryStatus(record.text)) {

156+

return true;

157+

}

143158

}

144159

const content = record.content;

145160

if (

@@ -328,6 +343,9 @@ function deliveryEnvelopeIndicatesDryRun(value: unknown, depth = 0): boolean {

328343

}

329344330345

function deliveryEnvelopeIndicatesDelivered(value: unknown, depth = 0): boolean {

346+

if (isBareSentDeliveryStatus(value)) {

347+

return true;

348+

}

331349

if (!value || typeof value !== "object" || depth > 4) {

332350

return false;

333351

}

@@ -348,6 +366,9 @@ function deliveryEnvelopeIndicatesDelivered(value: unknown, depth = 0): boolean

348366

if (parsed && deliveryEnvelopeIndicatesDelivered(parsed, depth + 1)) {

349367

return true;

350368

}

369+

if (isBareSentDeliveryStatus(record.text)) {

370+

return true;

371+

}

351372

}

352373353374

const content = record.content;

@@ -482,6 +503,14 @@ export function isDeliveredMessagingToolResult(params: {

482503

) {

483504

return true;

484505

}

506+

if (

507+

deliveryEnvelopeIndicatesNonDelivery(params.result) ||

508+

deliveryEnvelopeIndicatesNonDelivery(params.hookResult) ||

509+

deliveryEnvelopeIndicatesNoOp(params.result) ||

510+

deliveryEnvelopeIndicatesNoOp(params.hookResult)

511+

) {

512+

return false;

513+

}

485514

if (normalizedToolName === SESSIONS_SEND_TOOL_NAME) {

486515

return (

487516

deliveryEnvelopeIndicatesSessionsSendAccepted(params.result) ||