17 lines
601 B
TypeScript
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 {};
|