@gguf/claw
Version:
Multi-channel AI gateway with extensible messaging integrations
20 lines (19 loc) • 721 B
TypeScript
import { type SkillCommandSpec } from "../agents/skills.js";
import type { OpenClawConfig } from "../config/config.js";
export declare function listReservedChatSlashCommandNames(extraNames?: string[]): Set<string>;
export declare function listSkillCommandsForWorkspace(params: {
workspaceDir: string;
cfg: OpenClawConfig;
skillFilter?: string[];
}): SkillCommandSpec[];
export declare function listSkillCommandsForAgents(params: {
cfg: OpenClawConfig;
agentIds?: string[];
}): SkillCommandSpec[];
export declare function resolveSkillCommandInvocation(params: {
commandBodyNormalized: string;
skillCommands: SkillCommandSpec[];
}): {
command: SkillCommandSpec;
args?: string;
} | null;