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
+6
View File
@@ -0,0 +1,6 @@
import type { CommandInfo } from "./types";
export interface CommandDiscoveryOptions {
pluginsEnabled?: boolean;
enabledPluginsOverride?: Record<string, boolean>;
}
export declare function discoverCommandsSync(directory?: string, options?: CommandDiscoveryOptions): CommandInfo[];
+3
View File
@@ -0,0 +1,3 @@
import type { CommandInfo } from "./types";
export declare function formatLoadedCommand(command: CommandInfo, userMessage?: string): Promise<string>;
export declare function formatCommandList(items: CommandInfo[]): string;
+2
View File
@@ -0,0 +1,2 @@
export * from "./types";
export { discoverCommandsSync } from "./command-discovery";
+18
View File
@@ -0,0 +1,18 @@
import type { LazyContentLoader } from "../../features/opencode-skill-loader";
export type CommandScope = "builtin" | "config" | "user" | "project" | "opencode" | "opencode-project" | "plugin";
export interface CommandMetadata {
name: string;
description: string;
argumentHint?: string;
model?: string;
agent?: string;
subtask?: boolean;
}
export interface CommandInfo {
name: string;
path?: string;
metadata: CommandMetadata;
content?: string;
scope: CommandScope;
lazyContentLoader?: LazyContentLoader;
}