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
51 lines • 1.5 kB
TypeScript
/**
* Enhanced Sub-Agent Handler
*
* Demonstrates how to elegantly integrate automatic sub-agent delegation
* into debugging handlers with intelligent fallback mechanisms.
*/
import { Tool } from '@modelcontextprotocol/sdk/types.js';
import { BaseToolHandler } from './base-handler.js';
/**
* Enhanced handler that automatically uses sub-agents when available
* with elegant fallback to direct tool execution
*/
export declare class EnhancedSubAgentHandler extends BaseToolHandler {
private logger;
constructor();
tools: Tool[];
/**
* Setup automatic delegation for existing methods
*/
private setupAutoDelegation;
handle(toolName: string, args: any, sessions: Map<string, any>): Promise<any>;
/**
* Smart debugging with automatic sub-agent delegation
*/
private smartDebug;
/**
* Auto audit with intelligent sub-agent selection
*/
private autoAudit;
/**
* Intelligent error analysis with specialized sub-agent
*/
private intelligentErrorAnalysis;
/**
* Get sub-agent status and delegation statistics
*/
private getSubAgentStatus;
/**
* Direct debugging fallback implementation
*/
private executeDirectDebugging;
/**
* Direct audit fallback implementation
*/
private executeDirectAudit;
/**
* Direct error analysis fallback implementation
*/
private executeDirectErrorAnalysis;
}
//# sourceMappingURL=enhanced-sub-agent-handler.d.ts.map