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

推荐订阅源

IT之家
IT之家
Y
Y Combinator Blog
T
Tailwind CSS Blog
G
Google Developers Blog
博客园 - Franky
Google DeepMind News
Google DeepMind News
阮一峰的网络日志
阮一峰的网络日志
Microsoft Azure Blog
Microsoft Azure Blog
博客园 - 聂微东
爱范儿
爱范儿
博客园 - 【当耐特】
腾讯CDC
T
The Blog of Author Tim Ferriss
MongoDB | Blog
MongoDB | Blog
H
Help Net Security
C
Check Point Blog
大猫的无限游戏
大猫的无限游戏
M
MIT News - Artificial intelligence
博客园_首页
Stack Overflow Blog
Stack Overflow Blog
The GitHub Blog
The GitHub Blog
Engineering at Meta
Engineering at Meta
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报

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): share streaming tool progress labels · openc...
vincentkoc · 2026-05-04 · via Recent Commits to openclaw:main

@@ -1101,7 +1101,7 @@ describe("createFeishuReplyDispatcher streaming behavior", () => {

11011101

);

11021102

});

110311031104-

it("shows transient tool status on streaming cards but omits it from the final close", async () => {

1104+

it("shows shared transient tool status on streaming cards but omits it from the final close", async () => {

11051105

resolveFeishuAccountMock.mockReturnValue({

11061106

accountId: "main",

11071107

appId: "app_id",

@@ -1124,12 +1124,70 @@ describe("createFeishuReplyDispatcher streaming behavior", () => {

11241124

const updateTexts = streamingInstances[0].update.mock.calls.map((call: unknown[]) =>

11251125

typeof call[0] === "string" ? call[0] : "",

11261126

);

1127-

expect(updateTexts.some((text) => text.includes("Using: web_search"))).toBe(true);

1127+

expect(updateTexts.some((text) => text.includes("🔎 Web Search"))).toBe(true);

11281128

expect(streamingInstances[0].close).toHaveBeenCalledWith("final answer", {

11291129

note: "Agent: agent",

11301130

});

11311131

});

113211321133+

it("shows raw command detail in streaming card tool status", async () => {

1134+

resolveFeishuAccountMock.mockReturnValue({

1135+

accountId: "main",

1136+

appId: "app_id",

1137+

appSecret: "app_secret",

1138+

domain: "feishu",

1139+

config: {

1140+

renderMode: "card",

1141+

streaming: true,

1142+

},

1143+

});

1144+1145+

const { result, options } = createDispatcherHarness({

1146+

runtime: createRuntimeLogger(),

1147+

});

1148+

await options.onReplyStart?.();

1149+

result.replyOptions.onToolStart?.({

1150+

name: "exec",

1151+

args: { command: "pnpm test -- --watch=false" },

1152+

detailMode: "raw",

1153+

});

1154+

result.replyOptions.onPartialReply?.({ text: "final answer" });

1155+

await options.onIdle?.();

1156+1157+

const updateTexts = streamingInstances[0].update.mock.calls.map((call: unknown[]) =>

1158+

typeof call[0] === "string" ? call[0] : "",

1159+

);

1160+

expect(

1161+

updateTexts.some((text) => text.includes("🛠️ Exec: run tests, `pnpm test -- --watch=false`")),

1162+

).toBe(true);

1163+

});

1164+1165+

it("omits message-like tools from streaming card status", async () => {

1166+

resolveFeishuAccountMock.mockReturnValue({

1167+

accountId: "main",

1168+

appId: "app_id",

1169+

appSecret: "app_secret",

1170+

domain: "feishu",

1171+

config: {

1172+

renderMode: "card",

1173+

streaming: true,

1174+

},

1175+

});

1176+1177+

const { result, options } = createDispatcherHarness({

1178+

runtime: createRuntimeLogger(),

1179+

});

1180+

await options.onReplyStart?.();

1181+

result.replyOptions.onToolStart?.({ name: "message" });

1182+

result.replyOptions.onPartialReply?.({ text: "final answer" });

1183+

await options.onIdle?.();

1184+1185+

const updateTexts = streamingInstances[0].update.mock.calls.map((call: unknown[]) =>

1186+

typeof call[0] === "string" ? call[0] : "",

1187+

);

1188+

expect(updateTexts.some((text) => text.includes("Message"))).toBe(false);

1189+

});

1190+11331191

it("does not suppress a later final after error closeout", async () => {

11341192

resolveFeishuAccountMock.mockReturnValue({

11351193

accountId: "main",