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

17 lines
601 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 handlePendingVerification(ctx: PluginInput, input: {
sessionID: string;
state: RalphLoopState;
verificationSessionID?: string;
matchesParentSession: boolean;
matchesVerificationSession: boolean;
loopState: LoopStateController;
directory: string;
apiTimeoutMs: number;
}): Promise<void>;
export {};