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

推荐订阅源

D
DataBreaches.Net
MongoDB | Blog
MongoDB | Blog
GbyAI
GbyAI
L
LangChain Blog
B
Blog
博客园 - 三生石上(FineUI控件)
Martin Fowler
Martin Fowler
博客园 - 【当耐特】
Recent Announcements
Recent Announcements
P
Proofpoint News Feed
U
Unit 42
Last Week in AI
Last Week in AI
WordPress大学
WordPress大学
有赞技术团队
有赞技术团队
雷峰网
雷峰网
Microsoft Security Blog
Microsoft Security Blog
T
The Blog of Author Tim Ferriss
爱范儿
爱范儿
小众软件
小众软件
I
InfoQ
G
Google Developers Blog
大猫的无限游戏
大猫的无限游戏
人人都是产品经理
人人都是产品经理
C
Check Point 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(feishu): stop automatic mention cascades (#71396) · o...
MonkeyLeeT · 2026-05-09 · via Recent Commits to openclaw:main

@@ -14,8 +14,6 @@ import { stripReasoningTagsFromText } from "openclaw/plugin-sdk/text-runtime";

1414

import { resolveFeishuRuntimeAccount } from "./accounts.js";

1515

import { createFeishuClient } from "./client.js";

1616

import { sendMediaFeishu, shouldSuppressFeishuTextForVoiceMedia } from "./media.js";

17-

import type { MentionTarget } from "./mention-target.types.js";

18-

import { buildMentionedCardContent } from "./mention.js";

1917

import {

2018

createReplyPrefixContext,

2119

type ClawdbotConfig,

@@ -125,7 +123,6 @@ type CreateFeishuReplyDispatcherParams = {

125123

/** True when inbound message is already inside a thread/topic context */

126124

threadReply?: boolean;

127125

rootId?: string;

128-

mentionTargets?: MentionTarget[];

129126

accountId?: string;

130127

identity?: OutboundIdentity;

131128

/** Epoch ms when the inbound message was created. Used to suppress typing

@@ -144,7 +141,6 @@ export function createFeishuReplyDispatcher(params: CreateFeishuReplyDispatcherP

144141

replyInThread,

145142

threadReply,

146143

rootId,

147-

mentionTargets,

148144

accountId,

149145

identity,

150146

} = params;

@@ -381,10 +377,7 @@ export function createFeishuReplyDispatcher(params: CreateFeishuReplyDispatcherP

381377

await partialUpdateQueue;

382378

if (streaming?.isActive()) {

383379

statusLine = "";

384-

let text = buildCombinedStreamText(reasoningText, streamText);

385-

if (mentionTargets?.length) {

386-

text = buildMentionedCardContent(mentionTargets, text);

387-

}

380+

const text = buildCombinedStreamText(reasoningText, streamText);

388381

const finalNote = resolveCardNote(agentId, identity, prefixContext.prefixContext);

389382

await streaming.close(text, { note: finalNote });

390383

// Track the raw streamed text so the duplicate-final check in deliver()

@@ -465,14 +458,13 @@ export function createFeishuReplyDispatcher(params: CreateFeishuReplyDispatcherP

465458

text: options.fallbackText,

466459

useCard: false,

467460

infoKind: "final",

468-

sendChunk: async ({ chunk, isFirst }) => {

461+

sendChunk: async ({ chunk }) => {

469462

await sendMessageFeishu({

470463

cfg,

471464

to: chatId,

472465

text: chunk,

473466

replyToMessageId: sendReplyToMessageId,

474467

replyInThread: effectiveReplyInThread,

475-

mentions: isFirst ? mentionTargets : undefined,

476468

accountId,

477469

});

478470

},

@@ -492,14 +484,13 @@ export function createFeishuReplyDispatcher(params: CreateFeishuReplyDispatcherP

492484

text: fallbackText,

493485

useCard: false,

494486

infoKind: "final",

495-

sendChunk: async ({ chunk, isFirst }) => {

487+

sendChunk: async ({ chunk }) => {

496488

await sendMessageFeishu({

497489

cfg,

498490

to: chatId,

499491

text: chunk,

500492

replyToMessageId: sendReplyToMessageId,

501493

replyInThread: effectiveReplyInThread,

502-

mentions: isFirst ? mentionTargets : undefined,

503494

accountId,

504495

});

505496

},

@@ -607,14 +598,13 @@ export function createFeishuReplyDispatcher(params: CreateFeishuReplyDispatcherP

607598

text,

608599

useCard: true,

609600

infoKind: info?.kind,

610-

sendChunk: async ({ chunk, isFirst }) => {

601+

sendChunk: async ({ chunk }) => {

611602

await sendStructuredCardFeishu({

612603

cfg,

613604

to: chatId,

614605

text: chunk,

615606

replyToMessageId: sendReplyToMessageId,

616607

replyInThread: effectiveReplyInThread,

617-

mentions: isFirst ? mentionTargets : undefined,

618608

accountId,

619609

header: cardHeader,

620610

note: cardNote,

@@ -626,14 +616,13 @@ export function createFeishuReplyDispatcher(params: CreateFeishuReplyDispatcherP

626616

text,

627617

useCard: false,

628618

infoKind: info?.kind,

629-

sendChunk: async ({ chunk, isFirst }) => {

619+

sendChunk: async ({ chunk }) => {

630620

await sendMessageFeishu({

631621

cfg,

632622

to: chatId,

633623

text: chunk,

634624

replyToMessageId: sendReplyToMessageId,

635625

replyInThread: effectiveReplyInThread,

636-

mentions: isFirst ? mentionTargets : undefined,

637626

accountId,

638627

});

639628

},