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
83 lines • 2.55 kB
TypeScript
#!/usr/bin/env node
/**
* AI Debug Local MCP Server - Refactored with proper handler delegation
*/
export declare class AIDebugLocalMCPServer {
private server;
private sessions;
private handlerRegistry;
private memoryManager;
private isMcpMode;
private sessionManager;
private toolSafety;
private browserGuardian;
private networkManager;
private crashPrevention;
private pipeIsBroken;
private leakDetector;
private apiKeyManager;
private cloudAI;
private localEngine;
private auditEngine;
private versionChecker;
private backendEngine;
private quantumDebugger;
private faultEngine;
private tddEngine;
private sessionRegistry;
constructor();
/**
* Pre-register handlers during construction to ensure tools are available immediately
*/
private preRegisterHandlers;
private registerBasicHandlersSynchronously;
private registerBasicHandlers;
/**
* Merge handlers from source registry into target registry
*/
private mergeRegistries;
private registerBasicHandlersInRegistry;
private registerAllAdditionalHandlers;
private registerHandlers;
private setupMCPHandlers;
run(): Promise<void>;
/**
* Enhance handler registry with feedback-driven improvements
* Addresses user feedback from Phoenix LiveView, Flutter, and Python projects
* Now includes memory-optimized loading strategies
*/
private enhanceHandlerRegistry;
private setupErrorHandlers;
private setupExitHandlers;
private gracefulShutdown;
/**
* Setup global stdout error handling to prevent EPIPE cascades
*/
private setupStdoutErrorHandling;
/**
* Safe logging that prevents EPIPE errors when stdout is closed
*/
private safeLog;
private setupSessionRegistry;
private setupMemoryAwareSessionCleanup;
/**
* Start comprehensive stability monitoring
*/
private startStabilityMonitoring;
/**
* Start advanced stability monitoring (crash prevention + leak detection)
*/
private startAdvancedStabilityMonitoring;
/**
* P0 FIX: Start session health monitoring with proactive healing
* Addresses critical user feedback: "Sessions consistently disconnect after 20-40 seconds"
*/
private startSessionHealthMonitoring;
/**
* Log comprehensive stability report
*/
private logStabilityReport;
private emergencyCleanup;
private cleanupSession;
}
//# sourceMappingURL=server.d.ts.map