pub async fn daemon_is_idle(state: &DaemonState) -> boolExpand description
Idle = zero connections, no pinned session AND every live session
between turns, held for idle continuously. Clients and pins count
first so a probe is never sent while someone is attached. A pin holds
the exit because exiting would end the session the user asked to keep.