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