remcode
Version:
Turn your AI assistant into a codebase expert. Intelligent code analysis, semantic search, and software engineering guidance through MCP integration.
32 lines (31 loc) • 921 B
TypeScript
import { FileChange, FileAnalysis, ProcessingStats, IncrementalProcessorOptions } from './types';
export declare class IncrementalProcessor {
private repoPath;
private stateManager;
private storage;
private chunker;
private embeddingManager;
private options;
private stats;
constructor(options: IncrementalProcessorOptions);
/**
* Initialize vector storage
*/
initialize(): Promise<void>;
/**
* Process a batch of changed files incrementally
*/
processChangedFiles(changes: FileChange[], analyses: FileAnalysis[]): Promise<ProcessingStats>;
/**
* Process a single file
*/
private processFile;
/**
* Delete vectors for a file
*/
deleteVectorsForFile(filePath: string): Promise<void>;
/**
* Update processing state with the latest commit
*/
updateProcessingState(lastCommit: string): Promise<void>;
}