@bobmatnyc/ai-code-review
Version:
A TypeScript-based tool for automated code reviews using AI models from Google Gemini, Anthropic Claude, and OpenRouter
21 lines (20 loc) • 1.1 kB
TypeScript
/**
* @fileoverview Handler for consolidated code reviews.
*
* This module implements the consolidated review functionality, which analyzes multiple files
* together to provide a comprehensive review of the codebase. It coordinates with the
* appropriate modules for API client selection, review generation, output management,
* and interactive display.
*/
import { ReviewOptions } from '../types/review';
/**
* Handle consolidated review for multiple files
* @param project - The project name
* @param projectPath - The absolute path to the project
* @param filesToReview - An array of file paths to review
* @param outputBaseDir - The base directory for output
* @param options - Review options including type, output format, and interactive mode
* @param originalTarget - The original target path specified by the user
* @returns Promise that resolves when the review is complete
*/
export declare function handleConsolidatedReview(project: string, projectPath: string, filesToReview: string[], outputBaseDir: string, options: ReviewOptions, originalTarget?: string): Promise<void>;