UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

20 lines 1.39 kB
import { r as OpenClawConfig } from "./types.openclaw-BdCLfP4c.js"; import "./types-BdcVdC5E.js"; import "./config-state-BUPJNJq5.js"; //#region src/infra/deep-merge.d.ts type DeepMergeOptions = { arrays?: "replace" | "concat"; undefinedValues?: "skip" | "replace"; }; /** Merge plain objects while preserving OpenClaw's null, undefined, and array policies. */ declare function mergeDeep(base: unknown, override: unknown, options?: DeepMergeOptions): unknown; //#endregion //#region src/plugin-sdk/plugin-config-runtime.d.ts /** Requires an already-resolved runtime config at plugin runtime boundaries. */ declare function requireRuntimeConfig(config: OpenClawConfig, context: string): OpenClawConfig; /** Reads a plugin's object-shaped `plugins.entries[id].config` block from resolved config. */ declare function resolvePluginConfigObject(config: OpenClawConfig | undefined, pluginId: string): Record<string, unknown> | undefined; /** Resolves live plugin config through a loader, falling back to startup config when unavailable. */ declare function resolveLivePluginConfigObject(runtimeConfigLoader: (() => OpenClawConfig | undefined) | undefined, pluginId: string, startupPluginConfig?: Record<string, unknown>): Record<string, unknown> | undefined; //#endregion export { mergeDeep as i, resolveLivePluginConfigObject as n, resolvePluginConfigObject as r, requireRuntimeConfig as t };