UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

23 lines • 1.03 kB
import { Nc as OpenClawPluginCommandDefinition } from "./config-contracts-DqOiJKQx.js"; import { P as OpenClawConfig } from "./types-D3g9JHH2.js"; //#region src/plugins/command-specs.d.ts type PluginCommandSpecOptions = { env?: NodeJS.ProcessEnv; stateDir?: string; workspaceDir?: string; config?: OpenClawConfig; }; type PluginCommandSpec = ReturnType<typeof serializePluginCommandSpec>; declare function getPluginCommandSpecs(provider?: string, options?: PluginCommandSpecOptions): PluginCommandSpec[]; /** Resolve plugin command specs for a provider's native naming surface without support gating. */ declare function listProviderPluginCommandSpecs(provider?: string): PluginCommandSpec[]; declare function serializePluginCommandSpec(cmd: OpenClawPluginCommandDefinition, provider?: string): { name: string; description: string; acceptsArgs: boolean; descriptionLocalizations?: { [x: string]: string; } | undefined; }; //#endregion export { listProviderPluginCommandSpecs as n, getPluginCommandSpecs as t };