12 lines
544 B
TypeScript
12 lines
544 B
TypeScript
import { type ToolDefinition } from "@opencode-ai/plugin";
|
|
import type { SkillMcpManager } from "../../features/skill-mcp-manager";
|
|
import type { LoadedSkill } from "../../features/opencode-skill-loader/types";
|
|
interface SkillMcpToolOptions {
|
|
manager: SkillMcpManager;
|
|
getLoadedSkills: () => LoadedSkill[];
|
|
getSessionID: () => string;
|
|
}
|
|
export declare function applyGrepFilter(output: string, pattern: string | undefined): string;
|
|
export declare function createSkillMcpTool(options: SkillMcpToolOptions): ToolDefinition;
|
|
export {};
|