chore: include pre-built dist for github install
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
import { type DetectedError } from "./patterns";
|
||||
export declare function buildRetryGuidance(errorInfo: DetectedError): string;
|
||||
+12
@@ -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
@@ -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
@@ -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;
|
||||
Reference in New Issue
Block a user