refactor: simplify plugin cache boundaries

This commit is contained in:
Peter Steinberger
2026-04-29 04:33:10 +01:00
parent 4f9f7fc8c2
commit e27fe55aa8
114 changed files with 58 additions and 617 deletions

View File

@@ -7,7 +7,6 @@ import type { OpenClawConfig } from "../config/config.js";
import {
applyExclusiveSlotSelection,
buildPluginSnapshotReport,
clearPluginManifestRegistryCache,
enablePluginInConfig,
installHooksFromNpmSpec,
installHooksFromPath,
@@ -374,7 +373,6 @@ describe("plugins cli install", () => {
await runPluginsCommand(["plugins", "install", "alpha", "--marketplace", "local/repo"]);
expect(clearPluginManifestRegistryCache).toHaveBeenCalledTimes(1);
expect(writePersistedInstalledPluginIndexInstallRecords).toHaveBeenCalledWith({
alpha: expect.objectContaining({
source: "marketplace",