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

58 lines • 1.47 kB
import { Page } from 'playwright'; export interface LiveViewDebugResult { websocket: { connected: boolean; connectionAttempts: number; errors: string[]; endpoint?: string; readyState?: string; closeCode?: number; closeReason?: string; }; liveSocket: { present: boolean; enabled: boolean; debug: boolean; connected: boolean; connectionState?: string; transport?: string; latency?: number; }; cors: { headers: Record<string, string>; issues: string[]; }; security: { csp?: string; xFrameOptions?: string; issues: string[]; }; phoenix: { version?: string; endpoint?: string; csrfToken?: string; issues: string[]; }; javascriptErrors: { blocking: boolean; errors: Array<{ message: string; stack?: string; timestamp: number; }>; }; recommendations: string[]; } export declare class LiveViewDebugEngine { private page; constructor(page: Page); debugLiveViewConnection(): Promise<LiveViewDebugResult>; private getReadyStateString; private analyzeCloseCode; checkWebSocketEndpoint(expectedUrl?: string): Promise<{ accessible: boolean; actualUrl?: string; error?: string; }>; } //# sourceMappingURL=liveview-debug-engine.d.ts.map