Files
oh-my-opencode/dist/hooks/claude-code-hooks/handlers/pre-compact-handler.d.ts
T

8 lines
281 B
TypeScript
Raw Normal View History

import type { PluginInput } from "@opencode-ai/plugin";
import type { PluginConfig } from "../types";
export declare function createPreCompactHandler(ctx: PluginInput, config: PluginConfig): (input: {
sessionID: string;
}, output: {
context: string[];
}) => Promise<void>;