Changelog
- mo clean: Trash empties without the macOS "Show warning" dialog blocking the run, the user-essentials phase keeps a live spinner through every step, and Darwin user runtime cleanup is roughly an order of magnitude faster on busy
TMPDIRs. Cache coverage expanded to Arc, QQ Browser, Codex CLI, and Antigravity/Gemini; VS Code, VS Code Insiders, and Cursor now drop their.obsoleteextension directories; active Claude Code plugin state is no longer flagged as an orphan. - mo uninstall: warns when
System Settings > Login Items & Extensions > App Background Activitystill references a removed app, and dry-run no longer prints spurious leftover warnings. - mo analyze: hardlinked files are counted once per inode, so Final Cut Pro
.fcpbundleand other managed-media trees stop over-reporting by 10–50×. Expired cache files are pruned on startup. - mo status:
AvailandFree%now match Activity Monitor, counting reclaimable memory as free. - mo optimize: Bluetooth reset task removed to avoid disconnecting HID and audio devices. Periodic maintenance no longer trips on quoted paths.
- mo purge: cursor visibility and temp files are restored on every exit, including Ctrl-C.
- CLI: honor
NO_COLOR=1to disable ANSI styling, per no-color.org. - Safety: Trash delete mode now fails closed when Trash routing is unavailable.
更新日志
- mo clean:清倒废纸篓不再触发 macOS「清倒前显示警告」对话框阻塞运行;「用户文件」段全程显示 spinner,每一步都有进度;Darwin user runtime 清理在繁忙
TMPDIR下提速约一个数量级。缓存覆盖新增 Arc、QQ Browser、Codex CLI、Antigravity/Gemini;VS Code、VS Code Insiders、Cursor 会按.obsolete标记清掉残留扩展目录;启用中的 Claude Code 插件状态不再被识别成孤儿。 - mo uninstall:如果「系统设置 > 登录项与扩展 > App 后台活动」里仍残留卸载应用的入口,摘要里会指明清理路径;dry-run 不再误报 leftover 警告。
- mo analyze:硬链接文件按 inode 去重,Final Cut Pro
.fcpbundle等托管媒体目录不再被虚报 10–50 倍;过期的 analyze 缓存会在启动时自动清理。 - mo status:
Avail与Free%改用与活动监视器一致的算法,把可回收内存算作可用内存。 - mo optimize:移除蓝牙重置任务,避免误踢 HID 与音频设备;周期维护读 stat 信息时对引号路径更稳。
- mo purge:包括 Ctrl-C 在内的任意退出路径,都会恢复光标可见性并清掉临时文件。
- CLI:支持
NO_COLOR=1关闭 ANSI 颜色,遵循 no-color.org。 - 安全加固:Trash 删除模式在 Trash 不可用时 fail closed,防止静默退化为永久删除。
Mole Mac App
Prefer a GUI? Check out Mole Mac App. The CLI stays free and open source.
Thanks 💖
Issue reporters and PR contributors this cycle: @M-Hassan-Raza · @yhy0 · @tiamointer · @zhanghuid · @AuthorProxy · @OhJiang · @sebastianbreguel · @xronocode.