UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

38 lines 1.76 kB
import { r as OpenClawConfig } from "./types.openclaw-BdCLfP4c.js"; import { n as PluginMetadataSnapshot } from "./plugin-metadata-snapshot.types-clrjejix.js"; import { c as SessionEntry } from "./types-DeuBjaEd.js"; import { n as SkillCommandSpec } from "./types-DeyQCCn2.js"; import { n as ExecSessionDefaults, t as ExecPolicyOverrides } from "./exec-defaults-34FIeLun.js"; //#region src/skills/discovery/chat-command-invocation.d.ts /** Lists slash command names reserved by built-in chat commands and callers. */ declare function listReservedChatSlashCommandNames(extraNames?: string[]): Set<string>; declare function resolveSkillCommandInvocation(params: { commandBodyNormalized: string; skillCommands: SkillCommandSpec[]; }): { command: SkillCommandSpec; args?: string; inline?: boolean; } | null; //#endregion //#region src/skills/discovery/chat-commands.d.ts declare function listSkillCommandsForWorkspace(params: { workspaceDir: string; cfg: OpenClawConfig; agentId?: string; skillFilter?: string[]; sessionEntry?: ExecSessionDefaults & Pick<SessionEntry, "skillLibrarySelections" | "skillsSnapshot">; sessionKey?: string; execOverrides?: ExecPolicyOverrides; includeAllowlistHidden?: boolean; pluginMetadataSnapshot?: PluginMetadataSnapshot; }): SkillCommandSpec[]; declare function listSkillCommandsForAgents(params: { cfg: OpenClawConfig; agentIds?: string[]; sessionEntry?: ExecSessionDefaults & Pick<SessionEntry, "skillLibrarySelections" | "skillsSnapshot">; sessionKey?: string; execOverrides?: ExecPolicyOverrides; }): SkillCommandSpec[]; //#endregion export { resolveSkillCommandInvocation as i, listSkillCommandsForWorkspace as n, listReservedChatSlashCommandNames as r, listSkillCommandsForAgents as t };