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

推荐订阅源

博客园_首页
H
Help Net Security
N
Netflix TechBlog - Medium
Apple Machine Learning Research
Apple Machine Learning Research
P
Proofpoint News Feed
A
About on SuperTechFans
V
V2EX
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
宝玉的分享
宝玉的分享
aimingoo的专栏
aimingoo的专栏
F
Fortinet All Blogs
博客园 - 【当耐特】
Microsoft Security Blog
Microsoft Security Blog
Martin Fowler
Martin Fowler
I
InfoQ
Google DeepMind News
Google DeepMind News
人人都是产品经理
人人都是产品经理
Engineering at Meta
Engineering at Meta
腾讯CDC
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
B
Blog RSS Feed
U
Unit 42
The Cloudflare Blog
Y
Y Combinator 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
fix(plugins): stop runtime deps reinstall loops · opencla...
vincentkoc · 2026-05-01 · via Recent Commits to openclaw:main
Original file line numberDiff line numberDiff line change

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

1111
1212

### Fixes

1313
14+

- Plugins/runtime-deps: accept already materialized package-level runtime-deps supersets as converged, so later lazy plugin activation no longer prunes and relaunches `pnpm install` after gateway startup pre-staging. Fixes #75283. Thanks @brokemac79.

1415

- TTS/providers: keep bundled speech-provider compat fallback available when plugins are globally disabled, so cold gateway and CLI startup can still resolve fallback speech providers instead of leaving explicit TTS provider selection with no registered providers. Refs #75265. Thanks @sliekens.

1516

- Discord: collapse repeated native slash-command deploy rate-limit startup logs into one non-fatal warning while keeping per-request REST timing in verbose output. Thanks @discord.

1617

- Providers/OpenAI Codex: preserve existing wrapped Codex streams during OpenAI attribution so PI OAuth bearer injection reaches ChatGPT/Codex Responses, and strip native Codex-only unsupported payload fields without touching custom compatible endpoints. (#75111) Thanks @keshavbotagent.

Original file line numberDiff line numberDiff line change

@@ -52,6 +52,14 @@ function sameRuntimeDepSpecs(left: readonly string[], right: readonly string[]):

5252

);

5353

}

5454
55+

function runtimeDepSpecsIncludeAll(

56+

candidate: readonly string[],

57+

required: readonly string[],

58+

): boolean {

59+

const candidateSet = new Set(normalizeRuntimeDepSpecs(candidate));

60+

return normalizeRuntimeDepSpecs(required).every((spec) => candidateSet.has(spec));

61+

}

62+
5563

function readInstalledRuntimeDepPackage(

5664

rootDir: string,

5765

depName: string,

@@ -129,7 +137,7 @@ export function isRuntimeDepsPlanMaterialized(

129137

generatedManifestSpecs !== null ? null : readPackageRuntimeDepSpecs(installRoot);

130138

return (

131139

((generatedManifestSpecs !== null &&

132-

sameRuntimeDepSpecs(generatedManifestSpecs, installSpecs)) ||

140+

runtimeDepSpecsIncludeAll(generatedManifestSpecs, installSpecs)) ||

133141

(packageManifestSpecs !== null && sameRuntimeDepSpecs(packageManifestSpecs, installSpecs))) &&

134142

hasSatisfiedInstallSpecPackages(installRoot, installSpecs)

135143

);

Original file line numberDiff line numberDiff line change

@@ -2305,6 +2305,49 @@ describe("ensureBundledPluginRuntimeDeps", () => {

23052305

expect(result).toEqual({ installedSpecs: [] });

23062306

});

23072307
2308+

it("accepts generated package-level runtime-deps supersets without reinstalling", () => {

2309+

const packageRoot = makeTempDir();

2310+

const stageDir = makeTempDir();

2311+

fs.writeFileSync(

2312+

path.join(packageRoot, "package.json"),

2313+

JSON.stringify({ name: "openclaw", version: "2026.4.29" }),

2314+

);

2315+

const alphaRoot = writeBundledPluginPackage({

2316+

packageRoot,

2317+

pluginId: "alpha",

2318+

deps: { "alpha-runtime": "1.0.0" },

2319+

enabledByDefault: true,

2320+

});

2321+

writeBundledPluginPackage({

2322+

packageRoot,

2323+

pluginId: "tokenjuice",

2324+

deps: { tokenjuice: "0.7.0" },

2325+

enabledByDefault: true,

2326+

});

2327+

const env = { OPENCLAW_PLUGIN_STAGE_DIR: stageDir };

2328+

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

2329+

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

2330+

writeInstalledPackage(installRoot, "tokenjuice", "0.7.0");

2331+

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

2332+
2333+

const result = ensureBundledPluginRuntimeDeps({

2334+

env,

2335+

config: {

2336+

plugins: {

2337+

allow: ["alpha"],

2338+

entries: { alpha: { enabled: true } },

2339+

},

2340+

},

2341+

pluginId: "alpha",

2342+

pluginRoot: alphaRoot,

2343+

installDeps: () => {

2344+

throw new Error("compatible runtime deps superset should not reinstall");

2345+

},

2346+

});

2347+
2348+

expect(result).toEqual({ installedSpecs: [] });

2349+

});

2350+
23082351

it("drops stale package versions from the next package-level plan", () => {

23092352

const packageRoot = makeTempDir();

23102353

const stageDir = makeTempDir();