#!/usr/bin/env node
/**
 * Dev harness watchdog — a separate process that monitors the dev harness
 * and restarts it if it becomes unresponsive.
 *
 * Runs independently from the harness itself for resilience: if the harness
 * crashes hard (e.g. segfault, OOM, stuck event loop), the watchdog detects
 * the port going down and relaunches the entire harness.
 *
 * Health check: probes the gateway HTTPS port. If N consecutive checks fail,
 * the harness process tree is killed and restarted.
 *
 * Usage:
 *   node dist/server/watchdog.js [-- ...args forwarded to harness/cli]
 *   npm run dev:watchdog [-- -- ...args]
 *
 * The watchdog itself is a lightweight loop with no dependencies on the
 * gateway code beyond port detection and pi-dir resolution.
 */
export {};
//# sourceMappingURL=watchdog.d.ts.map