@mai0313/vct 0.8.0 โ†’ 0.9.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
@@ -25,17 +25,17 @@
25
25
 
26
26
  ---
27
27
 
28
- ## ๐ŸŽฏ Why Vibe Coding Tracker?
28
+ ## Why Vibe Coding Tracker?
29
29
 
30
- ### ๐Ÿ’ฐ Know Your Costs
30
+ ### Know Your Costs
31
31
 
32
32
  Stop wondering how much your AI coding sessions cost. Get **real-time cost tracking** with automatic pricing updates from [LiteLLM](https://github.com/BerriAI/litellm).
33
33
 
34
- ### ๐Ÿชถ Ultra-Lightweight
34
+ ### Ultra-Lightweight
35
35
 
36
36
  Built with Rust for minimal resource footprint. The interactive TUI dashboard typically sits at **under ~50 MB of resident memory** once the first refresh is done, even with hundreds of long-context sessions on disk โ€” no Electron, no bloated runtimes. The usage path parses each session file in a lean usage-only mode and bypasses the cache, and we tune glibc's arena count at startup to keep long-running RSS honest.
37
37
 
38
- ### ๐Ÿ“Š Beautiful Visualizations
38
+ ### Beautiful Visualizations
39
39
 
40
40
  Choose your preferred view:
41
41
 
@@ -44,41 +44,41 @@ Choose your preferred view:
44
44
  - **Script-Friendly**: Plain text and JSON for automation
45
45
  - **Full Precision**: Export exact costs for accounting
46
46
 
47
- ### ๐Ÿš€ Zero Configuration
47
+ ### Zero Configuration
48
48
 
49
49
  Automatically detects and processes logs from Claude Code, Codex, Copilot, and Gemini. No setup required โ€” just run and analyze.
50
50
 
51
- ### ๐ŸŽจ Rich Insights
51
+ ### Rich Insights
52
52
 
53
53
  - Token usage by model and date
54
54
  - Cost breakdown by cache types (read / create)
55
55
  - File operations tracking (edit, read, write lines)
56
56
  - Tool call history (Bash, Edit, Read, Write, TodoWrite)
57
- - Per-provider daily averages
57
+ - Per-provider totals
58
58
 
59
59
  ---
60
60
 
61
- ## โœจ Key Features
61
+ ## Key Features
62
62
 
63
- | Feature | Description |
64
- | ------------------------ | -------------------------------------------------------------------- |
65
- | ๐Ÿค– **Multi-Provider** | Claude Code, Codex, Copilot, and Gemini โ€” all in one place |
66
- | ๐Ÿ’ต **Smart Pricing** | Fuzzy model matching + daily cache from LiteLLM |
67
- | ๐ŸŽจ **4 Display Modes** | Interactive TUI, static table, plain text, and JSON |
68
- | ๐Ÿ“ˆ **Dual Analysis** | Token/cost stats (`usage`) + code operation stats (`analysis`) |
69
- | ๐Ÿชถ **Ultra-Lightweight** | Under ~50 MB RSS in the TUI, streaming JSONL parse โ€” built with Rust |
70
- | ๐Ÿ”„ **Live Updates** | Real-time dashboard refreshes every second |
71
- | ๐Ÿ’พ **Efficient Caching** | Smart daily cache reduces API calls |
63
+ | Feature | Description |
64
+ | --------------------- | -------------------------------------------------------------------- |
65
+ | **Multi-Provider** | Claude Code, Codex, Copilot, and Gemini โ€” all in one place |
66
+ | **Smart Pricing** | Fuzzy model matching + daily cache from LiteLLM |
67
+ | **4 Display Modes** | Interactive TUI, static table, plain text, and JSON |
68
+ | **Dual Analysis** | Token/cost stats (`usage`) + code operation stats (`analysis`) |
69
+ | **Ultra-Lightweight** | Under ~50 MB RSS in the TUI, streaming JSONL parse โ€” built with Rust |
70
+ | **Live Updates** | Real-time dashboard refreshes every second |
71
+ | **Efficient Caching** | Smart daily cache reduces API calls |
72
72
 
73
73
  ---
74
74
 
75
- ## ๐Ÿš€ Quick Start
75
+ ## Quick Start
76
76
 
77
77
  ### Installation
78
78
 
79
79
  Choose the installation method that works best for you:
80
80
 
81
- > ๐Ÿ‘จโ€๐Ÿ’ป **Developers**: If you want to build from source or contribute to development, please see [CONTRIBUTING.md](CONTRIBUTING.md).
81
+ > **Developers**: If you want to build from source or contribute to development, please see [CONTRIBUTING.md](CONTRIBUTING.md).
82
82
 
83
83
  #### Method 1: Install from npm
84
84
 
@@ -130,9 +130,9 @@ vct analysis
130
130
 
131
131
  ---
132
132
 
133
- ## ๐Ÿ“– Command Guide
133
+ ## Command Guide
134
134
 
135
- ### ๐Ÿ” Quick Reference
135
+ ### Quick Reference
136
136
 
137
137
  ```
138
138
  vct <COMMAND> [OPTIONS]
@@ -157,7 +157,7 @@ Time range flags (shared by `usage` and `analysis`, mutually exclusive, default
157
157
 
158
158
  ---
159
159
 
160
- ## ๐Ÿ’ฐ Usage Command
160
+ ## Usage Command
161
161
 
162
162
  **Track your spending across all AI coding sessions.**
163
163
 
@@ -199,7 +199,7 @@ vct usage --json --daily
199
199
 
200
200
  ```
201
201
  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
202
- โ”‚ ๐Ÿ“Š Token Usage Statistics โ”‚
202
+ โ”‚ Token Usage Statistics โ”‚
203
203
  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
204
204
  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
205
205
  โ”‚ Model Input Output Cache Read Cache Create Total Cost โ”‚
@@ -210,14 +210,14 @@ vct usage --json --daily
210
210
  โ”‚ TOTAL 160,333 209,174 45,525,477 3,192,074 $79.33 โ”‚
211
211
  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
212
212
  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
213
- โ”‚ Provider Tokens / Day Cost / Day Active Days โ”‚
213
+ โ”‚ Provider Tokens Cost Active Days โ”‚
214
214
  โ”‚ โ”‚
215
- โ”‚ ๐Ÿค– Claude Code 16,293,406 $26.31 3 โ”‚
216
- โ”‚ โœจ Gemini 206,839 $0.40 1 โ”‚
217
- โ”‚ โญ All Providers 16,362,353 $26.44 3 โ”‚
215
+ โ”‚ ๐Ÿค– Claude Code 48,880,218 $78.93 3 โ”‚
216
+ โ”‚ โœจ Gemini 206,839 $0.40 1 โ”‚
217
+ โ”‚ โญ All Providers 49,087,057 $79.33 3 โ”‚
218
218
  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
219
219
  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
220
- โ”‚ ๐Ÿ’ฐ Total: $79.33 | ๐Ÿ”ข Tokens: 49,087,058 | ๐Ÿ“Š Models: 3 | ๐Ÿง  Memory: 42.8 MB โ”‚
220
+ โ”‚ Total Cost: $79.33 | Total Tokens: 49,087,058 | Models: 3 | Memory: 42.8 MB โ”‚
221
221
  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
222
222
  Press 'q', 'Esc', 'Ctrl+C' to quit | Press 'r' to refresh
223
223
  ```
@@ -233,20 +233,21 @@ The tool automatically scans these directories:
233
233
 
234
234
  ---
235
235
 
236
- ## ๐Ÿ“Š Analysis Command
236
+ ## Analysis Command
237
237
 
238
238
  **Deep dive into code operations โ€” see exactly what your AI assistant did.**
239
239
 
240
240
  ### Flags
241
241
 
242
- | Flag | Purpose |
243
- | ---------------------------------------------- | ------------------------------------------------------------------ |
244
- | *(none)* | Interactive TUI dashboard over all sessions |
245
- | `--path <FILE>` | Analyze a single JSONL/JSON conversation file (prints JSON) |
246
- | `--table` | Static table with per-provider daily averages |
247
- | `--output <FILE>` | Save results as pretty-printed JSON |
248
- | `--by-provider` | Group rows by provider (claude / codex / copilot / gemini) as JSON |
249
- | `--daily` / `--weekly` / `--monthly` / `--all` | Time range filter (see table above) |
242
+ | Flag | Purpose |
243
+ | ---------------------------------------------- | ----------------------------------------------------------- |
244
+ | *(none)* | Interactive TUI dashboard over all sessions |
245
+ | `--path <FILE>` | Analyze a single JSONL/JSON conversation file (prints JSON) |
246
+ | `--table` | Static table with per-provider totals |
247
+ | `--text` | Plain text, script-friendly |
248
+ | `--json` | JSON array of aggregated rows printed to stdout |
249
+ | `--output <FILE>` | Save results as pretty-printed JSON |
250
+ | `--daily` / `--weekly` / `--monthly` / `--all` | Time range filter (see table above) |
250
251
 
251
252
  See [`examples/`](examples/) for sample inputs and matching JSON outputs for all four providers.
252
253
 
@@ -256,32 +257,33 @@ See [`examples/`](examples/) for sample inputs and matching JSON outputs for all
256
257
  # Interactive dashboard for all sessions (default)
257
258
  vct analysis
258
259
 
259
- # Static table output with daily averages
260
+ # Static table output with per-provider totals
260
261
  vct analysis --table
261
262
 
263
+ # Plain text for scripts
264
+ vct analysis --text
265
+
266
+ # JSON of aggregated rows for data processing
267
+ vct analysis --json
268
+
262
269
  # Analyze a single conversation file โ†’ stdout JSON
263
270
  vct analysis --path ~/.claude/projects/session.jsonl
264
271
 
265
272
  # Save results to JSON
266
273
  vct analysis --output report.json
267
274
 
268
- # Group results by provider
269
- vct analysis --by-provider
270
-
271
- # Save grouped results
272
- vct analysis --by-provider --output grouped_report.json
273
-
274
275
  # Combine time range with output format
275
276
  vct analysis --weekly
276
277
  vct analysis --table --monthly
277
- vct analysis --by-provider --daily --output today.json
278
+ vct analysis --json --daily
279
+ vct analysis --output today.json --daily
278
280
  ```
279
281
 
280
282
  ### Preview: Interactive Dashboard (`vct analysis`)
281
283
 
282
284
  ```
283
285
  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
284
- โ”‚ ๐Ÿ” Analysis Statistics โ”‚
286
+ โ”‚ Analysis Statistics โ”‚
285
287
  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
286
288
  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
287
289
  โ”‚ Model Edit Lines Read Lines Write Lines Bash Edit Read Write โ”‚
@@ -292,21 +294,21 @@ vct analysis --by-provider --daily --output today.json
292
294
  โ”‚ TOTAL 1,280 13,264 1,575 125 146 268 62 โ”‚
293
295
  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
294
296
  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
295
- โ”‚ Provider EditL/Day ReadL/Day WriteL/Day Bash/Day Edit/Day Read/Day Write/Day Days โ”‚
297
+ โ”‚ Provider Edit Lines Read Lines Write Lines Bash Edit Read TodoWrite Write Days โ”‚
296
298
  โ”‚ โ”‚
297
- โ”‚ ๐Ÿค– Claude Code 426.7 4421.3 525.0 41.7 48.7 89.3 20.7 3 โ”‚
298
- โ”‚ โœจ Gemini 0 0 0 0.0 0.0 0.0 0.0 1 โ”‚
299
- โ”‚ โญ All Providers 426.7 4421.3 525.0 41.7 48.7 89.3 20.7 3 โ”‚
299
+ โ”‚ ๐Ÿค– Claude Code 1,280 13,264 1,575 125 146 268 18 62 3 โ”‚
300
+ โ”‚ โœจ Gemini 0 0 0 0 0 0 0 0 1 โ”‚
301
+ โ”‚ โญ All Providers 1,280 13,264 1,575 125 146 268 18 62 3 โ”‚
300
302
  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
301
303
  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
302
- โ”‚ ๐Ÿ“ Lines: 16,119 | ๐Ÿ”ง Tools: 601 | ๐Ÿ“Š Models: 3 | ๐Ÿง  Memory: 41.2 MB โ”‚
304
+ โ”‚ Total Lines: 16,119 | Total Tools: 619 | Models: 3 | Memory: 41.2 MB โ”‚
303
305
  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
304
306
  Press 'q', 'Esc', 'Ctrl+C' to quit | Press 'r' to refresh
305
307
  ```
306
308
 
307
309
  ---
308
310
 
309
- ## ๐Ÿ”„ Update Command
311
+ ## Update Command
310
312
 
311
313
  **Keep your installation up-to-date automatically.**
312
314
 
@@ -328,14 +330,14 @@ vct update --force
328
330
  ### Preview (`vct update --check`)
329
331
 
330
332
  ```
331
- ๐Ÿ“‹ Current version: v0.5.10
332
- ๐Ÿ” Checking for latest release...
333
- โœ… Latest version: v0.5.10 โ€” you are up to date!
333
+ Current version: v0.5.10
334
+ Checking for latest release...
335
+ Latest version: v0.5.10 โ€” you are up to date!
334
336
  ```
335
337
 
336
338
  ---
337
339
 
338
- ## ๐Ÿท๏ธ Version Command
340
+ ## Version Command
339
341
 
340
342
  Report the embedded build metadata (binary version, Rust toolchain, Cargo version):
341
343
 
@@ -349,7 +351,7 @@ The binary version is produced at build time by `build.rs` from `git describe`,
349
351
 
350
352
  ---
351
353
 
352
- ## ๐Ÿ’ก Smart Pricing System
354
+ ## Smart Pricing System
353
355
 
354
356
  ### How It Works
355
357
 
@@ -362,15 +364,15 @@ The binary version is produced at build time by `build.rs` from `git describe`,
362
364
 
363
365
  **Priority Order**:
364
366
 
365
- 1. โœ… **Exact Match**: `claude-sonnet-4` โ†’ `claude-sonnet-4`
366
- 2. ๐Ÿ”„ **Normalized**: `claude-sonnet-4-20250514` โ†’ `claude-sonnet-4`
367
- 3. ๐Ÿ” **Substring**: `custom-gpt-4` โ†’ `gpt-4`
368
- 4. ๐ŸŽฏ **Fuzzy (AI-powered)**: Uses Jaro-Winkler similarity (70% threshold)
369
- 5. ๐Ÿ’ต **Fallback**: Shows $0.00 if no match found
367
+ 1. **Exact Match**: `claude-sonnet-4` โ†’ `claude-sonnet-4`
368
+ 2. **Normalized**: `claude-sonnet-4-20250514` โ†’ `claude-sonnet-4`
369
+ 3. **Substring**: `custom-gpt-4` โ†’ `gpt-4`
370
+ 4. **Fuzzy (AI-powered)**: Uses Jaro-Winkler similarity (70% threshold)
371
+ 5. **Fallback**: Shows $0.00 if no match found
370
372
 
371
373
  ---
372
374
 
373
- ## ๐Ÿณ Docker Support
375
+ ## Docker Support
374
376
 
375
377
  ```bash
376
378
  # Build image
package/README.zh-CN.md CHANGED
@@ -25,17 +25,17 @@
25
25
 
26
26
  ---
27
27
 
28
- ## ๐ŸŽฏ ไธบไป€ไนˆ้€‰ๆ‹ฉ Vibe Coding Tracker๏ผŸ
28
+ ## ไธบไป€ไนˆ้€‰ๆ‹ฉ Vibe Coding Tracker๏ผŸ
29
29
 
30
- ### ๐Ÿ’ฐ ๆŽŒๆกไฝ ็š„ๅผ€้”€
30
+ ### ๆŽŒๆกไฝ ็š„ๅผ€้”€
31
31
 
32
32
  ไธ็”จๅ†็Œœๆต‹ AI ็ผ–็จ‹ไผš่ฏๅˆฐๅบ•่Šฑไบ†ๅคšๅฐ‘้’ฑใ€‚้€š่ฟ‡ [LiteLLM](https://github.com/BerriAI/litellm) ่‡ชๅŠจๆ›ดๆ–ฐๅฎšไปท๏ผŒ่Žทๅ–**ๅฎžๆ—ถ่ดน็”จ่ฟฝ่ธช**ใ€‚
33
33
 
34
- ### ๐Ÿชถ ่ถ…่ฝป้‡็บง
34
+ ### ่ถ…่ฝป้‡็บง
35
35
 
36
36
  ไฝฟ็”จ Rust ๆž„ๅปบ๏ผŒ่ต„ๆบๅ ็”จๆžไฝŽใ€‚ไบคไบ’ๅผ TUI ้ขๆฟ็จณๅฎšๅŽๅธธ้ฉปๅ†…ๅญ˜้€šๅธธๆŽงๅˆถๅœจ **็บฆ 50 MB ไปฅๅ†…**๏ผŒๅณไฝฟ็ฃ็›˜ไธŠๆœ‰ๆ•ฐ็™พไธช้•ฟ context session ๆ–‡ไปถไนŸไธไพ‹ๅค–โ€”โ€”ๆ— ้œ€ Electron๏ผŒๆ— ้œ€่‡ƒ่‚ฟ็š„่ฟ่กŒๆ—ถใ€‚usage ่ทฏๅพ„ไปฅ็ฒพ็ฎ€ๆจกๅผๆตๅผ่งฃๆžๆฏไธช session ๆ–‡ไปถๅนถ็ป•่ฟ‡ cache๏ผŒๅฏๅŠจๆ—ถ่ฟ˜ไผš่ฐƒๆ•ด glibc ็š„ arena ๆ•ฐ้‡๏ผŒ่ฎฉ้•ฟๆ—ถ้—ด่ฟ่กŒ็š„ RSS ไฟๆŒ่ฏšๅฎžใ€‚
37
37
 
38
- ### ๐Ÿ“Š ็ฒพ็พŽ็š„ๅฏ่ง†ๅŒ–
38
+ ### ็ฒพ็พŽ็š„ๅฏ่ง†ๅŒ–
39
39
 
40
40
  ้€‰ๆ‹ฉไฝ ๅ–œๆฌข็š„ๆŸฅ็œ‹ๆ–นๅผ๏ผš
41
41
 
@@ -44,41 +44,41 @@
44
44
  - **่„šๆœฌๅ‹ๅฅฝ**๏ผš็บฏๆ–‡ๆœฌๅ’Œ JSON ๆ ผๅผ๏ผŒๆ–นไพฟ่‡ชๅŠจๅŒ–
45
45
  - **ๅฎŒๆ•ด็ฒพๅบฆ**๏ผšๅฏผๅ‡บ็ฒพ็กฎ่ดน็”จ๏ผŒๆปก่ถณ่ดขๅŠกๆ ธ็ฎ—้œ€ๆฑ‚
46
46
 
47
- ### ๐Ÿš€ ้›ถ้…็ฝฎ
47
+ ### ้›ถ้…็ฝฎ
48
48
 
49
49
  ่‡ชๅŠจๆฃ€ๆต‹ๅนถๅค„็†ๆฅ่‡ช Claude Codeใ€Codexใ€Copilot ๅ’Œ Gemini ็š„ๆ—ฅๅฟ—ใ€‚ๆ— ้œ€ไปปไฝ•่ฎพ็ฝฎโ€”โ€”็›ดๆŽฅ่ฟ่กŒๅณๅฏๅˆ†ๆžใ€‚
50
50
 
51
- ### ๐ŸŽจ ไธฐๅฏŒ็š„ๆดžๅฏŸ
51
+ ### ไธฐๅฏŒ็š„ๆดžๅฏŸ
52
52
 
53
53
  - ๆŒ‰ๆจกๅž‹ๅ’Œๆ—ฅๆœŸ็ปŸ่ฎก token ไฝฟ็”จ้‡
54
54
  - ๆŒ‰ cache ็ฑปๅž‹๏ผˆ่ฏปๅ–/ๅˆ›ๅปบ๏ผ‰็ป†ๅˆ†่ดน็”จ
55
55
  - ๆ–‡ไปถๆ“ไฝœ่ฟฝ่ธช๏ผˆ็ผ–่พ‘ใ€่ฏปๅ–ใ€ๅ†™ๅ…ฅ่กŒๆ•ฐ๏ผ‰
56
56
  - ๅทฅๅ…ท่ฐƒ็”จๅކๅฒ๏ผˆBashใ€Editใ€Readใ€Writeใ€TodoWrite๏ผ‰
57
- - ๆŒ‰ไพ›ๅบ”ๅ•†็ปŸ่ฎกๆฏๆ—ฅๅนณๅ‡ๅ€ผ
57
+ - ๆŒ‰ไพ›ๅบ”ๅ•†็ปŸ่ฎกๆ€ป่ฎก
58
58
 
59
59
  ---
60
60
 
61
- ## โœจ ๆ ธๅฟƒ็‰นๆ€ง
61
+ ## ๆ ธๅฟƒ็‰นๆ€ง
62
62
 
63
- | ็‰นๆ€ง | ่ฏดๆ˜Ž |
64
- | ------------------- | -------------------------------------------------------- |
65
- | ๐Ÿค– **ๅคšไพ›ๅบ”ๅ•†ๆ”ฏๆŒ** | Claude Codeใ€Codexใ€Copilot ๅ’Œ Geminiโ€”โ€”ไธ€็ซ™ๅผ็ฎก็† |
66
- | ๐Ÿ’ต **ๆ™บ่ƒฝๅฎšไปท** | ๆจก็ณŠๆจกๅž‹ๅŒน้… + ไปŽ LiteLLM ๆฏๆ—ฅ็ผ“ๅญ˜ๆ›ดๆ–ฐ |
67
- | ๐ŸŽจ **4 ็งๆ˜พ็คบๆจกๅผ** | ไบคไบ’ๅผ TUIใ€้™ๆ€่กจๆ ผใ€็บฏๆ–‡ๆœฌๅ’Œ JSON |
68
- | ๐Ÿ“ˆ **ๅŒ็ปดๅบฆๅˆ†ๆž** | token/่ดน็”จ็ปŸ่ฎก๏ผˆ`usage`๏ผ‰+ ไปฃ็ ๆ“ไฝœ็ปŸ่ฎก๏ผˆ`analysis`๏ผ‰ |
69
- | ๐Ÿชถ **่ถ…่ฝป้‡็บง** | TUI ๅธธ้ฉปๅ†…ๅญ˜ 50 MB ไปฅๅ†…ใ€ๆตๅผ JSONL ่งฃๆžโ€”โ€”ๅŸบไบŽ Rust ๆž„ๅปบ |
70
- | ๐Ÿ”„ **ๅฎžๆ—ถๆ›ดๆ–ฐ** | ้ขๆฟๆฏ็ง’่‡ชๅŠจๅˆทๆ–ฐ |
71
- | ๐Ÿ’พ **้ซ˜ๆ•ˆ็ผ“ๅญ˜** | ๆ™บ่ƒฝๆฏๆ—ฅ็ผ“ๅญ˜๏ผŒๅ‡ๅฐ‘ API ่ฐƒ็”จๆฌกๆ•ฐ |
63
+ | ็‰นๆ€ง | ่ฏดๆ˜Ž |
64
+ | ---------------- | -------------------------------------------------------- |
65
+ | **ๅคšไพ›ๅบ”ๅ•†ๆ”ฏๆŒ** | Claude Codeใ€Codexใ€Copilot ๅ’Œ Geminiโ€”โ€”ไธ€็ซ™ๅผ็ฎก็† |
66
+ | **ๆ™บ่ƒฝๅฎšไปท** | ๆจก็ณŠๆจกๅž‹ๅŒน้… + ไปŽ LiteLLM ๆฏๆ—ฅ็ผ“ๅญ˜ๆ›ดๆ–ฐ |
67
+ | **4 ็งๆ˜พ็คบๆจกๅผ** | ไบคไบ’ๅผ TUIใ€้™ๆ€่กจๆ ผใ€็บฏๆ–‡ๆœฌๅ’Œ JSON |
68
+ | **ๅŒ็ปดๅบฆๅˆ†ๆž** | token/่ดน็”จ็ปŸ่ฎก๏ผˆ`usage`๏ผ‰+ ไปฃ็ ๆ“ไฝœ็ปŸ่ฎก๏ผˆ`analysis`๏ผ‰ |
69
+ | **่ถ…่ฝป้‡็บง** | TUI ๅธธ้ฉปๅ†…ๅญ˜ 50 MB ไปฅๅ†…ใ€ๆตๅผ JSONL ่งฃๆžโ€”โ€”ๅŸบไบŽ Rust ๆž„ๅปบ |
70
+ | **ๅฎžๆ—ถๆ›ดๆ–ฐ** | ้ขๆฟๆฏ็ง’่‡ชๅŠจๅˆทๆ–ฐ |
71
+ | **้ซ˜ๆ•ˆ็ผ“ๅญ˜** | ๆ™บ่ƒฝๆฏๆ—ฅ็ผ“ๅญ˜๏ผŒๅ‡ๅฐ‘ API ่ฐƒ็”จๆฌกๆ•ฐ |
72
72
 
73
73
  ---
74
74
 
75
- ## ๐Ÿš€ ๅฟซ้€Ÿๅผ€ๅง‹
75
+ ## ๅฟซ้€Ÿๅผ€ๅง‹
76
76
 
77
77
  ### ๅฎ‰่ฃ…
78
78
 
79
79
  ้€‰ๆ‹ฉๆœ€้€‚ๅˆไฝ ็š„ๅฎ‰่ฃ…ๆ–นๅผ๏ผš
80
80
 
81
- > ๐Ÿ‘จโ€๐Ÿ’ป **ๅผ€ๅ‘่€…**๏ผšๅฆ‚ๆžœไฝ ๆƒณไปŽๆบ็ ๆž„ๅปบๆˆ–ๅ‚ไธŽ้กน็›ฎๅผ€ๅ‘๏ผŒ่ฏทๅ‚้˜… [CONTRIBUTING.md](CONTRIBUTING.md)ใ€‚
81
+ > **ๅผ€ๅ‘่€…**๏ผšๅฆ‚ๆžœไฝ ๆƒณไปŽๆบ็ ๆž„ๅปบๆˆ–ๅ‚ไธŽ้กน็›ฎๅผ€ๅ‘๏ผŒ่ฏทๅ‚้˜… [CONTRIBUTING.md](CONTRIBUTING.md)ใ€‚
82
82
 
83
83
  #### ๆ–นๅผไธ€๏ผš้€š่ฟ‡ npm ๅฎ‰่ฃ…
84
84
 
@@ -130,9 +130,9 @@ vct analysis
130
130
 
131
131
  ---
132
132
 
133
- ## ๐Ÿ“– ๅ‘ฝไปคๆŒ‡ๅ—
133
+ ## ๅ‘ฝไปคๆŒ‡ๅ—
134
134
 
135
- ### ๐Ÿ” ๅฟซ้€Ÿๅ‚่€ƒ
135
+ ### ๅฟซ้€Ÿๅ‚่€ƒ
136
136
 
137
137
  ```
138
138
  vct <COMMAND> [OPTIONS]
@@ -157,7 +157,7 @@ Commands:
157
157
 
158
158
  ---
159
159
 
160
- ## ๐Ÿ’ฐ Usage ๅ‘ฝไปค
160
+ ## Usage ๅ‘ฝไปค
161
161
 
162
162
  **่ฟฝ่ธชไฝ ๅœจๆ‰€ๆœ‰ AI ็ผ–็จ‹ไผš่ฏไธญ็š„ๅผ€้”€ใ€‚**
163
163
 
@@ -199,7 +199,7 @@ vct usage --json --daily
199
199
 
200
200
  ```
201
201
  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
202
- โ”‚ ๐Ÿ“Š Token Usage Statistics โ”‚
202
+ โ”‚ Token Usage Statistics โ”‚
203
203
  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
204
204
  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
205
205
  โ”‚ Model Input Output Cache Read Cache Create Total Cost โ”‚
@@ -210,14 +210,14 @@ vct usage --json --daily
210
210
  โ”‚ TOTAL 160,333 209,174 45,525,477 3,192,074 $79.33 โ”‚
211
211
  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
212
212
  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
213
- โ”‚ Provider Tokens / Day Cost / Day Active Days โ”‚
213
+ โ”‚ Provider Tokens Cost Active Days โ”‚
214
214
  โ”‚ โ”‚
215
- โ”‚ ๐Ÿค– Claude Code 16,293,406 $26.31 3 โ”‚
216
- โ”‚ โœจ Gemini 206,839 $0.40 1 โ”‚
217
- โ”‚ โญ All Providers 16,362,353 $26.44 3 โ”‚
215
+ โ”‚ ๐Ÿค– Claude Code 48,880,218 $78.93 3 โ”‚
216
+ โ”‚ โœจ Gemini 206,839 $0.40 1 โ”‚
217
+ โ”‚ โญ All Providers 49,087,057 $79.33 3 โ”‚
218
218
  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
219
219
  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
220
- โ”‚ ๐Ÿ’ฐ Total: $79.33 | ๐Ÿ”ข Tokens: 49,087,058 | ๐Ÿ“Š Models: 3 | ๐Ÿง  Memory: 42.8 MB โ”‚
220
+ โ”‚ Total Cost: $79.33 | Total Tokens: 49,087,058 | Models: 3 | Memory: 42.8 MB โ”‚
221
221
  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
222
222
  Press 'q', 'Esc', 'Ctrl+C' to quit | Press 'r' to refresh
223
223
  ```
@@ -226,27 +226,28 @@ vct usage --json --daily
226
226
 
227
227
  ่ฏฅๅทฅๅ…ทไผš่‡ชๅŠจๆ‰ซๆไปฅไธ‹็›ฎๅฝ•๏ผš
228
228
 
229
- - `~/.claude/projects/*.jsonl`๏ผˆClaude Code๏ผ‰
230
- - `~/.codex/sessions/*.jsonl`๏ผˆCodex๏ผ‰
229
+ - `~/.claude/projects/**/*.jsonl`๏ผˆClaude Code๏ผŒ้€’ๅฝ’ๅŒ…ๅซ subagent ๆ—ฅๅฟ—๏ผ‰
230
+ - `~/.codex/sessions/**/*.jsonl`๏ผˆCodex๏ผŒ้€’ๅฝ’ๅŒ…ๅซๆฏๆ—ฅๅญ็›ฎๅฝ•๏ผ‰
231
231
  - `~/.copilot/session-state/<sessionId>/events.jsonl`๏ผˆCopilot CLI๏ผ‰
232
232
  - `~/.gemini/tmp/<project_hash>/chats/*.jsonl`๏ผˆGemini CLI๏ผ‰
233
233
 
234
234
  ---
235
235
 
236
- ## ๐Ÿ“Š Analysis ๅ‘ฝไปค
236
+ ## Analysis ๅ‘ฝไปค
237
237
 
238
238
  **ๆทฑๅ…ฅไบ†่งฃไปฃ็ ๆ“ไฝœโ€”โ€”ๆŸฅ็œ‹ไฝ ็š„ AI ๅŠฉๆ‰‹ๅˆฐๅบ•ๅšไบ†ไป€ไนˆใ€‚**
239
239
 
240
240
  ### Flag ไธ€่งˆ
241
241
 
242
- | Flag | ็”จ้€” |
243
- | ---------------------------------------------- | --------------------------------------------------------------- |
244
- | *(ไธๅธฆๅ‚ๆ•ฐ)* | ไบ’ๅŠจๅผ TUI ้ขๆฟ๏ผŒ่ฆ†็›–ๆ‰€ๆœ‰ session |
245
- | `--path <FILE>` | ๅˆ†ๆžๅ•ไธ€ JSONL/JSON ๅฏน่ฏๆ–‡ไปถ๏ผˆstdout ่พ“ๅ‡บ JSON๏ผ‰ |
246
- | `--table` | ้™ๆ€่กจๆ ผ๏ผŒ้™„ๅธฆๆฏๆ—ฅๅนณๅ‡ๅ€ผ |
247
- | `--output <FILE>` | ๅฐ†็ป“ๆžœไปฅๆ ผๅผๅŒ– JSON ไฟๅญ˜ๅˆฐๆ–‡ไปถ |
248
- | `--by-provider` | ๆŒ‰ provider๏ผˆclaude / codex / copilot / gemini๏ผ‰ๅˆ†็ป„ๅนถ่พ“ๅ‡บ JSON |
249
- | `--daily` / `--weekly` / `--monthly` / `--all` | ๆ—ถ้—ด่Œƒๅ›ด็ญ›้€‰๏ผˆ่งไธŠๆ–น่กจๆ ผ๏ผ‰ |
242
+ | Flag | ็”จ้€” |
243
+ | ---------------------------------------------- | ------------------------------------------------ |
244
+ | *(ไธๅธฆๅ‚ๆ•ฐ)* | ไบ’ๅŠจๅผ TUI ้ขๆฟ๏ผŒ่ฆ†็›–ๆ‰€ๆœ‰ session |
245
+ | `--path <FILE>` | ๅˆ†ๆžๅ•ไธ€ JSONL/JSON ๅฏน่ฏๆ–‡ไปถ๏ผˆstdout ่พ“ๅ‡บ JSON๏ผ‰ |
246
+ | `--table` | ้™ๆ€่กจๆ ผ๏ผŒ้™„ๅธฆๆŒ‰ไพ›ๅบ”ๅ•†็š„ๆ€ป่ฎก |
247
+ | `--text` | ็บฏๆ–‡ๆœฌ๏ผŒๆ–นไพฟ่„šๆœฌๅค„็† |
248
+ | `--json` | ๅฐ†่šๅˆ row ไปฅ JSON ๆ•ฐ็ป„่พ“ๅ‡บๅˆฐ stdout |
249
+ | `--output <FILE>` | ๅฐ†็ป“ๆžœไปฅๆ ผๅผๅŒ– JSON ไฟๅญ˜ๅˆฐๆ–‡ไปถ |
250
+ | `--daily` / `--weekly` / `--monthly` / `--all` | ๆ—ถ้—ด่Œƒๅ›ด็ญ›้€‰๏ผˆ่งไธŠๆ–น่กจๆ ผ๏ผ‰ |
250
251
 
251
252
  ๅ‚่ง [`examples/`](examples/) ็›ฎๅฝ•๏ผŒๅ…ถไธญๅŒ…ๅซๅ››็ง provider ็š„็คบไพ‹่พ“ๅ…ฅไธŽๅฏนๅบ” JSON ่พ“ๅ‡บใ€‚
252
253
 
@@ -256,32 +257,33 @@ vct usage --json --daily
256
257
  # Interactive dashboard for all sessions (default)
257
258
  vct analysis
258
259
 
259
- # Static table output with daily averages
260
+ # Static table output with per-provider totals
260
261
  vct analysis --table
261
262
 
263
+ # ็บฏๆ–‡ๆœฌ่พ“ๅ‡บ๏ผŒๆ–นไพฟ่„šๆœฌๅค„็†
264
+ vct analysis --text
265
+
266
+ # ่šๅˆๆ•ฐๆฎไปฅ JSON ่พ“ๅ‡บ๏ผŒๆ–นไพฟๅŽ็ปญๅค„็†
267
+ vct analysis --json
268
+
262
269
  # ๅˆ†ๆžๅ•ไธ€ๅฏน่ฏๆ–‡ไปถ โ†’ stdout JSON
263
270
  vct analysis --path ~/.claude/projects/session.jsonl
264
271
 
265
272
  # Save results to JSON
266
273
  vct analysis --output report.json
267
274
 
268
- # Group results by provider
269
- vct analysis --by-provider
270
-
271
- # Save grouped results
272
- vct analysis --by-provider --output grouped_report.json
273
-
274
275
  # ๆ—ถ้—ด่Œƒๅ›ดไธŽ่พ“ๅ‡บๆ ผๅผๅฏ่‡ช็”ฑ็ป„ๅˆ
275
276
  vct analysis --weekly
276
277
  vct analysis --table --monthly
277
- vct analysis --by-provider --daily --output today.json
278
+ vct analysis --json --daily
279
+ vct analysis --output today.json --daily
278
280
  ```
279
281
 
280
282
  ### ้ข„่งˆ๏ผšไบคไบ’ๅผ้ขๆฟ๏ผˆ`vct analysis`๏ผ‰
281
283
 
282
284
  ```
283
285
  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
284
- โ”‚ ๐Ÿ” Analysis Statistics โ”‚
286
+ โ”‚ Analysis Statistics โ”‚
285
287
  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
286
288
  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
287
289
  โ”‚ Model Edit Lines Read Lines Write Lines Bash Edit Read Write โ”‚
@@ -292,21 +294,21 @@ vct analysis --by-provider --daily --output today.json
292
294
  โ”‚ TOTAL 1,280 13,264 1,575 125 146 268 62 โ”‚
293
295
  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
294
296
  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
295
- โ”‚ Provider EditL/Day ReadL/Day WriteL/Day Bash/Day Edit/Day Read/Day Write/Day Days โ”‚
297
+ โ”‚ Provider Edit Lines Read Lines Write Lines Bash Edit Read TodoWrite Write Days โ”‚
296
298
  โ”‚ โ”‚
297
- โ”‚ ๐Ÿค– Claude Code 426.7 4421.3 525.0 41.7 48.7 89.3 20.7 3 โ”‚
298
- โ”‚ โœจ Gemini 0 0 0 0.0 0.0 0.0 0.0 1 โ”‚
299
- โ”‚ โญ All Providers 426.7 4421.3 525.0 41.7 48.7 89.3 20.7 3 โ”‚
299
+ โ”‚ ๐Ÿค– Claude Code 1,280 13,264 1,575 125 146 268 18 62 3 โ”‚
300
+ โ”‚ โœจ Gemini 0 0 0 0 0 0 0 0 1 โ”‚
301
+ โ”‚ โญ All Providers 1,280 13,264 1,575 125 146 268 18 62 3 โ”‚
300
302
  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
301
303
  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
302
- โ”‚ ๐Ÿ“ Lines: 16,119 | ๐Ÿ”ง Tools: 601 | ๐Ÿ“Š Models: 3 | ๐Ÿง  Memory: 41.2 MB โ”‚
304
+ โ”‚ Total Lines: 16,119 | Total Tools: 619 | Models: 3 | Memory: 41.2 MB โ”‚
303
305
  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
304
306
  Press 'q', 'Esc', 'Ctrl+C' to quit | Press 'r' to refresh
305
307
  ```
306
308
 
307
309
  ---
308
310
 
309
- ## ๐Ÿ”„ Update ๅ‘ฝไปค
311
+ ## Update ๅ‘ฝไปค
310
312
 
311
313
  **่‡ชๅŠจไฟๆŒๅฎ‰่ฃ…็‰ˆๆœฌไธบๆœ€ๆ–ฐใ€‚**
312
314
 
@@ -328,14 +330,14 @@ vct update --force
328
330
  ### ้ข„่งˆ๏ผˆ`vct update --check`๏ผ‰
329
331
 
330
332
  ```
331
- ๐Ÿ“‹ Current version: v0.5.10
332
- ๐Ÿ” Checking for latest release...
333
- โœ… Latest version: v0.5.10 โ€” you are up to date!
333
+ Current version: v0.5.10
334
+ Checking for latest release...
335
+ Latest version: v0.5.10 โ€” you are up to date!
334
336
  ```
335
337
 
336
338
  ---
337
339
 
338
- ## ๐Ÿท๏ธ Version ๅ‘ฝไปค
340
+ ## Version ๅ‘ฝไปค
339
341
 
340
342
  ๆŸฅ็œ‹ๅ†…็ฝฎ็š„ๆž„ๅปบไฟกๆฏ๏ผˆbinary versionใ€Rust toolchainใ€Cargo version๏ผ‰๏ผš
341
343
 
@@ -349,7 +351,7 @@ Binary version ็”ฑ `build.rs` ๅœจ็ผ–่ฏ‘ๆœŸ้€š่ฟ‡ `git describe` ๅ†™ๅ…ฅ๏ผŒๅผ€ๅ‘
349
351
 
350
352
  ---
351
353
 
352
- ## ๐Ÿ’ก ๆ™บ่ƒฝๅฎšไปท็ณป็ปŸ
354
+ ## ๆ™บ่ƒฝๅฎšไปท็ณป็ปŸ
353
355
 
354
356
  ### ๅทฅไฝœๅŽŸ็†
355
357
 
@@ -362,15 +364,15 @@ Binary version ็”ฑ `build.rs` ๅœจ็ผ–่ฏ‘ๆœŸ้€š่ฟ‡ `git describe` ๅ†™ๅ…ฅ๏ผŒๅผ€ๅ‘
362
364
 
363
365
  **ไผ˜ๅ…ˆ็บง้กบๅบ**๏ผš
364
366
 
365
- 1. โœ… **็ฒพ็กฎๅŒน้…**๏ผš`claude-sonnet-4` โ†’ `claude-sonnet-4`
366
- 2. ๐Ÿ”„ **ๆ ‡ๅ‡†ๅŒ–ๅŒน้…**๏ผš`claude-sonnet-4-20250514` โ†’ `claude-sonnet-4`
367
- 3. ๐Ÿ” **ๅญไธฒๅŒน้…**๏ผš`custom-gpt-4` โ†’ `gpt-4`
368
- 4. ๐ŸŽฏ **ๆจก็ณŠๅŒน้…๏ผˆAI ้ฉฑๅŠจ๏ผ‰**๏ผšไฝฟ็”จ Jaro-Winkler ็›ธไผผๅบฆ็ฎ—ๆณ•๏ผˆ70% ้˜ˆๅ€ผ๏ผ‰
369
- 5. ๐Ÿ’ต **ๅ…œๅบ•ๆ–นๆกˆ**๏ผšๅฆ‚ๆžœๆœชๆ‰พๅˆฐๅŒน้…๏ผŒๆ˜พ็คบ $0.00
367
+ 1. **็ฒพ็กฎๅŒน้…**๏ผš`claude-sonnet-4` โ†’ `claude-sonnet-4`
368
+ 2. **ๆ ‡ๅ‡†ๅŒ–ๅŒน้…**๏ผš`claude-sonnet-4-20250514` โ†’ `claude-sonnet-4`
369
+ 3. **ๅญไธฒๅŒน้…**๏ผš`custom-gpt-4` โ†’ `gpt-4`
370
+ 4. **ๆจก็ณŠๅŒน้…๏ผˆAI ้ฉฑๅŠจ๏ผ‰**๏ผšไฝฟ็”จ Jaro-Winkler ็›ธไผผๅบฆ็ฎ—ๆณ•๏ผˆ70% ้˜ˆๅ€ผ๏ผ‰
371
+ 5. **ๅ…œๅบ•ๆ–นๆกˆ**๏ผšๅฆ‚ๆžœๆœชๆ‰พๅˆฐๅŒน้…๏ผŒๆ˜พ็คบ $0.00
370
372
 
371
373
  ---
372
374
 
373
- ## ๐Ÿณ Docker ๆ”ฏๆŒ
375
+ ## Docker ๆ”ฏๆŒ
374
376
 
375
377
  ```bash
376
378
  # Build image
package/README.zh-TW.md CHANGED
@@ -25,17 +25,17 @@
25
25
 
26
26
  ---
27
27
 
28
- ## ๐ŸŽฏ ็‚บไป€้บผ้ธๆ“‡ Vibe Coding Tracker๏ผŸ
28
+ ## ็‚บไป€้บผ้ธๆ“‡ Vibe Coding Tracker๏ผŸ
29
29
 
30
- ### ๐Ÿ’ฐ ๆŽŒๆกไฝ ็š„่Šฑ่ฒป
30
+ ### ๆŽŒๆกไฝ ็š„่Šฑ่ฒป
31
31
 
32
32
  ไธ็”จๅ†็Œœๆธฌ AI ็จ‹ๅผ่จญ่จˆๅทฅไฝœ้šŽๆฎต่Šฑไบ†ๅคšๅฐ‘้Œขใ€‚้€้Ž [LiteLLM](https://github.com/BerriAI/litellm) ่‡ชๅ‹•ๆ›ดๆ–ฐๅƒนๆ ผ๏ผŒๅ–ๅพ—**ๅณๆ™‚่ฒป็”จ่ฟฝ่นค**ใ€‚
33
33
 
34
- ### ๐Ÿชถ ่ถ…่ผ•้‡
34
+ ### ่ถ…่ผ•้‡
35
35
 
36
36
  ไปฅ Rust ๆ‰“้€ ๏ผŒ่ณ‡ๆบไฝ”็”จๆฅตไฝŽใ€‚ไบ’ๅ‹•ๅผ TUI ๅ„€่กจๆฟ็ฉฉๅฎšๅพŒ้€šๅธธ็ถญๆŒๅœจ **~50 MB ไปฅๅ…ง็š„ๅธธ้ง่จ˜ๆ†ถ้ซ”**๏ผŒๅณไฝฟ็กฌ็ขŸไธŠๆœ‰ๆ•ธ็™พๅ€‹้•ท context session ไนŸไธ€ๆจฃโ€”โ€”ไธ็”จ Electron๏ผŒไธ็”จ่‡ƒ่…ซ็š„ๅŸท่กŒ็’ฐๅขƒใ€‚usage ่ทฏๅพ‘็”จ็ฒพ็ฐกๆจกๅผไธฒๆต parse ๆฏๅ€‹ session ๆช”ๆกˆไธฆ็นž้Ž cache๏ผŒๅ•Ÿๅ‹•ๆ™‚ไนŸๆœƒ่ชฟๆ•ด glibc ็š„ arena ๆ•ธ้‡๏ผŒ่ฎ“้•ทๆ™‚้–“ๅŸท่กŒ็š„ RSS ไฟๆŒ่ช ๅฏฆใ€‚
37
37
 
38
- ### ๐Ÿ“Š ็ฒพ็พŽ่ฆ–่ฆบๅŒ–
38
+ ### ็ฒพ็พŽ่ฆ–่ฆบๅŒ–
39
39
 
40
40
  ้ธๆ“‡ไฝ ๅๅฅฝ็š„ๆชข่ฆ–ๆ–นๅผ๏ผš
41
41
 
@@ -44,41 +44,41 @@
44
44
  - **่…ณๆœฌๅ‹ๅฅฝ**๏ผš็ด”ๆ–‡ๅญ—ๅŠ JSON ่ผธๅ‡บ๏ผŒๆ–นไพฟ่‡ชๅ‹•ๅŒ–่™•็†
45
45
  - **ๅฎŒๆ•ด็ฒพๅบฆ**๏ผšๅŒฏๅ‡บ็ฒพ็ขบ่ฒป็”จไพ›ๆœƒ่จˆไฝฟ็”จ
46
46
 
47
- ### ๐Ÿš€ ้›ถ่จญๅฎš
47
+ ### ้›ถ่จญๅฎš
48
48
 
49
49
  ่‡ชๅ‹•ๅตๆธฌไธฆ่™•็† Claude Codeใ€Codexใ€Copilot ๅŠ Gemini ็š„ๆ—ฅ่ชŒๆช”ใ€‚ไธ้œ€่ฆไปปไฝ•่จญๅฎšโ€”โ€”็›ดๆŽฅๅŸท่กŒๅฐฑ่ƒฝๅˆ†ๆžใ€‚
50
50
 
51
- ### ๐ŸŽจ ่ฑๅฏŒๆดžๅฏŸ
51
+ ### ่ฑๅฏŒๆดžๅฏŸ
52
52
 
53
53
  - ไพๆจกๅž‹่ˆ‡ๆ—ฅๆœŸๅˆ†้กž็š„ token ไฝฟ็”จ้‡
54
54
  - ไพ cache ้กžๅž‹๏ผˆ่ฎ€ๅ– / ๅปบ็ซ‹๏ผ‰็š„่ฒป็”จๆ˜Ž็ดฐ
55
55
  - ๆช”ๆกˆๆ“ไฝœ่ฟฝ่นค๏ผˆ็ทจ่ผฏใ€่ฎ€ๅ–ใ€ๅฏซๅ…ฅ่กŒๆ•ธ๏ผ‰
56
56
  - ๅทฅๅ…ทๅ‘ผๅซๆญทๅฒ๏ผˆBashใ€Editใ€Readใ€Writeใ€TodoWrite๏ผ‰
57
- - ๆฏๅ€‹ไพ›ๆ‡‰ๅ•†็š„ๆฏๆ—ฅๅนณๅ‡ๅ€ผ
57
+ - ๆฏๅ€‹ไพ›ๆ‡‰ๅ•†็š„็ธฝ่จˆ
58
58
 
59
59
  ---
60
60
 
61
- ## โœจ ไธป่ฆๅŠŸ่ƒฝ
61
+ ## ไธป่ฆๅŠŸ่ƒฝ
62
62
 
63
- | ๅŠŸ่ƒฝ | ่ชชๆ˜Ž |
64
- | ------------------- | --------------------------------------------------------- |
65
- | ๐Ÿค– **ๅคšไพ›ๆ‡‰ๅ•†ๆ”ฏๆด** | Claude Codeใ€Codexใ€Copilot ๅŠ Geminiโ€”โ€”ไธ€็ซ™ๆ•ดๅˆ |
66
- | ๐Ÿ’ต **ๆ™บๆ…งๅฎšๅƒน** | ๆจก็ณŠๆจกๅž‹ๆฏ”ๅฐ + ๆฏๆ—ฅๅพž LiteLLM cache ๆ›ดๆ–ฐ |
67
- | ๐ŸŽจ **4 ็จฎ้กฏ็คบๆจกๅผ** | ไบ’ๅ‹•ๅผ TUIใ€้œๆ…‹่กจๆ ผใ€็ด”ๆ–‡ๅญ—ๅŠ JSON |
68
- | ๐Ÿ“ˆ **้›™้‡ๅˆ†ๆž** | Token / ่ฒป็”จ็ตฑ่จˆ๏ผˆ`usage`๏ผ‰+ ็จ‹ๅผ็ขผๆ“ไฝœ็ตฑ่จˆ๏ผˆ`analysis`๏ผ‰ |
69
- | ๐Ÿชถ **่ถ…่ผ•้‡** | TUI ๅธธ้ง่จ˜ๆ†ถ้ซ” ~50 MB ไปฅๅ…งใ€ไธฒๆต JSONL ่งฃๆžโ€”โ€”ไปฅ Rust ๆ‰“้€  |
70
- | ๐Ÿ”„ **ๅณๆ™‚ๆ›ดๆ–ฐ** | ๅณๆ™‚ๅ„€่กจๆฟๆฏ็ง’่‡ชๅ‹•ๅˆทๆ–ฐ |
71
- | ๐Ÿ’พ **้ซ˜ๆ•ˆๅฟซๅ–** | ๆ™บๆ…งๆฏๆ—ฅ cache ๆธ›ๅฐ‘ API ๅ‘ผๅซๆฌกๆ•ธ |
63
+ | ๅŠŸ่ƒฝ | ่ชชๆ˜Ž |
64
+ | ---------------- | --------------------------------------------------------- |
65
+ | **ๅคšไพ›ๆ‡‰ๅ•†ๆ”ฏๆด** | Claude Codeใ€Codexใ€Copilot ๅŠ Geminiโ€”โ€”ไธ€็ซ™ๆ•ดๅˆ |
66
+ | **ๆ™บๆ…งๅฎšๅƒน** | ๆจก็ณŠๆจกๅž‹ๆฏ”ๅฐ + ๆฏๆ—ฅๅพž LiteLLM cache ๆ›ดๆ–ฐ |
67
+ | **4 ็จฎ้กฏ็คบๆจกๅผ** | ไบ’ๅ‹•ๅผ TUIใ€้œๆ…‹่กจๆ ผใ€็ด”ๆ–‡ๅญ—ๅŠ JSON |
68
+ | **้›™้‡ๅˆ†ๆž** | Token / ่ฒป็”จ็ตฑ่จˆ๏ผˆ`usage`๏ผ‰+ ็จ‹ๅผ็ขผๆ“ไฝœ็ตฑ่จˆ๏ผˆ`analysis`๏ผ‰ |
69
+ | **่ถ…่ผ•้‡** | TUI ๅธธ้ง่จ˜ๆ†ถ้ซ” ~50 MB ไปฅๅ…งใ€ไธฒๆต JSONL ่งฃๆžโ€”โ€”ไปฅ Rust ๆ‰“้€  |
70
+ | **ๅณๆ™‚ๆ›ดๆ–ฐ** | ๅณๆ™‚ๅ„€่กจๆฟๆฏ็ง’่‡ชๅ‹•ๅˆทๆ–ฐ |
71
+ | **้ซ˜ๆ•ˆๅฟซๅ–** | ๆ™บๆ…งๆฏๆ—ฅ cache ๆธ›ๅฐ‘ API ๅ‘ผๅซๆฌกๆ•ธ |
72
72
 
73
73
  ---
74
74
 
75
- ## ๐Ÿš€ ๅฟซ้€Ÿ้–‹ๅง‹
75
+ ## ๅฟซ้€Ÿ้–‹ๅง‹
76
76
 
77
77
  ### ๅฎ‰่ฃ
78
78
 
79
79
  ้ธๆ“‡ๆœ€้ฉๅˆไฝ ็š„ๅฎ‰่ฃๆ–นๅผ๏ผš
80
80
 
81
- > ๐Ÿ‘จโ€๐Ÿ’ป **้–‹็™ผ่€…**๏ผšๅฆ‚ๆžœไฝ ๆƒณๅพžๅŽŸๅง‹็ขผๅปบ็ฝฎๆˆ–ๅƒ่ˆ‡้–‹็™ผ๏ผŒ่ซ‹ๅƒ้–ฑ [CONTRIBUTING.md](CONTRIBUTING.md)ใ€‚
81
+ > **้–‹็™ผ่€…**๏ผšๅฆ‚ๆžœไฝ ๆƒณๅพžๅŽŸๅง‹็ขผๅปบ็ฝฎๆˆ–ๅƒ่ˆ‡้–‹็™ผ๏ผŒ่ซ‹ๅƒ้–ฑ [CONTRIBUTING.md](CONTRIBUTING.md)ใ€‚
82
82
 
83
83
  #### ๆ–นๆณ•ไธ€๏ผš้€้Ž npm ๅฎ‰่ฃ
84
84
 
@@ -130,9 +130,9 @@ vct analysis
130
130
 
131
131
  ---
132
132
 
133
- ## ๐Ÿ“– ๆŒ‡ไปคๆŒ‡ๅ—
133
+ ## ๆŒ‡ไปคๆŒ‡ๅ—
134
134
 
135
- ### ๐Ÿ” ๅฟซ้€Ÿๅƒ่€ƒ
135
+ ### ๅฟซ้€Ÿๅƒ่€ƒ
136
136
 
137
137
  ```
138
138
  vct <COMMAND> [OPTIONS]
@@ -157,7 +157,7 @@ Commands:
157
157
 
158
158
  ---
159
159
 
160
- ## ๐Ÿ’ฐ Usage ๆŒ‡ไปค
160
+ ## Usage ๆŒ‡ไปค
161
161
 
162
162
  **่ฟฝ่นคไฝ ๅœจๆ‰€ๆœ‰ AI ็จ‹ๅผ่จญ่จˆๅทฅไฝœ้šŽๆฎต็š„่Šฑ่ฒปใ€‚**
163
163
 
@@ -199,7 +199,7 @@ vct usage --json --daily
199
199
 
200
200
  ```
201
201
  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
202
- โ”‚ ๐Ÿ“Š Token Usage Statistics โ”‚
202
+ โ”‚ Token Usage Statistics โ”‚
203
203
  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
204
204
  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
205
205
  โ”‚ Model Input Output Cache Read Cache Create Total Cost โ”‚
@@ -210,14 +210,14 @@ vct usage --json --daily
210
210
  โ”‚ TOTAL 160,333 209,174 45,525,477 3,192,074 $79.33 โ”‚
211
211
  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
212
212
  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
213
- โ”‚ Provider Tokens / Day Cost / Day Active Days โ”‚
213
+ โ”‚ Provider Tokens Cost Active Days โ”‚
214
214
  โ”‚ โ”‚
215
- โ”‚ ๐Ÿค– Claude Code 16,293,406 $26.31 3 โ”‚
216
- โ”‚ โœจ Gemini 206,839 $0.40 1 โ”‚
217
- โ”‚ โญ All Providers 16,362,353 $26.44 3 โ”‚
215
+ โ”‚ ๐Ÿค– Claude Code 48,880,218 $78.93 3 โ”‚
216
+ โ”‚ โœจ Gemini 206,839 $0.40 1 โ”‚
217
+ โ”‚ โญ All Providers 49,087,057 $79.33 3 โ”‚
218
218
  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
219
219
  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
220
- โ”‚ ๐Ÿ’ฐ Total: $79.33 | ๐Ÿ”ข Tokens: 49,087,058 | ๐Ÿ“Š Models: 3 | ๐Ÿง  Memory: 42.8 MB โ”‚
220
+ โ”‚ Total Cost: $79.33 | Total Tokens: 49,087,058 | Models: 3 | Memory: 42.8 MB โ”‚
221
221
  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
222
222
  Press 'q', 'Esc', 'Ctrl+C' to quit | Press 'r' to refresh
223
223
  ```
@@ -226,27 +226,28 @@ vct usage --json --daily
226
226
 
227
227
  ๆญคๅทฅๅ…ทๆœƒ่‡ชๅ‹•ๆŽƒๆไปฅไธ‹็›ฎ้Œ„๏ผš
228
228
 
229
- - `~/.claude/projects/*.jsonl`๏ผˆClaude Code๏ผ‰
230
- - `~/.codex/sessions/*.jsonl`๏ผˆCodex๏ผ‰
229
+ - `~/.claude/projects/**/*.jsonl`๏ผˆClaude Code๏ผŒ้ž่ฟดๅŒ…ๅซ subagent ๆ—ฅ่ชŒ๏ผ‰
230
+ - `~/.codex/sessions/**/*.jsonl`๏ผˆCodex๏ผŒ้ž่ฟดๅŒ…ๅซๆฏๆ—ฅๅญ็›ฎ้Œ„๏ผ‰
231
231
  - `~/.copilot/session-state/<sessionId>/events.jsonl`๏ผˆCopilot CLI๏ผ‰
232
232
  - `~/.gemini/tmp/<project_hash>/chats/*.jsonl`๏ผˆGemini CLI๏ผ‰
233
233
 
234
234
  ---
235
235
 
236
- ## ๐Ÿ“Š Analysis ๆŒ‡ไปค
236
+ ## Analysis ๆŒ‡ไปค
237
237
 
238
238
  **ๆทฑๅ…ฅๅˆ†ๆž็จ‹ๅผ็ขผๆ“ไฝœโ€”โ€”็ฒพ็ขบๆŽŒๆกไฝ ็š„ AI ๅŠฉๆ‰‹ๅšไบ†ๅ“ชไบ›ไบ‹ใ€‚**
239
239
 
240
240
  ### Flag ไธ€่ฆฝ
241
241
 
242
- | Flag | ็”จ้€” |
243
- | ---------------------------------------------- | --------------------------------------------------------------- |
244
- | *(ไธๅธถๅƒๆ•ธ)* | ไบ’ๅ‹•ๅผ TUI ๅ„€่กจๆฟ๏ผŒๆถต่“‹ๆ‰€ๆœ‰ session |
245
- | `--path <FILE>` | ๅˆ†ๆžๅ–ฎไธ€ JSONL/JSON ๅฐ่ฉฑๆช”ๆกˆ๏ผˆstdout ่ผธๅ‡บ JSON๏ผ‰ |
246
- | `--table` | ้œๆ…‹่กจๆ ผ๏ผŒ้™„ๅธถๆฏๆ—ฅๅนณๅ‡ๅ€ผ |
247
- | `--output <FILE>` | ๅฐ‡็ตๆžœไปฅๆ ผๅผๅŒ– JSON ๅญ˜ๆˆๆช”ๆกˆ |
248
- | `--by-provider` | ไพ provider๏ผˆclaude / codex / copilot / gemini๏ผ‰ๅˆ†็ต„ไธฆ่ผธๅ‡บ JSON |
249
- | `--daily` / `--weekly` / `--monthly` / `--all` | ๆ™‚้–“็ฏ„ๅœ็ฏฉ้ธ๏ผˆ่ฆ‹ไธŠๆ–น่กจๆ ผ๏ผ‰ |
242
+ | Flag | ็”จ้€” |
243
+ | ---------------------------------------------- | ------------------------------------------------ |
244
+ | *(ไธๅธถๅƒๆ•ธ)* | ไบ’ๅ‹•ๅผ TUI ๅ„€่กจๆฟ๏ผŒๆถต่“‹ๆ‰€ๆœ‰ session |
245
+ | `--path <FILE>` | ๅˆ†ๆžๅ–ฎไธ€ JSONL/JSON ๅฐ่ฉฑๆช”ๆกˆ๏ผˆstdout ่ผธๅ‡บ JSON๏ผ‰ |
246
+ | `--table` | ้œๆ…‹่กจๆ ผ๏ผŒ้™„ๅธถไพ›ๆ‡‰ๅ•†็ธฝ่จˆ |
247
+ | `--text` | ็ด”ๆ–‡ๅญ—๏ผŒๆ–นไพฟ่…ณๆœฌ่™•็† |
248
+ | `--json` | ๅฐ‡่šๅˆ row ไปฅ JSON ้™ฃๅˆ—่ผธๅ‡บๅˆฐ stdout |
249
+ | `--output <FILE>` | ๅฐ‡็ตๆžœไปฅๆ ผๅผๅŒ– JSON ๅญ˜ๆˆๆช”ๆกˆ |
250
+ | `--daily` / `--weekly` / `--monthly` / `--all` | ๆ™‚้–“็ฏ„ๅœ็ฏฉ้ธ๏ผˆ่ฆ‹ไธŠๆ–น่กจๆ ผ๏ผ‰ |
250
251
 
251
252
  ่ซ‹ๅƒ่€ƒ [`examples/`](examples/) ็›ฎ้Œ„๏ผŒ่ฃก้ขๆœ‰ๅ››็จฎ provider ็š„็ฏ„ไพ‹่ผธๅ…ฅ่ˆ‡ๅฐๆ‡‰็š„ JSON ่ผธๅ‡บใ€‚
252
253
 
@@ -256,32 +257,33 @@ vct usage --json --daily
256
257
  # Interactive dashboard for all sessions (default)
257
258
  vct analysis
258
259
 
259
- # Static table output with daily averages
260
+ # Static table output with per-provider totals
260
261
  vct analysis --table
261
262
 
263
+ # ็ด”ๆ–‡ๅญ—่ผธๅ‡บ๏ผŒๆ–นไพฟ่…ณๆœฌ่™•็†
264
+ vct analysis --text
265
+
266
+ # ่šๅˆ่ณ‡ๆ–™ไปฅ JSON ่ผธๅ‡บ๏ผŒๆ–นไพฟๅพŒ็บŒ่™•็†
267
+ vct analysis --json
268
+
262
269
  # ๅˆ†ๆžๅ–ฎไธ€ๅฐ่ฉฑๆช”ๆกˆ โ†’ stdout JSON
263
270
  vct analysis --path ~/.claude/projects/session.jsonl
264
271
 
265
272
  # Save results to JSON
266
273
  vct analysis --output report.json
267
274
 
268
- # Group results by provider
269
- vct analysis --by-provider
270
-
271
- # Save grouped results
272
- vct analysis --by-provider --output grouped_report.json
273
-
274
275
  # ๆ™‚้–“็ฏ„ๅœ่ˆ‡่ผธๅ‡บๆ ผๅผๅฏ่‡ช็”ฑ็ต„ๅˆ
275
276
  vct analysis --weekly
276
277
  vct analysis --table --monthly
277
- vct analysis --by-provider --daily --output today.json
278
+ vct analysis --json --daily
279
+ vct analysis --output today.json --daily
278
280
  ```
279
281
 
280
282
  ### ้ ่ฆฝ๏ผšไบ’ๅ‹•ๅผๅ„€่กจๆฟ๏ผˆ`vct analysis`๏ผ‰
281
283
 
282
284
  ```
283
285
  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
284
- โ”‚ ๐Ÿ” Analysis Statistics โ”‚
286
+ โ”‚ Analysis Statistics โ”‚
285
287
  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
286
288
  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
287
289
  โ”‚ Model Edit Lines Read Lines Write Lines Bash Edit Read Write โ”‚
@@ -292,21 +294,21 @@ vct analysis --by-provider --daily --output today.json
292
294
  โ”‚ TOTAL 1,280 13,264 1,575 125 146 268 62 โ”‚
293
295
  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
294
296
  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
295
- โ”‚ Provider EditL/Day ReadL/Day WriteL/Day Bash/Day Edit/Day Read/Day Write/Day Days โ”‚
297
+ โ”‚ Provider Edit Lines Read Lines Write Lines Bash Edit Read TodoWrite Write Days โ”‚
296
298
  โ”‚ โ”‚
297
- โ”‚ ๐Ÿค– Claude Code 426.7 4421.3 525.0 41.7 48.7 89.3 20.7 3 โ”‚
298
- โ”‚ โœจ Gemini 0 0 0 0.0 0.0 0.0 0.0 1 โ”‚
299
- โ”‚ โญ All Providers 426.7 4421.3 525.0 41.7 48.7 89.3 20.7 3 โ”‚
299
+ โ”‚ ๐Ÿค– Claude Code 1,280 13,264 1,575 125 146 268 18 62 3 โ”‚
300
+ โ”‚ โœจ Gemini 0 0 0 0 0 0 0 0 1 โ”‚
301
+ โ”‚ โญ All Providers 1,280 13,264 1,575 125 146 268 18 62 3 โ”‚
300
302
  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
301
303
  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
302
- โ”‚ ๐Ÿ“ Lines: 16,119 | ๐Ÿ”ง Tools: 601 | ๐Ÿ“Š Models: 3 | ๐Ÿง  Memory: 41.2 MB โ”‚
304
+ โ”‚ Total Lines: 16,119 | Total Tools: 619 | Models: 3 | Memory: 41.2 MB โ”‚
303
305
  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
304
306
  Press 'q', 'Esc', 'Ctrl+C' to quit | Press 'r' to refresh
305
307
  ```
306
308
 
307
309
  ---
308
310
 
309
- ## ๐Ÿ”„ Update ๆŒ‡ไปค
311
+ ## Update ๆŒ‡ไปค
310
312
 
311
313
  **่‡ชๅ‹•ไฟๆŒๅฎ‰่ฃ็‚บๆœ€ๆ–ฐ็‰ˆๆœฌใ€‚**
312
314
 
@@ -328,14 +330,14 @@ vct update --force
328
330
  ### ้ ่ฆฝ๏ผˆ`vct update --check`๏ผ‰
329
331
 
330
332
  ```
331
- ๐Ÿ“‹ Current version: v0.5.10
332
- ๐Ÿ” Checking for latest release...
333
- โœ… Latest version: v0.5.10 โ€” you are up to date!
333
+ Current version: v0.5.10
334
+ Checking for latest release...
335
+ Latest version: v0.5.10 โ€” you are up to date!
334
336
  ```
335
337
 
336
338
  ---
337
339
 
338
- ## ๐Ÿท๏ธ Version ๆŒ‡ไปค
340
+ ## Version ๆŒ‡ไปค
339
341
 
340
342
  ๆชข่ฆ–ๅ…งๅปบ็š„ๅปบ็ฝฎ่ณ‡่จŠ๏ผˆbinary versionใ€Rust toolchainใ€Cargo version๏ผ‰๏ผš
341
343
 
@@ -349,7 +351,7 @@ Binary version ็”ฑ `build.rs` ๅœจ็ทจ่ญฏๆœŸ้€้Ž `git describe` ๅฏซๅ…ฅ๏ผŒ้–‹็™ผ
349
351
 
350
352
  ---
351
353
 
352
- ## ๐Ÿ’ก ๆ™บๆ…งๅฎšๅƒน็ณป็ตฑ
354
+ ## ๆ™บๆ…งๅฎšๅƒน็ณป็ตฑ
353
355
 
354
356
  ### ้‹ไฝœๆ–นๅผ
355
357
 
@@ -362,15 +364,15 @@ Binary version ็”ฑ `build.rs` ๅœจ็ทจ่ญฏๆœŸ้€้Ž `git describe` ๅฏซๅ…ฅ๏ผŒ้–‹็™ผ
362
364
 
363
365
  **ๅ„ชๅ…ˆ้ †ๅบ**๏ผš
364
366
 
365
- 1. โœ… **ๅฎŒๅ…จๆฏ”ๅฐ**๏ผš`claude-sonnet-4` โ†’ `claude-sonnet-4`
366
- 2. ๐Ÿ”„ **ๆญฃ่ฆๅŒ–ๆฏ”ๅฐ**๏ผš`claude-sonnet-4-20250514` โ†’ `claude-sonnet-4`
367
- 3. ๐Ÿ” **ๅญๅญ—ไธฒๆฏ”ๅฐ**๏ผš`custom-gpt-4` โ†’ `gpt-4`
368
- 4. ๐ŸŽฏ **ๆจก็ณŠๆฏ”ๅฐ๏ผˆAI ้ฉ…ๅ‹•๏ผ‰**๏ผšไฝฟ็”จ Jaro-Winkler ็›ธไผผๅบฆ๏ผˆ70% ้–€ๆชปๅ€ผ๏ผ‰
369
- 5. ๐Ÿ’ต **ๅ‚™ๆดๆ–นๆกˆ**๏ผš่‹ฅ็„กๆณ•้…ๅฐๅ‰‡้กฏ็คบ $0.00
367
+ 1. **ๅฎŒๅ…จๆฏ”ๅฐ**๏ผš`claude-sonnet-4` โ†’ `claude-sonnet-4`
368
+ 2. **ๆญฃ่ฆๅŒ–ๆฏ”ๅฐ**๏ผš`claude-sonnet-4-20250514` โ†’ `claude-sonnet-4`
369
+ 3. **ๅญๅญ—ไธฒๆฏ”ๅฐ**๏ผš`custom-gpt-4` โ†’ `gpt-4`
370
+ 4. **ๆจก็ณŠๆฏ”ๅฐ๏ผˆAI ้ฉ…ๅ‹•๏ผ‰**๏ผšไฝฟ็”จ Jaro-Winkler ็›ธไผผๅบฆ๏ผˆ70% ้–€ๆชปๅ€ผ๏ผ‰
371
+ 5. **ๅ‚™ๆดๆ–นๆกˆ**๏ผš่‹ฅ็„กๆณ•้…ๅฐๅ‰‡้กฏ็คบ $0.00
370
372
 
371
373
  ---
372
374
 
373
- ## ๐Ÿณ Docker ๆ”ฏๆด
375
+ ## Docker ๆ”ฏๆด
374
376
 
375
377
  ```bash
376
378
  # Build image
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mai0313/vct",
3
- "version": "0.8.0",
3
+ "version": "0.9.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",