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
44 lines • 1.62 kB
TypeScript
/**
* Unified Framework Detector
*
* Consolidates all framework detection logic from:
* - V1 FrameworkDetector (local-debug-engine/framework-detector.ts)
* - V2 FrameworkDetector (v2/utils/framework-detector.ts)
* - Enhanced FrameworkDetector (v2/utils/enhanced-framework-detector.ts)
*
* This unified detector ensures consistent framework detection across all tools.
*/
import { Page } from 'playwright';
export interface UnifiedFrameworkResult {
framework: string;
confidence: number;
features: string[];
version?: string;
isHybrid?: boolean;
primaryFramework?: string;
secondaryFramework?: string;
}
export declare class UnifiedFrameworkDetector {
/**
* Main detection method that combines all detection strategies
*/
detectFramework(page: Page): Promise<UnifiedFrameworkResult>;
/**
* Quick framework detection from URL patterns (for early optimization)
*/
detectFromUrl(url: string): UnifiedFrameworkResult;
/**
* Detect framework from HTTP headers
*/
detectFromHeaders(headers: Record<string, string>): UnifiedFrameworkResult;
/**
* Merge multiple detection results for best accuracy
*/
mergeDetectionResults(urlResult: UnifiedFrameworkResult, pageResult: UnifiedFrameworkResult, headerResult?: UnifiedFrameworkResult): UnifiedFrameworkResult;
/**
* Get framework-specific debugging recommendations
*/
getFrameworkRecommendations(framework: string): string[];
}
export declare const unifiedFrameworkDetector: UnifiedFrameworkDetector;
//# sourceMappingURL=unified-framework-detector.d.ts.map