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
+20
View File
@@ -0,0 +1,20 @@
import type { PluginInput } from "@opencode-ai/plugin";
import type { ExperimentalConfig } from "../../config";
interface MessageInfo {
id?: string;
role?: string;
sessionID?: string;
parentID?: string;
error?: unknown;
}
export interface SessionRecoveryOptions {
experimental?: ExperimentalConfig;
}
export interface SessionRecoveryHook {
handleSessionRecovery: (info: MessageInfo) => Promise<boolean>;
isRecoverableError: (error: unknown) => boolean;
setOnAbortCallback: (callback: (sessionID: string) => void) => void;
setOnRecoveryCompleteCallback: (callback: (sessionID: string) => void) => void;
}
export declare function createSessionRecoveryHook(ctx: PluginInput, options?: SessionRecoveryOptions): SessionRecoveryHook;
export {};