/** Stable public facade for plugin loading and runtime-registry resolution. */ export { clearPluginRegistryLoadCache, isPluginRegistryLoadInFlight, resolvePluginRegistryLoadCacheKey, } from "./loader-cache.js"; export { loadOpenClawPluginCliRegistry } from "./loader-cli-registry.js"; export { getRuntimePluginRegistryForLoadOptions, resolveCompatibleRuntimePluginRegistry, resolveRuntimePluginRegistry, } from "./loader-runtime-registry.js"; import { loadOpenClawPlugins } from "./loader-runtime-load.js"; import type { PluginLoadOptions } from "./loader-types.js"; /** Loads a caller-owned registry value without changing the process-wide active registry. */ export function loadPluginRegistryHandle(options: PluginLoadOptions = {}) { return loadOpenClawPlugins({ ...options, activate: false }); } /** Loads and installs the registry owned by a process composition root. */ export function loadAndActivateRootPluginRegistry(options: PluginLoadOptions = {}) { return loadOpenClawPlugins({ ...options, activate: true }); } export { loadOpenClawPlugins }; export type { PluginLoadOptions };