Files
oh-my-opencode/dist/hooks/ralph-loop/verification-failure-handler.d.ts
T
2026-03-14 04:56:50 +00:00

13 lines
468 B
TypeScript

import type { PluginInput } from "@opencode-ai/plugin";
import type { RalphLoopState } from "./types";
type LoopStateController = {
restartAfterFailedVerification: (sessionID: string, messageCountAtStart?: number) => RalphLoopState | null;
};
export declare function handleFailedVerification(ctx: PluginInput, input: {
state: RalphLoopState;
directory: string;
apiTimeoutMs: number;
loopState: LoopStateController;
}): Promise<boolean>;
export {};