UNPKG

vibe-coder-mcp

Version:

Production-ready MCP server with complete agent integration, multi-transport support, and comprehensive development automation tools for AI-assisted workflows.

89 lines 2.24 kB
export interface CacheEntry<T> { key: string; value: T; timestamp: number; expiry: number; metadata?: Record<string, unknown>; } export interface CacheMetadata { name: string; size: number; createdAt: number; lastUpdated: number; keys: string[]; maxEntries: number; maxAge: number; sizeInBytes: number; } export interface CacheOptions { name: string; cacheDir: string; maxEntries?: number; maxAge?: number; validateOnGet?: boolean; pruneOnStartup?: boolean; pruneInterval?: number; serialize?: <T>(value: T) => string; deserialize?: <T>(serialized: string) => T; } export interface MemoryCacheStats { hits: number; size: number; totalSize: number; } export interface CacheStats { name: string; size: number; hits: number; misses: number; hitRatio: number; createdAt: number; lastUpdated: number; sizeInBytes: number; totalSize?: number; memoryStats?: MemoryCacheStats; } export interface MemoryStats { formatted: { totalSystemMemory: string; freeSystemMemory: string; usedSystemMemory: string; memoryUsagePercentage: string; memoryStatus: 'normal' | 'high' | 'critical'; process: { rss: string; heapTotal: string; heapUsed: string; external: string; arrayBuffers: string; }; v8: { heapSizeLimit: string; totalHeapSize: string; usedHeapSize: string; heapSizeExecutable: string; mallocedMemory: string; peakMallocedMemory: string; }; cache: { totalSize: string; cacheCount: number; }; thresholds: { highMemoryThreshold: string; criticalMemoryThreshold: string; }; }; raw: { totalSystemMemory: number; freeSystemMemory: number; memoryUsagePercentage: number; processMemory: NodeJS.MemoryUsage; heapStats: unknown; heapSpaceStats: unknown; }; cacheStats: CacheStats[]; grammarStats: unknown; timestamp: number; } //# sourceMappingURL=types.d.ts.map