New: zclean doctor
Self-diagnosis command that checks if zclean is properly set up and running:
$ zclean doctor
Config: ~/.zclean/config.json
Hook: Claude Code SessionEnd registered
Scheduler: launchd agent loaded
Last run: 4m ago
Stats: 18 cleaned all time, 12 this week
All checks passed.
Checks: config file, Claude Code hook, launchd/systemd scheduler (loaded?), last run time (warns if >2h ago), cumulative stats.
Kill Feedback with Cumulative Stats
After cleaning zombies, zclean now shows weekly and all-time totals:
Killed 3 zombie processes:
KILLED PID 26413 mcp-server 367 MB
KILLED PID 62830 agent-browser 200 MB
KILLED PID 26221 npm-exec 142 MB
Memory freed: 709 MB
This week: 12 cleaned, 4.2 GB freed
All time: 18 cleaned, 6.8 GB freed
Upgrade
npx @thestackai/zclean@latest