vibe-coder-mcp
Version:
Production-ready MCP server with complete agent integration, multi-transport support, and comprehensive development automation tools for AI-assisted workflows.
26 lines • 837 B
TypeScript
import { CacheStats, FileSearchOptions, FileSearchResult } from './search-strategies.js';
interface CacheConfig {
maxEntries: number;
defaultTtl: number;
maxMemoryUsage: number;
enableStats: boolean;
}
export declare class CacheManager {
private cache;
private accessOrder;
private stats;
private config;
private accessCounter;
constructor(config?: Partial<CacheConfig>);
private generateKey;
get(query: string, options: FileSearchOptions): FileSearchResult[] | null;
set(query: string, options: FileSearchOptions, results: FileSearchResult[]): void;
clear(projectPath?: string): void;
getStats(): CacheStats;
private evictIfNecessary;
private evictLRU;
private calculateMemoryUsage;
private updateStats;
}
export {};
//# sourceMappingURL=cache-manager.d.ts.map