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

推荐订阅源

B
Blog
Microsoft Security Blog
Microsoft Security Blog
Jina AI
Jina AI
博客园 - 叶小钗
J
Java Code Geeks
博客园 - 聂微东
博客园 - 司徒正美
大猫的无限游戏
大猫的无限游戏
阮一峰的网络日志
阮一峰的网络日志
V
V2EX
美团技术团队
WordPress大学
WordPress大学
M
MIT News - Artificial intelligence
雷峰网
雷峰网
酷 壳 – CoolShell
酷 壳 – CoolShell
GbyAI
GbyAI
罗磊的独立博客
T
The Blog of Author Tim Ferriss
aimingoo的专栏
aimingoo的专栏
T
Tailwind CSS Blog
The Cloudflare Blog
Stack Overflow Blog
Stack Overflow Blog
N
Netflix TechBlog - Medium
小众软件
小众软件

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): suppress quoted silent replies · opencla...
vincentkoc · 2026-06-23 · via Recent Commits to openclaw:main

@@ -1254,9 +1254,10 @@ function buildAssistantText(

12541254

? readFirstMediaPath((toolJson.details as { media?: unknown }).media)

12551255

: "";

12561256

const promptExactReplyDirective = extractExactReplyDirective(prompt);

1257+

const promptExactMarkerDirective = extractExactMarkerDirective(prompt);

12571258

const exactReplyDirective = promptExactReplyDirective ?? extractExactReplyDirective(allInputText);

12581259

const exactMarkerDirective =

1259-

extractExactMarkerDirective(prompt) ?? extractExactMarkerDirective(allInputText);

1260+

promptExactMarkerDirective ?? extractExactMarkerDirective(allInputText);

12601261

const whatsAppLocationMarker = shouldUseWhatsAppLocationMarker(prompt)

12611262

? extractWhatsAppLocationMarkerDirective(allInputText)

12621263

: "";

@@ -1316,12 +1317,21 @@ function buildAssistantText(

13161317

if (whatsAppStickerMarker) {

13171318

return whatsAppStickerMarker;

13181319

}

1319-

if (/\bmarker\b/i.test(allInputText) && exactReplyDirective) {

1320-

return exactReplyDirective;

1320+

if (/\bmarker\b/i.test(prompt) && promptExactMarkerDirective) {

1321+

return promptExactMarkerDirective;

1322+

}

1323+

if (/\bmarker\b/i.test(prompt) && promptExactReplyDirective) {

1324+

return promptExactReplyDirective;

1325+

}

1326+

if (/\bmarker\b/i.test(allInputText) && promptExactReplyDirective) {

1327+

return promptExactReplyDirective;

13211328

}

13221329

if (/\bmarker\b/i.test(allInputText) && exactMarkerDirective) {

13231330

return exactMarkerDirective;

13241331

}

1332+

if (/\bmarker\b/i.test(allInputText) && exactReplyDirective) {

1333+

return exactReplyDirective;

1334+

}

13251335

if (promptExactReplyDirective) {

13261336

return promptExactReplyDirective;

13271337

}

@@ -1937,10 +1947,11 @@ async function buildResponsesPayload(

19371947

? extractLatestToolOutput(input)

19381948

: "");

19391949

const toolJson = parseToolOutputJson(scenarioToolOutput);

1940-

const exactReplyDirective =

1941-

extractExactReplyDirective(prompt) ?? extractExactReplyDirective(allInputText);

1950+

const promptExactReplyDirective = extractExactReplyDirective(prompt);

1951+

const promptExactMarkerDirective = extractExactMarkerDirective(prompt);

1952+

const exactReplyDirective = promptExactReplyDirective ?? extractExactReplyDirective(allInputText);

19421953

const exactMarkerDirective =

1943-

extractExactMarkerDirective(prompt) ?? extractExactMarkerDirective(allInputText);

1954+

promptExactMarkerDirective ?? extractExactMarkerDirective(allInputText);

19441955

const whatsAppLocationMarker = shouldUseWhatsAppLocationMarker(prompt)

19451956

? extractWhatsAppLocationMarkerDirective(allInputText)

19461957

: "";

@@ -2304,11 +2315,11 @@ async function buildResponsesPayload(

23042315

if (whatsAppStickerMarker) {

23052316

return buildAssistantEvents(whatsAppStickerMarker);

23062317

}

2307-

if (/\bmarker\b/i.test(prompt) && exactReplyDirective) {

2308-

return buildAssistantEvents(exactReplyDirective);

2318+

if (/\bmarker\b/i.test(prompt) && promptExactMarkerDirective) {

2319+

return buildAssistantEvents(promptExactMarkerDirective);

23092320

}

2310-

if (/\bmarker\b/i.test(prompt) && exactMarkerDirective) {

2311-

return buildAssistantEvents(exactMarkerDirective);

2321+

if (/\bmarker\b/i.test(prompt) && promptExactReplyDirective) {

2322+

return buildAssistantEvents(promptExactReplyDirective);

23122323

}

23132324

const isTelegramCurrentSessionStatusTurn =

23142325

QA_TELEGRAM_CURRENT_SESSION_STATUS_PROMPT_RE.test(prompt) ||

@@ -2324,12 +2335,15 @@ async function buildResponsesPayload(

23242335

: `QA-TELEGRAM-CURRENT-SESSION-BAD ${sessionKey || "missing-session-key"}`,

23252336

);

23262337

}

2327-

if (/\bmarker\b/i.test(allInputText) && exactReplyDirective) {

2328-

return buildAssistantEvents(exactReplyDirective);

2338+

if (/\bmarker\b/i.test(allInputText) && promptExactReplyDirective) {

2339+

return buildAssistantEvents(promptExactReplyDirective);

23292340

}

23302341

if (/\bmarker\b/i.test(allInputText) && exactMarkerDirective) {

23312342

return buildAssistantEvents(exactMarkerDirective);

23322343

}

2344+

if (/\bmarker\b/i.test(allInputText) && exactReplyDirective) {

2345+

return buildAssistantEvents(exactReplyDirective);

2346+

}

23332347

if (QA_SKILL_WORKSHOP_REVIEW_PROMPT_RE.test(allInputText)) {

23342348

return buildAssistantEvents(

23352349

JSON.stringify({