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
32 lines • 1.34 kB
TypeScript
/**
* LiveView Connection Monitor Handler
*
* Tracks WebSocket state, captures disconnection reasons, and monitors Phoenix Channel events.
* Essential for debugging LiveView processes that die due to connection issues.
*/
import { BaseToolHandler } from './base-handler.js';
import { Tool } from '@modelcontextprotocol/sdk/types.js';
import { DebugSession } from '../types.js';
export declare class LiveViewConnectionMonitorHandler extends BaseToolHandler {
tools: Tool[];
handle(toolName: string, args: any, sessions: Map<string, DebugSession>): Promise<any>;
private monitorLiveViewConnections;
private analyzeConnectionFailures;
private trackChannelMessageFlow;
private diagnoseLiveViewLifecycle;
private generateConnectionAnalysis;
private extractFailurePatterns;
private groupDisconnectionReasons;
private correlateWithConsoleErrors;
private analyzeReconnectionPatterns;
private identifyFailurePatterns;
private generateConnectionFixes;
private calculateAverageLatency;
private analyzeMessageTypes;
private identifyLostMessages;
private generateMessageFlowRecommendations;
private analyzeStateLeaks;
private calculateLifecycleHealthScore;
private generateLifecycleRecommendations;
}
//# sourceMappingURL=liveview-connection-monitor-handler.d.ts.map