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

20 lines
568 B
TypeScript

import type { CommentCheckerConfig } from "../../config/schema";
export declare function createCommentCheckerHooks(config?: CommentCheckerConfig): {
"tool.execute.before": (input: {
tool: string;
sessionID: string;
callID: string;
}, output: {
args: Record<string, unknown>;
}) => Promise<void>;
"tool.execute.after": (input: {
tool: string;
sessionID: string;
callID: string;
}, output: {
title: string;
output: string;
metadata: unknown;
}) => Promise<void>;
};