Files
oh-my-opencode/dist/hooks/think-mode/hook.d.ts
T
2026-03-14 04:56:50 +00:00

24 lines
615 B
TypeScript

export declare function clearThinkModeState(sessionID: string): void;
export declare function createThinkModeHook(): {
"chat.message": (input: {
sessionID: string;
model?: {
providerID: string;
modelID: string;
};
}, output: {
message: Record<string, unknown>;
parts: Array<{
type: string;
text?: string;
[key: string]: unknown;
}>;
}) => Promise<void>;
event: ({ event }: {
event: {
type: string;
properties?: unknown;
};
}) => Promise<void>;
};