v0.1.0-rc.11
Pre-release
Pre-release
token-usage v0.1.0-rc.11
Note: This is a pre-release (v0.1.0-rc.11) for testing; behavior may change before the stable release.
Fixed
- The updater now writes a per-run upgrade log at
~/.token-usage/logs/update-YYYY-MM-DD.log(mode 0600, 7-day retention), covering every step on both platforms with[update],[install], and[helper]prefixes, including all failure paths and the three-state helper result (ok / failure recorded / write failed) - Stale files are now cleaned up: the result dead-letter file is consumed (read, logged, deleted) on the next update once provenance is trusted — including the no-update path; POSIX nonce remnants are swept; the external stage file is removed after install succeeds or fails
Assets
token-usage-darwin-arm64— macOS (Apple Silicon)token-usage-darwin-amd64— macOS (Intel)token-usage-windows-amd64.exe— Windows
Verify & install
- Download the asset for your platform and
SHA256SUMS. - Verify:
shasum -a 256 token-usage-darwin-arm64(Windows:certutil -hashfile token-usage-windows-amd64.exe SHA256). - Make it executable (macOS/Linux) and run
./token-usage version.
token-usage v0.1.0-rc.11(中文说明)
提示: 本版本为预发布(v0.1.0-rc.11),仅供测试;稳定版发布前行为可能调整。
修复
- 更新器现会写入本次运行的升级日志
~/.token-usage/logs/update-YYYY-MM-DD.log(0600,7 天保留),覆盖双平台每一步([update]、[install]、[helper]前缀),含全部失败路径与 helper 三态终态结果(ok / failure recorded / write failed) - 残留文件现会清理:result 死信文件在下次更新 provenance 可信后被消费(读取、记录、删除),包含无更新路径;POSIX nonce 残留由 sweep 兜底;外部 stage 文件在安装成功或失败后删除
资产
token-usage-darwin-arm64— macOS(Apple 芯片)token-usage-darwin-amd64— macOS(Intel)token-usage-windows-amd64.exe— Windows
校验与安装
- 下载与你平台匹配的资产以及
SHA256SUMS。 - 校验:
shasum -a 256 token-usage-darwin-arm64(Windows:certutil -hashfile token-usage-windows-amd64.exe SHA256)。 - 赋予执行权限(macOS/Linux)并运行
./token-usage version。