Skip to main content

read_registry

Function read_registry 

Source
pub fn read_registry(directory: &Path) -> Vec<ClaudePeerSession>
Expand description

Read every LIVE session from a Claude registry directory.

Records are skipped, never fatal, when the file is malformed, when it names no messaging socket, when its pid is gone or now belongs to another process, or when its window parked the session into a background job — a stale file left by a crashed session is exactly the case that must not be reported as live, and a parked window’s status froze when it let go.