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
97 lines • 3.15 kB
TypeScript
import { Tool } from '@modelcontextprotocol/sdk/types.js';
import { BaseToolHandler } from './base-handler.js';
export declare class PerformanceProfilingHandler extends BaseToolHandler {
private profiler;
constructor();
tools: Tool[];
handle(name: string, args: any, sessions: Map<string, any>): Promise<{
content: {
type: string;
text: string;
}[];
} | {
success: boolean;
profile: any;
bottlenecks: import("../performance-profiler.js").PerformanceBottlenecks;
analysis: {
performance: string;
criticalIssues: any;
optimizationPotential: any;
};
nextSteps: string[];
} | {
success: boolean;
targets: import("../performance-profiler.js").PerformanceTargets;
optimizationPlan: import("../performance-profiler.js").OptimizationPlan;
implementation: {
quickWins: any;
stepByStep: any;
timeline: string;
} | null;
summary: {
totalActions: number;
estimatedImpact: {
startupImprovement: number;
memoryReduction: number;
responseImprovement: number;
};
priority: any;
};
} | {
success: boolean;
improvement: import("../performance-profiler.js").PerformanceImprovement;
analysis: {
component: string;
significantImprovements: (string | null)[];
overallTrend: string;
};
verdict: string;
recommendations: string[];
} | {
success: boolean;
session: import("../performance-profiler.js").DebugSession;
monitoring: {
duration: any;
interval: any;
startTime: string;
visualCapture: any;
};
visuals: import("../performance-profiler.js").VisualMetrics | null;
instructions: string[];
} | {
success: boolean;
report: import("../performance-profiler.js").PerformanceReport | {
summary: any;
scorecard: {
performance: any;
grade: string;
};
topPriorities: any;
} | {
metrics: any;
bottlenecks: any;
implementation: any;
};
trends: import("../performance-profiler.js").PerformanceTrends | null;
format: any;
summary: {
overallScore: number;
keyFindings: number;
recommendations: string[];
};
}>;
private establishBaseline;
private profilePerformance;
private generateOptimizations;
private validateImprovements;
private startMonitoring;
private generateReport;
private generateBaselineSummary;
private generateProfileAnalysis;
private generateImplementationGuide;
private generateImprovementAnalysis;
private generateValidationRecommendations;
private formatExecutiveReport;
private formatTechnicalReport;
}
//# sourceMappingURL=performance-profiling-handler.d.ts.map