github tw93/Mole V1.40.0
V1.40.0 Hitagi 🦀

2 hours ago
Mole Logo

Mole V1.40.0 Hitagi

Deep clean and optimize your Mac.

Changelog

  1. mo clean: Reclaim the multi-GB git worktrees Claude Code and similar agents leave under .claude/worktrees/. Opt in with MOLE_AGENT_WORKTREES=1; only fully clean ones are removed.
  2. 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.
  3. 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.
  4. mo optimize: Prune orphaned Spotlight search rules left by uninstalled apps, keeping all System.* and com.apple.* rules.
  5. mo status: Battery health now matches System Settings and the Mac app, plus a one-line health diagnosis instead of raw numbers.
  6. mo uninstall: Independent CLI tool dotdirs survive same-named apps, system process names are refused, and backup-volume app clones are deduped.
  7. Performance & integrity: Orphan-scan lookups about 15x faster, install.sh verifies the release build attestation, and cached sudo is reused across uninstall steps.
  8. Bug fixes: Installer deletion counts corrected, switching back to the stable update channel works, and a read-only mo history shows recent cleanup activity.

更新日志

  1. mo clean:回收 Claude Code 等 agent 在 .claude/worktrees/ 下留下的数 GB git worktree。用 MOLE_AGENT_WORKTREES=1 开启,只删除完全干净的。
  2. mo clean:新增 Chrome DevTools MCP、Neat Download Manager、Spacedrive、QQ 音乐、腾讯视频、CodeBuddy 的可重建缓存清理,并能查看 OrbStack 占用,均保留用户数据。
  3. mo optimize:移除两个有破坏性的任务,Dock 刷新不再删除会重置桌面的壁纸数据库,字体缓存重建已删除(过去会破坏 Electron 应用的字形渲染)。
  4. mo optimize:清理已卸载应用残留的 Spotlight 搜索规则,保留所有 System.*com.apple.* 规则。
  5. mo status:电池健康与系统设置和 Mac 应用一致,并新增一行健康诊断,不用再读原始数字。
  6. mo uninstall:应用同名时保留独立 CLI 工具的 dotdir,拒绝对系统进程名操作,去重备份卷上的应用副本。
  7. 性能与完整性:孤儿扫描查询快约 15 倍,install.sh 校验发布构建 attestation,卸载多步间复用已缓存的 sudo。
  8. 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.

https://github.com/tw93/Mole

Don't miss a new Mole release

NewReleases is sending notifications on new releases.