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

54 lines • 1.56 kB
/** * Circuit Breaker Handler * * Provides MCP tools for managing circuit breakers, monitoring tool health, * and performing recovery operations for AI-Debug tools. */ import { Tool } from '@modelcontextprotocol/sdk/types.js'; import { BaseToolHandler } from './base-handler.js'; import { CircuitBreakerManager } from '../utils/circuit-breaker-manager.js'; export declare class CircuitBreakerHandler extends BaseToolHandler { private circuitBreakerManager; private logger; tools: Tool[]; constructor(); handle(toolName: string, args: any): Promise<any>; /** * Get current circuit breaker status */ private getCircuitBreakerStatus; /** * Reset a specific circuit breaker */ private resetCircuitBreaker; /** * Emergency reset of all circuit breakers */ private emergencyResetAll; /** * Get unhealthy tools with recommendations */ private getUnhealthyTools; /** * Configure circuit breaker parameters */ private configureCircuitBreaker; /** * Get circuit breaker events */ private getCircuitBreakerEvents; private createToolHealthResponse; private formatSystemOverview; private getStatusEmoji; private getHealthEmoji; private getEventEmoji; /** * Get the circuit breaker manager instance (for integration with other handlers) */ getCircuitBreakerManager(): CircuitBreakerManager; /** * Cleanup resources */ destroy(): void; } //# sourceMappingURL=circuit-breaker-handler.d.ts.map