chore: include pre-built dist for github install
This commit is contained in:
Vendored
+3
@@ -0,0 +1,3 @@
|
||||
export declare const SKILL_MCP_TOOL_NAME = "skill_mcp";
|
||||
export declare const SKILL_MCP_DESCRIPTION = "Invoke MCP server operations from skill-embedded MCPs. Requires mcp_name plus exactly one of: tool_name, resource_name, or prompt_name.";
|
||||
export declare const BUILTIN_MCP_TOOL_HINTS: Record<string, string[]>;
|
||||
Vendored
+3
@@ -0,0 +1,3 @@
|
||||
export * from "./constants";
|
||||
export * from "./types";
|
||||
export { createSkillMcpTool } from "./tools";
|
||||
Vendored
+11
@@ -0,0 +1,11 @@
|
||||
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 {};
|
||||
Vendored
+8
@@ -0,0 +1,8 @@
|
||||
export interface SkillMcpArgs {
|
||||
mcp_name: string;
|
||||
tool_name?: string;
|
||||
resource_name?: string;
|
||||
prompt_name?: string;
|
||||
arguments?: string | Record<string, unknown>;
|
||||
grep?: string;
|
||||
}
|
||||
Reference in New Issue
Block a user