@mai0313/vibe-coding-tracker 2.6.0 → 2.6.1
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 +3 -3
- package/README.zh-CN.md +3 -3
- package/README.zh-TW.md +3 -3
- package/binaries/linux-arm64-gnu/vibe_coding_tracker +0 -0
- package/binaries/linux-x64-gnu/vibe_coding_tracker +0 -0
- package/binaries/macos-arm64/vibe_coding_tracker +0 -0
- package/binaries/macos-x64/vibe_coding_tracker +0 -0
- package/binaries/windows-arm64/vibe_coding_tracker.exe +0 -0
- package/binaries/windows-x64/vibe_coding_tracker.exe +0 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -285,7 +285,7 @@ Totals (by Provider)
|
|
|
285
285
|
]
|
|
286
286
|
```
|
|
287
287
|
|
|
288
|
-
Every row serializes the same flat token fields regardless of provider (Codex's internal nested shape is normalized before output).
|
|
288
|
+
Every row serializes the same flat token fields regardless of provider (Codex's internal nested shape is normalized before output). A provider that bills a bucket the others don't have adds its own key: a Gemini row that spent tool tokens carries `tool_tokens`, which LiteLLM has no rate for and which are counted in `total_tokens` alone.
|
|
289
289
|
|
|
290
290
|
### What It Scans
|
|
291
291
|
|
|
@@ -468,7 +468,7 @@ At startup, vct silently checks for a newer release at most once per UTC day. A
|
|
|
468
468
|
|
|
469
469
|
After a Unix update, vct re-executes the current command with the new binary. On Windows, the current command finishes and a helper applies the replacement afterwards. The automatic path never modifies installs from cargo, npm, PyPI, a distro package, or an unmarked manual or development build. Update those through their package manager instead. To add automatic updates to an existing direct install, run the current official installer once more so it creates the marker.
|
|
470
470
|
|
|
471
|
-
Set `general.auto_update = false` in `~/.vct/config.toml` to disable startup checks and automatic updates. The explicit `vct update` command retains its existing manual behavior.
|
|
471
|
+
Set `general.auto_update = false` in `~/.vct/config.toml` to disable startup checks and automatic updates. The explicit `vct update` command retains its existing manual behavior. `VCT_OFFLINE=1` also applies to it: `--check`, the interactive prompt, and `--force` alike return without contacting GitHub.
|
|
472
472
|
|
|
473
473
|
### Basic Usage
|
|
474
474
|
|
|
@@ -681,7 +681,7 @@ Generic placeholder names (e.g. `default`, what cursor-agent records for auto-mo
|
|
|
681
681
|
|
|
682
682
|
### Cost Details
|
|
683
683
|
|
|
684
|
-
- **Context tiers are per request**: LiteLLM's "above Nk tokens" rates (e.g. GPT-5.x above 272k, Gemini above 200k) apply only to requests whose own prompt context crossed the
|
|
684
|
+
- **Context tiers are per request**: LiteLLM's "above Nk tokens" rates (e.g. GPT-5.x above 272k, Gemini above 200k) and its Qwen / doubao volume rows alike apply only to requests whose own prompt context crossed the boundary — never to a whole scan's token sum. Each request bills at whichever of the model's published rows its own context reached, so a model priced in four bands charges its top band for the requests that got there. Providers without per-request granularity — and offline scans — bill at the lowest rate, so tiered-model costs are a lower bound there.
|
|
685
685
|
- **Beyond tokens**: Claude web-search tool calls (`server_tool_use.web_search_requests`) are billed per query on top of the token cost; every other model's per-query charge is $0.
|
|
686
686
|
- **OpenCode**: a novel model name is priced from its tokens only on an **exact** LiteLLM match; with no exact match, vct trusts the assistant message's own stored cost instead of guessing from a loosely-similar name.
|
|
687
687
|
- **Hermes**: priced the same way as OpenCode — an **exact** LiteLLM match prices from tokens, otherwise vct uses Hermes's own stored cost.
|
package/README.zh-CN.md
CHANGED
|
@@ -285,7 +285,7 @@ Totals (by Provider)
|
|
|
285
285
|
]
|
|
286
286
|
```
|
|
287
287
|
|
|
288
|
-
无论来源 provider 是什么,每一行都会输出相同的扁平 token 字段(Codex
|
|
288
|
+
无论来源 provider 是什么,每一行都会输出相同的扁平 token 字段(Codex 内部的嵌套结构会在输出前规范化)。若某个 provider 计费的 bucket 是其他 provider 没有的,该行会额外带上自己的 key:实际用掉 tool token 的 Gemini 行会带 `tool_tokens`,LiteLLM 没有对应费率,只计入 `total_tokens`。
|
|
289
289
|
|
|
290
290
|
### 扫描范围
|
|
291
291
|
|
|
@@ -468,7 +468,7 @@ vct 启动时每天 UTC 日期最多检查一次新版. 只有通过官方 `scri
|
|
|
468
468
|
|
|
469
469
|
Unix 应用更新后, vct 会用新版 binary 重新执行当前命令. Windows 会先让当前命令结束, 再由 helper 应用替换. 自动流程绝不会修改通过 cargo, npm, PyPI, distro package 安装的版本, 也不会修改没有 marker 的手动安装或 development build. 请通过相应的 package manager 更新. 现有直接安装只要再运行一次当前官方 installer, 就会创建 marker 并启用自动更新.
|
|
470
470
|
|
|
471
|
-
在 `~/.vct/config.toml` 中设置 `general.auto_update = false` 可以关闭启动检查和自动更新. 显式执行的 `vct update` 会保留原有手动行为.
|
|
471
|
+
在 `~/.vct/config.toml` 中设置 `general.auto_update = false` 可以关闭启动检查和自动更新. 显式执行的 `vct update` 会保留原有手动行为. `VCT_OFFLINE=1` 对它同样有效: `--check`, 交互式确认和 `--force` 都会直接返回, 不会连接 GitHub.
|
|
472
472
|
|
|
473
473
|
### 基本用法
|
|
474
474
|
|
|
@@ -680,7 +680,7 @@ vct config migrate
|
|
|
680
680
|
|
|
681
681
|
### 费用细节
|
|
682
682
|
|
|
683
|
-
- **Context tier 按单个 request 计**:LiteLLM 的「above Nk tokens」费率(如 GPT-5.x 超过 272k、Gemini 超过 200k
|
|
683
|
+
- **Context tier 按单个 request 计**:LiteLLM 的「above Nk tokens」费率(如 GPT-5.x 超过 272k、Gemini 超过 200k)与 Qwen / doubao 的用量级距同样只应用在自身 prompt context 超过分界的那些 request 上,不会应用到整次扫描的 token 总和。每个 request 会落在自身 context 实际到达的那一级费率上,因此一个分成四级的 model 对真的到达最高级的 request 就按最高级计价。没有 per-request 粒度的 provider(以及离线扫描)一律按最低一级的费率计价,因此这类 model 的费用是下界。
|
|
684
684
|
- **不止 token**:Claude 的 web-search 工具调用(`server_tool_use.web_search_requests`)会在 token 费用之外按每次查询计费;其他所有 model 的每次查询费用均为 $0。
|
|
685
685
|
- **OpenCode**:只有在 LiteLLM 上**精确**匹配时,才会根据 token 为一个全新的 model 名称定价;若没有精确匹配,vct 会信任该 assistant message 自身存储的费用,而不是从一个只是大致相似的名称去猜测。
|
|
686
686
|
- **Hermes**:与 OpenCode 相同,LiteLLM 上**精确**匹配时按 token 定价,否则使用 Hermes 自身存储的费用。
|
package/README.zh-TW.md
CHANGED
|
@@ -285,7 +285,7 @@ Totals (by Provider)
|
|
|
285
285
|
]
|
|
286
286
|
```
|
|
287
287
|
|
|
288
|
-
無論來源 provider 為何,每一列都會輸出相同的扁平 token 欄位(Codex
|
|
288
|
+
無論來源 provider 為何,每一列都會輸出相同的扁平 token 欄位(Codex 內部的巢狀結構會在輸出前正規化)。若某個 provider 計費的 bucket 是其他 provider 沒有的,該列會額外帶上自己的 key:實際用掉 tool token 的 Gemini 列會帶 `tool_tokens`,LiteLLM 沒有對應費率,只計入 `total_tokens`。
|
|
289
289
|
|
|
290
290
|
### 掃描範圍
|
|
291
291
|
|
|
@@ -468,7 +468,7 @@ vct 啟動時最多每天 UTC 日期檢查一次新版. 只有透過官方 `scri
|
|
|
468
468
|
|
|
469
469
|
Unix 套用更新後, vct 會用新版 binary 重新執行目前指令. Windows 則會讓目前指令結束, 再由 helper 套用替換. 自動流程絕不會修改透過 cargo, npm, PyPI, distro package 安裝的版本, 或沒有 marker 的手動與 development build. 請透過對應 package manager 更新. 既有的直接安裝只要再執行一次目前的官方 installer, 就會建立 marker 並啟用自動更新.
|
|
470
470
|
|
|
471
|
-
在 `~/.vct/config.toml` 設定 `general.auto_update = false` 可關閉啟動檢查與自動更新. 明確執行的 `vct update` 會保留原有的手動行為.
|
|
471
|
+
在 `~/.vct/config.toml` 設定 `general.auto_update = false` 可關閉啟動檢查與自動更新. 明確執行的 `vct update` 會保留原有的手動行為. `VCT_OFFLINE=1` 對它同樣有效: `--check`, 互動式確認與 `--force` 都會直接返回, 不會連線到 GitHub.
|
|
472
472
|
|
|
473
473
|
### 基本用法
|
|
474
474
|
|
|
@@ -680,7 +680,7 @@ vct config migrate
|
|
|
680
680
|
|
|
681
681
|
### 費用細節
|
|
682
682
|
|
|
683
|
-
- **Context tier 以單一 request 計**:LiteLLM 的「above Nk tokens」費率(如 GPT-5.x 超過 272k、Gemini 超過 200k
|
|
683
|
+
- **Context tier 以單一 request 計**:LiteLLM 的「above Nk tokens」費率(如 GPT-5.x 超過 272k、Gemini 超過 200k)與 Qwen / doubao 的用量級距同樣只套用在自身 prompt context 超過分界的那些 request 上,不會套用到整次掃描的 token 總和。每個 request 會落在自身 context 實際到達的那一級費率上,因此一個分成四級的 model 對真的到達最高級的 request 就以最高級計價。沒有 per-request 粒度的 provider(以及離線掃描)一律以最低一級的費率計價,因此這類 model 的費用是下界。
|
|
684
684
|
- **不只 token**:Claude 的網頁搜尋工具呼叫(`server_tool_use.web_search_requests`)會在 token 費用之外,按每次查詢計費;其他所有 model 的每次查詢費用皆為 $0。
|
|
685
685
|
- **OpenCode**:只有在 LiteLLM **完全比對**成功時,才會依 token 為新型 model 計價;若沒有完全比對,vct 會採信該 assistant 訊息本身儲存的費用,而不是從名稱相近的 model 去猜測。
|
|
686
686
|
- **Hermes**:與 OpenCode 相同,LiteLLM **完全比對**成功時依 token 計價,否則使用 Hermes 本身儲存的費用。
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mai0313/vibe-coding-tracker",
|
|
3
|
-
"version": "2.6.
|
|
3
|
+
"version": "2.6.1",
|
|
4
4
|
"description": "Vibe Coding Tracker - AI coding assistant telemetry/usage parser, aggregate JSONL events into CodeAnalysis results",
|
|
5
5
|
"author": "Wei Lee <mai@mai0313.com>",
|
|
6
6
|
"license": "MIT",
|