UNPKG

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

56 lines • 2 kB
/** * Lazy Loading System for Third-Party Dependencies * Loads heavyweight dependencies only when actually needed */ export interface LazyModule<T> { load(): Promise<T>; isLoaded(): boolean; unload(): void; } export declare class LazyLoader { private static loadedModules; private static loadingPromises; /** * Create a lazy-loaded module wrapper */ static createLazyModule<T>(name: string, loader: () => Promise<T>, cleanup?: () => void): LazyModule<T>; /** * Get memory usage of loaded modules */ static getLoadedModulesInfo(): { loaded: string[]; memoryUsage: NodeJS.MemoryUsage; }; /** * Unload all modules to free memory */ static unloadAll(): void; } /** * Tool dependency mapping */ export declare const TOOL_DEPENDENCIES: { readonly inject_debugging: readonly ["playwright"]; readonly simulate_user_action: readonly ["playwright"]; readonly take_screenshot: readonly ["playwright"]; readonly monitor_realtime: readonly ["playwright"]; readonly run_audit: readonly ["playwright"]; readonly mock_network: readonly ["playwright"]; readonly phoenix_debug_liveview: readonly ["tidewave"]; readonly elixir_attach_to_beam: readonly ["tidewave"]; readonly nextjs_debug_hydration: readonly ["playwright", "nextjs-engine"]; readonly flutter_debug_canvas: readonly ["playwright", "flutter-engine"]; readonly python_trace_request: readonly ["python-engine"]; readonly django_debug_orm: readonly ["python-engine"]; readonly trace_database_query: readonly ["database-engine"]; readonly analyze_slow_queries: readonly ["database-engine"]; }; /** * Get required dependencies for a tool */ export declare function getToolDependencies(toolName: string): readonly string[]; /** * Check if a tool requires any third-party dependencies */ export declare function requiresThirdPartyDeps(toolName: string): boolean; //# sourceMappingURL=lazy-loader.d.ts.map