chore: include pre-built dist for github install

This commit is contained in:
Robin Mordasiewicz
2026-03-14 04:56:50 +00:00
parent a7f0a4cf46
commit bce8ff3a75
1011 changed files with 150081 additions and 0 deletions
+31
View File
@@ -0,0 +1,31 @@
import type { PluginInput } from "@opencode-ai/plugin";
import type { RalphLoopOptions, RalphLoopState } from "./types";
type SessionRecovery = {
isRecovering: (sessionID: string) => boolean;
markRecovering: (sessionID: string) => void;
clear: (sessionID: string) => void;
};
type LoopStateController = {
getState: () => RalphLoopState | null;
clear: () => boolean;
incrementIteration: () => RalphLoopState | null;
setSessionID: (sessionID: string) => RalphLoopState | null;
markVerificationPending: (sessionID: string) => RalphLoopState | null;
setVerificationSessionID: (sessionID: string, verificationSessionID: string) => RalphLoopState | null;
restartAfterFailedVerification: (sessionID: string, messageCountAtStart?: number) => RalphLoopState | null;
};
type RalphLoopEventHandlerOptions = {
directory: string;
apiTimeoutMs: number;
getTranscriptPath: (sessionID: string) => string | undefined;
checkSessionExists?: RalphLoopOptions["checkSessionExists"];
sessionRecovery: SessionRecovery;
loopState: LoopStateController;
};
export declare function createRalphLoopEventHandler(ctx: PluginInput, options: RalphLoopEventHandlerOptions): ({ event }: {
event: {
type: string;
properties?: unknown;
};
}) => Promise<void>;
export {};