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

推荐订阅源

WordPress大学
WordPress大学
GbyAI
GbyAI
P
Proofpoint News Feed
B
Blog
MyScale Blog
MyScale Blog
V
V2EX
B
Blog RSS Feed
Microsoft Security Blog
Microsoft Security Blog
量子位
Jina AI
Jina AI
博客园 - 叶小钗
Recent Announcements
Recent Announcements
有赞技术团队
有赞技术团队
罗磊的独立博客
L
LangChain Blog
I
InfoQ
云风的 BLOG
云风的 BLOG
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
人人都是产品经理
人人都是产品经理
小众软件
小众软件
V
Visual Studio Blog
月光博客
月光博客
The Cloudflare Blog
雷峰网
雷峰网

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
build: suppress rolldown-plugin-dts CommonJS dts warnings...
RomneyDa · 2026-05-21 · via Recent Commits to openclaw:main
Original file line numberDiff line numberDiff line change

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

1717

### Fixes

1818
1919

- WhatsApp: update Baileys to `7.0.0-rc12`.

20+

- Build: suppress per-locale `rolldown-plugin-dts:fake-js` CommonJS dts warnings emitted while bundling the intentionally-inlined `zod/v4/locales/*.d.cts` files, so `pnpm build` output stays readable after the 0.25.1 plugin bump. Thanks @romneyda.

2021

- Approvals: route manual `/approve` decisions through the trusted approval runtime so active exec and plugin approvals no longer look unknown or expired.

2122

- Mac app: update the About settings copyright year to 2026. (#84385) Thanks @pejmanjohn.

2223

- Dependencies: update `@openclaw/fs-safe` to `0.2.7` so OpenClaw's default Python-helper-off policy keeps best-effort Node write fallbacks for private stores, secret writes, run logs, and media attachments on Linux/macOS.

Original file line numberDiff line numberDiff line change

@@ -18,6 +18,7 @@ type TsdownLog = {

1818

message?: string;

1919

id?: string;

2020

importer?: string;

21+

plugin?: string;

2122

};

2223
2324

type TsdownOnLog = (

@@ -270,4 +271,36 @@ describe("tsdown config", () => {

270271
271272

expect(handled).toEqual([log]);

272273

});

274+
275+

it("suppresses rolldown-plugin-dts CommonJS dts warnings from bundled zod locales", () => {

276+

const configured = unifiedDistGraph()?.inputOptions?.({})?.onLog;

277+

const handled: TsdownLog[] = [];

278+
279+

configured?.(

280+

"warn",

281+

{

282+

code: "PLUGIN_WARNING",

283+

plugin: "rolldown-plugin-dts:fake-js",

284+

message:

285+

"/abs/path/node_modules/zod/v4/locales/ur.d.cts uses CommonJS dts syntax. CommonJS dts modules cannot be reliably bundled by rolldown-plugin-dts. Please mark this module as external in your Rolldown config.",

286+

},

287+

(_level, log) => handled.push(log),

288+

);

289+
290+

expect(handled).toStrictEqual([]);

291+

});

292+
293+

it("keeps other rolldown-plugin-dts warnings visible", () => {

294+

const configured = unifiedDistGraph()?.inputOptions?.({})?.onLog;

295+

const handled: TsdownLog[] = [];

296+

const log = {

297+

code: "PLUGIN_WARNING",

298+

plugin: "rolldown-plugin-dts:fake-js",

299+

message: "some other dts warning that should not be hidden",

300+

};

301+
302+

configured?.("warn", log, (_level, forwardedLog) => handled.push(forwardedLog));

303+
304+

expect(handled).toEqual([log]);

305+

});

273306

});

Original file line numberDiff line numberDiff line change

@@ -81,13 +81,22 @@ function buildInputOptions(options: InputOptionsArg): InputOptionsReturn {

8181

message?: string;

8282

id?: string;

8383

importer?: string;

84+

plugin?: string;

8485

}) {

8586

if (log.code === "PLUGIN_TIMINGS") {

8687

return true;

8788

}

8889

if (log.code === "UNRESOLVED_IMPORT") {

8990

return normalizedLogHaystack(log).includes("extensions/");

9091

}

92+

if (

93+

log.code === "PLUGIN_WARNING" &&

94+

log.plugin === "rolldown-plugin-dts:fake-js" &&

95+

typeof log.message === "string" &&

96+

log.message.includes("uses CommonJS dts syntax")

97+

) {

98+

return true;

99+

}

91100

if (log.code !== "EVAL") {

92101

return false;

93102

}