Files
oh-my-opencode/dist/tools/skill-mcp/tools.d.ts
T
2026-03-14 04:56:50 +00:00

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 {};