pub fn detect_local_daemon(heddle_dir: &Path) -> Option<UdsTarget>Expand description
Run the probe and, when the daemon is Running, return the UDS
target a tonic client can dial. Cached for the process lifetime so
hot agent loops don’t pay two stat-syscalls per RPC.
Probing failure (Absent, Stale) returns None — the caller
should fall through to its in-process or remote fallback. The
full Health.Check + version handshake over a tonic UDS Channel
layers on top of detect_local_daemon_with_connect_probe and
connect_local_daemon_channel.