import { i as OpenClawConfig, p as PluginInstallRecord } from "./types.openclaw-Dkap9jPv.js"; import { n as PluginManifestRegistry, r as PluginDiscoveryResult } from "./manifest-registry-uVtImuYA.js"; import { Zn as CreatePluginRuntimeOptions, ht as PluginLogger } from "./types-VTSyQW4p.js"; import { n as GatewayRequestHandler } from "./types-CllBlUKV.js"; import { r as PluginRegistryParams } from "./registry-types-DNd1UQbI.js"; import { t as PluginSdkResolutionPreference } from "./sdk-alias-cV_L6leE.js"; //#region src/plugins/loader.d.ts type PluginLoadOptions = { config?: OpenClawConfig; activationSourceConfig?: OpenClawConfig; autoEnabledReasons?: Readonly>; workspaceDir?: string; installRecords?: Record; env?: NodeJS.ProcessEnv; resolveRawConfigEnvVars?: boolean; logger?: PluginLogger; coreGatewayHandlers?: Record; coreGatewayMethodNames?: readonly string[]; hostServices?: PluginRegistryParams["hostServices"]; runtimeOptions?: CreatePluginRuntimeOptions; startupTrace?: { detail: (name: string, metrics: ReadonlyArray) => void; }; pluginSdkResolution?: PluginSdkResolutionPreference; cache?: boolean; mode?: "full" | "validate"; onlyPluginIds?: string[]; includeSetupOnlyChannelPlugins?: boolean; forceSetupOnlyChannelPlugins?: boolean; requireSetupEntryForSetupOnlyChannelPlugins?: boolean; /** * Prefer `setupEntry` for configured channel plugins that explicitly opt in * via package metadata because their setup entry covers the pre-listen startup surface. */ preferSetupRuntimeForChannelPlugins?: boolean; /** * For hot startup paths, prefer bundled plugin JS artifacts over source TS * entrypoints when both are present in a source checkout. */ preferBuiltPluginArtifacts?: boolean; toolDiscovery?: boolean; activate?: boolean; loadModules?: boolean; throwOnLoadError?: boolean; manifestRegistry?: PluginManifestRegistry; discovery?: PluginDiscoveryResult; }; //#endregion export { PluginLoadOptions as t };