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

67 lines • 2.79 kB
import { Page } from 'playwright'; import { FlutterDebugEngine } from '../flutter-debug-engine'; import { FlutterDebugEngineEnhanced } from '../flutter-debug-engine-enhanced-modular'; import { NextJSDebugEngine } from '../nextjs-debug-engine'; import { NextJSDebugEngineEnhanced } from '../nextjs-debug-engine-enhanced-modular'; import { ServerFrameworkDebugEngine } from '../server-framework-debug-engine'; import { MetaFrameworkDebugEngine } from '../meta-framework-debug-engine-modular'; import { StateCapture } from './state-capture'; import { ReactStateEngine } from '../react-state-engine'; import { JavaScriptExecutionEngine } from '../javascript-execution-engine'; export interface FrameworkDetectionResult { framework: string; engines: { metaFrameworkEngine?: MetaFrameworkDebugEngine; nextjsEngine?: NextJSDebugEngine; nextjsEnhancedEngine?: NextJSDebugEngineEnhanced; serverFrameworkEngine?: ServerFrameworkDebugEngine; flutterEngine?: FlutterDebugEngine; flutterEnhancedEngine?: FlutterDebugEngineEnhanced; }; } export declare class FrameworkDetector { private reactStateEngine; private jsExecutionEngine; private stateCapture; private page?; private metaFrameworkEngine?; private nextjsEngine?; private nextjsEnhancedEngine?; private serverFrameworkEngine?; private flutterEngine?; private flutterEnhancedEngine?; constructor(reactStateEngine: ReactStateEngine, jsExecutionEngine: JavaScriptExecutionEngine, stateCapture: StateCapture); /** * Detect the framework used by the current page and initialize appropriate engines */ detectFramework(page: Page): Promise<FrameworkDetectionResult>; /** * Get initialized engines for access by LocalDebugEngine */ getEngines(): { metaFrameworkEngine: MetaFrameworkDebugEngine | undefined; nextjsEngine: NextJSDebugEngine | undefined; nextjsEnhancedEngine: NextJSDebugEngineEnhanced | undefined; serverFrameworkEngine: ServerFrameworkDebugEngine | undefined; flutterEngine: FlutterDebugEngine | undefined; flutterEnhancedEngine: FlutterDebugEngineEnhanced | undefined; }; /** * Helper method to find Phoenix LiveView state */ private findPhoenixLiveViewState; /** * Helper method to find React components */ private findReactComponents; /** * Comprehensive Elixir framework detection * Detects Phoenix LiveView, traditional Phoenix, pure Elixir, and Nerves */ private detectElixirFramework; /** * Legacy method for compatibility - engines are attached during detection */ attachFrameworkEngines(page: Page): Promise<void>; } //# sourceMappingURL=framework-detector.d.ts.map