Repository navigation
V1.48.0-windows Clear
·
3336 commits
to main
since this release
Changelog
- Safer
uv, Rust, and AI tool cleanup:mo cleannow prunesuvcaches throughuv cache pruneand never falls back to direct deletion whenuvis unavailable, follows customCARGO_HOMEandRUSTUP_HOMEonly with structural markers on fixed drives while guardingrustup-initand proxy writers, and cleans Feishu and Lark per-user profile caches safely. - Stronger path protection and escaping: protected-path checks in PowerShell and
mo analyzenow normalize extended device prefixes (\\?\,\\.\), refuse Alternate Data Streams and Win32 trailing-dot or trailing-space aliases, protect.claude/{plans,tasks,plugins,skills}and.codex/auth.json, and escape all five PowerShell single-quote characters across owner commands and helper scripts. - Fresh
mo uninstallinventory cache:mo uninstallnow fingerprints Uninstall registry subkeys and AppX package registrations, so apps installed within 24 hours appear immediately in--listand search instead of reading a stale cache. - Improved
mo analyzenavigation and layout: lists support Page Up and Page Down navigation with a scroll margin and a compact footer for narrow consoles, ignore bare backup-exclusionCACHEDIR.TAGfiles when marking cleanable folders, and enforce column width limits on malformed UTF-8 names. - Clearer skipped-file and purge reporting:
mo cleanrecords sharing violations as skipped in use,mo purge --helpnotes default roots excluded by a custom config, and Bun 1.4 and GoGOTOOLCHAIN=localedge cases are handled cleanly.
更新日志
uv、Rust 与聊天工具清理更安全:mo clean现通过uv cache prune清理uv缓存且在缺少uv时不再回退直接删除;仅在固定磁盘且存在结构标记时跟随自定义CARGO_HOME与RUSTUP_HOME,并在rustup-init或代理工具运行时保留下载;新增飞书与 Lark 分用户配置缓存清理。- 路径保护与引号转义加固:PowerShell 与
mo analyze的受保护路径校验现归一化\\?\/\\.\扩展前缀,拒绝备用数据流(ADS)与 Win32 尾点/尾空格别名,保护.claude/{plans,tasks,plugins,skills}与.codex/auth.json,并在命令封装中转义全部五种 PowerShell 单引号字符。 mo uninstall清单缓存实时刷新:mo uninstall现校验 Uninstall 注册表子键与 AppX 包指纹,24 小时内新安装的应用会立即出现在--list和搜索结果中。mo analyze浏览与布局改进:列表支持 Page Up / Page Down 翻页、滚动留白与窄窗口精简底栏,不再将仅含备份排除CACHEDIR.TAG的目录标为可清理,并修复异常 UTF-8 文件名导致的列宽越界。- 更清晰的状态反馈与兼容修复:
mo clean将文件占用冲突明确记为使用中跳过,mo purge --help标出被自定义配置排除的默认目录,并适配 Bun 1.4 缓存命令与固定GOTOOLCHAIN=local。
Thanks
Issue reporters and PR contributors this cycle: @Ariestar · @forthrin · @Yuxin-Qiao.
Install
iwr -useb https://raw.githubusercontent.com/tw93/Mole/windows/quick-install.ps1 | iexAlready installed from the script? Run mo update. Scoop installs update through scoop update mole once the new package is available. The files below are what package managers and mo download; PowerShell scripts and executables are code-signed, and SHA256SUMS.txt lists their checksums.
Mole for Windows
If you would rather work in a window than a terminal, Mole for Windows covers cleaning, app removal and updates, startup items, disk analysis and live status, and shows everything before it deletes. The CLI stays free and open source.
