agent-usage-all-in-one 0.5.0 → 0.6.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.
- package/README.md +12 -11
- package/README.zh-CN.md +12 -11
- package/dist/cli.js +1537 -191
- package/dist/cli.js.map +1 -1
- package/dist/web/_app/immutable/assets/2.RN1Pn-E8.css +1 -0
- package/dist/web/_app/immutable/chunks/BfTUk1IE.js +1 -0
- package/dist/web/_app/immutable/chunks/CkDl_J6h.js +3 -0
- package/dist/web/_app/immutable/chunks/YtE49JQT.js +1 -0
- package/dist/web/_app/immutable/entry/app.Cr-3S01G.js +2 -0
- package/dist/web/_app/immutable/entry/start.BiLBur5x.js +1 -0
- package/dist/web/_app/immutable/nodes/0.Bc_BSNVt.js +1 -0
- package/dist/web/_app/immutable/nodes/1.BYavEZ8T.js +1 -0
- package/dist/web/_app/immutable/nodes/2.ehiOyFDQ.js +28 -0
- package/dist/web/_app/version.json +1 -1
- package/dist/web/brand/agent-usage-showcase.jpg +0 -0
- package/dist/web/brands/antigravity.svg +3 -0
- package/dist/web/index.html +9 -9
- package/package.json +1 -1
- package/static/brand/agent-usage-showcase.jpg +0 -0
- package/static/brands/antigravity.svg +3 -0
- package/dist/web/_app/immutable/assets/2.CHCuk4nb.css +0 -1
- package/dist/web/_app/immutable/chunks/3vuWay1s.js +0 -3
- package/dist/web/_app/immutable/chunks/CIxAYfti.js +0 -1
- package/dist/web/_app/immutable/chunks/Kc2LV0tw.js +0 -1
- package/dist/web/_app/immutable/entry/app.BKd02i81.js +0 -2
- package/dist/web/_app/immutable/entry/start.DrTKmCEQ.js +0 -1
- package/dist/web/_app/immutable/nodes/0.f03zL-fK.js +0 -1
- package/dist/web/_app/immutable/nodes/1.HxUixbgc.js +0 -1
- package/dist/web/_app/immutable/nodes/2.D3Z9fN6k.js +0 -27
package/README.md
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
[](LICENSE)
|
|
10
10
|
|
|
11
11
|
Agent Usage is a macOS-first, fully local usage center for Codex, Claude Code,
|
|
12
|
-
OpenCode, Grok, and
|
|
12
|
+
OpenCode, Grok, dsh, and Antigravity. One command opens a dashboard for native quota windows,
|
|
13
13
|
reset times, tokens, model rankings, equivalent API cost, history, and diagnostics.
|
|
14
14
|
It offers advice but never switches agents automatically.
|
|
15
15
|
|
|
@@ -107,15 +107,16 @@ agent-usage clear --yes
|
|
|
107
107
|
|
|
108
108
|
## Provider coverage
|
|
109
109
|
|
|
110
|
-
| Provider / billing domain
|
|
111
|
-
|
|
|
112
|
-
| Codex
|
|
113
|
-
| Claude Code
|
|
114
|
-
| OpenCode Go
|
|
115
|
-
| OpenCode · local history
|
|
116
|
-
| Grok Build / SuperGrok
|
|
117
|
-
| Grok · xAI API
|
|
118
|
-
| dsh · DeepSeek API
|
|
110
|
+
| Provider / billing domain | Native quota | Token history | Cost evidence |
|
|
111
|
+
| -------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- |
|
|
112
|
+
| Codex | Official account buckets when available | Local rollouts with account-day reconciliation | API retail equivalent |
|
|
113
|
+
| Claude Code | Experimental official-client usage, including All models and Fable only | Local session transcripts; optional OTLP supplement | Client estimate and API retail equivalent |
|
|
114
|
+
| OpenCode Go | Official account-wide five-hour, weekly, and monthly windows | Kept separate from local history | Quota context only |
|
|
115
|
+
| OpenCode · local history | No subscription quota | All completed local requests across configured Providers | Client-reported estimate; API retail equivalent when eligible |
|
|
116
|
+
| Grok Build / SuperGrok | Experimental shared subscription allowance | Local `updates.jsonl`; optional OTLP supplement | Client estimate and API retail equivalent, including recognized Grok 4.6 Build aliases |
|
|
117
|
+
| Grok · xAI API | No subscription quota | Official Management API aggregation | Actual USD amounts, balance, limit, and invoice when available |
|
|
118
|
+
| dsh · DeepSeek API | No subscription quota | Local dsh session logs across every profile, including front ends composed on dsh | API retail equivalent at DeepSeek published peak/off-peak rates |
|
|
119
|
+
| Antigravity · Gemini Code Assist | Official-client 5-hour sprint window and weekly baseline limit from live language server RPC, with local session observation fallback | Local conversation SQLite databases (~/.gemini/antigravity-cli and ~/.gemini/antigravity) | API retail equivalent at published Google Gemini and third-party model rates |
|
|
119
120
|
|
|
120
121
|
Every value retains its authority and observation time. Account-wide and this-Mac
|
|
121
122
|
evidence remain visibly distinct.
|
|
@@ -131,7 +132,7 @@ All usage data remains local. JSON and CSV exports omit account identifiers,
|
|
|
131
132
|
session IDs, cookies, OAuth tokens, and secret values by default. Raw observations
|
|
132
133
|
are retained for 90 days, then transactionally compacted into UTC daily aggregates.
|
|
133
134
|
Clearing local usage never deletes credentials owned by Codex, Claude Code,
|
|
134
|
-
OpenCode, Grok, or
|
|
135
|
+
OpenCode, Grok, dsh, or Antigravity.
|
|
135
136
|
|
|
136
137
|
## Verification
|
|
137
138
|
|
package/README.zh-CN.md
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
[](LICENSE)
|
|
10
10
|
|
|
11
11
|
Agent Usage 是一个 macOS 优先、完全在本地运行的用量中心。一次启动即可统一查看
|
|
12
|
-
Codex、Claude Code、OpenCode、Grok 与
|
|
12
|
+
Codex、Claude Code、OpenCode、Grok、dsh 与 Antigravity 的原生额度窗口、刷新时间、Token、模型排行、
|
|
13
13
|
API 对等费用、历史与诊断。它只提供建议,不会自动切换 Agent。
|
|
14
14
|
|
|
15
15
|
## 核心页面
|
|
@@ -90,15 +90,16 @@ agent-usage clear --yes
|
|
|
90
90
|
|
|
91
91
|
## 平台覆盖范围
|
|
92
92
|
|
|
93
|
-
| 平台 / 计费域
|
|
94
|
-
|
|
|
95
|
-
| Codex
|
|
96
|
-
| Claude Code
|
|
97
|
-
| OpenCode Go
|
|
98
|
-
| OpenCode · 本地历史
|
|
99
|
-
| Grok Build / SuperGrok
|
|
100
|
-
| Grok · xAI API
|
|
101
|
-
| dsh · DeepSeek API
|
|
93
|
+
| 平台 / 计费域 | 原生额度 | Token 历史 | 费用证据 |
|
|
94
|
+
| -------------------------------- | --------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | -------------------------------------------------------------- |
|
|
95
|
+
| Codex | 可用时读取官方账户额度桶 | 本地 rollout,并与账户日汇总对账 | API 对等零售价 |
|
|
96
|
+
| Claude Code | 实验性官方客户端用量,包括 All models 与 Fable only | 本地会话记录;可选 OTLP 补充 | 客户端估算与 API 对等零售价 |
|
|
97
|
+
| OpenCode Go | 官方账户级 5 小时、周、月窗口 | 与本地历史分开 | 仅作为额度上下文 |
|
|
98
|
+
| OpenCode · 本地历史 | 没有订阅额度 | 所有已完成的本地请求,覆盖已配置 Provider | 客户端报告估算;符合条件时计算 API 对等零售价 |
|
|
99
|
+
| Grok Build / SuperGrok | 实验性共享订阅额度 | 本地 `updates.jsonl`;可选 OTLP 补充 | 客户端估算与 API 对等零售价,包括可识别的 Grok 4.6 Build 别名 |
|
|
100
|
+
| Grok · xAI API | 没有订阅额度 | 官方 Management API 聚合 | 可用时展示实际美元金额、余额、上限与账单 |
|
|
101
|
+
| dsh · DeepSeek API | 没有订阅额度 | 本机 dsh 全部 profile 的会话日志,含基于 dsh 的终端前端 | 按 DeepSeek 公布的峰谷价计算 API 对等零售价 |
|
|
102
|
+
| Antigravity · Gemini Code Assist | 通过官方 Language Server 本地 RPC 获取 5 小时冲刺窗口与周度基准额度,支持本地会话分析平滑降级 | 本地会话 SQLite 数据库(~/.gemini/antigravity-cli 与 ~/.gemini/antigravity) | 按公布的 Google Gemini 及第三方模型公开价格计算 API 对等零售价 |
|
|
102
103
|
|
|
103
104
|
每个数字都会保留来源权威等级和观测时间;账户全局与仅此 Mac 的证据始终明确区分。
|
|
104
105
|
|
|
@@ -110,7 +111,7 @@ Agent Usage 管理的凭据,存储在 macOS 钥匙串。本地页面使用一
|
|
|
110
111
|
|
|
111
112
|
所有用量数据都留在本机。JSON/CSV 导出默认排除账户标识、会话 ID、Cookie、OAuth Token
|
|
112
113
|
和密钥值。原始观测保留 90 天,之后在事务中压缩为 UTC 日汇总。清理本地用量永远不会删除
|
|
113
|
-
Codex、Claude Code、OpenCode、Grok 或
|
|
114
|
+
Codex、Claude Code、OpenCode、Grok、dsh 或 Antigravity 官方客户端拥有的凭据。
|
|
114
115
|
|
|
115
116
|
## 验证
|
|
116
117
|
|