UNPKG

review-copilot

Version:

ReviewCopilot - AI-powered code review assistant with customizable prompts

26 lines (25 loc) 871 B
import { SelectiveReviewContext } from '../types/selective-review.types'; import { CodeReviewResult } from '../providers/provider.types'; export declare class SelectiveReviewService { private static instance; private constructor(); static getInstance(): SelectiveReviewService; /** * Process a selective code review request * @param context The context of the code to review * @returns The review results */ processSelectiveReview(context: SelectiveReviewContext): Promise<CodeReviewResult>; /** * Build a prompt for selective review that includes context */ private buildSelectiveReviewPrompt; /** * Post the review results as a comment on the PR */ private postReviewComment; /** * Format the review results into a markdown comment */ private formatSelectiveReviewComment; }