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 • 1.61 kB
/** * Zombie Process Prevention and Cleanup * * Prevents accumulation of zombie AI-Debug server processes that cause * resource conflicts and tool disconnections. */ export declare class ZombieProcessKiller { private static readonly AI_DEBUG_PATTERNS; private static readonly GRACE_PERIOD_MS; private static readonly MAX_CLEANUP_ATTEMPTS; /** * Find zombie AI-Debug processes (processes that are no longer responsive) */ static findZombieProcesses(): Promise<Array<{ pid: number; cmd: string; status: string; }>>; /** * Clean up zombie processes with grace period and escalation */ static cleanupZombieProcesses(): Promise<{ cleaned: number; failed: number; }>; /** * Kill a process gracefully with SIGTERM, then SIGKILL if needed */ private static killProcessGracefully; /** * Check if a process is still alive */ private static isProcessAlive; /** * Parse ps aux output into process objects */ private static parseProcessList; /** * Check if a process is an AI-Debug process */ private static isAIDebugProcess; /** * Check if a process is a zombie based on status */ private static isZombieProcess; /** * Setup periodic zombie cleanup */ static setupPeriodicCleanup(intervalMs?: number): NodeJS.Timeout; /** * Prevent current process from becoming zombie */ static preventCurrentProcessZombie(): void; private static sleep; } //# sourceMappingURL=zombie-process-killer.d.ts.map