UNPKG

remcode

Version:

Turn your AI assistant into a codebase expert. Intelligent code analysis, semantic search, and software engineering guidance through MCP integration.

47 lines (46 loc) 1.34 kB
import { ProcessingStats, IncrementalProcessorOptions } from './types'; /** * Main processing pipeline that orchestrates incremental code analysis and vectorization */ export declare class ProcessingPipeline { private repoPath; private changeDetector; private fileAnalyzer; private incrementalProcessor; private stateManager; constructor(repoPath: string, options: IncrementalProcessorOptions); /** * Execute the full incremental processing pipeline */ processIncremental(fromCommit?: string): Promise<ProcessingStats>; /** * Process all files in the repository (full processing) */ processAll(): Promise<ProcessingStats>; /** * Get status of the processing pipeline */ getStatus(): Promise<{ isInitialized: boolean; lastCommit?: string; lastProcessed?: string; totalFiles?: number; totalVectors?: number; }>; /** * Check if there are pending changes to process */ hasPendingChanges(): Promise<boolean>; /** * Get the last processed commit from state */ private getLastProcessedCommit; /** * Create empty stats for when no processing is needed */ private createEmptyStats; /** * Find all code files in the repository */ private findAllCodeFiles; }