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
110 lines • 3.44 kB
TypeScript
import { Page } from 'playwright';
import { FlutterDebugEngine } from '../flutter-debug-engine';
import { FlutterDebugEngineEnhanced } from '../flutter-debug-engine-enhanced-modular';
import { StateCapture } from './state-capture';
/**
* FlutterAnalysisCoordinator - Coordinates all Flutter-related analysis engines
*
* This coordinator consolidates Flutter debugging capabilities including basic engine
* operations, enhanced debugging features, and state capture into a unified interface,
* reducing complexity in LocalDebugEngine.
*/
export declare class FlutterAnalysisCoordinator {
private flutterEngine;
private flutterEnhancedEngine;
private stateCapture;
constructor(flutterEngine: FlutterDebugEngine | null, flutterEnhancedEngine: FlutterDebugEngineEnhanced | null, stateCapture: StateCapture);
/**
* Detect if the current page is a Flutter Web application
*/
detectFlutterWeb(page: Page): Promise<boolean>;
/**
* Attach enhanced Flutter engine to the page
*/
attachEnhancedEngineToPage(page: Page): Promise<void>;
/**
* Find the Flutter DevTools debug port
*/
findDebugPort(page: Page): Promise<number | null>;
/**
* Connect to Flutter DevTools at the specified port
*/
connectToDevTools(port: number): Promise<void>;
/**
* Get the Flutter widget tree
*/
getFlutterWidgetTree(): Promise<any>;
/**
* Get Flutter performance information
*/
getFlutterPerformance(): Promise<any>;
/**
* Inspect a specific Flutter widget by ID
*/
inspectFlutterWidget(widgetId: string): Promise<any>;
/**
* Highlight a specific Flutter widget by ID
*/
highlightFlutterWidget(widgetId: string): Promise<void>;
/**
* Get Flutter memory usage information
*/
getFlutterMemoryUsage(): Promise<any>;
/**
* Get Flutter configuration
*/
getFlutterConfig(): Promise<any>;
/**
* Get Flutter diagnostics
*/
getFlutterDiagnostics(): Promise<any>;
/**
* Get Flutter performance metrics
*/
getFlutterPerformanceMetrics(): Promise<any>;
/**
* Detect Flutter Web specific issues
*/
detectFlutterWebIssues(): Promise<any>;
/**
* Analyze the Flutter widget tree
*/
analyzeFlutterWidgetTree(): Promise<any>;
/**
* Detect Flutter memory leaks
*/
detectFlutterMemoryLeaks(): Promise<any>;
/**
* Analyze Flutter asset loading
*/
analyzeFlutterAssetLoading(): Promise<any>;
/**
* Get Flutter browser compatibility information
*/
getFlutterBrowserCompatibility(): Promise<any>;
/**
* Get Flutter health check information
*/
getFlutterHealthCheck(): Promise<any>;
/**
* Get Flutter performance baseline
*/
getFlutterPerformanceBaseline(): Promise<any>;
/**
* Capture Flutter state snapshot
*/
captureFlutterStateSnapshot(): Promise<any>;
/**
* Check if Flutter DevTools is connected
*/
isFlutterConnected(): boolean;
/**
* Check if Flutter framework is detected
*/
isFlutterDetected(): boolean;
/**
* Set the Flutter engines (used during framework detection)
*/
setEngines(flutterEngine: FlutterDebugEngine | null, flutterEnhancedEngine: FlutterDebugEngineEnhanced | null): void;
}
//# sourceMappingURL=flutter-analysis-coordinator.d.ts.map