diff --git a/src/plugins/channel-catalog-registry.test.ts b/src/plugins/channel-catalog-registry.test.ts index d21d3e85d56..377e4c645bd 100644 --- a/src/plugins/channel-catalog-registry.test.ts +++ b/src/plugins/channel-catalog-registry.test.ts @@ -6,7 +6,7 @@ afterEach(() => { vi.restoreAllMocks(); vi.resetModules(); vi.doUnmock("./discovery.js"); - vi.doUnmock("./installed-plugin-index-records.js"); + vi.doUnmock("./installed-plugin-index-record-reader.js"); }); const ENV: NodeJS.ProcessEnv = { HOME: "/tmp/openclaw-test-home" }; @@ -41,7 +41,7 @@ async function loadWithMocks(params: { }); vi.doMock("./discovery.js", () => ({ discoverOpenClawPlugins: discoverSpy })); - vi.doMock("./installed-plugin-index-records.js", () => ({ + vi.doMock("./installed-plugin-index-record-reader.js", () => ({ loadInstalledPluginIndexInstallRecordsSync: loadRecordsSpy, })); diff --git a/src/plugins/channel-catalog-registry.ts b/src/plugins/channel-catalog-registry.ts index 8a596b80ca2..6fa47fe70a1 100644 --- a/src/plugins/channel-catalog-registry.ts +++ b/src/plugins/channel-catalog-registry.ts @@ -1,6 +1,6 @@ import type { PluginInstallRecord } from "../config/types.plugins.js"; import { discoverOpenClawPlugins } from "./discovery.js"; -import { loadInstalledPluginIndexInstallRecordsSync } from "./installed-plugin-index-records.js"; +import { loadInstalledPluginIndexInstallRecordsSync } from "./installed-plugin-index-record-reader.js"; import { loadPluginManifest, type PluginPackageChannel,