Files
oh-my-opencode/dist/hooks/compaction-todo-preserver/hook.d.ts
T

12 lines
388 B
TypeScript
Raw Normal View History

import type { PluginInput } from "@opencode-ai/plugin";
export interface CompactionTodoPreserver {
capture: (sessionID: string) => Promise<void>;
event: (input: {
event: {
type: string;
properties?: unknown;
};
}) => Promise<void>;
}
export declare function createCompactionTodoPreserverHook(ctx: PluginInput): CompactionTodoPreserver;