UNPKG

@bobmatnyc/ai-code-review

Version:

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

26 lines (25 loc) 1.38 kB
/** * @fileoverview Utilities for interactive processing of code review fixes * * This module provides functions for interactively processing code review * fixes, either by displaying them for manual implementation or by * implementing them automatically with user confirmation. */ import { SuggestionSummary, FixSummary } from './types'; /** * Process review results in non-interactive mode, just displaying recommendations * @param reviewContent Content of the review * @param projectPath Base path of the project * @param priorityFilter Optional filter to show only specific priority issues (h, m, l, or a for all) * @returns Summary of suggestions found */ export declare function displayReviewResults(reviewContent: string, projectPath: string, priorityFilter?: 'h' | 'm' | 'l' | 'a'): Promise<SuggestionSummary>; /** * Process review results and implement fixes * @param reviewContent Content of the review * @param projectPath Base path of the project * @param autoImplementHighPriority Whether to automatically implement high priority fixes * @param promptForMediumLow Whether to prompt for confirmation on medium and low priority fixes * @returns Summary of actions taken */ export declare function processReviewResults(reviewContent: string, projectPath: string, autoImplementHighPriority?: boolean, promptForMediumLow?: boolean): Promise<FixSummary>;