@anthonyhan/token-pilot 0.3.2 → 0.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<div align="center">
|
|
2
2
|
|
|
3
|
-
<img src="docs/assets/icon.png" width="96" alt="token-pilot —— 所有 AI 工具的本地账单,本月实测 ¥
|
|
3
|
+
<img src="docs/assets/icon.png" width="96" alt="token-pilot —— 所有 AI 工具的本地账单,本月实测 ¥7,328 / 38 亿 tokens">
|
|
4
4
|
|
|
5
5
|
# token-pilot ⚡
|
|
6
6
|
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
|
|
22
22
|

|
|
23
23
|
|
|
24
|
-
> 状态栏常驻 `⚡ ¥今日 · 预算%`。左键弹面板,「打开完整看板」看全部。我的真实 10 月:**
|
|
24
|
+
> 状态栏常驻 `⚡ ¥今日 · 预算%`。左键弹面板,「打开完整看板」看全部。我的真实 10 月:**38.1 亿 tokens · ¥7,328 · 27,450 次调用**([怎么算的](#-数据准确性))。
|
|
25
25
|
|
|
26
26
|
> ⚠️ npm 上另有一个**别人家的** `token-pilot`(MCP 代码导航工具,会往 Claude Code 写 hooks)。我们的包是 **`@anthonyhan/token-pilot`**,下面命令都带 scope,照抄即可。
|
|
27
27
|
|
|
@@ -83,7 +83,7 @@ xattr -dr com.apple.quarantine /Applications/token-pilot.app
|
|
|
83
83
|
```bash
|
|
84
84
|
python3 scripts/reconcile.py month # 第三方视角独立重算原始日志,与 CLI 逐项对账
|
|
85
85
|
python3 scripts/verify-dashboard.py # 看板 36 项算法不变量校验
|
|
86
|
-
npm test #
|
|
86
|
+
npm test # 49 个单元测试(定价/采集口径/聚合/注入/熔断/RTK)
|
|
87
87
|
```
|
|
88
88
|
|
|
89
89
|
实测修过的口径坑(2026-10-21,本机 4787 个日志文件):
|
|
@@ -96,8 +96,8 @@ npm test # 42 个单元测试(定价/采集口径
|
|
|
96
96
|
|
|
97
97
|
## 📊 凭什么信我
|
|
98
98
|
|
|
99
|
-
- 我自己的 AI 账单就是它管的:本月 **¥
|
|
100
|
-
- 36 项看板算法不变量 +
|
|
99
|
+
- 我自己的 AI 账单就是它管的:本月 **¥7,328 / 38.1 亿 tokens**(2026-10-27 本机实时数据)
|
|
100
|
+
- 36 项看板算法不变量 + 49 个单测 + 独立对账脚本,全部开箱可跑
|
|
101
101
|
- 诚实披露速率口径:日志按「调用完成时刻」记账,生成中的调用完成前不计入(看板内有注明)
|
|
102
102
|
|
|
103
103
|
## ⚠️ 什么时候别用它
|
|
@@ -128,6 +128,10 @@ token-pilot 免费且 MIT。如果它帮你省下了 AI 账单,可以请我喝
|
|
|
128
128
|
|
|
129
129
|
完整分版本说明见 [RELEASE_NOTES.md](RELEASE_NOTES.md)(也是客户端自动更新弹窗的文案来源)。
|
|
130
130
|
|
|
131
|
+
- **v0.3.2** RTK 改用含压缩引擎的完整版,装完自动接 hook(备份/回滚保护);新增发布数据回流脚本
|
|
132
|
+
- **v0.3.1** npm 包缺 web 目录修复、看板前端编入 app 二进制
|
|
133
|
+
- **v0.3.0** 新增「压缩潜力」板块,修省钱建议卡被静默丢弃
|
|
134
|
+
- **v0.2.9** 自动发布链路修复(三平台产物上传与命名)
|
|
131
135
|
- **v0.2.6** 激活自动更新链路 + 打转熔断主动通知(含防轰炸)
|
|
132
136
|
- **v0.2.5** npm scope 校正为 `@anthonyhann`,包可运行性修复
|
|
133
137
|
- **v0.2.3** 2B 压缩执行第一层(自动压缩 + autoCompact 写入 + RTK)、价格核对台
|