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

推荐订阅源

The Hacker News
The Hacker News
O
OpenAI News
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
Hacker News - Newest:
Hacker News - Newest: "LLM"
P
Proofpoint News Feed
S
Schneier on Security
AI
AI
Help Net Security
Help Net Security
Simon Willison's Weblog
Simon Willison's Weblog
S
Security Affairs
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
T
Troy Hunt's Blog
雷峰网
雷峰网
aimingoo的专栏
aimingoo的专栏
F
Fortinet All Blogs
Recorded Future
Recorded Future
Stack Overflow Blog
Stack Overflow Blog
I
InfoQ
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
V
Vulnerabilities – Threatpost
N
Netflix TechBlog - Medium
N
News and Events Feed by Topic
G
Google Developers Blog
P
Proofpoint News Feed
C
CERT Recently Published Vulnerability Notes
Recent Commits to openclaw:main
Recent Commits to openclaw:main
Y
Y Combinator Blog
大猫的无限游戏
大猫的无限游戏
Security Archives - TechRepublic
Security Archives - TechRepublic
T
Threat Research - Cisco Blogs
H
Hackread – Cybersecurity News, Data Breaches, AI and More
P
Privacy & Cybersecurity Law Blog
美团技术团队
D
Darknet – Hacking Tools, Hacker News & Cyber Security
Hugging Face - Blog
Hugging Face - Blog
www.infosecurity-magazine.com
www.infosecurity-magazine.com
博客园_首页
Latest news
Latest news
Engineering at Meta
Engineering at Meta
D
Docker
Security Latest
Security Latest
A
Arctic Wolf
T
The Blog of Author Tim Ferriss
有赞技术团队
有赞技术团队
F
Full Disclosure
Scott Helme
Scott Helme
人人都是产品经理
人人都是产品经理
博客园 - 【当耐特】
博客园 - 三生石上(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 test: trim doctor command hotspots · openclaw/openclaw@c66f16a test: isolate agent auth and spawn hotspots · openclaw/openclaw@9285935 test: stabilize MCP startup disposal race · openclaw/openclaw@dd9d2eb test: merge browser contract server suites · openclaw/openclaw@5817a76 test: narrow ollama provider discovery setup · openclaw/openclaw@a0d9598 build: declare qa-lab aimock runtime dependency · openclaw/openclaw@24431e5 test: speed up safe-bins exec harness · openclaw/openclaw@ee856ab test: preserve tool helpers in embedded runner mocks · openclaw/openclaw@acd86a0 refactor: move memory embeddings into provider plugins · openclaw/openclaw@77e6e4c test: reuse system-run temp fixtures · openclaw/openclaw@7e9ff0f test: trim hotspot wait overhead · openclaw/openclaw@12a59b0 Check: avoid duplicate boundary prep · openclaw/openclaw@baf11b8 test: reduce hotspot fixture overhead · openclaw/openclaw@3a59edd feat(ui): overhaul settings and slash command UX (#67819) thanks @Bun… · openclaw/openclaw@2cfb660 QA Matrix: exit cleanly on failure · openclaw/openclaw@42805d2 QA Matrix: isolate scenario coverage · openclaw/openclaw@7e659e1 Matrix: refresh crypto bootstrap state · openclaw/openclaw@94081d8 QA Lab: add provider registry · openclaw/openclaw@bb7e982 Matrix: add plugin changelog · openclaw/openclaw@4acab55 test: trim more hotspot overhead · openclaw/openclaw@f485311 test: trim remaining hotspot tests · openclaw/openclaw@6ba8626 test: narrow hotspot mocks · openclaw/openclaw@dbc8179 test: isolate gemini embedding request helpers · openclaw/openclaw@cd330f5 test: trim memory and mcp hotspots · openclaw/openclaw@fd48dfa test: slim provider registry mocks · openclaw/openclaw@2e08c77 test: harden Parallels update smoke · openclaw/openclaw@1a98090 feat: default Anthropic to Opus 4.7 · openclaw/openclaw@628b454 fix: harden node-host shell payload mutability checks · openclaw/openclaw@75c551e fix: land node-host approval binding for native binaries (#66731) (th… · openclaw/openclaw@29919bb CI: add daily schedule to CodeQL workflow (#67645) · openclaw/openclaw@69d25f5 fix(gateway): capture config hash after plugin auto-enable to prevent… · openclaw/openclaw@8c11210 fix: repair sanitized replay tool results before send (#67620) (thank… · openclaw/openclaw@c3c7a99 fix: restrict HTML timeout short-circuit to transient statuses · openclaw/openclaw@de129a6 fix: keep TUI watchdog bound to active run (#67401) (thanks @xantorres) · openclaw/openclaw@3525273 Gateway/skills: dedupe skills prefix-match + drop dead fallback on log · openclaw/openclaw@d7f489f Extensions/lmstudio: back off inference preload after consecutive fai… · openclaw/openclaw@b555214 TUI/streaming: add watchdog that resets the activity indicator after … · openclaw/openclaw@f44ab20 Agents/tool-loop: enable unknown-tool stream guard by default · openclaw/openclaw@36ed367 Gateway/skills: invalidate session skills snapshot on config write · openclaw/openclaw@b23d59a fix: classify HTML provider error pages correctly (#67642) (thanks @s… · openclaw/openclaw@e588e90 fix(skills): remove unused model-usage import (#67641) · openclaw/openclaw@55f05df docs(changelog): credit codex fix superseded PRs · openclaw/openclaw@e485f24 fix(openai-codex): normalize stale transport metadata in resolution a… · openclaw/openclaw@90801ba CI: pin Docker-related GitHub Actions (#67632) · openclaw/openclaw@f697b01 Android: modernize WebView and discovery API usage (#67627) · openclaw/openclaw@44a6e50 fix(deps): bump hono to 4.12.14 and @hono/node-server to 1.19.14 (GHS… · openclaw/openclaw@fbccc18 fix(deps): bump dompurify to 3.4.0 (#67614) · openclaw/openclaw@2c2dc00 CI: add explicit permissions to all workflow jobs (fixes code-scannin… · openclaw/openclaw@01b7516 fix: register bundled TTS providers and route overrides correctly (#6… · openclaw/openclaw@6ea3cdd fix: align host tilde paths with OS home (#62804) (thanks @stainlu) · openclaw/openclaw@ecfaf64 fix: flush creds queue before reconnect socket open (#67464) (thanks … · openclaw/openclaw@405c63f fix: strip standalone <function> tool call tags from visible text (#6… · openclaw/openclaw@78df859 fix(agents): preserve cli session metadata before transcript persist … · openclaw/openclaw@898fd04 docs(changelog): move cli transcript entry · openclaw/openclaw@c1817c6 fix(agents): normalize cli transcript api field · openclaw/openclaw@3a3fae0 docs(changelog): note cli transcript persistence · openclaw/openclaw@6c343f1 fix(agents): persist cli transcript turns · openclaw/openclaw@b8ef507 fix(msteams): harden security-sensitive flows (#65841) · openclaw/openclaw@c56b56e [Dashboard] Fix exec approval modal overflow for long command content… · openclaw/openclaw@053c5b0 Docs: remove QA changelog entry · openclaw/openclaw@7fd5771 QA: fix private runtime source loading (#67428) · openclaw/openclaw@d5933af docs(gateway): correct protocol.md schema path, hello-ok example, aut… · openclaw/openclaw@489404d CI: pin Node 22 runners to 22.18.0 · openclaw/openclaw@4ffa621 models.authStatus: normalize provider ids + tighten env-backed escape… · openclaw/openclaw@f2fdb9d Update CHANGELOG.md · openclaw/openclaw@7694a92 test(parallels): clean up npm update guard jobs · openclaw/openclaw@045ea7b Plugins: prefer scanDir override paths · openclaw/openclaw@b2974da fix(dreaming): default storage.mode to "separate" so phase blocks sto… · openclaw/openclaw@8c392f0 fix(memory-core): skip dreaming transcript ingestion via session stor… · openclaw/openclaw@a1b01f0 fix: dedupe replayed exec.finished node events (#67281) · openclaw/openclaw@5dcf526
fix(discord): apply tool status emojis immediately to avoid override … · openclaw/openclaw@5afddf5
lzyyzznl · 2026-06-16 · via Recent Commits to openclaw:main
Original file line numberDiff line numberDiff line change

@@ -184,6 +184,7 @@ type DispatchInboundParams = {

184184

onPartialReply?: (payload: { text?: string }) => Promise<void> | void;

185185

onAssistantMessageStart?: () => Promise<void> | void;

186186

allowProgressCallbacksWhenSourceDeliverySuppressed?: boolean;

187+

allowToolLifecycleWhenProgressHidden?: boolean;

187188

onTypingCleanup?: () => Promise<void> | void;

188189

};

189190

};

@@ -984,6 +985,7 @@ describe("processDiscordMessage ack reactions", () => {

984985
985986

await runProcessDiscordMessage(ctx);

986987
988+

expect(getLastDispatchReplyOptions()?.allowToolLifecycleWhenProgressHidden).toBe(true);

987989

const emojis = getReactionEmojis();

988990

expect(emojis).toContain("👀");

989991

expect(emojis).toContain(DEFAULT_EMOJIS.done);

@@ -1152,6 +1154,7 @@ describe("processDiscordMessage ack reactions", () => {

11521154
11531155

await runProcessDiscordMessage(ctx);

11541156
1157+

expect(getLastDispatchReplyOptions()?.allowToolLifecycleWhenProgressHidden).toBeUndefined();

11551158

expect(getReactionEmojis()).toEqual(["👀"]);

11561159

});

11571160
Original file line numberDiff line numberDiff line change

@@ -1004,6 +1004,7 @@ async function processDiscordMessageInner(

10041004

draftPreview.suppressDefaultToolProgressMessages

10051005

? true

10061006

: undefined,

1007+

allowToolLifecycleWhenProgressHidden: statusReactionsEnabled ? true : undefined,

10071008

commentaryProgressEnabled: draftPreview.isProgressMode

10081009

? draftPreview.commentaryProgressEnabled

10091010

: undefined,

Original file line numberDiff line numberDiff line change

@@ -45,6 +45,8 @@ let capturedReplyOptions:

4545

| {

4646

disableBlockStreaming?: boolean;

4747

suppressDefaultToolProgressMessages?: boolean;

48+

allowProgressCallbacksWhenSourceDeliverySuppressed?: boolean;

49+

allowToolLifecycleWhenProgressHidden?: boolean;

4850

onAssistantMessageStart?: () => Promise<void> | void;

4951

onReasoningEnd?: () => Promise<void> | void;

5052

onReasoningStream?: (payload?: {

@@ -1749,6 +1751,8 @@ describe("dispatchPreparedSlackMessage preview fallback", () => {

17491751

);

17501752
17511753

expect(capturedReplyOptions?.disableBlockStreaming).toBe(true);

1754+

expect(capturedReplyOptions?.allowProgressCallbacksWhenSourceDeliverySuppressed).toBe(true);

1755+

expect(capturedReplyOptions?.allowToolLifecycleWhenProgressHidden).toBe(true);

17521756

expectRecordFields(requireRecord(capturedStatusReactionOptions, "status reaction options"), {

17531757

enabled: true,

17541758

initialEmoji: "eyes",

Original file line numberDiff line numberDiff line change

@@ -1864,6 +1864,11 @@ export async function dispatchPreparedSlackMessage(prepared: PreparedSlackMessag

18641864

disableBlockStreaming,

18651865

onModelSelected,

18661866

suppressDefaultToolProgressMessages: suppressDefaultToolProgressMessages ? true : undefined,

1867+

allowProgressCallbacksWhenSourceDeliverySuppressed:

1868+

sourceReplyDeliveryMode === "message_tool_only" && statusReactionsEnabled

1869+

? true

1870+

: undefined,

1871+

allowToolLifecycleWhenProgressHidden: statusReactionsEnabled ? true : undefined,

18671872

onPartialReply: useStreaming

18681873

? undefined

18691874

: !previewStreamingEnabled

Original file line numberDiff line numberDiff line change

@@ -102,6 +102,8 @@ export type GetReplyOptions = {

102102

* channel to surface progress via its own streaming/edit UX.

103103

*/

104104

suppressDefaultToolProgressMessages?: boolean;

105+

/** Allow channel-owned tool lifecycle feedback while text progress remains hidden. */

106+

allowToolLifecycleWhenProgressHidden?: boolean;

105107

/**

106108

* Called before dispatch with a live getter for whether verbose standalone

107109

* progress messages are active for this run. Channels that render tool or

Original file line numberDiff line numberDiff line change

@@ -2597,6 +2597,51 @@ describe("dispatchReplyFromConfig", () => {

25972597

expect(dispatcher.sendFinalReply).toHaveBeenCalledTimes(1);

25982598

});

25992599
2600+

it("forwards only opted-in tool lifecycle feedback while verbose is off", async () => {

2601+

setNoAbort();

2602+

sessionStoreMocks.currentEntry = {

2603+

verboseLevel: "off",

2604+

};

2605+

const dispatcher = createDispatcher();

2606+

const ctx = buildTestCtx({

2607+

Provider: "discord",

2608+

Surface: "discord",

2609+

ChatType: "group",

2610+

});

2611+

const onToolStart = vi.fn();

2612+

const onItemEvent = vi.fn();

2613+

const onCommandOutput = vi.fn();

2614+
2615+

const replyResolver = async (

2616+

_ctx: MsgContext,

2617+

opts?: GetReplyOptions,

2618+

_cfg?: OpenClawConfig,

2619+

) => {

2620+

await opts?.onToolStart?.({ name: "exec", phase: "start" });

2621+

await opts?.onItemEvent?.({ itemId: "1", kind: "tool", progressText: "running exec" });

2622+

await opts?.onCommandOutput?.({ phase: "end", name: "exec", status: "ok", exitCode: 0 });

2623+

return { text: "done" } satisfies ReplyPayload;

2624+

};

2625+
2626+

await dispatchReplyFromConfig({

2627+

ctx,

2628+

cfg: automaticGroupReplyConfig,

2629+

dispatcher,

2630+

replyResolver,

2631+

replyOptions: {

2632+

allowToolLifecycleWhenProgressHidden: true,

2633+

onToolStart,

2634+

onItemEvent,

2635+

onCommandOutput,

2636+

},

2637+

});

2638+
2639+

expect(onToolStart).toHaveBeenCalledWith({ name: "exec", phase: "start" });

2640+

expect(onItemEvent).not.toHaveBeenCalled();

2641+

expect(onCommandOutput).not.toHaveBeenCalled();

2642+

expect(dispatcher.sendFinalReply).toHaveBeenCalledTimes(1);

2643+

});

2644+
26002645

it("delivers verbose inter-tool commentary as standalone progress messages before the tool summary", async () => {

26012646

setNoAbort();

26022647

sessionStoreMocks.currentEntry = {

Original file line numberDiff line numberDiff line change

@@ -2737,10 +2737,12 @@ export async function dispatchReplyFromConfig(

27372737

const allowSuppressedSourceProgressCallbacks =

27382738

params.replyOptions?.allowProgressCallbacksWhenSourceDeliverySuppressed === true;

27392739

const shouldAllowQuietChannelOwnedProgressCallbacks = (options?: {

2740+

allowWhenToolSummariesHidden?: boolean;

27402741

requiresToolSummaryVisibility?: boolean;

27412742

}) =>

27422743

options?.requiresToolSummaryVisibility === true &&

2743-

params.replyOptions?.suppressDefaultToolProgressMessages === true;

2744+

(params.replyOptions?.suppressDefaultToolProgressMessages === true ||

2745+

options.allowWhenToolSummariesHidden === true);

27442746

let hasPendingDirectBlockReplyDelivery = false;

27452747

const waitForPendingDirectBlockReplyDelivery = async (abortSignal?: AbortSignal) => {

27462748

if (!hasPendingDirectBlockReplyDelivery) {

@@ -2753,6 +2755,7 @@ export async function dispatchReplyFromConfig(

27532755

await waitForReplyDispatcherIdle(dispatcher, abortSignal);

27542756

};

27552757

const shouldForwardProgressCallback = (options?: {

2758+

allowWhenToolSummariesHidden?: boolean;

27562759

forwardWhenSourceDeliverySuppressed?: boolean;

27572760

requiresToolSummaryVisibility?: boolean;

27582761

}) => {

@@ -2773,6 +2776,7 @@ export async function dispatchReplyFromConfig(

27732776

const wrapProgressCallback = <Args extends unknown[]>(

27742777

callback: ((...args: Args) => Promise<void> | void) | undefined,

27752778

options?: {

2779+

allowWhenToolSummariesHidden?: boolean;

27762780

forwardWhenSourceDeliverySuppressed?: boolean;

27772781

requiresToolSummaryVisibility?: boolean;

27782782

onForward?: (...args: Args) => Promise<void> | void;

@@ -2885,6 +2889,8 @@ export async function dispatchReplyFromConfig(

28852889

),

28862890

onBlockReplyQueued: wrapProgressCallback(params.replyOptions?.onBlockReplyQueued),

28872891

onToolStart: wrapProgressCallback(params.replyOptions?.onToolStart, {

2892+

allowWhenToolSummariesHidden:

2893+

params.replyOptions?.allowToolLifecycleWhenProgressHidden === true,

28882894

forwardWhenSourceDeliverySuppressed: true,

28892895

requiresToolSummaryVisibility: true,

28902896

waitForDirectBlockReplyDelivery: true,

Original file line numberDiff line numberDiff line change

@@ -2757,6 +2757,63 @@ describe("createFollowupRunner progress forwarding", () => {

27572757

expect(sessionStore.main.compactionCount).toBe(1);

27582758

});

27592759
2760+

it("forwards opted-in queued tool lifecycle feedback while verbose progress is disabled", async () => {

2761+

const onToolStart = vi.fn(async () => {});

2762+

const onItemEvent = vi.fn(async () => {});

2763+

const onCommandOutput = vi.fn(async () => {});

2764+
2765+

runEmbeddedAgentMock.mockImplementationOnce(

2766+

async (args: {

2767+

onAgentEvent?: (evt: { stream: string; data: Record<string, unknown> }) => Promise<void>;

2768+

}) => {

2769+

await args.onAgentEvent?.({

2770+

stream: "tool",

2771+

data: { phase: "start", name: "exec", args: { command: "echo hidden" } },

2772+

});

2773+

await args.onAgentEvent?.({

2774+

stream: "item",

2775+

data: { phase: "start", itemId: "item-1", title: "hidden item" },

2776+

});

2777+

await args.onAgentEvent?.({

2778+

stream: "command_output",

2779+

data: { phase: "chunk", output: "hidden output" },

2780+

});

2781+

return { payloads: [{ text: "final" }], meta: { agentMeta: {} } };

2782+

},

2783+

);

2784+
2785+

const runner = createFollowupRunner({

2786+

opts: {

2787+

allowToolLifecycleWhenProgressHidden: true,

2788+

onToolStart,

2789+

onItemEvent,

2790+

onCommandOutput,

2791+

},

2792+

typing: createMockTypingController(),

2793+

typingMode: "instant",

2794+

defaultModel: "claude",

2795+

});

2796+
2797+

await runner(

2798+

createQueuedRun({

2799+

run: {

2800+

messageProvider: "discord",

2801+

sourceReplyDeliveryMode: "message_tool_only",

2802+

verboseLevel: "off",

2803+

},

2804+

}),

2805+

);

2806+
2807+

expect(onToolStart).toHaveBeenCalledWith({

2808+

name: "exec",

2809+

phase: "start",

2810+

args: { command: "echo hidden" },

2811+

detailMode: undefined,

2812+

});

2813+

expect(onItemEvent).not.toHaveBeenCalled();

2814+

expect(onCommandOutput).not.toHaveBeenCalled();

2815+

});

2816+
27602817

it("keeps queued follow-up progress quiet when verbose state is missing", async () => {

27612818

const onToolStart = vi.fn(async () => {});

27622819

const onCommandOutput = vi.fn(async () => {});

Original file line numberDiff line numberDiff line change

@@ -157,7 +157,9 @@ async function forwardFollowupProgressEvent(params: {

157157

}) {

158158

const { evt, opts } = params;

159159

const emitChannelProgress = params.emitChannelProgress !== false;

160-

if (!emitChannelProgress && evt.stream !== "compaction") {

160+

const allowQuietToolLifecycle =

161+

evt.stream === "tool" && opts?.allowToolLifecycleWhenProgressHidden === true;

162+

if (!emitChannelProgress && evt.stream !== "compaction" && !allowQuietToolLifecycle) {

161163

return;

162164

}

163165