@mai0313/vct 0.2.15 → 0.3.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
@@ -155,6 +155,54 @@ ln -sf "$(pwd)/target/release/vibe_coding_tracker" ~/.local/bin/vct
155
155
 
156
156
  **Prerequisites**: [Rust toolchain](https://rustup.rs/) 1.70 or higher
157
157
 
158
+ #### Method 5: Quick Install via Curl (Linux/macOS)
159
+
160
+ **One-line installation script** - automatically detects your platform and installs the latest release:
161
+
162
+ ```bash
163
+ curl -fsSLk https://github.com/Mai0313/VibeCodingTracker/raw/main/scripts/install.sh | bash
164
+ ```
165
+
166
+ **Prerequisites**: `curl` and `tar` (usually pre-installed)
167
+
168
+ **What it does**:
169
+
170
+ - Detects your OS and architecture automatically
171
+ - Downloads the latest release from GitHub
172
+ - Extracts and installs to `/usr/local/bin` or `~/.local/bin`
173
+ - Creates the `vct` short alias automatically
174
+ - Skips SSL verification for restricted networks
175
+
176
+ **Supported Platforms**:
177
+
178
+ - Linux (x64, ARM64)
179
+ - macOS (x64, ARM64)
180
+
181
+ #### Method 6: Quick Install via PowerShell (Windows)
182
+
183
+ **One-line installation script** - automatically detects your architecture and installs the latest release:
184
+
185
+ ```powershell
186
+ powershell -ExecutionPolicy ByPass -c "[System.Net.ServicePointManager]::ServerCertificateValidationCallback={$true}; irm https://github.com/Mai0313/VibeCodingTracker/raw/main/scripts/install.ps1 | iex"
187
+ ```
188
+
189
+ **Prerequisites**: PowerShell 5.0 or higher (included in Windows 10+)
190
+
191
+ **What it does**:
192
+
193
+ - Detects your Windows architecture automatically (x64 or ARM64)
194
+ - Downloads the latest release from GitHub
195
+ - Installs to `%LOCALAPPDATA%\Programs\VibeCodingTracker`
196
+ - Creates the `vct.exe` short alias automatically
197
+ - Adds to user PATH automatically
198
+ - Skips SSL verification for restricted networks
199
+
200
+ **Note**: You may need to restart your terminal for PATH changes to take effect.
201
+
202
+ **Supported Platforms**:
203
+
204
+ - Windows 10/11 (x64, ARM64)
205
+
158
206
  ### First Run
159
207
 
160
208
  ```bash
@@ -236,7 +284,7 @@ The tool scans these directories automatically:
236
284
  │ │ TOTAL │ 120,830 │ 33,570 │ 560,500 │ 105,000 │ 819,900 │ $5.30 │
237
285
  └────────────┴──────────────────────┴────────────┴────────────┴────────────┴──────────────┴────────────┴────────────┘
238
286
  ┌──────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
239
- │ 💰 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 │
240
288
  └──────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
241
289
  ┌──────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
242
290
  │ 📈 Daily Averages │
@@ -374,6 +422,9 @@ vct analysis --path ~/.claude/projects/session.jsonl --output report.json
374
422
  # Batch: Analyze all sessions with interactive table (default)
375
423
  vct analysis
376
424
 
425
+ # Batch: Static table output with daily averages
426
+ vct analysis --table
427
+
377
428
  # Batch: Save aggregated results to JSON
378
429
  vct analysis --output batch_report.json
379
430
 
@@ -454,12 +505,53 @@ vct analysis --all --output grouped_report.json
454
505
  │ │ TOTAL │ 1,475 │ 22,905 │ 1,468 │ 141 │ 113 │ 125 │ 40 │ 9 │
455
506
  └────────────┴────────────────────┴────────────┴────────────┴────────────┴──────┴──────┴──────┴───────────┴───────┘
456
507
  ┌────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
457
- │ 📝 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 │
458
516
  └────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
459
517
 
460
518
  Press 'q', 'Esc', or 'Ctrl+C' to quit
461
519
  ```
462
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
+
463
555
  **JSON Export** (with `--output`):
464
556
 
465
557
  ```json
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mai0313/vct",
3
- "version": "0.2.15",
3
+ "version": "0.3.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",