Files
oh-my-opencode/dist/hooks/delegate-task-retry/patterns.d.ts
T

12 lines
363 B
TypeScript
Raw Normal View History

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;