chore: include pre-built dist for github install
This commit is contained in:
+32
@@ -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 {};
|
||||
Reference in New Issue
Block a user