@mai0313/vibe-coding-tracker 0.2.16 → 0.3.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 CHANGED
@@ -166,6 +166,7 @@ curl -fsSLk https://github.com/Mai0313/VibeCodingTracker/raw/main/scripts/instal
166
166
  **Prerequisites**: `curl` and `tar` (usually pre-installed)
167
167
 
168
168
  **What it does**:
169
+
169
170
  - Detects your OS and architecture automatically
170
171
  - Downloads the latest release from GitHub
171
172
  - Extracts and installs to `/usr/local/bin` or `~/.local/bin`
@@ -173,6 +174,7 @@ curl -fsSLk https://github.com/Mai0313/VibeCodingTracker/raw/main/scripts/instal
173
174
  - Skips SSL verification for restricted networks
174
175
 
175
176
  **Supported Platforms**:
177
+
176
178
  - Linux (x64, ARM64)
177
179
  - macOS (x64, ARM64)
178
180
 
@@ -187,6 +189,7 @@ powershell -ExecutionPolicy ByPass -c "[System.Net.ServicePointManager]::ServerC
187
189
  **Prerequisites**: PowerShell 5.0 or higher (included in Windows 10+)
188
190
 
189
191
  **What it does**:
192
+
190
193
  - Detects your Windows architecture automatically (x64 or ARM64)
191
194
  - Downloads the latest release from GitHub
192
195
  - Installs to `%LOCALAPPDATA%\Programs\VibeCodingTracker`
@@ -197,6 +200,7 @@ powershell -ExecutionPolicy ByPass -c "[System.Net.ServicePointManager]::ServerC
197
200
  **Note**: You may need to restart your terminal for PATH changes to take effect.
198
201
 
199
202
  **Supported Platforms**:
203
+
200
204
  - Windows 10/11 (x64, ARM64)
201
205
 
202
206
  ### First Run
@@ -280,7 +284,7 @@ The tool scans these directories automatically:
280
284
  │ │ TOTAL │ 120,830 │ 33,570 │ 560,500 │ 105,000 │ 819,900 │ $5.30 │
281
285
  └────────────┴──────────────────────┴────────────┴────────────┴────────────┴──────────────┴────────────┴────────────┘
282
286
  ┌──────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
283
- │ 💰 Total Cost: $5.30 | 🔢 Total Tokens: 819,900 | 📅 Entries: 4 | 🧠 Memory: 12.5 MB │
287
+ │ 💰 Total Cost: $5.30 | 🔢 Total Tokens: 819,900 | 📅 Entries: 4 | ⚡ CPU: 2.3% | 🧠 Memory: 12.5 MB │
284
288
  └──────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
285
289
  ┌──────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
286
290
  │ 📈 Daily Averages │
@@ -418,6 +422,9 @@ vct analysis --path ~/.claude/projects/session.jsonl --output report.json
418
422
  # Batch: Analyze all sessions with interactive table (default)
419
423
  vct analysis
420
424
 
425
+ # Batch: Static table output with daily averages
426
+ vct analysis --table
427
+
421
428
  # Batch: Save aggregated results to JSON
422
429
  vct analysis --output batch_report.json
423
430
 
@@ -498,12 +505,53 @@ vct analysis --all --output grouped_report.json
498
505
  │ │ TOTAL │ 1,475 │ 22,905 │ 1,468 │ 141 │ 113 │ 125 │ 40 │ 9 │
499
506
  └────────────┴────────────────────┴────────────┴────────────┴────────────┴──────┴──────┴──────┴───────────┴───────┘
500
507
  ┌────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
501
- │ 📝 Total Lines: 25,848 | 🔧 Total Tools: 428 | 📅 Entries: 3 | 🧠 Memory: 8.2 MB │
508
+ │ 📝 Total Lines: 25,848 | 🔧 Total Tools: 428 | 📅 Entries: 3 | ⚡ CPU: 1.8% | 🧠 Memory: 8.2 MB │
509
+ └────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
510
+ ┌────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
511
+ │ 📈 Daily Averages (by Provider) │
512
+ │ │
513
+ │ 🤖 Claude Code: 737 Edit/Day | 10,791 Read/Day | 734 Write/Day | 3 Days │
514
+ │ 💻 Codex: 0 Edit/Day | 1,323 Read/Day | 0 Write/Day | 1 Day │
515
+ │ ⭐ All Providers: 491 Edit/Day | 7,635 Read/Day | 489 Write/Day | 3 Days │
502
516
  └────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
503
517
 
504
518
  Press 'q', 'Esc', or 'Ctrl+C' to quit
505
519
  ```
506
520
 
521
+ **Static Table Mode** (with `--table`):
522
+
523
+ ```bash
524
+ vct analysis --table
525
+ ```
526
+
527
+ ```
528
+ 🔍 Analysis Statistics
529
+
530
+ ╔════════════╦════════════════════╦════════════╦════════════╦═════════════╦══════╦═══════╦═══════╦═══════════╦═══════╗
531
+ ║ Date ║ Model ║ Edit Lines ║ Read Lines ║ Write Lines ║ Bash ║ Edit ║ Read ║ TodoWrite ║ Write ║
532
+ ╠════════════╬════════════════════╬════════════╬════════════╬═════════════╬══════╬═══════╬═══════╬═══════════╬═══════╣
533
+ ║ 2025-10-02 ║ claude-sonnet-4-5…║ 901 ║ 11,525 ║ 53 ║ 13 ║ 26 ║ 27 ║ 10 ║ 1 ║
534
+ ╠════════════╬════════════════════╬════════════╬════════════╬═════════════╬══════╬═══════╬═══════╬═══════════╬═══════╣
535
+ ║ 2025-10-03 ║ claude-sonnet-4-5…║ 574 ║ 10,057 ║ 1,415 ║ 53 ║ 87 ║ 78 ║ 30 ║ 8 ║
536
+ ╠════════════╬════════════════════╬════════════╬════════════╬═════════════╬══════╬═══════╬═══════╬═══════════╬═══════╣
537
+ ║ 2025-10-03 ║ gpt-5-codex ║ 0 ║ 1,323 ║ 0 ║ 75 ║ 0 ║ 20 ║ 0 ║ 0 ║
538
+ ╠════════════╬════════════════════╬════════════╬════════════╬═════════════╬══════╬═══════╬═══════╬═══════════╬═══════╣
539
+ ║ ║ TOTAL ║ 1,475 ║ 22,905 ║ 1,468 ║ 141 ║ 113 ║ 125 ║ 40 ║ 9 ║
540
+ ╚════════════╩════════════════════╩════════════╩════════════╩═════════════╩══════╩═══════╩═══════╩═══════════╩═══════╝
541
+
542
+ 📈 Daily Averages (by Provider)
543
+
544
+ ╔══════════════╦═══════════╦═══════════╦════════════╦══════════╦══════════╦══════════╦══════════╦═══════════╦══════╗
545
+ ║ Provider ║ EditL/Day ║ ReadL/Day ║ WriteL/Day ║ Bash/Day ║ Edit/Day ║ Read/Day ║ Todo/Day ║ Write/Day ║ Days ║
546
+ ╠══════════════╬═══════════╬═══════════╬════════════╬══════════╬══════════╬══════════╬══════════╬═══════════╬══════╣
547
+ ║ 🤖 Claude Code ║ 737.5 ║ 10,791 ║ 734 ║ 33.0 ║ 56.5 ║ 52.5 ║ 20.0 ║ 4.5 ║ 2 ║
548
+ ╠══════════════╬═══════════╬═══════════╬════════════╬══════════╬══════════╬══════════╬══════════╬═══════════╬══════╣
549
+ ║ 💻 Codex ║ 0 ║ 1,323 ║ 0 ║ 75.0 ║ 0.0 ║ 20.0 ║ 0.0 ║ 0.0 ║ 1 ║
550
+ ╠══════════════╬═══════════╬═══════════╬════════════╬══════════╬══════════╬══════════╬══════════╬═══════════╬══════╣
551
+ ║ ⭐ All Providers ║ 491.7 ║ 7,635 ║ 489.3 ║ 47.0 ║ 37.7 ║ 41.7 ║ 13.3 ║ 3.0 ║ 3 ║
552
+ ╚══════════════╩═══════════╩═══════════╩════════════╩══════════╩══════════╩══════════╩══════════╩═══════════╩══════╝
553
+ ```
554
+
507
555
  **JSON Export** (with `--output`):
508
556
 
509
557
  ```json
@@ -630,6 +678,19 @@ On Windows, the binary cannot be replaced while running. The update command:
630
678
 
631
679
  Run the batch script after closing the application to finish the update.
632
680
 
681
+ ### Automatic Update Notifications
682
+
683
+ **Stay informed of new releases automatically.**
684
+
685
+ When you start `vct`, it automatically checks for updates once every 24 hours and displays a notification if a new version is available. The notification intelligently detects your installation method and shows the appropriate update command:
686
+
687
+ - **npm**: `npm update -g @mai0313/vct`
688
+ - **pip**: `pip install --upgrade vibe_coding_tracker`
689
+ - **cargo**: `cargo install vibe_coding_tracker --force`
690
+ - **manual**: `vct update` or re-run installation script
691
+
692
+ This ensures you always use the correct update method and prevents version conflicts. The check runs silently in the background and won't disrupt your workflow if updates aren't available.
693
+
633
694
  ---
634
695
 
635
696
  ## 💡 Smart Pricing System
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mai0313/vibe-coding-tracker",
3
- "version": "0.2.16",
3
+ "version": "0.3.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",