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
+4
View File
@@ -0,0 +1,4 @@
export { HOOK_NAME, createStartWorkHook } from "./start-work-hook";
export { detectWorktreePath, listWorktrees, parseWorktreeListPorcelain } from "./worktree-detector";
export type { ParsedUserRequest } from "./parse-user-request";
export { parseUserRequest } from "./parse-user-request";
+5
View File
@@ -0,0 +1,5 @@
export interface ParsedUserRequest {
planName: string | null;
explicitWorktreePath: string | null;
}
export declare function parseUserRequest(promptText: string): ParsedUserRequest;
+16
View File
@@ -0,0 +1,16 @@
import type { PluginInput } from "@opencode-ai/plugin";
export declare const HOOK_NAME: "start-work";
interface StartWorkHookInput {
sessionID: string;
messageID?: string;
}
interface StartWorkHookOutput {
parts: Array<{
type: string;
text?: string;
}>;
}
export declare function createStartWorkHook(ctx: PluginInput): {
"chat.message": (input: StartWorkHookInput, output: StartWorkHookOutput) => Promise<void>;
};
export {};
+8
View File
@@ -0,0 +1,8 @@
export type WorktreeEntry = {
path: string;
branch: string | undefined;
bare: boolean;
};
export declare function parseWorktreeListPorcelain(output: string): WorktreeEntry[];
export declare function listWorktrees(directory: string): WorktreeEntry[];
export declare function detectWorktreePath(directory: string): string | null;