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
40 lines • 1.62 kB
TypeScript
import { Tool } from '@modelcontextprotocol/sdk/types.js';
import { BaseToolHandler } from './base-handler.js';
import { AuditEngine } from '../audit-engine.js';
import { LocalDebugEngine } from '../local-debug-engine.js';
import { DebugSession } from '../types.js';
/**
* VISUAL REGRESSION TESTING HANDLER (Issue #20)
*
* Professional visual regression testing building on proven cross-browser foundation.
* Implements enterprise-grade visual comparison with AI-enhanced analysis.
*
* FEATURES:
* - Cross-browser screenshot capture (Chrome, Firefox, Safari)
* - Pixel-perfect comparison with configurable tolerance
* - Professional visual diff reporting with AI analysis
* - Integration with existing audit-handler.ts infrastructure
* - Enterprise baseline management with versioning
*/
export declare class VisualRegressionHandler extends BaseToolHandler {
private auditEngine;
private localEngine;
tools: Tool[];
private baselineStorage;
private comparisonResults;
constructor(auditEngine: AuditEngine, localEngine: LocalDebugEngine);
getTools(): Tool[];
handle(toolName: string, args: any, sessions: Map<string, DebugSession>): Promise<any>;
private captureVisualBaseline;
private compareVisualChanges;
private generateVisualReport;
private auditWithVisual;
private storeVisualBaseline;
private rollbackVisualBaseline;
private integratedQualityCheck;
private batchVisualComparison;
private performVisualComparison;
private formatBrowserName;
private formatCategoryName;
}
//# sourceMappingURL=visual-regression-handler.d.ts.map