UNPKG

@bobmatnyc/ai-code-review

Version:

A TypeScript-based tool for automated code reviews using AI models from Google Gemini, Anthropic Claude, and OpenRouter

20 lines (19 loc) 1.09 kB
/** * @fileoverview Handler for architectural code reviews. * * This module implements the architectural review functionality, which analyzes the entire * codebase structure to provide insights about architecture, patterns, and organization. * It coordinates with the appropriate AI client based on available API keys and user preferences. */ import { ReviewOptions } from '../types/review'; /** * Handle architectural review for the entire codebase * @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 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 handleArchitecturalReview(project: string, projectPath: string, filesToReview: string[], outputBaseDir: string, options: ReviewOptions, originalTarget?: string): Promise<void>;