vibe-coder-mcp
Version:
Production-ready MCP server with complete agent integration, multi-transport support, and comprehensive development automation tools for AI-assisted workflows.
36 lines • 1.29 kB
TypeScript
import type { ContextPackage } from '../types/context-curator.js';
export interface CacheMetadata {
cacheKey: string;
cachedAt: Date;
ttlMs: number;
sizeBytes: number;
hitCount: number;
lastAccessed: Date;
version: string;
}
export interface CachedPackage {
package: ContextPackage;
metadata: CacheMetadata;
}
export declare class PackageCache {
private static readonly CACHE_DIR;
private static readonly CACHE_VERSION;
private static readonly DEFAULT_TTL_MS;
private static readonly MAX_CACHE_SIZE_MB;
static initialize(): Promise<void>;
static generateCacheKey(projectPath: string, userPrompt: string, taskType: string): string;
static getCachedPackage(cacheKey: string): Promise<CachedPackage | null>;
static cachePackage(cacheKey: string, contextPackage: ContextPackage, ttlMs?: number): Promise<void>;
static removeCacheEntry(cacheKey: string): Promise<void>;
static clearCache(): Promise<void>;
static getCacheStats(): Promise<{
totalEntries: number;
totalSizeBytes: number;
totalSizeMB: number;
oldestEntry: Date | null;
newestEntry: Date | null;
totalHits: number;
}>;
private static enforceMaxCacheSize;
}
//# sourceMappingURL=package-cache.d.ts.map