Files
oh-my-opencode/dist/hooks/anthropic-context-window-limit-recovery/recovery-hook.d.ts
T
2026-03-14 04:56:50 +00:00

15 lines
559 B
TypeScript

import type { PluginInput } from "@opencode-ai/plugin";
import type { ExperimentalConfig, OhMyOpenCodeConfig } from "../../config";
export interface AnthropicContextWindowLimitRecoveryOptions {
experimental?: ExperimentalConfig;
pluginConfig: OhMyOpenCodeConfig;
}
export declare function createAnthropicContextWindowLimitRecoveryHook(ctx: PluginInput, options?: AnthropicContextWindowLimitRecoveryOptions): {
event: ({ event }: {
event: {
type: string;
properties?: unknown;
};
}) => Promise<void>;
};