openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
15 lines (14 loc) • 645 B
TypeScript
import { type PluginManifestRegistry } from "../plugins/manifest-registry.js";
import type { OpenClawConfig } from "./config.js";
export type PluginAutoEnableResult = {
config: OpenClawConfig;
changes: string[];
};
export declare function applyPluginAutoEnable(params: {
config: OpenClawConfig;
env?: NodeJS.ProcessEnv;
/** Pre-loaded manifest registry. When omitted, the registry is loaded from
* the installed plugins on disk. Pass an explicit registry in tests to
* avoid filesystem access and control what plugins are "installed". */
manifestRegistry?: PluginManifestRegistry;
}): PluginAutoEnableResult;