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

推荐订阅源

月光博客
月光博客
J
Java Code Geeks
F
Fortinet All Blogs
Blog — PlanetScale
Blog — PlanetScale
P
Proofpoint News Feed
U
Unit 42
B
Blog
宝玉的分享
宝玉的分享
腾讯CDC
Microsoft Azure Blog
Microsoft Azure Blog
酷 壳 – CoolShell
酷 壳 – CoolShell
Last Week in AI
Last Week in AI
博客园 - Franky
博客园 - 三生石上(FineUI控件)
人人都是产品经理
人人都是产品经理
Martin Fowler
Martin Fowler
博客园_首页
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
云风的 BLOG
云风的 BLOG
L
LangChain Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Y
Y Combinator Blog
The GitHub Blog
The GitHub 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(whatsapp): preserve native quote replies (#95483) · o...
mcaxtr · 2026-06-21 · via Recent Commits to openclaw:main

@@ -428,6 +428,7 @@ describe("WhatsApp QA live runtime", () => {

428428

"top-level-reply-shape",

429429

"restart-resume",

430430

"help-command",

431+

"quote-reply",

431432

"reaction-observation",

432433

"allowlist-block",

433434

]);

@@ -631,6 +632,8 @@ describe("WhatsApp QA live runtime", () => {

631632

"whatsapp-top-level-reply-shape",

632633

"whatsapp-restart-resume",

633634

"whatsapp-help-command",

635+

"whatsapp-reply-to-message",

636+

"whatsapp-group-reply-to-message",

634637

"whatsapp-status-reactions",

635638

"whatsapp-group-allowlist-block",

636639

];

@@ -656,6 +659,8 @@ describe("WhatsApp QA live runtime", () => {

656659

"whatsapp-whoami-command",

657660

"whatsapp-context-command",

658661

"whatsapp-tool-only-usage-footer",

662+

"whatsapp-reply-to-message",

663+

"whatsapp-group-reply-to-message",

659664

"whatsapp-reply-context-isolation",

660665

"whatsapp-inbound-image-caption",

661666

"whatsapp-audio-preflight",

@@ -677,6 +682,68 @@ describe("WhatsApp QA live runtime", () => {

677682

]);

678683

});

679684685+

it("defines quote-reply scenarios for DM and group replies", () => {

686+

const scenarios = testing.findScenarios([

687+

"whatsapp-reply-to-message",

688+

"whatsapp-group-reply-to-message",

689+

]);

690+

const runs = scenarios.map((scenario) => {

691+

const run = scenario.buildRun();

692+

if (run.kind === "approval" || !run.verify) {

693+

throw new Error(`${scenario.id} unexpectedly built a non-message run`);

694+

}

695+

return { scenario, run };

696+

});

697+698+

expect(

699+

runs.map(({ scenario, run }) => ({

700+

id: scenario.id,

701+

requiresGroupJid: scenario.requiresGroupJid,

702+

standardId: scenario.standardId,

703+

target: run.target,

704+

})),

705+

).toEqual([

706+

{

707+

id: "whatsapp-reply-to-message",

708+

requiresGroupJid: undefined,

709+

standardId: "quote-reply",

710+

target: "dm",

711+

},

712+

{

713+

id: "whatsapp-group-reply-to-message",

714+

requiresGroupJid: true,

715+

standardId: "quote-reply",

716+

target: "group",

717+

},

718+

]);

719+

expect(runs[0]?.run.input).not.toContain("openclawqa");

720+

expect(runs[1]?.run.input).toMatch(/^openclawqa\b/u);

721+722+

for (const { run } of runs) {

723+

expect(() =>

724+

run.verify?.(

725+

{

726+

kind: "text",

727+

observedAt: "2026-06-05T01:00:01.000Z",

728+

quoted: { messageId: "trigger-message-id" },

729+

text: "reply",

730+

},

731+

{ sent: { messageId: "trigger-message-id" } } as never,

732+

),

733+

).not.toThrow();

734+

expect(() =>

735+

run.verify?.(

736+

{

737+

kind: "text",

738+

observedAt: "2026-06-05T01:00:01.000Z",

739+

text: "reply",

740+

},

741+

{ sent: { messageId: "trigger-message-id" } } as never,

742+

),

743+

).toThrow("expected reply quote trigger-message-id, got <missing>");

744+

}

745+

});

746+680747

it("seeds the structured-message location check through text context", () => {

681748

const [scenario] = testing.findScenarios(["whatsapp-inbound-structured-messages"]);

682749

if (!scenario) {