@mai0313/vibe-coding-tracker 1.9.0 → 1.11.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 +19 -14
- package/README.zh-CN.md +19 -14
- package/README.zh-TW.md +19 -14
- 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
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
|
|
20
20
|
</div>
|
|
21
21
|
|
|
22
|
-
**Track your AI coding costs in real-time.** Vibe Coding Tracker is a lightweight, high-performance CLI tool built in Rust that monitors and analyzes your Claude Code, Codex, Copilot, Gemini, OpenCode, and
|
|
22
|
+
**Track your AI coding costs in real-time.** Vibe Coding Tracker is a lightweight, high-performance CLI tool built in Rust that monitors and analyzes your Claude Code, Codex, Copilot, Gemini, OpenCode, Cursor, and Hermes usage — with detailed cost breakdowns, token statistics, and code operation insights, all while keeping the memory footprint minimal.
|
|
23
23
|
|
|
24
24
|
[English](README.md) | [繁體中文](README.zh-TW.md) | [简体中文](README.zh-CN.md)
|
|
25
25
|
|
|
@@ -48,7 +48,7 @@ Choose your preferred view:
|
|
|
48
48
|
|
|
49
49
|
### Zero Configuration
|
|
50
50
|
|
|
51
|
-
Automatically detects and processes logs from Claude Code, Codex, Copilot, Gemini, OpenCode, and
|
|
51
|
+
Automatically detects and processes logs from Claude Code, Codex, Copilot, Gemini, OpenCode, Cursor, and Hermes. No setup required — just run and analyze. A `~/.vct/config.toml` is created with sensible defaults on first run if you ever want to tweak behavior (see [Configuration](#configuration)).
|
|
52
52
|
|
|
53
53
|
### Rich Insights
|
|
54
54
|
|
|
@@ -62,15 +62,15 @@ Automatically detects and processes logs from Claude Code, Codex, Copilot, Gemin
|
|
|
62
62
|
|
|
63
63
|
## Key Features
|
|
64
64
|
|
|
65
|
-
| Feature | Description
|
|
66
|
-
| --------------------- |
|
|
67
|
-
| **Multi-Provider** | Claude Code, Codex, Copilot, Gemini, OpenCode, and
|
|
68
|
-
| **Smart Pricing** | Fuzzy model matching + daily cache from LiteLLM
|
|
69
|
-
| **4 Display Modes** | Interactive TUI, static table, plain text, and JSON
|
|
70
|
-
| **Dual Analysis** | Token/cost stats (`usage`) + code operation stats (`analysis`)
|
|
71
|
-
| **Live Quota Panels** | Live remaining quota for Claude, Codex, Copilot, and Cursor
|
|
72
|
-
| **Ultra-Lightweight** | Under ~50 MB RSS in the TUI, streaming JSONL parse — built with Rust
|
|
73
|
-
| **Live Updates** | Auto-refreshing dashboard (every 10s) with change highlighting
|
|
65
|
+
| Feature | Description |
|
|
66
|
+
| --------------------- | ------------------------------------------------------------------------------------ |
|
|
67
|
+
| **Multi-Provider** | Claude Code, Codex, Copilot, Gemini, OpenCode, Cursor, and Hermes — all in one place |
|
|
68
|
+
| **Smart Pricing** | Fuzzy model matching + daily cache from LiteLLM |
|
|
69
|
+
| **4 Display Modes** | Interactive TUI, static table, plain text, and JSON |
|
|
70
|
+
| **Dual Analysis** | Token/cost stats (`usage`) + code operation stats (`analysis`) |
|
|
71
|
+
| **Live Quota Panels** | Live remaining quota for Claude, Codex, Copilot, and Cursor |
|
|
72
|
+
| **Ultra-Lightweight** | Under ~50 MB RSS in the TUI, streaming JSONL parse — built with Rust |
|
|
73
|
+
| **Live Updates** | Auto-refreshing dashboard (every 10s) with change highlighting |
|
|
74
74
|
|
|
75
75
|
---
|
|
76
76
|
|
|
@@ -233,7 +233,7 @@ vct usage --table --merge-providers
|
|
|
233
233
|
┌─────────────────────────────────────────────────────────────────────────────────────────────┐
|
|
234
234
|
│ Total Cost: $79.33 | Total Tokens: 49.3M | Models: 3 | Memory: 42.8 MB │
|
|
235
235
|
└─────────────────────────────────────────────────────────────────────────────────────────────┘
|
|
236
|
-
↑/↓ scroll m merge r refresh q quit |
|
|
236
|
+
↑/↓ scroll m merge r refresh q quit | Star on GitHub
|
|
237
237
|
```
|
|
238
238
|
|
|
239
239
|
### Preview: Table & JSON (`vct usage`)
|
|
@@ -291,6 +291,7 @@ The tool automatically scans these directories:
|
|
|
291
291
|
- `~/.gemini/tmp/<project_hash>/chats/*.jsonl` (Gemini CLI)
|
|
292
292
|
- `~/.local/share/opencode/opencode.db` (OpenCode — SQLite database; honors `$XDG_DATA_HOME`)
|
|
293
293
|
- `~/.cursor/chats/*/*/store.db` (Cursor — SQLite chat stores, used for `analysis` and a local `usage` estimate consistent with the other providers)
|
|
294
|
+
- `~/.hermes/state.db` (Hermes — SQLite database, honors `$HERMES_HOME`; `usage` only)
|
|
294
295
|
|
|
295
296
|
### Live Quota Panels
|
|
296
297
|
|
|
@@ -384,7 +385,7 @@ vct analysis --output today.json --daily
|
|
|
384
385
|
┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
|
|
385
386
|
│ Total Lines: 16.1K | Total Tools: 619 | Models: 3 | Memory: 41.2 MB │
|
|
386
387
|
└─────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
|
|
387
|
-
↑/↓ scroll r refresh q quit |
|
|
388
|
+
↑/↓ scroll r refresh q quit | Star on GitHub
|
|
388
389
|
```
|
|
389
390
|
|
|
390
391
|
### Preview: Table & JSON (`vct analysis`)
|
|
@@ -511,7 +512,7 @@ vct fetch copilot --table
|
|
|
511
512
|
|
|
512
513
|
## Configuration
|
|
513
514
|
|
|
514
|
-
vct keeps its user settings in `~/.vct/config.toml`. The file is **created with defaults on first run**, so you never have to write it by hand — edit it only when you want to change a default. It is generated from vct's typed settings and carries a `#:schema` directive on the first line, so a schema-aware TOML editor (taplo / VS Code "Even Better TOML") gives you autocomplete and validation. Print the schema yourself with `vct config schema`.
|
|
515
|
+
vct keeps its user settings in `~/.vct/config.toml`. The file is **created with defaults on first run**, so you never have to write it by hand — edit it only when you want to change a default. It is generated from vct's typed settings and carries a `#:schema` directive on the first line, so a schema-aware TOML editor (taplo / VS Code "Even Better TOML") gives you autocomplete and validation. Print the schema yourself with `vct config schema`. A file written by an older vct is upgraded to the current layout in place the next time vct reads it (or on demand with `vct config migrate`), so an upgrade never leaves you on a stale format.
|
|
515
516
|
|
|
516
517
|
```toml
|
|
517
518
|
#:schema https://raw.githubusercontent.com/Mai0313/VibeCodingTracker/main/vct.schema.json
|
|
@@ -577,6 +578,9 @@ vct config edit
|
|
|
577
578
|
|
|
578
579
|
# Print the JSON schema (regenerate with: vct config schema > vct.schema.json)
|
|
579
580
|
vct config schema
|
|
581
|
+
|
|
582
|
+
# Upgrade a legacy-format file to the current layout in place
|
|
583
|
+
vct config migrate
|
|
580
584
|
```
|
|
581
585
|
|
|
582
586
|
---
|
|
@@ -604,6 +608,7 @@ vct config schema
|
|
|
604
608
|
|
|
605
609
|
- **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.
|
|
606
610
|
- **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.
|
|
611
|
+
- **Hermes**: priced the same way as OpenCode — an **exact** LiteLLM match prices from tokens, otherwise vct uses Hermes's own stored cost.
|
|
607
612
|
- **Cache is raw**: the daily cache stores the filtered upstream LiteLLM JSON (not a derived shape), so tiered / batch pricing stays available without re-fetching, and a small in-process LRU keeps repeated lookups cheap during a TUI refresh.
|
|
608
613
|
|
|
609
614
|
---
|
package/README.zh-CN.md
CHANGED
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
|
|
20
20
|
</div>
|
|
21
21
|
|
|
22
|
-
**实时追踪你的 AI 编程开销。** Vibe Coding Tracker 是一款基于 Rust 构建的轻量级高性能 CLI 工具,用于监控和分析你在 Claude Code、Codex、Copilot、Gemini、OpenCode 和
|
|
22
|
+
**实时追踪你的 AI 编程开销。** Vibe Coding Tracker 是一款基于 Rust 构建的轻量级高性能 CLI 工具,用于监控和分析你在 Claude Code、Codex、Copilot、Gemini、OpenCode、Cursor 和 Hermes 上的使用情况——提供详细的费用明细、token 统计和代码操作洞察,同时保持极低的内存占用。
|
|
23
23
|
|
|
24
24
|
[English](README.md) | [繁體中文](README.zh-TW.md) | [简体中文](README.zh-CN.md)
|
|
25
25
|
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
|
|
49
49
|
### 零配置
|
|
50
50
|
|
|
51
|
-
自动检测并处理来自 Claude Code、Codex、Copilot、Gemini、OpenCode 和
|
|
51
|
+
自动检测并处理来自 Claude Code、Codex、Copilot、Gemini、OpenCode、Cursor 和 Hermes 的日志。无需任何设置——直接运行即可分析。首次运行时会自动生成一个带有合理默认值的 `~/.vct/config.toml`,方便你日后想调整行为时使用(参见 [配置](#%E9%85%8D%E7%BD%AE))。
|
|
52
52
|
|
|
53
53
|
### 丰富的洞察
|
|
54
54
|
|
|
@@ -62,15 +62,15 @@
|
|
|
62
62
|
|
|
63
63
|
## 核心特性
|
|
64
64
|
|
|
65
|
-
| 特性 | 说明
|
|
66
|
-
| ---------------- |
|
|
67
|
-
| **多供应商支持** | Claude Code、Codex、Copilot、Gemini、OpenCode 和
|
|
68
|
-
| **智能定价** | 模糊模型匹配 + 从 LiteLLM 每日缓存更新
|
|
69
|
-
| **4 种显示模式** | 交互式 TUI、静态表格、纯文本和 JSON
|
|
70
|
-
| **双维度分析** | token/费用统计(`usage`)+ 代码操作统计(`analysis`)
|
|
71
|
-
| **实时额度面板** | Claude、Codex、Copilot 和 Cursor 的实时剩余额度
|
|
72
|
-
| **超轻量级** | TUI 常驻内存 50 MB 以内、流式 JSONL 解析——基于 Rust 构建
|
|
73
|
-
| **实时更新** | 面板自动刷新(每 10 秒),并高亮变化
|
|
65
|
+
| 特性 | 说明 |
|
|
66
|
+
| ---------------- | --------------------------------------------------------------------------- |
|
|
67
|
+
| **多供应商支持** | Claude Code、Codex、Copilot、Gemini、OpenCode、Cursor 和 Hermes——一站式管理 |
|
|
68
|
+
| **智能定价** | 模糊模型匹配 + 从 LiteLLM 每日缓存更新 |
|
|
69
|
+
| **4 种显示模式** | 交互式 TUI、静态表格、纯文本和 JSON |
|
|
70
|
+
| **双维度分析** | token/费用统计(`usage`)+ 代码操作统计(`analysis`) |
|
|
71
|
+
| **实时额度面板** | Claude、Codex、Copilot 和 Cursor 的实时剩余额度 |
|
|
72
|
+
| **超轻量级** | TUI 常驻内存 50 MB 以内、流式 JSONL 解析——基于 Rust 构建 |
|
|
73
|
+
| **实时更新** | 面板自动刷新(每 10 秒),并高亮变化 |
|
|
74
74
|
|
|
75
75
|
---
|
|
76
76
|
|
|
@@ -233,7 +233,7 @@ vct usage --table --merge-providers
|
|
|
233
233
|
┌─────────────────────────────────────────────────────────────────────────────────────────────┐
|
|
234
234
|
│ Total Cost: $79.33 | Total Tokens: 49.3M | Models: 3 | Memory: 42.8 MB │
|
|
235
235
|
└─────────────────────────────────────────────────────────────────────────────────────────────┘
|
|
236
|
-
↑/↓ scroll m merge r refresh q quit |
|
|
236
|
+
↑/↓ scroll m merge r refresh q quit | Star on GitHub
|
|
237
237
|
```
|
|
238
238
|
|
|
239
239
|
### 预览:表格与 JSON(`vct usage`)
|
|
@@ -291,6 +291,7 @@ Totals (by Provider)
|
|
|
291
291
|
- `~/.gemini/tmp/<project_hash>/chats/*.jsonl`(Gemini CLI)
|
|
292
292
|
- `~/.local/share/opencode/opencode.db`(OpenCode,SQLite 数据库;遵循 `$XDG_DATA_HOME`)
|
|
293
293
|
- `~/.cursor/chats/*/*/store.db`(Cursor,SQLite 会话库,用于 `analysis`,并给出一个与其他 provider 一致的本地 `usage` 估算)
|
|
294
|
+
- `~/.hermes/state.db`(Hermes,SQLite 数据库,遵循 `$HERMES_HOME`;仅 `usage`)
|
|
294
295
|
|
|
295
296
|
### 实时额度面板
|
|
296
297
|
|
|
@@ -384,7 +385,7 @@ vct analysis --output today.json --daily
|
|
|
384
385
|
┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
|
|
385
386
|
│ Total Lines: 16.1K | Total Tools: 619 | Models: 3 | Memory: 41.2 MB │
|
|
386
387
|
└─────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
|
|
387
|
-
↑/↓ scroll r refresh q quit |
|
|
388
|
+
↑/↓ scroll r refresh q quit | Star on GitHub
|
|
388
389
|
```
|
|
389
390
|
|
|
390
391
|
### 预览:表格与 JSON(`vct analysis`)
|
|
@@ -511,7 +512,7 @@ vct fetch copilot --table
|
|
|
511
512
|
|
|
512
513
|
## 配置
|
|
513
514
|
|
|
514
|
-
vct 会把用户设置保存在 `~/.vct/config.toml` 中。该文件会在**首次运行时以默认值自动生成**,因此你完全不必手动编写——只有想修改某个默认值时才编辑它。它由 vct 的类型化设置生成,并在第一行带有 `#:schema` 指令,因此支持 schema 的 TOML 编辑器(taplo / VS Code 的 "Even Better TOML")会提供自动补全与校验。你也可以用 `vct config schema` 自行打印该 schema
|
|
515
|
+
vct 会把用户设置保存在 `~/.vct/config.toml` 中。该文件会在**首次运行时以默认值自动生成**,因此你完全不必手动编写——只有想修改某个默认值时才编辑它。它由 vct 的类型化设置生成,并在第一行带有 `#:schema` 指令,因此支持 schema 的 TOML 编辑器(taplo / VS Code 的 "Even Better TOML")会提供自动补全与校验。你也可以用 `vct config schema` 自行打印该 schema。由旧版 vct 生成的文件会在下次被 vct 读取时就地升级到当前布局(也可用 `vct config migrate` 手动触发),因此升级后绝不会停留在过时的格式上。
|
|
515
516
|
|
|
516
517
|
```toml
|
|
517
518
|
#:schema https://raw.githubusercontent.com/Mai0313/VibeCodingTracker/main/vct.schema.json
|
|
@@ -576,6 +577,9 @@ vct config edit
|
|
|
576
577
|
|
|
577
578
|
# 打印 JSON schema (可用以下命令重新生成: vct config schema > vct.schema.json)
|
|
578
579
|
vct config schema
|
|
580
|
+
|
|
581
|
+
# 就地把旧格式文件升级到当前布局
|
|
582
|
+
vct config migrate
|
|
579
583
|
```
|
|
580
584
|
|
|
581
585
|
---
|
|
@@ -603,6 +607,7 @@ vct config schema
|
|
|
603
607
|
|
|
604
608
|
- **不止 token**:Claude 的 web-search 工具调用(`server_tool_use.web_search_requests`)会在 token 费用之外按每次查询计费;其他所有 model 的每次查询费用均为 $0。
|
|
605
609
|
- **OpenCode**:只有在 LiteLLM 上**精确**匹配时,才会根据 token 为一个全新的 model 名称定价;若没有精确匹配,vct 会信任该 assistant message 自身存储的费用,而不是从一个只是大致相似的名称去猜测。
|
|
610
|
+
- **Hermes**:与 OpenCode 相同,LiteLLM 上**精确**匹配时按 token 定价,否则使用 Hermes 自身存储的费用。
|
|
606
611
|
- **缓存为原始数据**:每日缓存存储的是经过筛选的上游 LiteLLM JSON(而非派生后的结构),因此无需重新获取即可保留分层 / 批量定价;此外还有一个小型的进程内 LRU,让 TUI 刷新期间的重复查询保持低开销。
|
|
607
612
|
|
|
608
613
|
---
|
package/README.zh-TW.md
CHANGED
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
|
|
20
20
|
</div>
|
|
21
21
|
|
|
22
|
-
**即時追蹤你的 AI 程式設計花費。** Vibe Coding Tracker 是一款以 Rust 打造的輕量、高效能 CLI 工具,能監控與分析你在 Claude Code、Codex、Copilot、Gemini、OpenCode 及
|
|
22
|
+
**即時追蹤你的 AI 程式設計花費。** Vibe Coding Tracker 是一款以 Rust 打造的輕量、高效能 CLI 工具,能監控與分析你在 Claude Code、Codex、Copilot、Gemini、OpenCode、Cursor 及 Hermes 的使用狀況——提供詳細的費用明細、token 統計資料與程式碼操作分析,同時維持極低的記憶體使用量。
|
|
23
23
|
|
|
24
24
|
[English](README.md) | [繁體中文](README.zh-TW.md) | [简体中文](README.zh-CN.md)
|
|
25
25
|
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
|
|
49
49
|
### 零設定
|
|
50
50
|
|
|
51
|
-
自動偵測並處理 Claude Code、Codex、Copilot、Gemini、OpenCode 及
|
|
51
|
+
自動偵測並處理 Claude Code、Codex、Copilot、Gemini、OpenCode、Cursor 及 Hermes 的日誌檔。不需要任何設定——直接執行就能分析。首次執行時會以合理的預設值建立 `~/.vct/config.toml`,日後若想微調行為即可編輯它(見 [設定](#%E8%A8%AD%E5%AE%9A))。
|
|
52
52
|
|
|
53
53
|
### 豐富洞察
|
|
54
54
|
|
|
@@ -62,15 +62,15 @@
|
|
|
62
62
|
|
|
63
63
|
## 主要功能
|
|
64
64
|
|
|
65
|
-
| 功能 | 說明
|
|
66
|
-
| ---------------- |
|
|
67
|
-
| **多供應商支援** | Claude Code、Codex、Copilot、Gemini、OpenCode 及
|
|
68
|
-
| **智慧定價** | 模糊模型比對 + 每日從 LiteLLM cache 更新
|
|
69
|
-
| **4 種顯示模式** | 互動式 TUI、靜態表格、純文字及 JSON
|
|
70
|
-
| **雙重分析** | Token / 費用統計(`usage`)+ 程式碼操作統計(`analysis`)
|
|
71
|
-
| **即時額度面板** | 即時顯示 Claude、Codex、Copilot 與 Cursor 的剩餘額度
|
|
72
|
-
| **超輕量** | TUI 常駐記憶體 ~50 MB 以內、串流 JSONL 解析——以 Rust 打造
|
|
73
|
-
| **即時更新** | 每 10 秒自動刷新的儀表板並突顯變更
|
|
65
|
+
| 功能 | 說明 |
|
|
66
|
+
| ---------------- | ------------------------------------------------------------------------- |
|
|
67
|
+
| **多供應商支援** | Claude Code、Codex、Copilot、Gemini、OpenCode、Cursor 及 Hermes——一站整合 |
|
|
68
|
+
| **智慧定價** | 模糊模型比對 + 每日從 LiteLLM cache 更新 |
|
|
69
|
+
| **4 種顯示模式** | 互動式 TUI、靜態表格、純文字及 JSON |
|
|
70
|
+
| **雙重分析** | Token / 費用統計(`usage`)+ 程式碼操作統計(`analysis`) |
|
|
71
|
+
| **即時額度面板** | 即時顯示 Claude、Codex、Copilot 與 Cursor 的剩餘額度 |
|
|
72
|
+
| **超輕量** | TUI 常駐記憶體 ~50 MB 以內、串流 JSONL 解析——以 Rust 打造 |
|
|
73
|
+
| **即時更新** | 每 10 秒自動刷新的儀表板並突顯變更 |
|
|
74
74
|
|
|
75
75
|
---
|
|
76
76
|
|
|
@@ -233,7 +233,7 @@ vct usage --table --merge-providers
|
|
|
233
233
|
┌─────────────────────────────────────────────────────────────────────────────────────────────┐
|
|
234
234
|
│ Total Cost: $79.33 | Total Tokens: 49.3M | Models: 3 | Memory: 42.8 MB │
|
|
235
235
|
└─────────────────────────────────────────────────────────────────────────────────────────────┘
|
|
236
|
-
↑/↓ scroll m merge r refresh q quit |
|
|
236
|
+
↑/↓ scroll m merge r refresh q quit | Star on GitHub
|
|
237
237
|
```
|
|
238
238
|
|
|
239
239
|
### 預覽:表格與 JSON(`vct usage`)
|
|
@@ -291,6 +291,7 @@ Totals (by Provider)
|
|
|
291
291
|
- `~/.gemini/tmp/<project_hash>/chats/*.jsonl`(Gemini CLI)
|
|
292
292
|
- `~/.local/share/opencode/opencode.db`(OpenCode,SQLite 資料庫;遵循 `$XDG_DATA_HOME`)
|
|
293
293
|
- `~/.cursor/chats/*/*/store.db`(Cursor,SQLite 對話庫,用於 `analysis`,並產生與其他 provider 一致的本地 `usage` 估算)
|
|
294
|
+
- `~/.hermes/state.db`(Hermes,SQLite 資料庫,遵循 `$HERMES_HOME`;僅 `usage`)
|
|
294
295
|
|
|
295
296
|
### 即時額度面板
|
|
296
297
|
|
|
@@ -384,7 +385,7 @@ vct analysis --output today.json --daily
|
|
|
384
385
|
┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
|
|
385
386
|
│ Total Lines: 16.1K | Total Tools: 619 | Models: 3 | Memory: 41.2 MB │
|
|
386
387
|
└─────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
|
|
387
|
-
↑/↓ scroll r refresh q quit |
|
|
388
|
+
↑/↓ scroll r refresh q quit | Star on GitHub
|
|
388
389
|
```
|
|
389
390
|
|
|
390
391
|
### 預覽:表格與 JSON(`vct analysis`)
|
|
@@ -511,7 +512,7 @@ vct fetch copilot --table
|
|
|
511
512
|
|
|
512
513
|
## 設定
|
|
513
514
|
|
|
514
|
-
vct 會把使用者設定存放在 `~/.vct/config.toml`。這個檔案會在**首次執行時以預設值自動建立**,所以你完全不必手動撰寫,只有想更改某個預設值時才需要編輯它。它由 vct 的型別化設定產生,並在第一行帶有 `#:schema` 指令,因此支援 schema 的 TOML 編輯器(taplo / VS Code 的 "Even Better TOML")會提供自動補全與驗證。你也可以用 `vct config schema` 自行印出該 schema
|
|
515
|
+
vct 會把使用者設定存放在 `~/.vct/config.toml`。這個檔案會在**首次執行時以預設值自動建立**,所以你完全不必手動撰寫,只有想更改某個預設值時才需要編輯它。它由 vct 的型別化設定產生,並在第一行帶有 `#:schema` 指令,因此支援 schema 的 TOML 編輯器(taplo / VS Code 的 "Even Better TOML")會提供自動補全與驗證。你也可以用 `vct config schema` 自行印出該 schema。由舊版 vct 產生的檔案會在下次被 vct 讀取時就地升級到目前的版面(也可用 `vct config migrate` 手動觸發),因此升級後絕不會停留在過時的格式上。
|
|
515
516
|
|
|
516
517
|
```toml
|
|
517
518
|
#:schema https://raw.githubusercontent.com/Mai0313/VibeCodingTracker/main/vct.schema.json
|
|
@@ -576,6 +577,9 @@ vct config edit
|
|
|
576
577
|
|
|
577
578
|
# 印出 JSON schema(可用以下指令重新產生:vct config schema > vct.schema.json)
|
|
578
579
|
vct config schema
|
|
580
|
+
|
|
581
|
+
# 就地把舊格式檔案升級到目前的版面
|
|
582
|
+
vct config migrate
|
|
579
583
|
```
|
|
580
584
|
|
|
581
585
|
---
|
|
@@ -603,6 +607,7 @@ vct config schema
|
|
|
603
607
|
|
|
604
608
|
- **不只 token**:Claude 的網頁搜尋工具呼叫(`server_tool_use.web_search_requests`)會在 token 費用之外,按每次查詢計費;其他所有 model 的每次查詢費用皆為 $0。
|
|
605
609
|
- **OpenCode**:只有在 LiteLLM **完全比對**成功時,才會依 token 為新型 model 計價;若沒有完全比對,vct 會採信該 assistant 訊息本身儲存的費用,而不是從名稱相近的 model 去猜測。
|
|
610
|
+
- **Hermes**:與 OpenCode 相同,LiteLLM **完全比對**成功時依 token 計價,否則使用 Hermes 本身儲存的費用。
|
|
606
611
|
- **原始 cache**:每日 cache 儲存的是經過篩選的上游 LiteLLM JSON(而非衍生後的結構),因此分層 / 批次定價無需重新抓取即可使用;另外一個小型的行內 LRU 會讓 TUI 刷新期間的重複查詢維持低成本。
|
|
607
612
|
|
|
608
613
|
---
|
|
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": "1.
|
|
3
|
+
"version": "1.11.0",
|
|
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",
|