openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
33 lines • 1.96 kB
TypeScript
import { Av as ExecSessionDefaults, kv as ExecPolicyOverrides, n as SessionEntry } from "./config-contracts-DqOiJKQx.js";
import { P as OpenClawConfig } from "./types-D3g9JHH2.js";
import { r as PluginMetadataSnapshot } from "./plugin-metadata-snapshot-CWiro_gA.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;
};
/** @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">;
sessionKey?: string;
execOverrides?: ExecPolicyOverrides;
};
/** @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[]>;
//#endregion
export { prepareSkillCommandsForWorkspace as i, listSkillCommandsForWorkspace as n, prepareSkillCommandsForAgents as r, listSkillCommandsForAgents as t };