Files
oh-my-opencode/dist/hooks/auto-slash-command/executor.d.ts
T
2026-03-14 04:56:50 +00:00

14 lines
504 B
TypeScript

import { type LoadedSkill } from "../../features/opencode-skill-loader";
import type { ParsedSlashCommand } from "./types";
export interface ExecutorOptions {
skills?: LoadedSkill[];
pluginsEnabled?: boolean;
enabledPluginsOverride?: Record<string, boolean>;
}
export interface ExecuteResult {
success: boolean;
replacementText?: string;
error?: string;
}
export declare function executeSlashCommand(parsed: ParsedSlashCommand, options?: ExecutorOptions): Promise<ExecuteResult>;