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

推荐订阅源

L
LangChain Blog
博客园 - 司徒正美
美团技术团队
Martin Fowler
Martin Fowler
雷峰网
雷峰网
aimingoo的专栏
aimingoo的专栏
博客园 - 三生石上(FineUI控件)
Vercel News
Vercel News
酷 壳 – CoolShell
酷 壳 – CoolShell
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
爱范儿
爱范儿
U
Unit 42
Y
Y Combinator Blog
月光博客
月光博客
Hugging Face - Blog
Hugging Face - Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
有赞技术团队
有赞技术团队
GbyAI
GbyAI
H
Help Net Security
量子位
Last Week in AI
Last Week in AI
博客园_首页
腾讯CDC
小众软件
小众软件

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(auto-reply): preserve silent voice payloads · opencla...
steipete · 2026-04-28 · via Recent Commits to openclaw:main
Original file line numberDiff line numberDiff line change

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

1414

### Fixes

1515
1616

- Auto-reply/commands: stop bare `/reset` and `/new` after reset hooks acknowledge the command, so non-ACP channels no longer fall through into empty provider calls while `/reset <message>` and `/new <message>` still seed the next model turn. Fixes #73367. Thanks @hoyanhan and @wenxu007.

17+

- Auto-reply: preserve voice-note media from silent turns while continuing to suppress text and non-voice media, so `NO_REPLY` TTS replies still deliver the requested audio bubble. (#73406) Thanks @zqchris.

1718

- Agents/Anthropic: send implicit Anthropic beta headers only to direct public Anthropic endpoints, including OAuth, so custom Anthropic-compatible providers no longer mis-handle unsupported beta flags unless explicitly configured. Refs #73346. Thanks @byBrodowski.

1819

- Skills: require explicit `skills.entries.coding-agent.enabled` before exposing the bundled coding-agent skill, so installs with Codex on PATH but no OpenAI auth do not silently offer Codex delegation. Fixes #73358. Thanks @LaFleurAdvertising and @Sanjays2402.

1920

- Plugins/startup: precompute bundled runtime mirror fingerprints before taking the mirror lock and keep Docker bundled plugin runtime deps/mirrors in a Docker-managed volume instead of the Windows/WSL config bind mount, so cold starts avoid slow host-volume mirror writes. Fixes #73339. Thanks @1yihui.

Original file line numberDiff line numberDiff line change

@@ -371,7 +371,7 @@ describe("buildReplyPayloads media filter integration", () => {

371371

});

372372

});

373373
374-

it("drops all final payloads during silent turns, including media-only payloads", async () => {

374+

it("drops non-voice final payloads during silent turns, including media-only payloads", async () => {

375375

const { replyPayloads } = await buildReplyPayloads({

376376

...baseParams,

377377

silentExpected: true,

@@ -381,6 +381,31 @@ describe("buildReplyPayloads media filter integration", () => {

381381

expect(replyPayloads).toHaveLength(0);

382382

});

383383
384+

it("keeps voice media payloads during silent turns", async () => {

385+

const { replyPayloads } = await buildReplyPayloads({

386+

...baseParams,

387+

silentExpected: true,

388+

payloads: [{ text: "NO_REPLY", mediaUrl: "file:///tmp/voice.opus", audioAsVoice: true }],

389+

});

390+
391+

expect(replyPayloads).toHaveLength(1);

392+

expect(replyPayloads[0]).toMatchObject({

393+

text: undefined,

394+

mediaUrl: "file:///tmp/voice.opus",

395+

audioAsVoice: true,

396+

});

397+

});

398+
399+

it("drops empty voice markers during silent turns", async () => {

400+

const { replyPayloads } = await buildReplyPayloads({

401+

...baseParams,

402+

silentExpected: true,

403+

payloads: [{ audioAsVoice: true }],

404+

});

405+
406+

expect(replyPayloads).toHaveLength(0);

407+

});

408+
384409

it("suppresses warning text when silent media payloads fail normalization", async () => {

385410

const normalizeMediaPaths = async () => {

386411

throw new Error("file not found");

Original file line numberDiff line numberDiff line change

@@ -87,6 +87,10 @@ async function normalizeSentMediaUrlsForDedupe(params: {

8787

return normalizedUrls;

8888

}

8989
90+

function shouldKeepPayloadDuringSilentTurn(payload: ReplyPayload): boolean {

91+

return payload.audioAsVoice === true && resolveSendableOutboundReplyParts(payload).hasMedia;

92+

}

93+
9094

export async function buildReplyPayloads(params: {

9195

payloads: ReplyPayload[];

9296

isHeartbeat: boolean;

@@ -165,7 +169,9 @@ export async function buildReplyPayloads(params: {

165169

}),

166170

)

167171

).filter(isRenderablePayload);

168-

const silentFilteredPayloads = params.silentExpected ? [] : replyTaggedPayloads;

172+

const silentFilteredPayloads = params.silentExpected

173+

? replyTaggedPayloads.filter(shouldKeepPayloadDuringSilentTurn)

174+

: replyTaggedPayloads;

169175
170176

// Drop final payloads only when block streaming succeeded end-to-end.

171177

// If streaming aborted (e.g., timeout), fall back to final payloads.