Changelog
- mo clean: Reclaim the multi-GB git worktrees Claude Code and similar agents leave under
.claude/worktrees/. Opt in withMOLE_AGENT_WORKTREES=1; only fully clean ones are removed. - mo clean: New rebuildable-cache cleanup for Chrome DevTools MCP, Neat Download Manager, Spacedrive, QQ Music, Tencent Video, and CodeBuddy, plus OrbStack storage visibility, all preserving your data.
- mo optimize: Dropped two destructive tasks. Dock Refresh no longer deletes the wallpaper database that reset your desktop, and Font Cache Rebuild is gone after it broke glyph rendering in Electron apps.
- mo optimize: Prune orphaned Spotlight search rules left by uninstalled apps, keeping all
System.*andcom.apple.*rules. - mo status: Battery health now matches System Settings and the Mac app, plus a one-line health diagnosis instead of raw numbers.
- mo uninstall: Independent CLI tool dotdirs survive same-named apps, system process names are refused, and backup-volume app clones are deduped.
- Performance & integrity: Orphan-scan lookups about 15x faster,
install.shverifies the release build attestation, and cached sudo is reused across uninstall steps. - Bug fixes: Installer deletion counts corrected, switching back to the stable update channel works, and a read-only
mo historyshows recent cleanup activity.
更新日志
- mo clean:回收 Claude Code 等 agent 在
.claude/worktrees/下留下的数 GB git worktree。用MOLE_AGENT_WORKTREES=1开启,只删除完全干净的。 - mo clean:新增 Chrome DevTools MCP、Neat Download Manager、Spacedrive、QQ 音乐、腾讯视频、CodeBuddy 的可重建缓存清理,并能查看 OrbStack 占用,均保留用户数据。
- mo optimize:移除两个有破坏性的任务,Dock 刷新不再删除会重置桌面的壁纸数据库,字体缓存重建已删除(过去会破坏 Electron 应用的字形渲染)。
- mo optimize:清理已卸载应用残留的 Spotlight 搜索规则,保留所有
System.*和com.apple.*规则。 - mo status:电池健康与系统设置和 Mac 应用一致,并新增一行健康诊断,不用再读原始数字。
- mo uninstall:应用同名时保留独立 CLI 工具的 dotdir,拒绝对系统进程名操作,去重备份卷上的应用副本。
- 性能与完整性:孤儿扫描查询快约 15 倍,
install.sh校验发布构建 attestation,卸载多步间复用已缓存的 sudo。 - Bug 修复:修正安装包删除统计,支持切回稳定更新通道,并新增只读的
mo history查看近期清理记录。
Mole Mac App
Prefer a GUI? Check out Mole Mac App. The CLI stays free and open source.
Thanks 💖
Recent GitHub Sponsors keeping Mole moving: @gootecks · @Jimmy-Smo · @felitrejos · @cauyxy · @e2600 · @ObliviousOdin · @jinghaihan · @mazzzystar · @CY-Christin · @RoversX · @christ-off · @jamesholcomb · @dangnguyen1004 · @cloudk1d · @numman-ali · @miantiao-me · @bevanjkay · @Damecek.
Issue reporters and PR contributors this cycle: @byronwang2005 · @AilfredBitworth · @fabdelgado · @sebastianbreguel · @M-Hassan-Raza · @manuelguido · @Jiaweeee · @artiwl · @chenchenwuai.