diff --git a/src/plugin-sdk/index.bundle.test.ts b/src/plugin-sdk/index.bundle.test.ts index 8220fe295b4..df75515fc93 100644 --- a/src/plugin-sdk/index.bundle.test.ts +++ b/src/plugin-sdk/index.bundle.test.ts @@ -7,7 +7,7 @@ import { buildPluginSdkEntrySources, pluginSdkEntrypoints } from "./entrypoints. const require = createRequire(import.meta.url); const tsdownModuleUrl = pathToFileURL(require.resolve("tsdown")).href; -const bundledRepresentativeEntrypoints = ["outbound-runtime", "matrix-runtime-heavy"] as const; +const bundledRepresentativeEntrypoints = ["matrix-runtime-heavy"] as const; const bundledCoverageEntrySources = buildPluginSdkEntrySources(bundledRepresentativeEntrypoints); describe("plugin-sdk bundled exports", () => { diff --git a/src/plugin-sdk/subpaths.test.ts b/src/plugin-sdk/subpaths.test.ts index 2b6e756dc94..e4ef5d444f6 100644 --- a/src/plugin-sdk/subpaths.test.ts +++ b/src/plugin-sdk/subpaths.test.ts @@ -49,14 +49,7 @@ const ROOT_DIR = resolve(dirname(fileURLToPath(import.meta.url)), ".."); const PLUGIN_SDK_DIR = resolve(ROOT_DIR, "plugin-sdk"); const requireFromHere = createRequire(import.meta.url); const sourceCache = new Map(); -const representativeRuntimeSmokeSubpaths = [ - "channel-runtime", - "conversation-runtime", - "provider-auth", - "provider-setup", - "setup", - "webhook-ingress", -] as const; +const representativeRuntimeSmokeSubpaths = ["channel-runtime", "conversation-runtime"] as const; const importResolvedPluginSdkSubpath = async (specifier: string) => import(pathToFileURL(requireFromHere.resolve(specifier)).href); diff --git a/src/plugins/install.test.ts b/src/plugins/install.test.ts index 1a8b156f7ee..d6c82ce7a67 100644 --- a/src/plugins/install.test.ts +++ b/src/plugins/install.test.ts @@ -4,7 +4,6 @@ import * as tar from "tar"; import { afterAll, beforeAll, beforeEach, describe, expect, it, vi } from "vitest"; import { safePathSegmentHashed } from "../infra/install-safe-path.js"; import { runCommandWithTimeout } from "../process/exec.js"; -import * as skillScanner from "../security/skill-scanner.js"; import { expectSingleNpmInstallIgnoreScriptsCall, expectSingleNpmPackIgnoreScriptsCall, @@ -14,6 +13,7 @@ import { expectIntegrityDriftRejected, mockNpmPackMetadataResult, } from "../test-utils/npm-spec-install-test-helpers.js"; +import * as installSecurityScan from "./install-security-scan.js"; import { installPluginFromArchive, installPluginFromDir, @@ -689,7 +689,7 @@ describe("installPluginFromArchive", () => { it("continues install when scanner throws", async () => { const scanSpy = vi - .spyOn(skillScanner, "scanDirectoryWithSummary") + .spyOn(installSecurityScan, "scanPackageInstallSource") .mockRejectedValueOnce(new Error("scanner exploded")); const { pluginDir, extensionsDir } = setupPluginInstallDirs(); diff --git a/src/plugins/loader.test.ts b/src/plugins/loader.test.ts index 2051fc2111c..3e7d0cdd11c 100644 --- a/src/plugins/loader.test.ts +++ b/src/plugins/loader.test.ts @@ -5,7 +5,7 @@ import { afterAll, afterEach, describe, expect, it } from "vitest"; import { emitDiagnosticEvent, resetDiagnosticEventsForTest } from "../infra/diagnostic-events.js"; import { buildMemoryPromptSection, registerMemoryPromptSection } from "../memory/prompt-section.js"; import { withEnv } from "../test-utils/env.js"; -import { clearPluginCommands, getPluginCommandSpecs } from "./commands.js"; +import { clearPluginCommands, getPluginCommandSpecs } from "./command-registry-state.js"; import { getGlobalHookRunner, resetGlobalHookRunner } from "./hook-runner-global.js"; import { createHookRunner } from "./hooks.js"; import { __testing, clearPluginLoaderCache, loadOpenClawPlugins } from "./loader.js";