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

33 lines • 1.41 kB
export declare class SessionDebugFixes { /** * Fix 1: Session Persistence Issue * Problem: Sessions not being properly stored/retrieved between tool calls * Root Cause: Session ID inconsistency between creation and lookup */ static validateSessionStorage(sessionId: string, sessions: Map<string, any>): Promise<void>; /** * Fix 2: NextJS Detection Improvements * Problem: Framework detection failing on NextJS apps * Root Cause: Insufficient checks for NextJS-specific elements */ static improvedNextJSDetection(page: any): Promise<boolean>; /** * Fix 3: Page Info Extraction Robustness * Problem: Cannot read properties of null errors * Root Cause: Assuming DOM elements exist without validation */ static safePageInfoExtraction(page: any): Promise<any>; /** * Fix 4: Enhanced Session Recovery * Problem: Session corruption or incomplete initialization * Solution: Session health check and recovery mechanisms */ static validateSessionHealth(session: any): Promise<boolean>; /** * Fix 5: Improved Error Reporting * Problem: Generic error messages don't help debugging * Solution: Detailed error context and recovery suggestions */ static createDetailedErrorResponse(error: any, context: string, sessionId?: string): any; } //# sourceMappingURL=session-debug-fixes.d.ts.map