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

推荐订阅源

J
Java Code Geeks
Stack Overflow Blog
Stack Overflow Blog
B
Blog RSS Feed
C
Check Point Blog
D
Docker
Y
Y Combinator Blog
Recent Announcements
Recent Announcements
Google DeepMind News
Google DeepMind News
MongoDB | Blog
MongoDB | Blog
博客园_首页
Apple Machine Learning Research
Apple Machine Learning Research
量子位
有赞技术团队
有赞技术团队
IT之家
IT之家
大猫的无限游戏
大猫的无限游戏
D
DataBreaches.Net
M
MIT News - Artificial intelligence
B
Blog
阮一峰的网络日志
阮一峰的网络日志
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
腾讯CDC
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
V
V2EX
月光博客
月光博客

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(feishu): target typing reaction on inbound message · ...
openclaw-clo · 2026-06-14 · via Recent Commits to openclaw:main

@@ -3267,13 +3267,14 @@ describe("handleFeishuMessage command authorization", () => {

3267326732683268

await dispatchMessage({ cfg, event });

326932693270-

const dispatcherOptions = mockCallArg<{ replyToMessageId?: string; rootId?: string }>(

3271-

mockCreateFeishuReplyDispatcher,

3272-

0,

3273-

0,

3274-

);

3270+

const dispatcherOptions = mockCallArg<{

3271+

replyToMessageId?: string;

3272+

rootId?: string;

3273+

typingTargetMessageId?: string;

3274+

}>(mockCreateFeishuReplyDispatcher, 0, 0);

32753275

expect(dispatcherOptions.replyToMessageId).toBe("om_root_topic");

32763276

expect(dispatcherOptions.rootId).toBe("om_root_topic");

3277+

expect(dispatcherOptions.typingTargetMessageId).toBe("om_child_message");

32773278

});

3278327932793280

it("replies to triggering message in normal group even when root_id is present (#32980)", async () => {

@@ -3345,13 +3346,14 @@ describe("handleFeishuMessage command authorization", () => {

3345334633463347

await dispatchMessage({ cfg, event });

334733483348-

const dispatcherOptions = mockCallArg<{ replyToMessageId?: string; rootId?: string }>(

3349-

mockCreateFeishuReplyDispatcher,

3350-

0,

3351-

0,

3352-

);

3349+

const dispatcherOptions = mockCallArg<{

3350+

replyToMessageId?: string;

3351+

rootId?: string;

3352+

typingTargetMessageId?: string;

3353+

}>(mockCreateFeishuReplyDispatcher, 0, 0);

33533354

expect(dispatcherOptions.replyToMessageId).toBe("om_topic_root");

33543355

expect(dispatcherOptions.rootId).toBe("om_topic_root");

3356+

expect(dispatcherOptions.typingTargetMessageId).toBe("om_topic_reply");

33553357

});

3356335833573359

it("replies to topic root in topic-sender group with root_id", async () => {

@@ -3384,13 +3386,48 @@ describe("handleFeishuMessage command authorization", () => {

3384338633853387

await dispatchMessage({ cfg, event });

338633883387-

const dispatcherOptions = mockCallArg<{ replyToMessageId?: string; rootId?: string }>(

3388-

mockCreateFeishuReplyDispatcher,

3389-

0,

3390-

0,

3391-

);

3389+

const dispatcherOptions = mockCallArg<{

3390+

replyToMessageId?: string;

3391+

rootId?: string;

3392+

typingTargetMessageId?: string;

3393+

}>(mockCreateFeishuReplyDispatcher, 0, 0);

33923394

expect(dispatcherOptions.replyToMessageId).toBe("om_topic_sender_root");

33933395

expect(dispatcherOptions.rootId).toBe("om_topic_sender_root");

3396+

expect(dispatcherOptions.typingTargetMessageId).toBe("om_topic_sender_reply");

3397+

});

3398+3399+

it("uses explicit synthetic typing targets without changing reply routing", async () => {

3400+

mockShouldComputeCommandAuthorized.mockReturnValue(false);

3401+3402+

const cfg: ClawdbotConfig = {

3403+

channels: {

3404+

feishu: {

3405+

dmPolicy: "open",

3406+

},

3407+

},

3408+

} as ClawdbotConfig;

3409+3410+

const event: FeishuMessageEvent = {

3411+

sender: { sender_id: { open_id: "ou-synthetic" } },

3412+

message: {

3413+

message_id: "synthetic-reaction-turn",

3414+

typing_target_message_id: "om_reacted_message",

3415+

reply_target_message_id: "om_reply_anchor",

3416+

chat_id: "oc-synthetic-dm",

3417+

chat_type: "p2p",

3418+

message_type: "text",

3419+

content: JSON.stringify({ text: "[reacted with THUMBSUP to message om_reply_anchor]" }),

3420+

},

3421+

};

3422+3423+

await dispatchMessage({ cfg, event });

3424+3425+

expect(mockCreateFeishuReplyDispatcher).toHaveBeenCalledWith(

3426+

expect.objectContaining({

3427+

replyToMessageId: "om_reply_anchor",

3428+

typingTargetMessageId: "om_reacted_message",

3429+

}),

3430+

);

33943431

});

3395343233963433

it("keeps P2P replies inside a direct-message thread when Feishu supplies thread_id", async () => {