UNPKG

@bobmatnyc/ai-code-review

Version:

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

30 lines (29 loc) 1.19 kB
/** * @fileoverview Architectural review strategy implementation. * * This module implements the architectural review strategy, which analyzes the entire * codebase structure and design patterns to provide high-level feedback. */ import { BaseReviewStrategy } from './ReviewStrategy'; import { FileInfo, ReviewOptions, ReviewResult } from '../types/review'; import { ProjectDocs } from '../utils/projectDocs'; import { ApiClientConfig } from '../core/ApiClientSelector'; /** * Strategy for architectural reviews */ export declare class ArchitecturalReviewStrategy extends BaseReviewStrategy { /** * Create a new architectural review strategy */ constructor(); /** * Execute the architectural review strategy * @param files Files to review * @param projectName Project name * @param projectDocs Project documentation * @param options Review options * @param apiClientConfig API client configuration * @returns Promise resolving to the review result */ execute(files: FileInfo[], projectName: string, projectDocs: ProjectDocs | null, options: ReviewOptions, apiClientConfig: ApiClientConfig): Promise<ReviewResult>; }