ai-debug-local-mcp
Version:
🎯 ENHANCED AI GUIDANCE v4.1.2: Dramatically improved tool descriptions help AI users choose the right tools instead of 'close enough' options. Ultra-fast keyboard automation (10x speed), universal recording, multi-ecosystem debugging support, and compreh
58 lines • 1.68 kB
TypeScript
/**
* Resource Monitor - System Resource Tracking for Multi-Project Sessions
*
* Monitors system resources and provides metrics for quota enforcement
* and optimization recommendations.
*/
import { ResourceMetrics } from './types';
export declare class ResourceMonitor {
private monitoringInterval;
private lastMetrics?;
constructor(monitoringInterval?: number);
/**
* Get current system resource metrics
*/
getSystemResources(): Promise<ResourceMetrics>;
/**
* Get resource metrics for specific AI-Debug processes
*/
getAiDebugResourceUsage(): Promise<ResourceMetrics>;
/**
* Get memory usage information
*/
private getMemoryInfo;
/**
* Get CPU usage information
*/
private getCpuInfo;
/**
* Get information about browser processes (Chromium, Firefox, etc.)
*/
private getBrowserProcessInfo;
/**
* Get AI-Debug specific process information
*/
private getAiDebugProcessInfo;
/**
* Get temporary directory size
*/
private getTempDirectorySize;
/**
* Check if system is under resource pressure
*/
isSystemUnderPressure(): Promise<{
memoryPressure: boolean;
cpuPressure: boolean;
diskPressure: boolean;
severity: 'low' | 'medium' | 'high' | 'critical';
}>;
/**
* Get resource usage trend (requires history)
*/
getResourceTrend(): 'improving' | 'stable' | 'degrading' | 'unknown';
/**
* Get performance recommendations based on current metrics
*/
getPerformanceRecommendations(): Promise<string[]>;
}
//# sourceMappingURL=resource-monitor.d.ts.map