Skip to content

v0.3.7

Choose a tag to compare

@github-actions github-actions released this 14 Aug 08:48
· 54 commits to main since this release

CLI Analyzer v0.3.7 — 部分全家桶CLI合并与未认领数据标签页

新功能

  • Node.js 运行时合并:node / npm / npx / corepack / node-gyp 不再各自成行,归并为单一 nodejs 工具——适用于同目录布局(Windows 官方安装器 / nvm-windows / Volta / scoop)与 node_modules 布局(nvm/fnm);brew 公式 node 保持独立。版本探测固定取 Node 运行时版本;详情面板新增「包含工具」标签,逐个列出家族命令
  • 「未认领数据」标签页:孤儿数据从工具列表底部移出,升级为工具面板的独立标签页——按数据根分组(~/.config~/.cache 等),支持全选与批量移入内置回收站(二次确认、可恢复);顶部汇总卡常驻展示总占用;无孤儿数据时自动隐藏

改进

  • 回收站展示升级:列表头部汇总条(项数 · 总大小 · 最早到期);每项带本地化类型标签与稳定配色(缓存绿 / 日志琥珀 / 数据蓝);孤儿条目以「未认领数据」标识展示(内部标识不暴露);恢复/清除改为 SVG 图标按钮;「清空回收站」移出主操作区,避免误触
  • 别名契约修正:规则表 curated 别名(claude→claude-code、pip→pip3、hf 等)现在进入 JSON 与界面;宿主工具捆绑的寄居二进制(如 kimi 自带的 rg/fd)不再冒充别名,仅在二进制列表展示;别名过多(shims 噪音)自动省略
  • 子项精确类型~/.npm/_logs*.log 等日志子项以 logs 归类(此前继承父项的 cache),贯穿扫描 → 清理 → 回收站;旧回收站条目读取时自动纠正错误类型
  • 扫描按钮加载态(转圈 + 状态栏同步);类型/数据根标签全面本地化(中/繁/英,带一致性测试)

下载

  • macOS:Apple Silicon CLI-Analyzer-0.3.7-macos-arm64.dmg | Intel CLI-Analyzer-0.3.7-macos-amd64.dmg
  • Windows:安装器 CLI-Analyzer-0.3.7-windows-amd64-installer.exe | 便携 CLI-Analyzer-0.3.7-windows-amd64-portable.zip
  • LinuxCLI-Analyzer-0.3.7-linux-amd64.deb | 便携 CLI-Analyzer-0.3.7-linux-amd64.tar.gz

构建产物未签名:macOS 首次打开需右键 → 打开;Windows 会提示"未知发布者",属正常。

更新说明

  • v0.3.0 及以上用户会在启动时收到本版本更新提示(下载校验通过后引导安装)

English

CLI Analyzer v0.3.7 — Some family CLI merge & Unclaimed Data tab.

New

  • Node.js runtime family merge: node / npm / npx / corepack / node-gyp no longer show up as separate tools — they merge into a single nodejs entry, covering same-directory layouts (Windows official installer / nvm-windows / Volta / scoop) and node_modules layouts (nvm/fnm); brew formula node stays independent. Version probing always reports the Node runtime version; the detail panel shows a "Bundled tools" tag listing every family command
  • "Unclaimed Data" tab: orphan data moves out of the tool list into a dedicated panel tab — grouped by data root (~/.config, ~/.cache, …), with select-all and batch move-to-trash (confirm dialog, recoverable). A summary stat card shows the total footprint; the tab hides itself when there is nothing unclaimed

Improvements

  • Trash list upgrade: summary bar (item count · total size · earliest expiry); each row carries a localized type tag with stable colors (cache green / logs amber / data blue); orphan entries are labeled "Unclaimed data" (internal identifiers never shown); restore/purge are now SVG icon buttons; "Empty trash" moved out of the primary action area
  • Alias contract fixes: curated rule aliases (claude→claude-code, pip→pip3, hf, …) now reach the JSON and the UI; bundled binaries hosted inside another tool (e.g. rg/fd shipped with kimi) no longer masquerade as aliases — they stay in the binary list only; oversized alias lists (shim noise) are hidden
  • Precise sub-item kinds: ~/.npm/_logs and *.log children are classified as logs (previously inheriting the parent's cache kind) end to end — scan → clean → trash; stale trash entries are auto-corrected on read
  • Scan button loading state (spinner + status bar); kind/root labels fully localized (zh-CN / zh-TW / en, guarded by parity tests)

Downloads

  • macOS: Apple Silicon CLI-Analyzer-0.3.7-macos-arm64.dmg | Intel CLI-Analyzer-0.3.7-macos-amd64.dmg
  • Windows: installer CLI-Analyzer-0.3.7-windows-amd64-installer.exe | portable CLI-Analyzer-0.3.7-windows-amd64-portable.zip
  • Linux: CLI-Analyzer-0.3.7-linux-amd64.deb | portable CLI-Analyzer-0.3.7-linux-amd64.tar.gz

Builds are unsigned: right-click → Open on macOS; "unknown publisher" on Windows — expected.

Updating

  • Users on v0.3.0+ are notified of this release at startup (SHA256-verified before guided installation)