(deps: FetchDeps, port: number, host?: string, timeout_ms?: number): Promise<boolean> Check if a daemon is healthy by probing its /health endpoint.
Complements is_daemon_running (PID check) with an HTTP liveness probe.
Requires the daemon to register a /health route (e.g. via create_health_route_spec).
deps
runtime with fetch capability
port
port the daemon should be listening on
numberhost
hostname (default localhost)
string'localhost'timeout_ms
request timeout in milliseconds (default 2000)
number2000returns
Promise<boolean> true if the health endpoint responds with 2xx