Bug
abtop --once shows 0 sessions even though ~/.claude/sessions/ contains active session files.
Root Cause
The process matching at src/collector/claude.rs:69 required both /claude (with path prefix) and --session-id in the ps command string:
c.contains("/claude") && c.contains("--session-id")
Some installations (e.g. Homebrew on macOS) show the process as just claude without a full path and without --session-id flag.
Fix
Changed matching to accept both formats:
c.starts_with("claude") || c.contains("/claude")
Fixed in 3a988a5.
Bug
abtop --onceshows 0 sessions even though~/.claude/sessions/contains active session files.Root Cause
The process matching at
src/collector/claude.rs:69required both/claude(with path prefix) and--session-idin thepscommand string:Some installations (e.g. Homebrew on macOS) show the process as just
claudewithout a full path and without--session-idflag.Fix
Changed matching to accept both formats:
Fixed in 3a988a5.