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

34 lines • 1.16 kB
/** * Phoenix/BEAM VM Optimized Circuit Breaker Configuration * * Addresses feedback about circuit breakers being too sensitive for Phoenix applications. * BEAM VM has natural fault tolerance through supervision trees, so circuit breakers * need different thresholds. */ export interface CircuitBreakerConfig { failureThreshold: number; recoveryTimeoutMs: number; halfOpenMaxAttempts: number; successThreshold: number; monitoringWindowMs: number; customSettings?: any; } export declare class PhoenixCircuitBreakerConfig { /** * Get Phoenix-optimized circuit breaker configuration */ static getPhoenixConfig(): CircuitBreakerConfig; /** * Check if an error should be counted towards circuit breaker */ static shouldCountError(error: Error, config: any): boolean; /** * Get timeout for specific operation type */ static getOperationTimeout(operationType: string, config: any): number; /** * Determine if we should use Phoenix-optimized config */ static shouldUsePhoenixConfig(context: any): boolean; } //# sourceMappingURL=phoenix-circuit-breaker-config.d.ts.map