agent-usage-all-in-one 0.3.0 → 0.4.0

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.
Files changed (31) hide show
  1. package/README.md +11 -1
  2. package/README.zh-CN.md +7 -1
  3. package/dist/cli.js +788 -27
  4. package/dist/cli.js.map +1 -1
  5. package/dist/web/_app/immutable/assets/2.BWrFQDDF.css +1 -0
  6. package/dist/web/_app/immutable/chunks/3vuWay1s.js +3 -0
  7. package/dist/web/_app/immutable/chunks/CIxAYfti.js +1 -0
  8. package/dist/web/_app/immutable/chunks/DrMah8OK.js +1 -0
  9. package/dist/web/_app/immutable/entry/app.BJJ5ybn9.js +2 -0
  10. package/dist/web/_app/immutable/entry/start.C8pSj-JI.js +1 -0
  11. package/dist/web/_app/immutable/nodes/0.f03zL-fK.js +1 -0
  12. package/dist/web/_app/immutable/nodes/1.zxn5xzLP.js +1 -0
  13. package/dist/web/_app/immutable/nodes/2.CeZkCUZN.js +27 -0
  14. package/dist/web/_app/version.json +1 -1
  15. package/dist/web/brand/agent-usage-showcase.jpg +0 -0
  16. package/dist/web/brands/README.md +4 -4
  17. package/dist/web/index.html +30 -8
  18. package/docs/open-source.md +1 -1
  19. package/package.json +1 -1
  20. package/static/brand/agent-usage-showcase.jpg +0 -0
  21. package/static/brands/README.md +4 -4
  22. package/dist/web/_app/immutable/assets/2.BiUr1b86.css +0 -1
  23. package/dist/web/_app/immutable/chunks/BW9s3L2z.js +0 -3
  24. package/dist/web/_app/immutable/chunks/CwKqhBmI.js +0 -1
  25. package/dist/web/_app/immutable/entry/app.CJoUfLXD.js +0 -2
  26. package/dist/web/_app/immutable/entry/start.DEFna-Tq.js +0 -1
  27. package/dist/web/_app/immutable/nodes/0.DTcMU-UW.js +0 -1
  28. package/dist/web/_app/immutable/nodes/1.BRZSpfvp.js +0 -1
  29. package/dist/web/_app/immutable/nodes/2.BKHXaqdm.js +0 -43
  30. package/dist/web/brand/agent-usage-banner.svg +0 -27
  31. package/static/brand/agent-usage-banner.svg +0 -27
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ![Agent Usage banner](static/brand/agent-usage-banner.svg)
1
+ ![Agent Usage dashboard showcase](static/brand/agent-usage-showcase.jpg)
2
2
 
3
3
  # Agent Usage
4
4
 
@@ -24,6 +24,16 @@ The dashboard has two primary tabs:
24
24
  model rankings with visual share bars and the public API retail equivalent of
25
25
  eligible token usage.
26
26
 
27
+ Declare what each plan costs in Settings and the same tab adds a **subscription
28
+ value** view: it prorates that price over the selected range and compares it with
29
+ the API retail equivalent of the tokens the plan produced, mapping every
30
+ subscription against a break-even line and ranking the value multiple beside what
31
+ a million tokens actually cost you. Adding the plan's renewal date also measures
32
+ each subscription over its own billing period, showing how far into that cycle it
33
+ is and whether it is on pace to pay for itself, so a plan in its first week is
34
+ never read against one in its fourth. The plan price is a local declaration; it
35
+ never becomes a cost record and never enters any cost total.
36
+
27
37
  Actual charges, provider-reported estimates, fixed subscription fees, and API
28
38
  retail equivalents are separate evidence. The API retail equivalent is not a bill
29
39
  and is never presented as subscription spend. Unknown models or prices remain
package/README.zh-CN.md CHANGED
@@ -1,4 +1,4 @@
1
- ![Agent Usage 横幅](static/brand/agent-usage-banner.svg)
1
+ ![Agent Usage 仪表盘功能展示](static/brand/agent-usage-showcase.jpg)
2
2
 
3
3
  # Agent Usage
4
4
 
@@ -19,6 +19,12 @@ API 对等费用、历史与诊断。它只提供建议,不会自动切换 Age
19
19
  - **Agent 用量**:保留各平台原生的 5 小时、周、月、All models 和 Fable only 等额度标签与刷新时间。
20
20
  - **Token 与模型费用**:支持 24 小时、7 天和 30 天范围。顶部优先展示汇总信息,随后用图表展示 Provider 占比和可交互的每日趋势,再以占比条呈现模型排行及符合条件的 Token 按公开 API 价格计算出的对等费用。
21
21
 
22
+ 在设置中填写各订阅的价格后,同一标签页会多出**订阅性价比**视图:把订阅价按所选时间窗摊销,
23
+ 与该订阅产出的 Token 的 API 对等价做对比,在图谱上以保本线定位每个订阅,并给出价值倍数、
24
+ 你实际付出的每百万 Token 单价与市场单价。再填上续费日,还会按每个订阅**自己的计费周期**单独衡量:
25
+ 显示本周期已经走了多少天、已回本多少,以及按当前进度能否回本,这样处在第一周的订阅不会和处在第四周的订阅被放在一起比。
26
+ 订阅价只是本机声明,不会变成费用记录,也不会进入任何费用合计。
27
+
22
28
  实际账单、平台报告估算、固定订阅费和 API 对等零售价是四类互不混合的证据。
23
29
  API 对等零售价不是账单,也不会被描述成订阅支出。模型或价格未知时保持未分类或未定价,
24
30
  不会猜测,更不会显示成 0。