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

推荐订阅源

小众软件
小众软件
博客园 - Franky
罗磊的独立博客
G
Google Developers Blog
The GitHub Blog
The GitHub Blog
P
Proofpoint News Feed
Recent Announcements
Recent Announcements
V
V2EX
F
Fortinet All Blogs
阮一峰的网络日志
阮一峰的网络日志
Blog — PlanetScale
Blog — PlanetScale
月光博客
月光博客
U
Unit 42
GbyAI
GbyAI
A
About on SuperTechFans
WordPress大学
WordPress大学
Engineering at Meta
Engineering at Meta
雷峰网
雷峰网
Microsoft Azure Blog
Microsoft Azure Blog
Martin Fowler
Martin Fowler
D
DataBreaches.Net
The Cloudflare Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
MongoDB | Blog
MongoDB | 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(cli): skip plugin loader cache clear on short-lived c...
vincentkoc · 2026-06-04 · via Recent Commits to openclaw:main

@@ -149,6 +149,7 @@ async function installBundledPluginSource(params: {

149149

rawSpec: string;

150150

bundledSource: BundledPluginSource;

151151

warning: string;

152+

invalidateRuntimeCache?: boolean;

152153

runtime?: RuntimeEnv;

153154

}) {

154155

const existingEntry = params.snapshot.config.plugins?.entries?.[params.bundledSource.pluginId];

@@ -175,6 +176,7 @@ async function installBundledPluginSource(params: {

175176

installPath: params.bundledSource.localPath,

176177

},

177178

enable: shouldEnable,

179+

invalidateRuntimeCache: params.invalidateRuntimeCache,

178180

warningMessage: [params.warning, configWarning].filter(Boolean).join("\n"),

179181

runtime: params.runtime,

180182

});

@@ -314,6 +316,7 @@ async function tryInstallPluginOrHookPackFromNpmSpec(params: {

314316

expectedPluginId?: string;

315317

expectedIntegrity?: string;

316318

trustedSourceLinkedOfficialInstall?: boolean;

319+

invalidateRuntimeCache?: boolean;

317320

runtime?: RuntimeEnv;

318321

}): Promise<{ ok: true } | { ok: false }> {

319322

const result = await installPluginFromNpmSpec({

@@ -345,6 +348,7 @@ async function tryInstallPluginOrHookPackFromNpmSpec(params: {

345348

rawSpec: params.spec,

346349

bundledSource: bundledFallbackPlan.bundledSource,

347350

warning: bundledFallbackPlan.warning,

351+

invalidateRuntimeCache: params.invalidateRuntimeCache,

348352

runtime: params.runtime,

349353

});

350354

return { ok: true };

@@ -380,6 +384,7 @@ async function tryInstallPluginOrHookPackFromNpmSpec(params: {

380384

snapshot: params.snapshot,

381385

pluginId: result.pluginId,

382386

install: installRecord,

387+

invalidateRuntimeCache: params.invalidateRuntimeCache,

383388

runtime: params.runtime,

384389

});

385390

return { ok: true };

@@ -391,6 +396,7 @@ async function tryInstallPluginFromNpmPackArchive(params: {

391396

archivePath: string;

392397

safetyOverrides: InstallSafetyOverrides;

393398

extensionsDir: string;

399+

invalidateRuntimeCache?: boolean;

394400

runtime?: RuntimeEnv;

395401

}): Promise<{ ok: true } | { ok: false }> {

396402

const result = await installPluginFromNpmPackArchive({

@@ -428,6 +434,7 @@ async function tryInstallPluginFromNpmPackArchive(params: {

428434

...(result.npmResolution?.shasum ? { npmShasum: result.npmResolution.shasum } : {}),

429435

...(result.npmTarballName ? { npmTarballName: result.npmTarballName } : {}),

430436

},

437+

invalidateRuntimeCache: params.invalidateRuntimeCache,

431438

runtime: params.runtime,

432439

});

433440

return { ok: true };

@@ -439,6 +446,7 @@ async function tryInstallPluginFromGitSpec(params: {

439446

spec: string;

440447

safetyOverrides: InstallSafetyOverrides;

441448

extensionsDir: string;

449+

invalidateRuntimeCache?: boolean;

442450

runtime?: RuntimeEnv;

443451

}): Promise<{ ok: true } | { ok: false }> {

444452

const result = await installPluginFromGitSpec({

@@ -466,6 +474,7 @@ async function tryInstallPluginFromGitSpec(params: {

466474

gitRef: result.git.ref,

467475

gitCommit: result.git.commit,

468476

},

477+

invalidateRuntimeCache: params.invalidateRuntimeCache,

469478

runtime: params.runtime,

470479

});

471480

return { ok: true };

@@ -573,11 +582,13 @@ export async function runPluginInstallCommand(params: {

573582

pin?: boolean;

574583

marketplace?: string;

575584

};

585+

invalidateRuntimeCache?: boolean;

576586

runtime?: RuntimeEnv;

577587

}) {

578588

assertConfigWriteAllowedInCurrentMode();

579589580590

const runtime = params.runtime ?? defaultRuntime;

591+

const invalidateRuntimeCache = params.invalidateRuntimeCache ?? true;

581592

const shorthand = !params.opts.marketplace

582593

? await tracePluginLifecyclePhaseAsync(

583594

"marketplace shortcut resolution",

@@ -685,6 +696,7 @@ export async function runPluginInstallCommand(params: {

685696

marketplaceSource: result.marketplaceSource,

686697

marketplacePlugin: result.marketplacePlugin,

687698

},

699+

invalidateRuntimeCache,

688700

runtime,

689701

});

690702

return;

@@ -745,6 +757,7 @@ export async function runPluginInstallCommand(params: {

745757

installPath: resolved,

746758

version: probe.version,

747759

},

760+

invalidateRuntimeCache,

748761

successMessage: `Linked plugin path: ${shortenHomePath(resolved)}`,

749762

runtime,

750763

});

@@ -787,6 +800,7 @@ export async function runPluginInstallCommand(params: {

787800

installPath: result.targetDir,

788801

version: result.version,

789802

},

803+

invalidateRuntimeCache,

790804

runtime,

791805

});

792806

return;

@@ -819,6 +833,7 @@ export async function runPluginInstallCommand(params: {

819833

safetyOverrides,

820834

allowBundledFallback: false,

821835

extensionsDir,

836+

invalidateRuntimeCache,

822837

...(officialNpmTrust

823838

? {

824839

expectedPluginId: officialNpmTrust.pluginId,

@@ -850,6 +865,7 @@ export async function runPluginInstallCommand(params: {

850865

archivePath: npmPackPath,

851866

safetyOverrides,

852867

extensionsDir,

868+

invalidateRuntimeCache,

853869

runtime,

854870

});

855871

if (!npmPackResult.ok) {

@@ -865,6 +881,7 @@ export async function runPluginInstallCommand(params: {

865881

spec: raw,

866882

safetyOverrides,

867883

extensionsDir,

884+

invalidateRuntimeCache,

868885

runtime,

869886

});

870887

if (!gitResult.ok) {

@@ -904,6 +921,7 @@ export async function runPluginInstallCommand(params: {

904921

rawSpec: raw,

905922

bundledSource: bundledPreNpmPlan.bundledSource,

906923

warning: bundledPreNpmPlan.warning,

924+

invalidateRuntimeCache,

907925

runtime,

908926

}),

909927

{

@@ -943,6 +961,7 @@ export async function runPluginInstallCommand(params: {

943961

expectedPluginId: officialExternalPlan.pluginId,

944962

expectedIntegrity: officialExternalPlan.expectedIntegrity,

945963

trustedSourceLinkedOfficialInstall: true,

964+

invalidateRuntimeCache,

946965

runtime,

947966

});

948967

if (!npmResult.ok) {

@@ -973,6 +992,7 @@ export async function runPluginInstallCommand(params: {

973992

spec: raw,

974993

installPath: result.targetDir,

975994

},

995+

invalidateRuntimeCache,

976996

runtime,

977997

});

978998

return;

@@ -990,6 +1010,7 @@ export async function runPluginInstallCommand(params: {

9901010

safetyOverrides,

9911011

allowBundledFallback: true,

9921012

extensionsDir,

1013+

invalidateRuntimeCache,

9931014

...(officialNpmTrust

9941015

? {

9951016

expectedPluginId: officialNpmTrust.pluginId,