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

推荐订阅源

Martin Fowler
Martin Fowler
A
About on SuperTechFans
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
aimingoo的专栏
aimingoo的专栏
T
The Blog of Author Tim Ferriss
IT之家
IT之家
罗磊的独立博客
博客园_首页
月光博客
月光博客
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Last Week in AI
Last Week in AI
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
量子位
Hugging Face - Blog
Hugging Face - Blog
G
Google Developers Blog
博客园 - 叶小钗
H
Help Net Security
N
Netflix TechBlog - Medium
B
Blog
Engineering at Meta
Engineering at Meta
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
V
V2EX
Vercel News
Vercel News
博客园 - 三生石上(FineUI控件)

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
TUI: simplify stale response notice (#77120) · openclaw/o...
davemorin · 2026-05-04 · via Recent Commits to openclaw:main
Original file line numberDiff line numberDiff line change

@@ -385,6 +385,7 @@ Docs: https://docs.openclaw.ai

385385

- Plugins/update: keep externalized bundled npm bridge updates on the normal plugin security scanner path instead of granting source-linked official trust without artifact provenance. (#76765) Thanks @Lucenx9.

386386

- Agents/reply context: label replied-to messages as the current user message target in model-visible metadata, so short replies are grounded to their explicit reply target instead of nearby chat history. (#76817) Thanks @obviyus.

387387

- Doctor/plugins: install configured missing official plugins such as Discord and Brave during doctor/update repair, auto-enable repaired provider plugins, preserve config when a download fails, and stop auto-enable from inventing plugin entries when no manifest declares a configured channel. Fixes #76872. Thanks @jack-stormentswe.

388+

- TUI: replace the stale-response watchdog notice with plain user-facing copy so stalled replies no longer surface backend or streaming internals.

388389
389390

## 2026.5.2

390391
Original file line numberDiff line numberDiff line change

@@ -894,6 +894,9 @@ describe("tui-event-handlers: handleAgentEvent", () => {

894894

});

895895
896896

describe("tui-event-handlers: streaming watchdog", () => {

897+

const expectedTimeoutMessage =

898+

"This response is taking longer than expected. Send another message to continue.";

899+
897900

beforeEach(() => {

898901

vi.useFakeTimers();

899902

});

@@ -971,7 +974,7 @@ describe("tui-event-handlers: streaming watchdog", () => {

971974
972975

expect(setActivityStatus).toHaveBeenLastCalledWith("idle");

973976

expect(state.activeChatRunId).toBeNull();

974-

expect(chatLog.addSystem).toHaveBeenCalledWith(expect.stringContaining("streaming watchdog"));

977+

expect(chatLog.addSystem).toHaveBeenCalledWith(expectedTimeoutMessage);

975978
976979

handlers.dispose?.();

977980

});

@@ -1177,9 +1180,7 @@ describe("tui-event-handlers: streaming watchdog", () => {

11771180

expect(setActivityStatus).toHaveBeenLastCalledWith("idle");

11781181

expect(state.activeChatRunId).toBeNull();

11791182

expect(loadHistory).toHaveBeenCalledTimes(1);

1180-

expect(chatLog.addSystem).not.toHaveBeenCalledWith(

1181-

expect.stringContaining("streaming watchdog"),

1182-

);

1183+

expect(chatLog.addSystem).not.toHaveBeenCalledWith(expectedTimeoutMessage);

11831184
11841185

handlers.dispose?.();

11851186

});

@@ -1206,9 +1207,7 @@ describe("tui-event-handlers: streaming watchdog", () => {

12061207
12071208

const statusCalls = setActivityStatus.mock.calls.map((c) => c[0]);

12081209

expect(statusCalls.filter((s) => s === "idle").length).toBe(1);

1209-

expect(chatLog.addSystem).not.toHaveBeenCalledWith(

1210-

expect.stringContaining("streaming watchdog"),

1211-

);

1210+

expect(chatLog.addSystem).not.toHaveBeenCalledWith(expectedTimeoutMessage);

12121211

expect(state.activeChatRunId).toBeNull();

12131212
12141213

handlers.dispose?.();

Original file line numberDiff line numberDiff line change

@@ -49,6 +49,8 @@ type EventHandlerContext = {

4949

};

5050
5151

const DEFAULT_STREAMING_WATCHDOG_MS = 30_000;

52+

const STREAMING_WATCHDOG_USER_MESSAGE =

53+

"This response is taking longer than expected. Send another message to continue.";

5254
5355

export function createEventHandlers(context: EventHandlerContext) {

5456

const {

@@ -129,11 +131,7 @@ export function createEventHandlers(context: EventHandlerContext) {

129131

return;

130132

}

131133

flushPendingHistoryRefreshIfIdle();

132-

chatLog.addSystem(

133-

`streaming watchdog: no stream updates for ${Math.round(

134-

streamingWatchdogMs / 1000,

135-

)}s; resetting status. The backend may have dropped this run silently — send a new message to resync.`,

136-

);

134+

chatLog.addSystem(STREAMING_WATCHDOG_USER_MESSAGE);

137135

tui.requestRender();

138136

}, streamingWatchdogMs);

139137

const maybeUnref = (streamingWatchdogTimer as { unref?: () => void }).unref;