fix: use plugin metadata for install slots · openclaw/openclaw@3d89b0f
shakkernerd
·
2026-04-29
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -7,6 +7,7 @@ import type { OpenClawConfig } from "../config/config.js";
|
7 | 7 | import { |
8 | 8 | applyExclusiveSlotSelection, |
9 | 9 | buildPluginDiagnosticsReport, |
| 10 | +buildPluginSnapshotReport, |
10 | 11 | clearPluginManifestRegistryCache, |
11 | 12 | enablePluginInConfig, |
12 | 13 | installHooksFromNpmSpec, |
@@ -363,7 +364,7 @@ describe("plugins cli install", () => {
|
363 | 364 | marketplacePlugin: "alpha", |
364 | 365 | }); |
365 | 366 | enablePluginInConfig.mockReturnValue({ config: enabledCfg }); |
366 | | -buildPluginDiagnosticsReport.mockReturnValue({ |
| 367 | +buildPluginSnapshotReport.mockReturnValue({ |
367 | 368 | plugins: [{ id: "alpha", kind: "provider" }], |
368 | 369 | diagnostics: [], |
369 | 370 | }); |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。