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

17 lines
462 B
TypeScript

import type { PluginInput } from "@opencode-ai/plugin";
export declare const HOOK_NAME: "start-work";
interface StartWorkHookInput {
sessionID: string;
messageID?: string;
}
interface StartWorkHookOutput {
parts: Array<{
type: string;
text?: string;
}>;
}
export declare function createStartWorkHook(ctx: PluginInput): {
"chat.message": (input: StartWorkHookInput, output: StartWorkHookOutput) => Promise<void>;
};
export {};