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

20 lines
930 B
TypeScript

import type { PendingCall } from "./types";
export declare function initializeCommentCheckerCli(debugLog: (...args: unknown[]) => void): void;
export declare function getCommentCheckerCliPathPromise(): Promise<string | null> | null;
export declare function processWithCli(input: {
tool: string;
sessionID: string;
callID: string;
}, pendingCall: PendingCall, output: {
output: string;
}, cliPath: string, customPrompt: string | undefined, debugLog: (...args: unknown[]) => void): Promise<void>;
export interface ApplyPatchEdit {
filePath: string;
before: string;
after: string;
}
export declare function processApplyPatchEditsWithCli(sessionID: string, edits: ApplyPatchEdit[], output: {
output: string;
}, cliPath: string, customPrompt: string | undefined, debugLog: (...args: unknown[]) => void): Promise<void>;
export declare function isCliPathUsable(cliPath: string | null): cliPath is string;