20 lines
568 B
TypeScript
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>;
|
|
};
|