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
50 lines • 1.49 kB
TypeScript
/**
* Flutter Semantic Analyzer
* Extracts meaningful structure from Flutter's accessibility tree
*/
export interface FlutterSemanticNode {
role: string;
label: string;
bounds: DOMRect;
actions: string[];
children: FlutterSemanticNode[];
id: string;
isButton: boolean;
isTextField: boolean;
isClickable: boolean;
isScrollable: boolean;
isToggleable: boolean;
isSelectable: boolean;
isDraggable: boolean;
isImage: boolean;
isLink: boolean;
elementType: string;
value?: string;
checked?: boolean;
selected?: boolean;
expanded?: boolean;
}
export declare class FlutterSemanticAnalyzer {
/**
* Analyze Flutter's semantic tree to understand UI structure
*/
static analyzeSemanticTree(page: any): Promise<FlutterSemanticNode[]>;
/**
* Find semantic nodes by text content
*/
static findNodesByText(nodes: FlutterSemanticNode[], searchText: string): FlutterSemanticNode[];
/**
* Generate a text representation of the semantic tree
*/
static generateSemanticMap(nodes: FlutterSemanticNode[]): string;
/**
* Try to infer UI structure from semantic nodes
*/
static inferUIStructure(nodes: FlutterSemanticNode[]): {
buttons: FlutterSemanticNode[];
textFields: FlutterSemanticNode[];
navigation: FlutterSemanticNode[];
other: FlutterSemanticNode[];
};
}
//# sourceMappingURL=flutter-semantic-analyzer.d.ts.map