UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

29 lines • 1.46 kB
import { r as OpenClawConfig } from "./types.openclaw-yUy4bDSr.js"; import { Rc as ExecPolicyOverrides, n as SessionEntry, zc as ExecSessionDefaults } from "./config-contracts-DzLaG7FV.js"; import { l as PluginMetadataSnapshot } from "./plugin-metadata-snapshot-kWD3XiQo.js"; import { n as SkillCommandSpec } from "./types-CeA70ktN.js"; //#region src/skills/discovery/chat-commands.d.ts type WorkspaceSkillCommandParams = { workspaceDir: string; cfg: OpenClawConfig; agentId?: string; skillFilter?: string[]; sessionEntry?: ExecSessionDefaults & Pick<SessionEntry, "skillLibrarySelections" | "skillsSnapshot">; sessionKey?: string; execOverrides?: ExecPolicyOverrides; includeAllowlistHidden?: boolean; pluginMetadataSnapshot?: PluginMetadataSnapshot; }; /** Synchronous public SDK contract; remote workspace menus are deferred. */ declare function listSkillCommandsForWorkspace(params: WorkspaceSkillCommandParams): SkillCommandSpec[]; type AgentSkillCommandParams = { cfg: OpenClawConfig; agentIds?: string[]; sessionEntry?: ExecSessionDefaults & Pick<SessionEntry, "skillLibrarySelections" | "skillsSnapshot">; sessionKey?: string; execOverrides?: ExecPolicyOverrides; }; /** Synchronous public SDK contract for native command consumers. */ declare function listSkillCommandsForAgents(params: AgentSkillCommandParams): SkillCommandSpec[]; //#endregion export { listSkillCommandsForWorkspace as n, listSkillCommandsForAgents as t };