UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

35 lines • 2.17 kB
import { Ul as ExecPolicyOverrides, Wl as ExecSessionDefaults, mk as PluginMetadataSnapshot, n as SessionEntry } from "./config-contracts--zSNHFlu.js"; import { r as OpenClawConfig } from "./types.openclaw-A0y1x1SF.js"; import { n as SkillCommandSpec } from "./types-BLzNI-JA.js"; type WorkspaceSkillCommandParams = { workspaceDir: string; cfg: OpenClawConfig; agentId?: string; skillFilter?: string[]; sessionEntry?: ExecSessionDefaults & Pick<SessionEntry, "skillLibrarySelections" | "skillsSnapshot" | "spawnedCwd" | "worktree" | "projectId">; sessionKey?: string; execOverrides?: ExecPolicyOverrides; includeAllowlistHidden?: boolean; pluginMetadataSnapshot?: PluginMetadataSnapshot; executionWorkspaceDir?: string; executionWorkspaceFileHost?: "gateway"; }; /** @deprecated Await prepareSkillCommandsForWorkspace; final compatibility day: 2026-12-31. Removal in the first January 2027 stable release. */ declare function listSkillCommandsForWorkspace(params: WorkspaceSkillCommandParams): SkillCommandSpec[]; declare function prepareSkillCommandsForWorkspace(params: WorkspaceSkillCommandParams, assertCurrent?: () => void): Promise<SkillCommandSpec[]>; type AgentSkillCommandParams = { cfg: OpenClawConfig; agentIds?: string[]; sessionEntry?: ExecSessionDefaults & Pick<SessionEntry, "skillLibrarySelections" | "skillsSnapshot" | "spawnedCwd" | "worktree" | "projectId">; sessionKey?: string; execOverrides?: ExecPolicyOverrides; /** Admitted project root for a single-agent catalog; callers own its authorization. */ executionWorkspaceDir?: string; executionWorkspaceFileHost?: "gateway"; }; /** @deprecated Await prepareSkillCommandsForAgents; final compatibility day: 2026-12-31. Removal in the first January 2027 stable release. */ declare function listSkillCommandsForAgents(params: AgentSkillCommandParams): SkillCommandSpec[]; declare function prepareSkillCommandsForAgents(params: AgentSkillCommandParams & { signal?: AbortSignal; }): Promise<SkillCommandSpec[]>; export { prepareSkillCommandsForWorkspace as i, listSkillCommandsForWorkspace as n, prepareSkillCommandsForAgents as r, listSkillCommandsForAgents as t };