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

推荐订阅源

IT之家
IT之家
Microsoft Azure Blog
Microsoft Azure Blog
人人都是产品经理
人人都是产品经理
博客园 - 聂微东
博客园_首页
阮一峰的网络日志
阮一峰的网络日志
V
V2EX
小众软件
小众软件
F
Fortinet All Blogs
Microsoft Security Blog
Microsoft Security Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
H
Hackread – Cybersecurity News, Data Breaches, AI and More
量子位
Google DeepMind News
Google DeepMind News
Jina AI
Jina AI
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
aimingoo的专栏
aimingoo的专栏
B
Blog RSS Feed
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
宝玉的分享
宝玉的分享
有赞技术团队
有赞技术团队
J
Java Code Geeks
WordPress大学
WordPress大学
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
test(plugins): materialize runtime deps fixtures · opencl...
steipete · 2026-05-01 · via Recent Commits to openclaw:main

@@ -244,14 +244,7 @@ describe("prepareBundledPluginRuntimeRoot", () => {

244244

"utf8",

245245

);

246246

const pluginInstallRoot = resolveBundledRuntimeDependencyInstallRoot(pluginRoot, { env });

247-

fs.mkdirSync(path.join(pluginInstallRoot, "node_modules", `${pluginId}-runtime`), {

248-

recursive: true,

249-

});

250-

fs.writeFileSync(

251-

path.join(pluginInstallRoot, "node_modules", `${pluginId}-runtime`, "package.json"),

252-

JSON.stringify({ name: `${pluginId}-runtime`, version: "1.0.0", type: "module" }),

253-

"utf8",

254-

);

247+

writeInstalledRuntimeDepPackage(pluginInstallRoot, `${pluginId}-runtime`, "1.0.0");

255248

}

256249

writeGeneratedRuntimeDepsManifest(installRoot, ["alpha-runtime@1.0.0", "beta-runtime@1.0.0"]);

257250

@@ -323,12 +316,7 @@ describe("prepareBundledPluginRuntimeRoot", () => {

323316

"utf8",

324317

);

325318

const installRoot = resolveBundledRuntimeDependencyInstallRoot(pluginRoot, { env });

326-

fs.mkdirSync(path.join(installRoot, "node_modules", "alpha-runtime"), { recursive: true });

327-

fs.writeFileSync(

328-

path.join(installRoot, "node_modules", "alpha-runtime", "package.json"),

329-

JSON.stringify({ name: "alpha-runtime", version: "1.0.0", type: "module" }),

330-

"utf8",

331-

);

319+

writeInstalledRuntimeDepPackage(installRoot, "alpha-runtime", "1.0.0");

332320

writeGeneratedRuntimeDepsManifest(installRoot, ["alpha-runtime@1.0.0"]);

333321334322

const realReaddirSync = fs.readdirSync.bind(fs);

@@ -389,12 +377,7 @@ describe("prepareBundledPluginRuntimeRoot", () => {

389377

),

390378

"utf8",

391379

);

392-

fs.mkdirSync(path.join(installRoot, "node_modules", "qqbot-runtime"), { recursive: true });

393-

fs.writeFileSync(

394-

path.join(installRoot, "node_modules", "qqbot-runtime", "package.json"),

395-

JSON.stringify({ name: "qqbot-runtime", version: "1.0.0", type: "module" }),

396-

"utf8",

397-

);

380+

writeInstalledRuntimeDepPackage(installRoot, "qqbot-runtime", "1.0.0");

398381

writeGeneratedRuntimeDepsManifest(installRoot, ["qqbot-runtime@1.0.0"]);

399382400383

const prepared = prepareBundledPluginRuntimeRoot({

@@ -473,12 +456,7 @@ describe("prepareBundledPluginRuntimeRoot", () => {

473456

"utf8",

474457

);

475458

const installRoot = resolveBundledRuntimeDependencyInstallRoot(runtimePluginRoot, { env });

476-

fs.mkdirSync(path.join(installRoot, "node_modules", "qqbot-runtime"), { recursive: true });

477-

fs.writeFileSync(

478-

path.join(installRoot, "node_modules", "qqbot-runtime", "package.json"),

479-

JSON.stringify({ name: "qqbot-runtime", version: "1.0.0", type: "module" }),

480-

"utf8",

481-

);

459+

writeInstalledRuntimeDepPackage(installRoot, "qqbot-runtime", "1.0.0");

482460

writeGeneratedRuntimeDepsManifest(installRoot, ["qqbot-runtime@1.0.0"]);

483461484462

const prepared = prepareBundledPluginRuntimeRoot({

@@ -539,12 +517,7 @@ describe("prepareBundledPluginRuntimeRoot", () => {

539517

"utf8",

540518

);

541519

const installRoot = resolveBundledRuntimeDependencyInstallRoot(runtimePluginRoot, { env });

542-

fs.mkdirSync(path.join(installRoot, "node_modules", "qqbot-runtime"), { recursive: true });

543-

fs.writeFileSync(

544-

path.join(installRoot, "node_modules", "qqbot-runtime", "package.json"),

545-

JSON.stringify({ name: "qqbot-runtime", version: "1.0.0", type: "module" }),

546-

"utf8",

547-

);

520+

writeInstalledRuntimeDepPackage(installRoot, "qqbot-runtime", "1.0.0");

548521

writeGeneratedRuntimeDepsManifest(installRoot, ["qqbot-runtime@1.0.0"]);

549522550523

const lockPath = path.join(installRoot, ".openclaw-runtime-mirror.lock");

@@ -602,12 +575,7 @@ describe("prepareBundledPluginRuntimeRoot", () => {

602575

"utf8",

603576

);

604577

const installRoot = resolveBundledRuntimeDependencyInstallRoot(pluginRoot, { env });

605-

fs.mkdirSync(path.join(installRoot, "node_modules", "whatsapp-runtime"), { recursive: true });

606-

fs.writeFileSync(

607-

path.join(installRoot, "node_modules", "whatsapp-runtime", "package.json"),

608-

JSON.stringify({ name: "whatsapp-runtime", version: "1.0.0", type: "module" }),

609-

"utf8",

610-

);

578+

writeInstalledRuntimeDepPackage(installRoot, "whatsapp-runtime", "1.0.0");

611579

writeGeneratedRuntimeDepsManifest(installRoot, ["whatsapp-runtime@1.0.0"]);

612580613581

const prepared = prepareBundledPluginRuntimeRoot({

@@ -759,12 +727,7 @@ describe("prepareBundledPluginRuntimeRoot", () => {

759727

"utf8",

760728

);

761729

const installRoot = resolveBundledRuntimeDependencyInstallRoot(pluginRoot, { env });

762-

fs.mkdirSync(path.join(installRoot, "node_modules", "whatsapp-runtime"), { recursive: true });

763-

fs.writeFileSync(

764-

path.join(installRoot, "node_modules", "whatsapp-runtime", "package.json"),

765-

JSON.stringify({ name: "whatsapp-runtime", version: "1.0.0", type: "module" }),

766-

"utf8",

767-

);

730+

writeInstalledRuntimeDepPackage(installRoot, "whatsapp-runtime", "1.0.0");

768731

writeGeneratedRuntimeDepsManifest(installRoot, ["whatsapp-runtime@1.0.0"]);

769732770733

const prepared = prepareBundledPluginRuntimeRoot({