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
+2
View File
@@ -0,0 +1,2 @@
import { type DetectedError } from "./patterns";
export declare function buildRetryGuidance(errorInfo: DetectedError): string;
+12
View File
@@ -0,0 +1,12 @@
import type { PluginInput } from "@opencode-ai/plugin";
export declare function createDelegateTaskRetryHook(_ctx: PluginInput): {
"tool.execute.after": (input: {
tool: string;
sessionID: string;
callID: string;
}, output: {
title: string;
output: string;
metadata: unknown;
}) => Promise<void>;
};
+4
View File
@@ -0,0 +1,4 @@
export type { DelegateTaskErrorPattern, DetectedError } from "./patterns";
export { DELEGATE_TASK_ERROR_PATTERNS, detectDelegateTaskError } from "./patterns";
export { buildRetryGuidance } from "./guidance";
export { createDelegateTaskRetryHook } from "./hook";
+11
View File
@@ -0,0 +1,11 @@
export interface DelegateTaskErrorPattern {
pattern: string;
errorType: string;
fixHint: string;
}
export declare const DELEGATE_TASK_ERROR_PATTERNS: DelegateTaskErrorPattern[];
export interface DetectedError {
errorType: string;
originalOutput: string;
}
export declare function detectDelegateTaskError(output: string): DetectedError | null;