@mai0313/vibe-coding-tracker 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 +65 -63
- package/README.zh-CN.md +67 -65
- package/README.zh-TW.md +67 -65
- 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
|
@@ -25,17 +25,17 @@
|
|
|
25
25
|
|
|
26
26
|
---
|
|
27
27
|
|
|
28
|
-
##
|
|
28
|
+
## Why Vibe Coding Tracker?
|
|
29
29
|
|
|
30
|
-
###
|
|
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
|
-
###
|
|
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
|
-
###
|
|
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
|
-
###
|
|
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
|
-
###
|
|
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
|
|
57
|
+
- Per-provider totals
|
|
58
58
|
|
|
59
59
|
---
|
|
60
60
|
|
|
61
|
-
##
|
|
61
|
+
## Key Features
|
|
62
62
|
|
|
63
|
-
| Feature
|
|
64
|
-
|
|
|
65
|
-
|
|
|
66
|
-
|
|
|
67
|
-
|
|
|
68
|
-
|
|
|
69
|
-
|
|
|
70
|
-
|
|
|
71
|
-
|
|
|
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
|
-
##
|
|
75
|
+
## Quick Start
|
|
76
76
|
|
|
77
77
|
### Installation
|
|
78
78
|
|
|
79
79
|
Choose the installation method that works best for you:
|
|
80
80
|
|
|
81
|
-
>
|
|
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
|
-
##
|
|
133
|
+
## Command Guide
|
|
134
134
|
|
|
135
|
-
###
|
|
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
|
-
##
|
|
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
|
-
โ
|
|
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
|
|
213
|
+
โ Provider Tokens Cost Active Days โ
|
|
214
214
|
โ โ
|
|
215
|
-
โ ๐ค Claude Code
|
|
216
|
-
โ โจ Gemini
|
|
217
|
-
โ โญ All Providers
|
|
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
|
-
โ
|
|
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
|
-
##
|
|
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
|
|
247
|
-
| `--
|
|
248
|
-
| `--
|
|
249
|
-
| `--
|
|
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
|
|
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 --
|
|
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
|
-
โ
|
|
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
|
|
297
|
+
โ Provider Edit Lines Read Lines Write Lines Bash Edit Read TodoWrite Write Days โ
|
|
296
298
|
โ โ
|
|
297
|
-
โ ๐ค Claude Code
|
|
298
|
-
โ โจ Gemini 0
|
|
299
|
-
โ โญ All Providers
|
|
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
|
-
โ
|
|
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
|
-
##
|
|
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
|
-
|
|
332
|
-
|
|
333
|
-
|
|
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
|
-
##
|
|
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
|
-
##
|
|
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.
|
|
366
|
-
2.
|
|
367
|
-
3.
|
|
368
|
-
4.
|
|
369
|
-
5.
|
|
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
|
-
##
|
|
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
|
-
##
|
|
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
|
-
|
|
|
66
|
-
|
|
|
67
|
-
|
|
|
68
|
-
|
|
|
69
|
-
|
|
|
70
|
-
|
|
|
71
|
-
|
|
|
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
|
-
>
|
|
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
|
-
##
|
|
160
|
+
## Usage ๅฝไปค
|
|
161
161
|
|
|
162
162
|
**่ฟฝ่ธชไฝ ๅจๆๆ AI ็ผ็จไผ่ฏไธญ็ๅผ้ใ**
|
|
163
163
|
|
|
@@ -199,7 +199,7 @@ vct usage --json --daily
|
|
|
199
199
|
|
|
200
200
|
```
|
|
201
201
|
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
202
|
-
โ
|
|
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
|
|
213
|
+
โ Provider Tokens Cost Active Days โ
|
|
214
214
|
โ โ
|
|
215
|
-
โ ๐ค Claude Code
|
|
216
|
-
โ โจ Gemini
|
|
217
|
-
โ โญ All Providers
|
|
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
|
-
โ
|
|
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
|
|
230
|
-
- `~/.codex/sessions
|
|
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
|
-
##
|
|
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
|
-
| `--
|
|
248
|
-
| `--
|
|
249
|
-
| `--
|
|
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
|
|
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 --
|
|
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
|
-
โ
|
|
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
|
|
297
|
+
โ Provider Edit Lines Read Lines Write Lines Bash Edit Read TodoWrite Write Days โ
|
|
296
298
|
โ โ
|
|
297
|
-
โ ๐ค Claude Code
|
|
298
|
-
โ โจ Gemini 0
|
|
299
|
-
โ โญ All Providers
|
|
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
|
-
โ
|
|
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
|
-
##
|
|
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
|
-
|
|
332
|
-
|
|
333
|
-
|
|
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
|
-
##
|
|
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.
|
|
366
|
-
2.
|
|
367
|
-
3.
|
|
368
|
-
4.
|
|
369
|
-
5.
|
|
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
|
-
##
|
|
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
|
-
##
|
|
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
|
-
|
|
|
66
|
-
|
|
|
67
|
-
|
|
|
68
|
-
|
|
|
69
|
-
|
|
|
70
|
-
|
|
|
71
|
-
|
|
|
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
|
-
>
|
|
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
|
-
##
|
|
160
|
+
## Usage ๆไปค
|
|
161
161
|
|
|
162
162
|
**่ฟฝ่นคไฝ ๅจๆๆ AI ็จๅผ่จญ่จๅทฅไฝ้ๆฎต็่ฑ่ฒปใ**
|
|
163
163
|
|
|
@@ -199,7 +199,7 @@ vct usage --json --daily
|
|
|
199
199
|
|
|
200
200
|
```
|
|
201
201
|
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
202
|
-
โ
|
|
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
|
|
213
|
+
โ Provider Tokens Cost Active Days โ
|
|
214
214
|
โ โ
|
|
215
|
-
โ ๐ค Claude Code
|
|
216
|
-
โ โจ Gemini
|
|
217
|
-
โ โญ All Providers
|
|
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
|
-
โ
|
|
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
|
|
230
|
-
- `~/.codex/sessions
|
|
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
|
-
##
|
|
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
|
-
| `--
|
|
248
|
-
| `--
|
|
249
|
-
| `--
|
|
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
|
|
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 --
|
|
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
|
-
โ
|
|
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
|
|
297
|
+
โ Provider Edit Lines Read Lines Write Lines Bash Edit Read TodoWrite Write Days โ
|
|
296
298
|
โ โ
|
|
297
|
-
โ ๐ค Claude Code
|
|
298
|
-
โ โจ Gemini 0
|
|
299
|
-
โ โญ All Providers
|
|
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
|
-
โ
|
|
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
|
-
##
|
|
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
|
-
|
|
332
|
-
|
|
333
|
-
|
|
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
|
-
##
|
|
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.
|
|
366
|
-
2.
|
|
367
|
-
3.
|
|
368
|
-
4.
|
|
369
|
-
5.
|
|
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
|
-
##
|
|
375
|
+
## Docker ๆฏๆด
|
|
374
376
|
|
|
375
377
|
```bash
|
|
376
378
|
# Build image
|
|
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/vibe-coding-tracker",
|
|
3
|
-
"version": "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",
|