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

推荐订阅源

H
Help Net Security
T
ThreatConnect
SecWiki News
SecWiki News
F
Future of Privacy Forum
AWS News Blog
AWS News Blog
C
Cisco Blogs
A
Arctic Wolf
Vercel News
Vercel News
The GitHub Blog
The GitHub Blog
Scott Helme
Scott Helme
V
V2EX
博客园 - 叶小钗
阮一峰的网络日志
阮一峰的网络日志
K
Kaspersky official blog
G
Google Developers Blog
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
P
Privacy International News Feed
C
Cyber Attacks, Cyber Crime and Cyber Security
N
News | PayPal Newsroom
Schneier on Security
Schneier on Security
NISL@THU
NISL@THU
Microsoft Azure Blog
Microsoft Azure Blog
量子位
The Hacker News
The Hacker News
Stack Overflow Blog
Stack Overflow Blog
Security Latest
Security Latest
M
Microsoft Research Blog - Microsoft Research
Google Online Security Blog
Google Online Security Blog
博客园_首页
C
CXSECURITY Database RSS Feed - CXSecurity.com
I
InfoQ
Google DeepMind News
Google DeepMind News
Y
Y Combinator Blog
The Cloudflare Blog
Microsoft Security Blog
Microsoft Security Blog
Martin Fowler
Martin Fowler
Cisco Talos Blog
Cisco Talos Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
T
Troy Hunt's Blog
F
Fox-IT International blog
S
Security @ Cisco Blogs
博客园 - 司徒正美
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
C
Comments on: Blog
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
L
LINUX DO - 最新话题
GbyAI
GbyAI
Project Zero
Project Zero
腾讯CDC
T
Tailwind CSS Blog

Recent Commits to openclaw:main

fix: route Discord gateway metadata through proxy (#86601) · openclaw/openclaw@5b6d409 refactor(logging): share diagnostic message lifecycle fix(cron): restore suspended lanes to default concurrency · openclaw/openclaw@e844d1d fix(auth): emit one-shot doctor-pointer warning for Keychain-only leg… · openclaw/openclaw@a61d530 fix(codex): recover stale preflight bindings (#86602) · openclaw/openclaw@9b9d897 fix(cron): preserve unsupported payload rows on writes · openclaw/openclaw@c916906 fix(cron): canonicalize preserved row ids · openclaw/openclaw@985bc93 test(cron): pin sequential duration regression · openclaw/openclaw@8351556 docs: update changelog for cron preservation (#86415) · openclaw/openclaw@bdc6b32 build: bump qs to patched release · openclaw/openclaw@9330b76 fix(status): prefer active OAuth for runtime aliases chore(acpx): bump bundled acpx to 0.10.0 · openclaw/openclaw@407cf8e docs: make changelog release-owned · openclaw/openclaw@c0f2d89 fix(google): stop appending preview to flash lite · openclaw/openclaw@915c820 docs: update changelog for bug sweep landings · openclaw/openclaw@cd7994f fix(crabbox): detect timed macos js commands · openclaw/openclaw@44bb0be fix(mantis): release telegram user leases on startup failure · openclaw/openclaw@cf27567 fix(agents): keep cron media completions run-scoped · openclaw/openclaw@f5d2db2 fix(agents): deliver stale cron media completions · openclaw/openclaw@f01b2a8 fix(agents): notify stale cron media failures · openclaw/openclaw@baf469f guide workspace-only scratch paths fix(cron): gate lifecycle diagnostic events behind isDiagnosticsEnabled · openclaw/openclaw@4853222 fix(cron): emit message.queued/processed for isolated-agent turns fix(cron): address review — drop unsupported taskLabel, pair with ses… · openclaw/openclaw@804a31e fix(cron): report rotated session in final diagnostics · openclaw/openclaw@207a5a2 fix: hydrate current turn image attachments · openclaw/openclaw@b5ada80 fix(gateway): ignore inherited launchd env for respawn · openclaw/openclaw@177ebdc fix(test): preserve undici exports in discord proxy tests · openclaw/openclaw@b0c8a4d 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: tighten Discord voice wake matching (#86595) · openclaw/openclaw@f00a912
steipete · 2026-05-26 · via Recent Commits to openclaw:main

@@ -7,6 +7,7 @@ import { asObjectRecord, normalizeLegacyChannelAliases } from "openclaw/plugin-s

77

import { resolveDiscordPreviewStreamMode } from "./preview-streaming.js";

8899

const LEGACY_TTS_PROVIDER_KEYS = ["openai", "elevenlabs", "microsoft", "edge"] as const;

10+

const DISCORD_REALTIME_WAKE_NAME_MAX_WORDS = 2;

1011

type AgentBindingConfig = NonNullable<OpenClawConfig["bindings"]>[number];

11121213

function hasLegacyTtsProviderKeys(value: unknown): boolean {

@@ -77,6 +78,51 @@ function hasLegacyDiscordAccountGuildChannelAgentId(value: unknown): boolean {

7778

return Object.values(accounts).some((account) => hasLegacyDiscordGuildChannelAgentId(account));

7879

}

798081+

function realtimeWakeNameWordCount(value: string): number {

82+

return Array.from(value.matchAll(/[a-z0-9]+/gi)).length;

83+

}

84+85+

function normalizeRealtimeWakeName(value: string): string | undefined {

86+

const words = Array.from(value.matchAll(/[a-z0-9]+/gi), (match) => match[0]);

87+

if (words.length === 0) {

88+

return undefined;

89+

}

90+

return words.slice(0, DISCORD_REALTIME_WAKE_NAME_MAX_WORDS).join(" ");

91+

}

92+93+

function isSupportedRealtimeWakeName(value: string): boolean {

94+

const wordCount = realtimeWakeNameWordCount(value);

95+

return wordCount >= 1 && wordCount <= DISCORD_REALTIME_WAKE_NAME_MAX_WORDS;

96+

}

97+98+

function hasUnsupportedRealtimeWakeNamesInVoice(value: unknown): boolean {

99+

const voice = asObjectRecord(value);

100+

const realtime = asObjectRecord(voice?.realtime);

101+

const wakeNames = realtime?.wakeNames;

102+

return Array.isArray(wakeNames)

103+

? wakeNames.length === 0 ||

104+

wakeNames.some(

105+

(wakeName) => typeof wakeName === "string" && !isSupportedRealtimeWakeName(wakeName),

106+

)

107+

: false;

108+

}

109+110+

function hasUnsupportedDiscordRealtimeWakeNames(value: unknown): boolean {

111+

const entry = asObjectRecord(value);

112+

if (!entry) {

113+

return false;

114+

}

115+

return hasUnsupportedRealtimeWakeNamesInVoice(entry.voice);

116+

}

117+118+

function hasUnsupportedDiscordAccountRealtimeWakeNames(value: unknown): boolean {

119+

const accounts = asObjectRecord(value);

120+

if (!accounts) {

121+

return false;

122+

}

123+

return Object.values(accounts).some((account) => hasUnsupportedDiscordRealtimeWakeNames(account));

124+

}

125+80126

function mergeMissing(target: Record<string, unknown>, source: Record<string, unknown>) {

81127

for (const [key, value] of Object.entries(source)) {

82128

if (value === undefined) {

@@ -152,6 +198,83 @@ function migrateLegacyTtsConfig(

152198

return changed;

153199

}

154200201+

function normalizeUnsupportedRealtimeWakeNames(

202+

entry: Record<string, unknown>,

203+

pathPrefix: string,

204+

changes: string[],

205+

): { entry: Record<string, unknown>; changed: boolean } {

206+

const voice = asObjectRecord(entry.voice);

207+

const realtime = asObjectRecord(voice?.realtime);

208+

const wakeNames = realtime?.wakeNames;

209+

if (!voice || !realtime || !Array.isArray(wakeNames)) {

210+

return { entry, changed: false };

211+

}

212+213+

if (wakeNames.length === 0) {

214+

const nextRealtime = { ...realtime };

215+

delete nextRealtime.wakeNames;

216+

changes.push(

217+

`Removed empty ${pathPrefix}.voice.realtime.wakeNames; unset wake names use the default agent/OpenClaw fallback.`,

218+

);

219+

return {

220+

entry: {

221+

...entry,

222+

voice: {

223+

...voice,

224+

realtime: nextRealtime,

225+

},

226+

},

227+

changed: true,

228+

};

229+

}

230+231+

let normalized = 0;

232+

let removed = 0;

233+

const nextWakeNames = wakeNames.flatMap((wakeName) => {

234+

if (typeof wakeName !== "string" || isSupportedRealtimeWakeName(wakeName)) {

235+

return [wakeName];

236+

}

237+

const nextWakeName = normalizeRealtimeWakeName(wakeName);

238+

if (!nextWakeName) {

239+

removed += 1;

240+

return [];

241+

}

242+

normalized += 1;

243+

return [nextWakeName];

244+

});

245+

if (normalized === 0 && removed === 0) {

246+

return { entry, changed: false };

247+

}

248+

const dedupedWakeNames = Array.from(new Set(nextWakeNames));

249+250+

const nextRealtime = { ...realtime };

251+

if (dedupedWakeNames.length > 0) {

252+

nextRealtime.wakeNames = dedupedWakeNames;

253+

} else {

254+

delete nextRealtime.wakeNames;

255+

}

256+

if (normalized > 0) {

257+

changes.push(

258+

`Shortened ${normalized} unsupported ${pathPrefix}.voice.realtime.wakeNames entries to one or two words.`,

259+

);

260+

}

261+

if (removed > 0) {

262+

changes.push(

263+

`Removed ${removed} unsupported ${pathPrefix}.voice.realtime.wakeNames entries with no usable words.`,

264+

);

265+

}

266+

return {

267+

entry: {

268+

...entry,

269+

voice: {

270+

...voice,

271+

realtime: nextRealtime,

272+

},

273+

},

274+

changed: true,

275+

};

276+

}

277+155278

function normalizeDiscordGuildChannelAllowAliases(params: {

156279

entry: Record<string, unknown>;

157280

pathPrefix: string;

@@ -343,6 +466,18 @@ export const legacyConfigRules: ChannelDoctorLegacyConfigRule[] = [

343466

'channels.discord.accounts.<id>.guilds.<id>.channels.<id>.agentId is legacy; use top-level bindings[] with match.accountId for per-channel Discord agent routing. Run "openclaw doctor --fix".',

344467

match: hasLegacyDiscordAccountGuildChannelAgentId,

345468

},

469+

{

470+

path: ["channels", "discord"],

471+

message:

472+

'channels.discord.voice.realtime.wakeNames entries longer than two words are unsupported; use one- or two-word activation names. Run "openclaw doctor --fix".',

473+

match: hasUnsupportedDiscordRealtimeWakeNames,

474+

},

475+

{

476+

path: ["channels", "discord", "accounts"],

477+

message:

478+

'channels.discord.accounts.<id>.voice.realtime.wakeNames entries longer than two words are unsupported; use one- or two-word activation names. Run "openclaw doctor --fix".',

479+

match: hasUnsupportedDiscordAccountRealtimeWakeNames,

480+

},

346481

];

347482348483

export function normalizeCompatibilityConfig({

@@ -438,6 +573,13 @@ export function normalizeCompatibilityConfig({

438573

});

439574

nextAccount = normalizedAgentIds.entry;

440575

accountChanged = accountChanged || normalizedAgentIds.changed;

576+

const normalizedWakeNames = normalizeUnsupportedRealtimeWakeNames(

577+

nextAccount,

578+

`channels.discord.accounts.${accountId}`,

579+

changes,

580+

);

581+

nextAccount = normalizedWakeNames.entry;

582+

accountChanged = accountChanged || normalizedWakeNames.changed;

441583

if (!accountChanged) {

442584

continue;

443585

}

@@ -458,6 +600,13 @@ export function normalizeCompatibilityConfig({

458600

updated = { ...updated, voice };

459601

changed = true;

460602

}

603+

const normalizedWakeNames = normalizeUnsupportedRealtimeWakeNames(

604+

updated,

605+

"channels.discord",

606+

changes,

607+

);

608+

updated = normalizedWakeNames.entry;

609+

changed = changed || normalizedWakeNames.changed;

461610462611

if (!changed) {

463612

return { config: cfg, changes: [] };