Files
oh-my-opencode/dist/hooks/ralph-loop/pending-verification-handler.d.ts
T

17 lines
601 B
TypeScript
Raw Normal View History

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 {};