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

30 lines
722 B
TypeScript

import type { PluginInput } from "@opencode-ai/plugin";
export type Client = PluginInput["client"] & {
session: {
promptAsync: (opts: {
path: {
id: string;
};
body: {
parts: Array<{
type: string;
text: string;
}>;
};
query: {
directory: string;
};
}) => Promise<unknown>;
};
tui: {
showToast: (opts: {
body: {
title: string;
message: string;
variant: string;
duration: number;
};
}) => Promise<unknown>;
};
};