Changelog
- mo clean - Cleaning Enhanced & Safety Upgrade: Added JetBrains Toolbox old IDE cleanup with whitelist-safe handling, Puppeteer cache cleanup for Chromium automation leftovers, orphaned system services detection and removal, auto-enables system cleanup when sudo session is active, excludes Flutter/CocoaPods/Pub development caches from cleanup to prevent build breakage, fixed SIP-enabled system update package cleaning.
- mo uninstall - Reliability Improved: Fixed unbound variable error on empty tuples preventing crashes, fixed data-protected apps uninstall by proper entitlement handling, restored trap handlers and removed dead search key, optimized app scanning performance by removing redundant search functionality.
- mo analyze - Accuracy & UX Fixed: Corrected top list calculation and disk usage thresholds for more accurate reporting, fixed keybindings display misalignment in interactive mode, improved visual comfort with gray warning icons to reduce noise.
- mo status - System Info Added: Added uptime display to status header showing system running time, unified output format for multiple version checks across different tools.
- Core Improvements - Testing & Code Quality: Added comprehensive RingBuffer unit tests with slice equality comparison, improved dry-run mode with better error handling, refactored Puppeteer cleanup to match browser cache pattern, optimized code syntax throughout.
更新日志
- mo clean - 清理增强与安全升级:新增 JetBrains Toolbox 旧版 IDE 清理且带白名单安全保护,支持 Puppeteer 缓存清理清除 Chromium 自动化残留,检测并清理孤立的系统服务,sudo 会话激活时自动启用系统清理,排除 Flutter/CocoaPods/Pub 开发缓存避免破坏构建,修复 SIP 启用时的系统更新包清理。
- mo uninstall - 可靠性改进:修复空元组未绑定变量错误防止崩溃,修复数据保护应用卸载通过正确处理权限,恢复 trap 处理器并移除失效的搜索键,通过移除冗余搜索功能优化应用扫描性能。
- mo analyze - 准确性与体验修复:修正 top 列表计算和磁盘使用阈值提供更准确的报告,修复交互模式下键盘快捷键显示对齐问题,使用灰色警告图标改善视觉舒适度减少干扰。
- mo status -系统信息新增:在状态头部添加运行时间显示展示系统运行时长,统一不同工具的多版本检查输出格式。
- 核心改进 - 测试与代码质量:新增完整的 RingBuffer 单元测试使用切片相等比较,改进 dry-run 模式带更好的错误处理,重构 Puppeteer 清理以匹配浏览器缓存模式,全面优化代码。
Thanks to @dwjoss, @alexandear-org, @iamxorum, and all contributors for their help in this release!