Changelog
- mo clean: Significantly improved cleanup performance by skipping missing parent directories, reducing subprocess forks, and avoiding duplicate size calculations.
- mo clean: Added cleanup coverage for Ruby, Bundler, CPAN, Codex CLI runtimes, Cursor Agent session logs, Playwright browser caches, and additional AI/dev tool leftovers.
- mo clean: Added hint-only orphan dotdir detection for stale
~/.<dir>folders. It uses a known-safe allowlist, age checks, binary checks, and LaunchAgent references before showing suggestions. - mo clean:
~/.puttyis now treated as safe and whitelist rules are respected in orphan dotdir hints. The hint text no longer suggests rawrm -rf. (closes #828) - VPN protection: AmneziaWG, WireGuard, and NetworkExtension preferences are now protected from cleanup. Network stack refresh is skipped when an active VPN tunnel is detected. (closes #827)
- mo clean/status: Fixed sudo prompt hangs, Safari Web Extension relaunches, process "No data" output on newer macOS, and CloudStorage project discovery. (closes #819, #813, #814, #818)
- mo uninstall/clean: Improved Sparkle autoupdate protection and LaunchAgent cleanup by scanning
ProgramArgumentsfor app paths. (closes #816) - mo optimize: Hardened cache target handling and empty debug output paths during optimization.
- UI: Clarified the multi-select menu label from Enter to
Enter Save.
更新日志
- mo clean: 明显提升清理性能,跳过不存在的父目录,减少子进程调用,并避免重复计算文件体积。
- mo clean: 新增 Ruby、Bundler、CPAN、Codex CLI runtime、Cursor Agent session log、Playwright browser cache,以及更多 AI/dev 工具残留清理。
- mo clean: 新增只提示不删除的孤儿 dotdir 检测,用于发现过期的
~/.<dir>目录;会结合安全名单、目录年龄、二进制命令和 LaunchAgent 引用再给出提示。 - mo clean:
~/.putty现在会被视为安全目录,孤儿 dotdir 提示也会尊重白名单;提示文案不再建议直接执行rm -rf。(closes #828) - VPN 保护: 保护 AmneziaWG、WireGuard 和 NetworkExtension 偏好数据;检测到活跃 VPN tunnel 时会跳过 network stack refresh,避免 VPN 被断开。(closes #827)
- mo clean/status: 修复 sudo prompt 卡住、Safari Web Extension 被拉起、新版 macOS 下进程显示 "No data",以及 CloudStorage 项目发现问题。(closes #819, #813, #814, #818)
- mo uninstall/clean: 加强 Sparkle autoupdate 保护,并通过扫描
ProgramArguments更准确地清理 LaunchAgent。(closes #816) - mo optimize: 优化 cache target 处理,并修复空 debug 输出路径。
- UI: 多选菜单里的 Enter 文案调整为
Enter Save,表达更清晰。
Special thanks to @Christian-SC26 (#827), @iammike2 (#828), and contributors on #813, #814, #816, #818, and #819 for the reports and feedback.