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
+32
View File
@@ -0,0 +1,32 @@
import type { OhMyOpenCodeConfig } from "../config";
import { type ContextLimitModelCacheState } from "../shared/context-limit-resolver";
type PluginInput = {
client: {
session: {
messages: (...args: any[]) => any;
summarize: (...args: any[]) => any;
};
tui: {
showToast: (...args: any[]) => any;
};
};
directory: string;
};
export declare function createPreemptiveCompactionHook(ctx: PluginInput, pluginConfig: OhMyOpenCodeConfig, modelCacheState?: ContextLimitModelCacheState): {
"tool.execute.after": (input: {
tool: string;
sessionID: string;
callID: string;
}, _output: {
title: string;
output: string;
metadata: unknown;
}) => Promise<void>;
event: ({ event }: {
event: {
type: string;
properties?: unknown;
};
}) => Promise<void>;
};
export {};