repomix-reader-mcp
Version:
Simple Model Context Protocol server for reading and grep-searching Repomix output files
38 lines • 916 B
TypeScript
export interface RepomixFile {
id: string;
path: string;
basename: string;
description?: string;
}
declare class FileManager {
private files;
private initialized;
/**
* Extract user-provided header from repomix XML content
*/
private extractUserProvidedHeader;
/**
* Initialize the file manager with a list of file paths
*/
initialize(filePaths: string[]): Promise<void>;
/**
* Get all available files
*/
getFiles(): RepomixFile[];
/**
* Get a specific file by ID
*/
getFile(id: string): RepomixFile | undefined;
/**
* Check if a file ID exists
*/
hasFile(id: string): boolean;
/**
* Get file path by ID
*/
getFilePath(id: string): string | undefined;
private ensureInitialized;
}
export declare const fileManager: FileManager;
export {};
//# sourceMappingURL=fileManager.d.ts.map