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
64 lines • 2.04 kB
TypeScript
/**
* V2 Project-Aware Lazy Loading Strategy
* Intelligently loads only tools relevant to the detected project framework
* Saves 5-8MB memory while maintaining zero workflow delay for stateless HTTP server
*/
export interface FrameworkDetectionResult {
framework: string;
confidence: number;
detected_features?: string[];
features?: string[];
version?: string;
}
export interface V2ProjectLoadingStrategy {
framework: string;
immediateTools: string[];
lazyTools: string[];
estimatedMemorySavingsMB: number;
reasoning: string;
}
/**
* V2 Framework-to-Tools Mapping
* Optimized for stateless HTTP architecture
*/
export declare const V2_FRAMEWORK_TOOL_MAPPING: Record<string, V2ProjectLoadingStrategy>;
/**
* V2 Project-Aware Loading Strategy Manager
* Optimized for stateless HTTP server architecture
*/
export declare class V2ProjectAwareLoadingStrategy {
private detectedFramework?;
private currentStrategy?;
/**
* Analyze framework detection result and determine loading strategy
*/
determineStrategy(frameworkResult: FrameworkDetectionResult): V2ProjectLoadingStrategy;
/**
* Get current loading strategy
*/
getCurrentStrategy(): V2ProjectLoadingStrategy | undefined;
/**
* Check if a tool should be immediately loaded for current project
*/
shouldLoadImmediately(toolName: string): boolean;
/**
* Get memory optimization info
*/
getOptimizationInfo(): {
framework: string;
immediateToolsCount: number;
lazyToolsCount: number;
estimatedSavingsMB: number;
};
}
/**
* V2 Adaptive Strategy (simplified for stateless architecture)
*/
export declare class V2AdaptiveProjectAwareStrategy extends V2ProjectAwareLoadingStrategy {
private memoryPressureThreshold;
/**
* Adapt strategy based on current memory usage
*/
adaptToMemoryPressure(currentMemoryMB: number): V2ProjectLoadingStrategy;
}
//# sourceMappingURL=project-aware-loading-strategy.d.ts.map