chore: include pre-built dist for github install

This commit is contained in:
Robin Mordasiewicz
2026-03-14 04:56:50 +00:00
parent a7f0a4cf46
commit bce8ff3a75
1011 changed files with 150081 additions and 0 deletions
+3
View File
@@ -0,0 +1,3 @@
export declare const TOOL_NAME: "skill";
export declare const TOOL_DESCRIPTION_NO_SKILLS = "Load a skill or execute a slash command to get detailed instructions for a specific task. No skills are currently available.";
export declare const TOOL_DESCRIPTION_PREFIX = "Load a skill or execute a slash command to get detailed instructions for a specific task.\n\nSkills and commands provide specialized knowledge and step-by-step guidance.\nUse this when a task matches an available skill's or command's description.\n\n**How to use:**\n- Call with a skill name: name='code-review'\n- Call with a command name (without leading slash): name='publish'\n- The tool will return detailed instructions with your context applied.\n";
+3
View File
@@ -0,0 +1,3 @@
export * from "./constants";
export * from "./types";
export { skill, createSkillTool } from "./tools";
+4
View File
@@ -0,0 +1,4 @@
import { type ToolDefinition } from "@opencode-ai/plugin";
import type { SkillLoadOptions } from "./types";
export declare function createSkillTool(options?: SkillLoadOptions): ToolDefinition;
export declare const skill: ToolDefinition;
+37
View File
@@ -0,0 +1,37 @@
import type { SkillScope, LoadedSkill } from "../../features/opencode-skill-loader/types";
import type { SkillMcpManager } from "../../features/skill-mcp-manager";
import type { GitMasterConfig } from "../../config/schema";
import type { CommandInfo } from "../slashcommand/types";
export interface SkillArgs {
name: string;
user_message?: string;
}
export interface SkillInfo {
name: string;
description: string;
location?: string;
scope: SkillScope;
license?: string;
compatibility?: string;
metadata?: Record<string, string>;
allowedTools?: string[];
}
export interface SkillLoadOptions {
/** When true, only load from OpenCode paths (.opencode/skills/, ~/.config/opencode/skills/) */
opencodeOnly?: boolean;
/** Pre-merged skills to use instead of discovering */
skills?: LoadedSkill[];
/** Pre-discovered commands to use instead of discovering */
commands?: CommandInfo[];
/** MCP manager for querying skill-embedded MCP servers */
mcpManager?: SkillMcpManager;
/** Session ID getter for MCP client identification */
getSessionID?: () => string;
/** Git master configuration for watermark/co-author settings */
gitMasterConfig?: GitMasterConfig;
disabledSkills?: Set<string>;
/** Include Claude marketplace plugin commands in discovery (default: true) */
pluginsEnabled?: boolean;
/** Override plugin enablement from Claude settings by plugin key */
enabledPluginsOverride?: Record<string, boolean>;
}