need dist for plugin import
Signed-off-by: Dmytro Stanchiev <git@dmytros.dev>
This commit is contained in:
19
dist/ralph-loop/ralph-loop-hook.d.ts
vendored
Normal file
19
dist/ralph-loop/ralph-loop-hook.d.ts
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
import type { PluginInput } from "@opencode-ai/plugin";
|
||||
import type { RalphLoopOptions, RalphLoopState } from "./types";
|
||||
export interface RalphLoopHook {
|
||||
event: (input: {
|
||||
event: {
|
||||
type: string;
|
||||
properties?: unknown;
|
||||
};
|
||||
}) => Promise<void>;
|
||||
startLoop: (sessionID: string, prompt: string, options?: {
|
||||
maxIterations?: number;
|
||||
completionPromise?: string;
|
||||
ultrawork?: boolean;
|
||||
strategy?: "reset" | "continue";
|
||||
}) => boolean;
|
||||
cancelLoop: (sessionID: string) => boolean;
|
||||
getState: () => RalphLoopState | null;
|
||||
}
|
||||
export declare function createRalphLoopHook(ctx: PluginInput, options?: RalphLoopOptions): RalphLoopHook;
|
||||
Reference in New Issue
Block a user