UNPKG

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

54 lines • 1.53 kB
/** * Automation Performance Profiler * Identifies bottlenecks in computer control operations */ interface PerformanceMetric { operation: string; startTime: number; endTime?: number; duration?: number; type: 'applescript' | 'screenshot' | 'cgevent' | 'accessibility' | 'mcp' | 'claude'; metadata?: any; } interface PerformanceReport { totalDuration: number; operationBreakdown: Map<string, number>; bottlenecks: string[]; recommendations: string[]; detailedMetrics: PerformanceMetric[]; } export declare class AutomationPerformanceProfiler { private metrics; private activeOperations; /** * Start timing an operation */ startOperation(operationId: string, type: PerformanceMetric['type'], metadata?: any): void; /** * End timing an operation */ endOperation(operationId: string): void; /** * Profile AppleScript execution */ profileAppleScript(script: string): Promise<any>; /** * Profile screenshot capture */ profileScreenshot(outputPath: string): Promise<void>; /** * Compare different automation methods */ compareAutomationMethods(): Promise<void>; /** * Generate performance report */ generateReport(): PerformanceReport; /** * Real-time performance monitoring */ startRealTimeMonitoring(): void; } export declare const performanceProfiler: AutomationPerformanceProfiler; export {}; //# sourceMappingURL=automation-performance-profiler.d.ts.map