@mai0313/vct 0.14.0 → 0.15.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 +20 -30
- package/README.zh-CN.md +20 -30
- package/README.zh-TW.md +20 -30
- 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
|
@@ -41,7 +41,7 @@ Built with Rust for minimal resource footprint. The interactive TUI dashboard ty
|
|
|
41
41
|
|
|
42
42
|
Choose your preferred view:
|
|
43
43
|
|
|
44
|
-
- **Interactive Dashboard**: Auto-refreshing terminal UI with live updates
|
|
44
|
+
- **Interactive Dashboard**: Auto-refreshing terminal UI with live updates, scrollable model list (arrow keys), and compact K/M/B number formatting
|
|
45
45
|
- **Static Reports**: Professional tables for documentation
|
|
46
46
|
- **Script-Friendly**: Plain text and JSON for automation
|
|
47
47
|
- **Full Precision**: Export exact costs for accounting
|
|
@@ -196,33 +196,28 @@ vct usage --json --daily
|
|
|
196
196
|
```
|
|
197
197
|
|
|
198
198
|
> [!NOTE]
|
|
199
|
-
> Model rows are sorted by cost in ascending order, so the highest-spending model
|
|
199
|
+
> Model rows are sorted by cost in ascending order, so the highest-spending model is listed last (right above the `TOTAL` row in `--table`). This applies to the interactive dashboard, `--table`, and `--text` output; `--json` preserves the same order. The interactive dashboard also hides models with zero usage in the selected range.
|
|
200
200
|
|
|
201
201
|
### Preview: Interactive Dashboard (`vct usage`)
|
|
202
202
|
|
|
203
203
|
```
|
|
204
204
|
┌─────────────────────────────────────────────────────────────────────────────────────────────┐
|
|
205
|
-
│
|
|
206
|
-
└─────────────────────────────────────────────────────────────────────────────────────────────┘
|
|
207
|
-
┌─────────────────────────────────────────────────────────────────────────────────────────────┐
|
|
208
|
-
│ Model Input Output Cache Read Cache Create Total Cost │
|
|
205
|
+
│ Model Input Output Cache Read Cache Write Total Cost (USD) │
|
|
209
206
|
│ │
|
|
210
|
-
│ gemini-3.1-pro-preview
|
|
211
|
-
│ claude-haiku-4-5-20251001
|
|
212
|
-
│ claude-opus-4-6
|
|
213
|
-
│ TOTAL 160,333 209,174 45,525,477 3,192,074 $79.33 │
|
|
207
|
+
│ gemini-3.1-pro-preview 129K 10.3K 67.4K 0 207K $0.40 │
|
|
208
|
+
│ claude-haiku-4-5-20251001 5.57K 19.8K 4.63M 620K 5.27M $1.34 │
|
|
209
|
+
│ claude-opus-4-6 25.7K 179K 40.8M 2.57M 43.6M $77.59 │
|
|
214
210
|
└─────────────────────────────────────────────────────────────────────────────────────────────┘
|
|
215
211
|
┌─────────────────────────────────────────────────────────────────────────────────────────────┐
|
|
216
|
-
│ Provider
|
|
212
|
+
│ Provider Tokens Cost Active Days │
|
|
217
213
|
│ │
|
|
218
|
-
│ Claude Code
|
|
219
|
-
│ Gemini
|
|
220
|
-
│ All Providers 49,087,057 $79.33 3 │
|
|
214
|
+
│ Claude Code 48.9M $78.93 3 │
|
|
215
|
+
│ Gemini 207K $0.40 1 │
|
|
221
216
|
└─────────────────────────────────────────────────────────────────────────────────────────────┘
|
|
222
217
|
┌─────────────────────────────────────────────────────────────────────────────────────────────┐
|
|
223
|
-
│
|
|
218
|
+
│ Total Cost: $79.33 | Total Tokens: 49.3M | Models: 3 | Memory: 42.8 MB │
|
|
224
219
|
└─────────────────────────────────────────────────────────────────────────────────────────────┘
|
|
225
|
-
|
|
220
|
+
↑/↓ scroll PgUp/PgDn page g/G top/end r refresh q quit | ★ github.com/Mai0313/VibeCodingTracker
|
|
226
221
|
```
|
|
227
222
|
|
|
228
223
|
### What It Scans
|
|
@@ -305,27 +300,22 @@ vct analysis --output today.json --daily
|
|
|
305
300
|
|
|
306
301
|
```
|
|
307
302
|
┌─────────────────────────────────────────────────────────────────────────────────────────────┐
|
|
308
|
-
│
|
|
309
|
-
└─────────────────────────────────────────────────────────────────────────────────────────────┘
|
|
310
|
-
┌─────────────────────────────────────────────────────────────────────────────────────────────┐
|
|
311
|
-
│ Model Edit Lines Read Lines Write Lines Bash Edit Read Write │
|
|
303
|
+
│ Model Edit Lines Read Lines Write Lines Bash Edit Read Write │
|
|
312
304
|
│ │
|
|
313
|
-
│ claude-haiku-4-5-20251001
|
|
314
|
-
│ claude-opus-4-6
|
|
315
|
-
│ gemini-3.1-pro-preview
|
|
316
|
-
│ TOTAL 1,280 13,264 1,575 125 146 268 62 │
|
|
305
|
+
│ claude-haiku-4-5-20251001 0 0 0 43 0 59 0 │
|
|
306
|
+
│ claude-opus-4-6 1.28K 13.3K 1.58K 82 146 209 62 │
|
|
307
|
+
│ gemini-3.1-pro-preview 0 0 0 0 0 0 0 │
|
|
317
308
|
└─────────────────────────────────────────────────────────────────────────────────────────────┘
|
|
318
309
|
┌─────────────────────────────────────────────────────────────────────────────────────────────┐
|
|
319
|
-
│ Provider
|
|
310
|
+
│ Provider Edit Lines Read Lines Write Lines Bash Edit Read TodoWrite Write Days │
|
|
320
311
|
│ │
|
|
321
|
-
│ Claude Code
|
|
322
|
-
│ Gemini
|
|
323
|
-
│ All Providers 1,280 13,264 1,575 125 146 268 18 62 3 │
|
|
312
|
+
│ Claude Code 1.28K 13.3K 1.58K 125 146 268 18 62 3 │
|
|
313
|
+
│ Gemini 0 0 0 0 0 0 0 0 1 │
|
|
324
314
|
└─────────────────────────────────────────────────────────────────────────────────────────────┘
|
|
325
315
|
┌─────────────────────────────────────────────────────────────────────────────────────────────┐
|
|
326
|
-
│ Total Lines: 16
|
|
316
|
+
│ Total Lines: 16.1K | Total Tools: 619 | Models: 3 | Memory: 41.2 MB │
|
|
327
317
|
└─────────────────────────────────────────────────────────────────────────────────────────────┘
|
|
328
|
-
|
|
318
|
+
↑/↓ scroll PgUp/PgDn page g/G top/end r refresh q quit | ★ github.com/Mai0313/VibeCodingTracker
|
|
329
319
|
```
|
|
330
320
|
|
|
331
321
|
---
|
package/README.zh-CN.md
CHANGED
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
|
|
42
42
|
选择你喜欢的查看方式:
|
|
43
43
|
|
|
44
|
-
- **交互式面板**:自动刷新的终端 UI
|
|
44
|
+
- **交互式面板**:自动刷新的终端 UI,支持实时更新、可滚动的模型列表(方向键),以及 K/M/B 精简数字格式
|
|
45
45
|
- **静态报表**:专业的表格,适合文档记录
|
|
46
46
|
- **脚本友好**:纯文本和 JSON 格式,方便自动化
|
|
47
47
|
- **完整精度**:导出精确费用,满足财务核算需求
|
|
@@ -196,33 +196,28 @@ vct usage --json --daily
|
|
|
196
196
|
```
|
|
197
197
|
|
|
198
198
|
> [!NOTE]
|
|
199
|
-
> Model 行会按 cost 升序排序,因此花费最高的 model
|
|
199
|
+
> Model 行会按 cost 升序排序,因此花费最高的 model 会排在最后(在 `--table` 中紧邻 `TOTAL` 行上方)。该排序适用于交互式面板、`--table` 与 `--text` 三种输出;`--json` 也会保持相同顺序。交互式面板还会隐藏在所选范围内用量为 0 的模型。
|
|
200
200
|
|
|
201
201
|
### 预览:交互式面板(`vct usage`)
|
|
202
202
|
|
|
203
203
|
```
|
|
204
204
|
┌─────────────────────────────────────────────────────────────────────────────────────────────┐
|
|
205
|
-
│
|
|
206
|
-
└─────────────────────────────────────────────────────────────────────────────────────────────┘
|
|
207
|
-
┌─────────────────────────────────────────────────────────────────────────────────────────────┐
|
|
208
|
-
│ Model Input Output Cache Read Cache Create Total Cost │
|
|
205
|
+
│ Model Input Output Cache Read Cache Write Total Cost (USD) │
|
|
209
206
|
│ │
|
|
210
|
-
│ gemini-3.1-pro-preview
|
|
211
|
-
│ claude-haiku-4-5-20251001
|
|
212
|
-
│ claude-opus-4-6
|
|
213
|
-
│ TOTAL 160,333 209,174 45,525,477 3,192,074 $79.33 │
|
|
207
|
+
│ gemini-3.1-pro-preview 129K 10.3K 67.4K 0 207K $0.40 │
|
|
208
|
+
│ claude-haiku-4-5-20251001 5.57K 19.8K 4.63M 620K 5.27M $1.34 │
|
|
209
|
+
│ claude-opus-4-6 25.7K 179K 40.8M 2.57M 43.6M $77.59 │
|
|
214
210
|
└─────────────────────────────────────────────────────────────────────────────────────────────┘
|
|
215
211
|
┌─────────────────────────────────────────────────────────────────────────────────────────────┐
|
|
216
|
-
│ Provider
|
|
212
|
+
│ Provider Tokens Cost Active Days │
|
|
217
213
|
│ │
|
|
218
|
-
│ Claude Code
|
|
219
|
-
│ Gemini
|
|
220
|
-
│ All Providers 49,087,057 $79.33 3 │
|
|
214
|
+
│ Claude Code 48.9M $78.93 3 │
|
|
215
|
+
│ Gemini 207K $0.40 1 │
|
|
221
216
|
└─────────────────────────────────────────────────────────────────────────────────────────────┘
|
|
222
217
|
┌─────────────────────────────────────────────────────────────────────────────────────────────┐
|
|
223
|
-
│
|
|
218
|
+
│ Total Cost: $79.33 | Total Tokens: 49.3M | Models: 3 | Memory: 42.8 MB │
|
|
224
219
|
└─────────────────────────────────────────────────────────────────────────────────────────────┘
|
|
225
|
-
|
|
220
|
+
↑/↓ scroll PgUp/PgDn page g/G top/end r refresh q quit | ★ github.com/Mai0313/VibeCodingTracker
|
|
226
221
|
```
|
|
227
222
|
|
|
228
223
|
### 扫描范围
|
|
@@ -305,27 +300,22 @@ vct analysis --output today.json --daily
|
|
|
305
300
|
|
|
306
301
|
```
|
|
307
302
|
┌─────────────────────────────────────────────────────────────────────────────────────────────┐
|
|
308
|
-
│
|
|
309
|
-
└─────────────────────────────────────────────────────────────────────────────────────────────┘
|
|
310
|
-
┌─────────────────────────────────────────────────────────────────────────────────────────────┐
|
|
311
|
-
│ Model Edit Lines Read Lines Write Lines Bash Edit Read Write │
|
|
303
|
+
│ Model Edit Lines Read Lines Write Lines Bash Edit Read Write │
|
|
312
304
|
│ │
|
|
313
|
-
│ claude-haiku-4-5-20251001
|
|
314
|
-
│ claude-opus-4-6
|
|
315
|
-
│ gemini-3.1-pro-preview
|
|
316
|
-
│ TOTAL 1,280 13,264 1,575 125 146 268 62 │
|
|
305
|
+
│ claude-haiku-4-5-20251001 0 0 0 43 0 59 0 │
|
|
306
|
+
│ claude-opus-4-6 1.28K 13.3K 1.58K 82 146 209 62 │
|
|
307
|
+
│ gemini-3.1-pro-preview 0 0 0 0 0 0 0 │
|
|
317
308
|
└─────────────────────────────────────────────────────────────────────────────────────────────┘
|
|
318
309
|
┌─────────────────────────────────────────────────────────────────────────────────────────────┐
|
|
319
|
-
│ Provider
|
|
310
|
+
│ Provider Edit Lines Read Lines Write Lines Bash Edit Read TodoWrite Write Days │
|
|
320
311
|
│ │
|
|
321
|
-
│ Claude Code
|
|
322
|
-
│ Gemini
|
|
323
|
-
│ All Providers 1,280 13,264 1,575 125 146 268 18 62 3 │
|
|
312
|
+
│ Claude Code 1.28K 13.3K 1.58K 125 146 268 18 62 3 │
|
|
313
|
+
│ Gemini 0 0 0 0 0 0 0 0 1 │
|
|
324
314
|
└─────────────────────────────────────────────────────────────────────────────────────────────┘
|
|
325
315
|
┌─────────────────────────────────────────────────────────────────────────────────────────────┐
|
|
326
|
-
│ Total Lines: 16
|
|
316
|
+
│ Total Lines: 16.1K | Total Tools: 619 | Models: 3 | Memory: 41.2 MB │
|
|
327
317
|
└─────────────────────────────────────────────────────────────────────────────────────────────┘
|
|
328
|
-
|
|
318
|
+
↑/↓ scroll PgUp/PgDn page g/G top/end r refresh q quit | ★ github.com/Mai0313/VibeCodingTracker
|
|
329
319
|
```
|
|
330
320
|
|
|
331
321
|
---
|
package/README.zh-TW.md
CHANGED
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
|
|
42
42
|
選擇你偏好的檢視方式:
|
|
43
43
|
|
|
44
|
-
- **互動式儀表板**:自動更新的終端機 UI
|
|
44
|
+
- **互動式儀表板**:自動更新的終端機 UI,即時顯示最新資訊、可捲動的 model 清單(方向鍵),以及 K/M/B 精簡數字格式
|
|
45
45
|
- **靜態報表**:專業的表格格式,適合撰寫文件
|
|
46
46
|
- **腳本友好**:純文字及 JSON 輸出,方便自動化處理
|
|
47
47
|
- **完整精度**:匯出精確費用供會計使用
|
|
@@ -196,33 +196,28 @@ vct usage --json --daily
|
|
|
196
196
|
```
|
|
197
197
|
|
|
198
198
|
> [!NOTE]
|
|
199
|
-
> Model 列會依 cost 由小到大排序,所以花費最高的 model
|
|
199
|
+
> Model 列會依 cost 由小到大排序,所以花費最高的 model 會排在最後(在 `--table` 中緊鄰 `TOTAL` 列上方)。這個排序會套用到互動式儀表板、`--table` 與 `--text` 三種輸出;`--json` 也會保持相同順序。互動式儀表板也會隱藏在所選範圍內用量為 0 的 model。
|
|
200
200
|
|
|
201
201
|
### 預覽:互動式儀表板(`vct usage`)
|
|
202
202
|
|
|
203
203
|
```
|
|
204
204
|
┌─────────────────────────────────────────────────────────────────────────────────────────────┐
|
|
205
|
-
│
|
|
206
|
-
└─────────────────────────────────────────────────────────────────────────────────────────────┘
|
|
207
|
-
┌─────────────────────────────────────────────────────────────────────────────────────────────┐
|
|
208
|
-
│ Model Input Output Cache Read Cache Create Total Cost │
|
|
205
|
+
│ Model Input Output Cache Read Cache Write Total Cost (USD) │
|
|
209
206
|
│ │
|
|
210
|
-
│ gemini-3.1-pro-preview
|
|
211
|
-
│ claude-haiku-4-5-20251001
|
|
212
|
-
│ claude-opus-4-6
|
|
213
|
-
│ TOTAL 160,333 209,174 45,525,477 3,192,074 $79.33 │
|
|
207
|
+
│ gemini-3.1-pro-preview 129K 10.3K 67.4K 0 207K $0.40 │
|
|
208
|
+
│ claude-haiku-4-5-20251001 5.57K 19.8K 4.63M 620K 5.27M $1.34 │
|
|
209
|
+
│ claude-opus-4-6 25.7K 179K 40.8M 2.57M 43.6M $77.59 │
|
|
214
210
|
└─────────────────────────────────────────────────────────────────────────────────────────────┘
|
|
215
211
|
┌─────────────────────────────────────────────────────────────────────────────────────────────┐
|
|
216
|
-
│ Provider
|
|
212
|
+
│ Provider Tokens Cost Active Days │
|
|
217
213
|
│ │
|
|
218
|
-
│ Claude Code
|
|
219
|
-
│ Gemini
|
|
220
|
-
│ All Providers 49,087,057 $79.33 3 │
|
|
214
|
+
│ Claude Code 48.9M $78.93 3 │
|
|
215
|
+
│ Gemini 207K $0.40 1 │
|
|
221
216
|
└─────────────────────────────────────────────────────────────────────────────────────────────┘
|
|
222
217
|
┌─────────────────────────────────────────────────────────────────────────────────────────────┐
|
|
223
|
-
│
|
|
218
|
+
│ Total Cost: $79.33 | Total Tokens: 49.3M | Models: 3 | Memory: 42.8 MB │
|
|
224
219
|
└─────────────────────────────────────────────────────────────────────────────────────────────┘
|
|
225
|
-
|
|
220
|
+
↑/↓ scroll PgUp/PgDn page g/G top/end r refresh q quit | ★ github.com/Mai0313/VibeCodingTracker
|
|
226
221
|
```
|
|
227
222
|
|
|
228
223
|
### 掃描範圍
|
|
@@ -305,27 +300,22 @@ vct analysis --output today.json --daily
|
|
|
305
300
|
|
|
306
301
|
```
|
|
307
302
|
┌─────────────────────────────────────────────────────────────────────────────────────────────┐
|
|
308
|
-
│
|
|
309
|
-
└─────────────────────────────────────────────────────────────────────────────────────────────┘
|
|
310
|
-
┌─────────────────────────────────────────────────────────────────────────────────────────────┐
|
|
311
|
-
│ Model Edit Lines Read Lines Write Lines Bash Edit Read Write │
|
|
303
|
+
│ Model Edit Lines Read Lines Write Lines Bash Edit Read Write │
|
|
312
304
|
│ │
|
|
313
|
-
│ claude-haiku-4-5-20251001
|
|
314
|
-
│ claude-opus-4-6
|
|
315
|
-
│ gemini-3.1-pro-preview
|
|
316
|
-
│ TOTAL 1,280 13,264 1,575 125 146 268 62 │
|
|
305
|
+
│ claude-haiku-4-5-20251001 0 0 0 43 0 59 0 │
|
|
306
|
+
│ claude-opus-4-6 1.28K 13.3K 1.58K 82 146 209 62 │
|
|
307
|
+
│ gemini-3.1-pro-preview 0 0 0 0 0 0 0 │
|
|
317
308
|
└─────────────────────────────────────────────────────────────────────────────────────────────┘
|
|
318
309
|
┌─────────────────────────────────────────────────────────────────────────────────────────────┐
|
|
319
|
-
│ Provider
|
|
310
|
+
│ Provider Edit Lines Read Lines Write Lines Bash Edit Read TodoWrite Write Days │
|
|
320
311
|
│ │
|
|
321
|
-
│ Claude Code
|
|
322
|
-
│ Gemini
|
|
323
|
-
│ All Providers 1,280 13,264 1,575 125 146 268 18 62 3 │
|
|
312
|
+
│ Claude Code 1.28K 13.3K 1.58K 125 146 268 18 62 3 │
|
|
313
|
+
│ Gemini 0 0 0 0 0 0 0 0 1 │
|
|
324
314
|
└─────────────────────────────────────────────────────────────────────────────────────────────┘
|
|
325
315
|
┌─────────────────────────────────────────────────────────────────────────────────────────────┐
|
|
326
|
-
│ Total Lines: 16
|
|
316
|
+
│ Total Lines: 16.1K | Total Tools: 619 | Models: 3 | Memory: 41.2 MB │
|
|
327
317
|
└─────────────────────────────────────────────────────────────────────────────────────────────┘
|
|
328
|
-
|
|
318
|
+
↑/↓ scroll PgUp/PgDn page g/G top/end r refresh q quit | ★ github.com/Mai0313/VibeCodingTracker
|
|
329
319
|
```
|
|
330
320
|
|
|
331
321
|
---
|
|
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/vct",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.15.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",
|