CLI Analyzer v0.3.9 — 工具识别与版本探测大修
新功能
- 扫描变更检测:启动时指纹(mtime+size)未变化直接复用缓存(秒开、无全量 IO);检测到新工具安装自动全量重扫。历史快照同步收紧:缓存命中不重复记录、
scan <filter>过滤扫描不再污染整体趋势/增量排行 - 新安装来源
local-bin(官方脚本安装):astral uv / poetry / rye 等脚本安装的二进制(~/.local/bin)现在有「标准卸载」(删除二进制)与版本探测
修复
- 工具合并:
pip/pip3/pip3.x归并为单一pip工具(有二进制与版本号)mimo→mimocode、kimi-webbridge/kimi-slides→kimi、opencode-plugins→opencode合并进主工具行- npm 包展示短名:
@openai/codex→codex、@deepseek-ai/dsh→dsh、@earendil-works/pi-coding-agent→pi、@oh-my-pi/pi-coding-agent→omp、@fission-ai/openspec→openspec、@colbymchenry/codegraph→codegraph(版本化安装与 npm 两套安装归并一行) - 补全数据目录认领:
~/.mimocode、~/.opencode、~/.kimi-webbridge、~/.kimi-work、~/.dsh、~/.pi、~/.codegraph
- 版本探测:
- 干净版本号提取:
uv 0.12.5 (210d1f678 …)→0.12.5,Docker version 29.4.0, build …→29.4.0,不再显示 banner 噪音 - 探测不到版本就留空(kubectl 等不再把帮助文本当版本)
- 按 argv[0] 分派的工具(OrbStack 的 docker/kubectl)经 PATH 入口正确探测
- 更多 CLI 工具可探测版本(opencode / kimi / mimo / docker 等),GUI 应用内部件仍排除(防 TCC 权限弹窗)
- 干净版本号提取:
- 非 CLI 排除加固:macOS
.app包目录排除生效(Trae CN 等 GUI 内部命令不再出现);符号链接指向.app的绕过路径修复;OrbStack 内部工具(docker-tools 等)排除、docker/kubectl/docker-compose 保留;VS Code 安装目录、VS Installer Package Cache 排除;node-addon 缓存归入 nodejs、clink 数据目录归因 - 卸载流程:标准卸载增加二次确认(不再点一下就执行);残留检测显示"正在检测…"进度(大数据目录不再像假死);残留面板按钮布局修正(「取消/永久删除」不换行,「移入内置回收站」两行按钮带"有效期内可恢复"小字)
- 状态栏与详情:扫描进行中保留平台信息、隐藏旧扫描用时/遍历错误;详情页移除「别名/包含工具」行(噪音,二进制区逐条可见)
下载
- macOS(Apple Silicon):
CLI-Analyzer-0.3.9-macos-arm64.dmg - macOS(Intel):
CLI-Analyzer-0.3.9-macos-amd64.dmg - Windows:
CLI-Analyzer-0.3.9-windows-amd64-installer.exe| 便携CLI-Analyzer-0.3.9-windows-amd64-portable.zip - Linux:
CLI-Analyzer-0.3.9-linux-amd64.deb| 便携CLI-Analyzer-0.3.9-linux-amd64.tar.gz
构建产物未签名:macOS 首次打开需右键 → 打开;Windows 会提示"未知发布者",属正常。
更新说明
- v0.3.0 及以上用户会在启动时收到本版本更新提示(下载校验通过后引导安装)
English
CLI Analyzer v0.3.9 — tool identity & version probing overhaul.
New
- Scan change detection: startup reuses the cached result when the fingerprint (mtime+size) is unchanged — instant open, no full I/O; newly installed tools trigger an automatic rescan. History is tightened too: cache hits no longer duplicate snapshots, and filtered
scan <filter>runs no longer pollute overall trends - New installer source
local-bin: script-installed CLIs (~/.local/bin— astral uv, poetry, rye…) now get a standard uninstall (removes the binary) and version probing
Fixes
- Tool merging:
pip/pip3/pip3.xcollapse into a singlepiptool with binary and versionmimo→mimocode,kimi-webbridge/kimi-slides→kimi,opencode-plugins→opencodemerge into their host tools- npm packages display short names:
@openai/codex→codex,@deepseek-ai/dsh→dsh,@earendil-works/pi-coding-agent→pi,@oh-my-pi/pi-coding-agent→omp,@fission-ai/openspec→openspec,@colbymchenry/codegraph→codegraph(versioned + npm installs merged into one row) - data dirs claimed:
~/.mimocode,~/.opencode,~/.kimi-webbridge,~/.kimi-work,~/.dsh,~/.pi,~/.codegraph
- Version probing:
- clean semver extraction:
uv 0.12.5 (210d1f678 …)→0.12.5,Docker version 29.4.0, build …→29.4.0— no banner noise - unknown versions stay empty (kubectl no longer shows help text as a version)
- argv[0]-dispatched tools (OrbStack docker/kubectl) probe via their PATH entry
- more CLIs get versions (opencode / kimi / mimo / docker…); GUI app internals remain excluded (no TCC prompts)
- clean semver extraction:
- Non-CLI exclusion hardening: macOS
.appbundle dirs now actually excluded (Trae CN internals no longer listed); symlink-to-.appbypass fixed; OrbStack internals (docker-tools…) excluded while docker/kubectl/docker-compose stay; VS Code install dir and VS Installer Package Cache excluded; node-addon cache claimed under nodejs; clink data dir attributed - Uninstall flow: standard uninstall now asks for confirmation before running; residue detection shows a "scanning…" state (no more frozen-looking waits on huge data dirs); residue panel buttons fixed ("Cancel"/"Delete permanently" never wrap; "Move to built-in trash" is a two-line button with a "recoverable within retention" hint)
- Status bar & detail: platform info stays visible while scanning (stale scan time/errors hidden); alias/"bundled tools" line removed from the detail view
Downloads
- macOS (Apple Silicon):
CLI-Analyzer-0.3.9-macos-arm64.dmg - macOS (Intel):
CLI-Analyzer-0.3.9-macos-amd64.dmg - Windows:
CLI-Analyzer-0.3.9-windows-amd64-installer.exe| portableCLI-Analyzer-0.3.9-windows-amd64-portable.zip - Linux:
CLI-Analyzer-0.3.9-linux-amd64.deb| portableCLI-Analyzer-0.3.9-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)