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

推荐订阅源

爱范儿
爱范儿
大猫的无限游戏
大猫的无限游戏
J
Java Code Geeks
MongoDB | Blog
MongoDB | Blog
Martin Fowler
Martin Fowler
GbyAI
GbyAI
Microsoft Azure Blog
Microsoft Azure Blog
Recent Announcements
Recent Announcements
F
Fortinet All Blogs
B
Blog
U
Unit 42
B
Blog RSS Feed
D
DataBreaches.Net
Google DeepMind News
Google DeepMind News
人人都是产品经理
人人都是产品经理
腾讯CDC
量子位
酷 壳 – CoolShell
酷 壳 – CoolShell
V
Visual Studio Blog
博客园 - 聂微东
MyScale Blog
MyScale Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
博客园 - 三生石上(FineUI控件)
Engineering at Meta
Engineering at Meta

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): emit actionable install hint for externaliz...
hclsys · 2026-05-05 · via Recent Commits to openclaw:main
Original file line numberDiff line numberDiff line change

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

1010
1111

### Changes

1212
13+

- Plugins/migration: emit catalog-backed install hints when `plugins.entries` or `plugins.allow` references an official external plugin that is not installed, so upgraded configs point operators to `openclaw plugins install <spec>` instead of telling them to remove valid plugin config. (#77483) Thanks @hclsys.

1314

- Dependencies: refresh runtime and provider packages including Pi 0.73.0, ACPX adapters, OpenAI, Anthropic, Slack, and TypeScript native preview, while keeping the Bedrock runtime installer override pinned below the Windows ARM Node 24 npm resolver failure.

1415

- Agents/performance: pass the resolved workspace through BTW, compaction, embedded-run model generation, and PDF model setup so explicit agent-dir model refreshes can reuse the current workspace-scoped plugin metadata snapshot instead of falling back to cold plugin metadata scans. (#77519, #77532)

1516

- Config/plugin auto-enable: prefer the claiming plugin manifest id over a built-in channel alias when auto-allowlisting a configured channel, so WeCom/Yuanbao-style aliases resolve to the installed plugin id. Thanks @Beandon13.

Original file line numberDiff line numberDiff line change

@@ -253,6 +253,44 @@ describe("config plugin validation", () => {

253253

}

254254

});

255255
256+

it("reports catalog install hints for missing configured official external plugins", async () => {

257+

const res = validateConfigObjectWithPlugins(

258+

{

259+

agents: { list: [{ id: "pi" }] },

260+

plugins: {

261+

entries: { brave: { enabled: true } },

262+

allow: ["brave"],

263+

},

264+

},

265+

{

266+

env: suiteEnv(),

267+

pluginMetadataSnapshot: {

268+

manifestRegistry: {

269+

plugins: [],

270+

diagnostics: [],

271+

},

272+

},

273+

},

274+

);

275+
276+

expect(res.ok).toBe(true);

277+

const message =

278+

"plugin not installed: brave — install the official external plugin with: openclaw plugins install @openclaw/brave-plugin";

279+

expect(res.warnings ?? []).toEqual(

280+

expect.arrayContaining([

281+

{ path: "plugins.entries.brave", message },

282+

{ path: "plugins.allow", message },

283+

]),

284+

);

285+

expect(

286+

(res.warnings ?? []).some(

287+

(warning) =>

288+

(warning.path === "plugins.entries.brave" || warning.path === "plugins.allow") &&

289+

warning.message.includes("remove it from plugins config"),

290+

),

291+

).toBe(false);

292+

});

293+
256294

it.runIf(process.platform !== "win32")(

257295

"reports configured blocked plugins without stale not-found wording",

258296

async () => {

@@ -493,7 +531,7 @@ describe("config plugin validation", () => {

493531

expect(res.warnings ?? []).toContainEqual({

494532

path: "plugins.allow",

495533

message:

496-

"plugin not found: discord (stale config entry ignored; remove it from plugins config)",

534+

"plugin not installed: discord — install the official external plugin with: openclaw plugins install @openclaw/discord",

497535

});

498536

});

499537
Original file line numberDiff line numberDiff line change

@@ -12,6 +12,10 @@ import {

1212

import { loadInstalledPluginIndexInstallRecordsSync } from "../plugins/installed-plugin-index-record-reader.js";

1313

import { resolveManifestCommandAliasOwnerInRegistry } from "../plugins/manifest-command-aliases.js";

1414

import type { PluginManifestRegistry } from "../plugins/manifest-registry.js";

15+

import {

16+

getOfficialExternalPluginCatalogEntry,

17+

resolveOfficialExternalPluginInstall,

18+

} from "../plugins/official-external-plugin-catalog.js";

1519

import {

1620

loadPluginMetadataSnapshot,

1721

type PluginMetadataSnapshot,

@@ -93,6 +97,22 @@ function formatConfigPath(segments: readonly ConfigPathSegment[]): string {

9397

return segments.join(".");

9498

}

9599
100+

function formatMissingOfficialExternalPluginWarning(pluginId: string): string | null {

101+

const catalogEntry = getOfficialExternalPluginCatalogEntry(pluginId);

102+

if (!catalogEntry) {

103+

return null;

104+

}

105+

const install = resolveOfficialExternalPluginInstall(catalogEntry);

106+

const npmSpec = install?.npmSpec?.trim();

107+

const clawhubSpec = install?.clawhubSpec?.trim();

108+

const installSpec =

109+

install?.defaultChoice === "clawhub" ? (clawhubSpec ?? npmSpec) : (npmSpec ?? clawhubSpec);

110+

if (!installSpec) {

111+

return null;

112+

}

113+

return `plugin not installed: ${pluginId} — install the official external plugin with: openclaw plugins install ${installSpec}`;

114+

}

115+
96116

function asJsonSchemaLike(value: unknown): JsonSchemaLike | null {

97117

return value && typeof value === "object" ? (value as JsonSchemaLike) : null;

98118

}

@@ -1441,6 +1461,16 @@ function validateConfigObjectWithPluginsBase(

14411461

}

14421462

return;

14431463

}

1464+

if (opts?.warnOnly) {

1465+

const externalInstallWarning = formatMissingOfficialExternalPluginWarning(pluginId);

1466+

if (externalInstallWarning) {

1467+

warnings.push({

1468+

path,

1469+

message: externalInstallWarning,

1470+

});

1471+

return;

1472+

}

1473+

}

14441474

if (opts?.warnOnly) {

14451475

warnings.push({

14461476

path,