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

推荐订阅源

aimingoo的专栏
aimingoo的专栏
量子位
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
S
Schneier on Security
Cisco Talos Blog
Cisco Talos Blog
T
ThreatConnect
J
Java Code Geeks
博客园 - 司徒正美
A
Arctic Wolf
T
True Tiger Recordings
C
Cybersecurity and Infrastructure Security Agency CISA
Cyberwarzone
Cyberwarzone
Know Your Adversary
Know Your Adversary
T
Threat Research - Cisco Blogs
V
Vulnerabilities – Threatpost
Recorded Future
Recorded Future
P
Palo Alto Networks Blog
The Hacker News
The Hacker News
The Register - Security
The Register - Security
S
Securelist
www.infosecurity-magazine.com
www.infosecurity-magazine.com
C
CXSECURITY Database RSS Feed - CXSecurity.com
Application and Cybersecurity Blog
Application and Cybersecurity Blog
I
Intezer
P
Privacy & Cybersecurity Law Blog
Scott Helme
Scott Helme
K
Kaspersky official blog
博客园 - 聂微东
Last Week in AI
Last Week in AI
V
V2EX
小众软件
小众软件
F
Fox-IT International blog
Martin Fowler
Martin Fowler
Apple Machine Learning Research
Apple Machine Learning Research
T
Tenable Blog
F
Future of Privacy Forum
Microsoft Security Blog
Microsoft Security Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
腾讯CDC
Stack Overflow Blog
Stack Overflow Blog
C
Check Point Blog
阮一峰的网络日志
阮一峰的网络日志
GbyAI
GbyAI
T
Threatpost
I
InfoQ
P
Proofpoint News Feed
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
T
Tor Project blog
G
GRAHAM CLULEY
D
DataBreaches.Net

Recent Commits to openclaw:main

fix(status): prefer active OAuth for runtime aliases chore(acpx): bump bundled acpx to 0.10.0 docs: make changelog release-owned fix(google): stop appending preview to flash lite docs: update changelog for bug sweep landings fix(crabbox): detect timed macos js commands fix(mantis): release telegram user leases on startup failure · openclaw/openclaw@cf27567 fix(agents): deliver stale cron media completions · openclaw/openclaw@f01b2a8 fix(agents): notify stale cron media failures guide workspace-only scratch paths fix(cron): address review — drop unsupported taskLabel, pair with ses… fix(cron): emit message.queued/processed for isolated-agent turns fix(cron): gate lifecycle diagnostic events behind isDiagnosticsEnabled fix(cron): report rotated session in final diagnostics fix: hydrate current turn image attachments fix(gateway): ignore inherited launchd env for respawn fix(test): preserve undici exports in discord proxy tests fix: raise default cron concurrency · openclaw/openclaw@bc12e04 fix(doctor): skip restart prompt when gateway is healthy after recent… · openclaw/openclaw@6e8d2db fix: emit agent.send lifecycle hooks on rotation (#85875) · openclaw/openclaw@8129dba fix(crabbox): bootstrap macos shell js commands · openclaw/openclaw@7cd15d2 fix: preflight malformed openshell exec commands fix: tighten openshell exec preflight · openclaw/openclaw@822ee62 docs: clarify unshipped compat policy · openclaw/openclaw@f87aa0f fix(update): allow package-manager hardlinks in swaps · openclaw/openclaw@8061d66 docs: ban repo-hosted proof artifacts · openclaw/openclaw@17954a4 fix(discord): restore bare numeric channel sends (#86571) · openclaw/openclaw@c5b9872 fix(installer): handle alpine apk runtime floors · openclaw/openclaw@b83dfcb fix(security): audit Claude permission overrides under YOLO (#86557) · openclaw/openclaw@bd65b42 fix: speed up Discord voice wake consults · openclaw/openclaw@5ae91f0 fix(qa): harden restart inflight Windows scenario · openclaw/openclaw@3eb06e3 Recover Codex context overflow prompt errors (#85542) · openclaw/openclaw@5cfa577 docs: update changelog for #70473 · openclaw/openclaw@d967760 fix(agents): derive overflow budgets from provider errors · openclaw/openclaw@d5b0174 fix(plugins): only memoize complete metadata snapshots · openclaw/openclaw@3137622 docs: update changelog for media wake fallback (#85489) · openclaw/openclaw@a11d4e6 fix: fallback after active media wake failure (#85489) · openclaw/openclaw@1b64ccb perf(plugins): reuse derived metadata snapshots · openclaw/openclaw@159e440 docs: require maintainer-editable PR branches · openclaw/openclaw@f271f00 fix: scan OpenClaw sessions in agent transcript finder · openclaw/openclaw@4012ae4 docs: note agent transcript OpenClaw session scan · openclaw/openclaw@dd375f9 docs: require generic local fixes · openclaw/openclaw@fc93af5 fix: broaden leading voice wake fuzzing · openclaw/openclaw@a9c91ca test(agents): preserve provider hook mock exports (#86523) · openclaw/openclaw@657b246 Policy: add agent-scoped policy overlays (#85817) · openclaw/openclaw@fbb6340 fix(kilocode): normalize string stop param to array in stream wrapper… · openclaw/openclaw@abe9923 Doctor: expose shell completion health findings (#85566) · openclaw/openclaw@dc17412 fix(agents): honor effective exec policy for Claude live Bash (#86330) fix(test): stabilize e2e runtime imports fix(test): clean plugin gauntlet temp roots · openclaw/openclaw@633e4b8 perf: cache plugin package realpaths (#86517) · openclaw/openclaw@69d728a fix(qa): settle restart races with live budget · openclaw/openclaw@2cac9e5 fix(crabbox): sync full sparse lease runs · openclaw/openclaw@e97e831 fix(qa): extend config mutation Windows budget fix(qa): extend config cleanup Windows budget · openclaw/openclaw@8a93851 test(crabbox): tolerate Windows shell capture · openclaw/openclaw@50d6611 fix(sessions): stop doctor OOM on large session stores and reclaim st… · openclaw/openclaw@89aea9b fix(ollama): strip inline kimi cloud reasoning leak (#86515) fix(discord): merge media captions into one message (#86487) · openclaw/openclaw@bc10fad fix(utils): clamp fetch timeout timers (#85985) fix(ui): preserve user code block rendering (#85942) fix(memory): prevent silent vector index degradation when embedding p… docs: clarify agent transcript placeholders · openclaw/openclaw@8da8bc4 test(qa): annotate live transport RTT measurements · openclaw/openclaw@bb6f37e fix(qqbot): derive outbound watchdog from configured timeouts (#85267… · openclaw/openclaw@aa702cf fix(test): clean kitchen sink rpc temp state · openclaw/openclaw@6f695c1 fix: quiet missing daily memory reads fix: tighten empty plugin registry reuse · openclaw/openclaw@026cfb6 perf: speed up agent transcript lookup · openclaw/openclaw@e7ad116 fix: guard QMD session stem fallback (#86482) · openclaw/openclaw@2e3b59b Guard OpenAI chat payload turns (#86497) · openclaw/openclaw@489e415 fix(gateway): keep session tool mirrors under pressure · openclaw/openclaw@459e89a docs: route github creation through agent transcript test(tools): add unmocked image custom-provider auth regression (#85733) · openclaw/openclaw@f0bfb3f refactor(plugin-sdk): rename plain text tool-call compat wrapper docs(skills): defer private release locators · openclaw/openclaw@23d38e4 Replace Sharp image backend with Photon (#86437) · openclaw/openclaw@b9f975b fix(agents): release embedded-attempt session lock on every exit path… · openclaw/openclaw@32ddfc2 fix: accept OpenClaw voice wake confusions (#86507) fix(crabbox): bootstrap macos js toolchain chore: add agent transcript skill · openclaw/openclaw@d63e8d4 fix(gateway): dedupe session tool fanout · openclaw/openclaw@89a21db fix: Hook ingress token unlocks password-mode gateway auth (#86453) · openclaw/openclaw@d51f268 fix #86077: keep fallback errors candidate scoped (#86134) · openclaw/openclaw@d6b7fe8 fix(diagnostics): reclaim wedged session lanes with a stale leaked ac… · openclaw/openclaw@6f76d9f fix: derive plugin media trust from metadata (#86410) · openclaw/openclaw@e761eb8 fix(media-understanding): normalize HEIC before image descriptions (#… · openclaw/openclaw@75c7236 fix: accept leading fuzzy Discord voice wake names (#86484) · openclaw/openclaw@8fe4f34 feat: promote provider tool call stream wrapper (#86489) fix(test): dedupe kitchen sink command assertions test: derive deprecated sdk usage guard (#86403) fix(qa): extend memory fallback Windows budget fix(ui): move control ui chunking helper out of runtime source · openclaw/openclaw@968c87d fix: quiet retained lost task noise (#86475) fix(build): keep control ui chunking out of deadcode · openclaw/openclaw@dc26069 fix: rotate realtime voice sessions on max duration · openclaw/openclaw@dc2c4aa fix(test): stream bundled plugin sweep logs · openclaw/openclaw@fc3cd49 docs: add bugfix changelog credits · openclaw/openclaw@2e7e4bc fix(models): show oauth marker auth status (#86378) · openclaw/openclaw@a6df39d fix: seed cron task progress summaries (#86313) · openclaw/openclaw@92afd8b
fix(agents): keep cron media completions run-scoped · openclaw/openclaw@f5d2db2
ai-hpc · 2026-05-26 · via Recent Commits to openclaw:main

@@ -17,6 +17,9 @@ const mocks = vi.hoisted(() => {

1717

return {

1818

stubTool,

1919

createCronToolOptions: vi.fn(),

20+

createImageGenerateToolOptions: vi.fn(),

21+

createMusicGenerateToolOptions: vi.fn(),

22+

createVideoGenerateToolOptions: vi.fn(),

2023

textToSpeech: vi.fn(async () => ({

2124

success: true,

2225

audioPath: "/tmp/openclaw/tts-config-test.opus",

@@ -50,7 +53,10 @@ vi.mock("./tools/gateway-tool.js", () => ({

5053

}));

51545255

vi.mock("./tools/image-generate-tool.js", () => ({

53-

createImageGenerateTool: () => mocks.stubTool("image_generate"),

56+

createImageGenerateTool: (options: unknown) => {

57+

mocks.createImageGenerateToolOptions(options);

58+

return mocks.stubTool("image_generate");

59+

},

5460

}));

55615662

vi.mock("./tools/image-tool.js", () => ({

@@ -62,7 +68,10 @@ vi.mock("./tools/message-tool.js", () => ({

6268

}));

63696470

vi.mock("./tools/music-generate-tool.js", () => ({

65-

createMusicGenerateTool: () => mocks.stubTool("music_generate"),

71+

createMusicGenerateTool: (options: unknown) => {

72+

mocks.createMusicGenerateToolOptions(options);

73+

return mocks.stubTool("music_generate");

74+

},

6675

}));

67766877

vi.mock("./tools/nodes-tool.js", () => ({

@@ -106,7 +115,10 @@ vi.mock("./tools/update-plan-tool.js", () => ({

106115

}));

107116108117

vi.mock("./tools/video-generate-tool.js", () => ({

109-

createVideoGenerateTool: () => mocks.stubTool("video_generate"),

118+

createVideoGenerateTool: (options: unknown) => {

119+

mocks.createVideoGenerateToolOptions(options);

120+

return mocks.stubTool("video_generate");

121+

},

110122

}));

111123112124

vi.mock("./tools/web-tools.js", () => ({

@@ -134,6 +146,9 @@ function getTextToSpeechParams() {

134146

describe("createOpenClawTools TTS config wiring", () => {

135147

beforeEach(() => {

136148

mocks.createCronToolOptions.mockClear();

149+

mocks.createImageGenerateToolOptions.mockClear();

150+

mocks.createMusicGenerateToolOptions.mockClear();

151+

mocks.createVideoGenerateToolOptions.mockClear();

137152

mocks.textToSpeech.mockClear();

138153

});

139154

@@ -266,6 +281,74 @@ describe("createOpenClawTools TTS config wiring", () => {

266281

});

267282

});

268283284+

describe("createOpenClawTools media generation session wiring", () => {

285+

beforeEach(() => {

286+

mocks.createImageGenerateToolOptions.mockClear();

287+

mocks.createMusicGenerateToolOptions.mockClear();

288+

mocks.createVideoGenerateToolOptions.mockClear();

289+

});

290+291+

it("uses the isolated cron run key for background media completions", () => {

292+

const config = {

293+

agents: {

294+

defaults: {

295+

imageGenerationModel: { primary: "image-owner/model" },

296+

videoGenerationModel: { primary: "video-owner/model" },

297+

musicGenerationModel: { primary: "music-owner/model" },

298+

},

299+

},

300+

} satisfies OpenClawConfig;

301+302+

createOpenClawTools({

303+

config,

304+

agentSessionKey: "agent:main:cron:daily-media",

305+

runSessionKey: "agent:main:cron:daily-media:run:run-123",

306+

disableMessageTool: true,

307+

disablePluginTools: true,

308+

});

309+310+

expect(mocks.createImageGenerateToolOptions).toHaveBeenCalledWith(

311+

expect.objectContaining({

312+

agentSessionKey: "agent:main:cron:daily-media:run:run-123",

313+

}),

314+

);

315+

expect(mocks.createVideoGenerateToolOptions).toHaveBeenCalledWith(

316+

expect.objectContaining({

317+

agentSessionKey: "agent:main:cron:daily-media:run:run-123",

318+

}),

319+

);

320+

expect(mocks.createMusicGenerateToolOptions).toHaveBeenCalledWith(

321+

expect.objectContaining({

322+

agentSessionKey: "agent:main:cron:daily-media:run:run-123",

323+

}),

324+

);

325+

});

326+327+

it("keeps the requester session key for non-cron media completions", () => {

328+

const config = {

329+

agents: {

330+

defaults: {

331+

imageGenerationModel: { primary: "image-owner/model" },

332+

},

333+

},

334+

} satisfies OpenClawConfig;

335+336+

createOpenClawTools({

337+

config,

338+

agentSessionKey: "agent:main:slack:channel:C123",

339+

runSessionKey: "agent:main:slack:channel:C123:run:run-123",

340+

disableMessageTool: true,

341+

disablePluginTools: true,

342+

});

343+344+

expect(mocks.createImageGenerateToolOptions).toHaveBeenCalledWith(

345+

expect.objectContaining({

346+

agentSessionKey: "agent:main:slack:channel:C123",

347+

}),

348+

);

349+

});

350+

});

351+269352

describe("createOpenClawTools cron context wiring", () => {

270353

beforeEach(() => {

271354

mocks.createCronToolOptions.mockClear();