@mai0313/vct 2.0.0 → 2.1.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 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, scrollable model list (arrow keys), and compact K/M/B number formatting
44
+ - **Interactive Dashboard**: Auto-refreshing terminal UI with live updates, scrollable model list (arrow keys), a live per-process CPU/memory readout, 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
@@ -230,7 +230,7 @@ vct usage --table --merge-providers
230
230
  │ Gemini 207K $0.40 │
231
231
  └─────────────────────────────────────────────────────────────────────────────────────────────┘
232
232
  ┌─────────────────────────────────────────────────────────────────────────────────────────────┐
233
- │ Total Cost: $79.33 | Total Tokens: 49.3M | Models: 3 | Memory: 42.8 MB │
233
+ │ Total Cost: $79.33 | Total Tokens: 49.3M | Models: 3 | Memory: 42.8 MB | CPU: 17.9% │
234
234
  └─────────────────────────────────────────────────────────────────────────────────────────────┘
235
235
  ↑/↓ scroll m merge r refresh q quit | Star on GitHub
236
236
  ```
@@ -388,7 +388,7 @@ vct analysis --json --daily > today.json
388
388
  │ Gemini 0 0 0 0 0 0 0 0 1 │
389
389
  └─────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
390
390
  ┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
391
- │ Total Lines: 16.1K | Total Tools: 619 | Models: 3 | Memory: 41.2 MB │
391
+ │ Total Lines: 16.1K | Total Tools: 619 | Models: 3 | Memory: 41.2 MB | CPU: 17.9% │
392
392
  └─────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
393
393
  ↑/↓ scroll r refresh q quit | Star on GitHub
394
394
  ```
package/README.zh-CN.md CHANGED
@@ -41,7 +41,7 @@
41
41
 
42
42
  选择你喜欢的查看方式:
43
43
 
44
- - **交互式面板**:自动刷新的终端 UI,支持实时更新、可滚动的模型列表(方向键),以及 K/M/B 精简数字格式
44
+ - **交互式面板**:自动刷新的终端 UI,支持实时更新、可滚动的模型列表(方向键)、进程级 CPU/内存实时读数,以及 K/M/B 精简数字格式
45
45
  - **静态报表**:专业的表格,适合文档记录
46
46
  - **脚本友好**:纯文本和 JSON 格式,方便自动化
47
47
  - **完整精度**:导出精确费用,满足财务核算需求
@@ -230,7 +230,7 @@ vct usage --table --merge-providers
230
230
  │ Gemini 207K $0.40 │
231
231
  └─────────────────────────────────────────────────────────────────────────────────────────────┘
232
232
  ┌─────────────────────────────────────────────────────────────────────────────────────────────┐
233
- │ Total Cost: $79.33 | Total Tokens: 49.3M | Models: 3 | Memory: 42.8 MB │
233
+ │ Total Cost: $79.33 | Total Tokens: 49.3M | Models: 3 | Memory: 42.8 MB | CPU: 17.9% │
234
234
  └─────────────────────────────────────────────────────────────────────────────────────────────┘
235
235
  ↑/↓ scroll m merge r refresh q quit | Star on GitHub
236
236
  ```
@@ -388,7 +388,7 @@ vct analysis --json --daily > today.json
388
388
  │ Gemini 0 0 0 0 0 0 0 0 1 │
389
389
  └─────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
390
390
  ┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
391
- │ Total Lines: 16.1K | Total Tools: 619 | Models: 3 | Memory: 41.2 MB │
391
+ │ Total Lines: 16.1K | Total Tools: 619 | Models: 3 | Memory: 41.2 MB | CPU: 17.9% │
392
392
  └─────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
393
393
  ↑/↓ scroll r refresh q quit | Star on GitHub
394
394
  ```
package/README.zh-TW.md CHANGED
@@ -41,10 +41,10 @@
41
41
 
42
42
  選擇你偏好的檢視方式:
43
43
 
44
- - **互動式儀表板**:自動更新的終端機 UI,即時顯示最新資訊、可捲動的 model 清單(方向鍵),以及 K/M/B 精簡數字格式
45
- - **靜態報表**:專業的表格格式,適合撰寫文件
46
- - **腳本友好**:純文字及 JSON 輸出,方便自動化處理
47
- - **完整精度**:匯出精確費用供會計使用
44
+ - **互動式儀表板**:自動更新的終端機 UI,即時顯示最新資訊、可捲動的 model 清單(方向鍵)、process 層級的 CPU/記憶體即時讀數,以及 K/M/B 精簡數字格式
45
+ - **靜態報表**:專業的表格格式,適合撰寫文件
46
+ - **腳本友好**:純文字及 JSON 輸出,方便自動化處理
47
+ - **完整精度**:匯出精確費用供會計使用
48
48
 
49
49
  ### 零設定
50
50
 
@@ -230,7 +230,7 @@ vct usage --table --merge-providers
230
230
  │ Gemini 207K $0.40 │
231
231
  └─────────────────────────────────────────────────────────────────────────────────────────────┘
232
232
  ┌─────────────────────────────────────────────────────────────────────────────────────────────┐
233
- │ Total Cost: $79.33 | Total Tokens: 49.3M | Models: 3 | Memory: 42.8 MB │
233
+ │ Total Cost: $79.33 | Total Tokens: 49.3M | Models: 3 | Memory: 42.8 MB | CPU: 17.9% │
234
234
  └─────────────────────────────────────────────────────────────────────────────────────────────┘
235
235
  ↑/↓ scroll m merge r refresh q quit | Star on GitHub
236
236
  ```
@@ -388,7 +388,7 @@ vct analysis --json --daily > today.json
388
388
  │ Gemini 0 0 0 0 0 0 0 0 1 │
389
389
  └─────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
390
390
  ┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
391
- │ Total Lines: 16.1K | Total Tools: 619 | Models: 3 | Memory: 41.2 MB │
391
+ │ Total Lines: 16.1K | Total Tools: 619 | Models: 3 | Memory: 41.2 MB | CPU: 17.9% │
392
392
  └─────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
393
393
  ↑/↓ scroll r refresh q quit | Star on GitHub
394
394
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mai0313/vct",
3
- "version": "2.0.0",
3
+ "version": "2.1.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",