@mai0313/vibe-coding-tracker 0.5.12 โ 0.5.13
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 +64 -5
- package/README.zh-CN.md +64 -5
- package/README.zh-TW.md +64 -5
- 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
|
@@ -146,12 +146,31 @@ Commands:
|
|
|
146
146
|
help Print this message or the help of the given subcommand(s)
|
|
147
147
|
```
|
|
148
148
|
|
|
149
|
+
Time range flags (shared by `usage` and `analysis`, mutually exclusive, default `--all`):
|
|
150
|
+
|
|
151
|
+
| Flag | Window |
|
|
152
|
+
| ----------- | --------------------------------- |
|
|
153
|
+
| `--daily` | Sessions modified today |
|
|
154
|
+
| `--weekly` | Current ISO week (Monday โ today) |
|
|
155
|
+
| `--monthly` | Current calendar month |
|
|
156
|
+
| `--all` | Every session on disk (default) |
|
|
157
|
+
|
|
149
158
|
---
|
|
150
159
|
|
|
151
160
|
## ๐ฐ Usage Command
|
|
152
161
|
|
|
153
162
|
**Track your spending across all AI coding sessions.**
|
|
154
163
|
|
|
164
|
+
### Flags
|
|
165
|
+
|
|
166
|
+
| Flag | Purpose |
|
|
167
|
+
| ---------------------------------------------- | ----------------------------------- |
|
|
168
|
+
| *(none)* | Interactive TUI dashboard (default) |
|
|
169
|
+
| `--table` | Static table, no TUI |
|
|
170
|
+
| `--text` | Plain text, script-friendly |
|
|
171
|
+
| `--json` | JSON with enriched pricing metadata |
|
|
172
|
+
| `--daily` / `--weekly` / `--monthly` / `--all` | Time range filter (see table above) |
|
|
173
|
+
|
|
155
174
|
### Basic Usage
|
|
156
175
|
|
|
157
176
|
```bash
|
|
@@ -164,10 +183,18 @@ vct usage --table
|
|
|
164
183
|
# Plain text for scripts
|
|
165
184
|
vct usage --text
|
|
166
185
|
|
|
167
|
-
# JSON for data processing
|
|
186
|
+
# JSON for data processing (includes cost_usd and matched_model fields)
|
|
168
187
|
vct usage --json
|
|
188
|
+
|
|
189
|
+
# Combine time range with output format
|
|
190
|
+
vct usage --weekly
|
|
191
|
+
vct usage --table --monthly
|
|
192
|
+
vct usage --json --daily
|
|
169
193
|
```
|
|
170
194
|
|
|
195
|
+
> [!NOTE]
|
|
196
|
+
> Model rows are sorted by cost in ascending order, so the highest-spending model sits right above the `TOTAL` row. This applies to the interactive dashboard, `--table`, and `--text` output; `--json` preserves the same order.
|
|
197
|
+
|
|
171
198
|
### Preview: Interactive Dashboard (`vct usage`)
|
|
172
199
|
|
|
173
200
|
```
|
|
@@ -177,9 +204,9 @@ vct usage --json
|
|
|
177
204
|
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
178
205
|
โ Model Input Output Cache Read Cache Create Total Cost โ
|
|
179
206
|
โ โ
|
|
207
|
+
โ gemini-3.1-pro-preview 129,115 10,339 67,385 0 $0.40 โ
|
|
180
208
|
โ claude-haiku-4-5-20251001 5,567 19,769 4,627,938 619,816 $1.34 โ
|
|
181
209
|
โ claude-opus-4-6 25,651 179,066 40,830,154 2,572,258 $77.59 โ
|
|
182
|
-
โ gemini-3.1-pro-preview 129,115 10,339 67,385 0 $0.40 โ
|
|
183
210
|
โ TOTAL 160,333 209,174 45,525,477 3,192,074 $79.33 โ
|
|
184
211
|
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
185
212
|
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
@@ -210,6 +237,19 @@ The tool automatically scans these directories:
|
|
|
210
237
|
|
|
211
238
|
**Deep dive into code operations โ see exactly what your AI assistant did.**
|
|
212
239
|
|
|
240
|
+
### Flags
|
|
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) |
|
|
250
|
+
|
|
251
|
+
See [`examples/`](examples/) for sample inputs and matching JSON outputs for all four providers.
|
|
252
|
+
|
|
213
253
|
### Basic Usage
|
|
214
254
|
|
|
215
255
|
```bash
|
|
@@ -219,17 +259,22 @@ vct analysis
|
|
|
219
259
|
# Static table output with daily averages
|
|
220
260
|
vct analysis --table
|
|
221
261
|
|
|
222
|
-
# Analyze a single conversation file
|
|
262
|
+
# Analyze a single conversation file โ stdout JSON
|
|
223
263
|
vct analysis --path ~/.claude/projects/session.jsonl
|
|
224
264
|
|
|
225
265
|
# Save results to JSON
|
|
226
266
|
vct analysis --output report.json
|
|
227
267
|
|
|
228
268
|
# Group results by provider
|
|
229
|
-
vct analysis --
|
|
269
|
+
vct analysis --by-provider
|
|
230
270
|
|
|
231
271
|
# Save grouped results
|
|
232
|
-
vct analysis --
|
|
272
|
+
vct analysis --by-provider --output grouped_report.json
|
|
273
|
+
|
|
274
|
+
# Combine time range with output format
|
|
275
|
+
vct analysis --weekly
|
|
276
|
+
vct analysis --table --monthly
|
|
277
|
+
vct analysis --by-provider --daily --output today.json
|
|
233
278
|
```
|
|
234
279
|
|
|
235
280
|
### Preview: Interactive Dashboard (`vct analysis`)
|
|
@@ -290,6 +335,20 @@ vct update --force
|
|
|
290
335
|
|
|
291
336
|
---
|
|
292
337
|
|
|
338
|
+
## ๐ท๏ธ Version Command
|
|
339
|
+
|
|
340
|
+
Report the embedded build metadata (binary version, Rust toolchain, Cargo version):
|
|
341
|
+
|
|
342
|
+
```bash
|
|
343
|
+
vct version # Pretty table
|
|
344
|
+
vct version --text # One-field-per-line, script-friendly
|
|
345
|
+
vct version --json # Machine-readable JSON
|
|
346
|
+
```
|
|
347
|
+
|
|
348
|
+
The binary version is produced at build time by `build.rs` from `git describe`, so development builds include commit count + short SHA + `dirty` suffix when applicable.
|
|
349
|
+
|
|
350
|
+
---
|
|
351
|
+
|
|
293
352
|
## ๐ก Smart Pricing System
|
|
294
353
|
|
|
295
354
|
### How It Works
|
package/README.zh-CN.md
CHANGED
|
@@ -146,12 +146,31 @@ Commands:
|
|
|
146
146
|
help Print this message or the help of the given subcommand(s)
|
|
147
147
|
```
|
|
148
148
|
|
|
149
|
+
ๆถ้ด่ๅด flag๏ผ`usage` ไธ `analysis` ๅ
ฑ็จ๏ผไบๆฅ๏ผ้ป่ฎค `--all`๏ผ๏ผ
|
|
150
|
+
|
|
151
|
+
| Flag | ่ๅด |
|
|
152
|
+
| ----------- | ---------------------------- |
|
|
153
|
+
| `--daily` | ไปๅคฉๆดๆฐ่ฟ็ session |
|
|
154
|
+
| `--weekly` | ๆฌ ISO ๅจ๏ผๅจไธ โ ไปๅคฉ๏ผ |
|
|
155
|
+
| `--monthly` | ๆฌ่ช็ถๆ |
|
|
156
|
+
| `--all` | ็ฃ็ไธๆๆ session๏ผ้ป่ฎคๅผ๏ผ |
|
|
157
|
+
|
|
149
158
|
---
|
|
150
159
|
|
|
151
160
|
## ๐ฐ Usage ๅฝไปค
|
|
152
161
|
|
|
153
162
|
**่ฟฝ่ธชไฝ ๅจๆๆ AI ็ผ็จไผ่ฏไธญ็ๅผ้ใ**
|
|
154
163
|
|
|
164
|
+
### Flag ไธ่ง
|
|
165
|
+
|
|
166
|
+
| Flag | ็จ้ |
|
|
167
|
+
| ---------------------------------------------- | -------------------------- |
|
|
168
|
+
| *(ไธๅธฆๅๆฐ)* | ไบๅจๅผ TUI ้ขๆฟ๏ผ้ป่ฎค๏ผ |
|
|
169
|
+
| `--table` | ้ๆ่กจๆ ผ๏ผไธๅฏๅจ TUI |
|
|
170
|
+
| `--text` | ็บฏๆๆฌ๏ผ้ๅ่ๆฌๅค็ |
|
|
171
|
+
| `--json` | JSON ่พๅบ๏ผ้ๅธฆๅฎไปทไฟกๆฏ |
|
|
172
|
+
| `--daily` / `--weekly` / `--monthly` / `--all` | ๆถ้ด่ๅด็ญ้๏ผ่งไธๆน่กจๆ ผ๏ผ |
|
|
173
|
+
|
|
155
174
|
### ๅบๆฌ็จๆณ
|
|
156
175
|
|
|
157
176
|
```bash
|
|
@@ -164,10 +183,18 @@ vct usage --table
|
|
|
164
183
|
# Plain text for scripts
|
|
165
184
|
vct usage --text
|
|
166
185
|
|
|
167
|
-
# JSON
|
|
186
|
+
# JSON ่พๅบ๏ผๅ
ๅซ cost_usd ไธ matched_model ๅญๆฎต
|
|
168
187
|
vct usage --json
|
|
188
|
+
|
|
189
|
+
# ๆถ้ด่ๅดไธ่พๅบๆ ผๅผๅฏ่ช็ฑ็ปๅ
|
|
190
|
+
vct usage --weekly
|
|
191
|
+
vct usage --table --monthly
|
|
192
|
+
vct usage --json --daily
|
|
169
193
|
```
|
|
170
194
|
|
|
195
|
+
> [!NOTE]
|
|
196
|
+
> Model ่กไผๆ cost ๅๅบๆๅบ๏ผๅ ๆญค่ฑ่ดนๆ้ซ็ model ไผ็ดง้ปๅจ `TOTAL` ่กไธๆนใ่ฏฅๆๅบ้็จไบไบคไบๅผ้ขๆฟใ`--table` ไธ `--text` ไธ็ง่พๅบ๏ผ`--json` ไนไผไฟๆ็ธๅ้กบๅบใ
|
|
197
|
+
|
|
171
198
|
### ้ข่ง๏ผไบคไบๅผ้ขๆฟ๏ผ`vct usage`๏ผ
|
|
172
199
|
|
|
173
200
|
```
|
|
@@ -177,9 +204,9 @@ vct usage --json
|
|
|
177
204
|
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
178
205
|
โ Model Input Output Cache Read Cache Create Total Cost โ
|
|
179
206
|
โ โ
|
|
207
|
+
โ gemini-3.1-pro-preview 129,115 10,339 67,385 0 $0.40 โ
|
|
180
208
|
โ claude-haiku-4-5-20251001 5,567 19,769 4,627,938 619,816 $1.34 โ
|
|
181
209
|
โ claude-opus-4-6 25,651 179,066 40,830,154 2,572,258 $77.59 โ
|
|
182
|
-
โ gemini-3.1-pro-preview 129,115 10,339 67,385 0 $0.40 โ
|
|
183
210
|
โ TOTAL 160,333 209,174 45,525,477 3,192,074 $79.33 โ
|
|
184
211
|
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
185
212
|
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
@@ -210,6 +237,19 @@ vct usage --json
|
|
|
210
237
|
|
|
211
238
|
**ๆทฑๅ
ฅไบ่งฃไปฃ็ ๆไฝโโๆฅ็ไฝ ็ AI ๅฉๆๅฐๅบๅไบไปไนใ**
|
|
212
239
|
|
|
240
|
+
### Flag ไธ่ง
|
|
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` | ๆถ้ด่ๅด็ญ้๏ผ่งไธๆน่กจๆ ผ๏ผ |
|
|
250
|
+
|
|
251
|
+
ๅ่ง [`examples/`](examples/) ็ฎๅฝ๏ผๅ
ถไธญๅ
ๅซๅ็ง provider ็็คบไพ่พๅ
ฅไธๅฏนๅบ JSON ่พๅบใ
|
|
252
|
+
|
|
213
253
|
### ๅบๆฌ็จๆณ
|
|
214
254
|
|
|
215
255
|
```bash
|
|
@@ -219,17 +259,22 @@ vct analysis
|
|
|
219
259
|
# Static table output with daily averages
|
|
220
260
|
vct analysis --table
|
|
221
261
|
|
|
222
|
-
#
|
|
262
|
+
# ๅๆๅไธๅฏน่ฏๆไปถ โ stdout JSON
|
|
223
263
|
vct analysis --path ~/.claude/projects/session.jsonl
|
|
224
264
|
|
|
225
265
|
# Save results to JSON
|
|
226
266
|
vct analysis --output report.json
|
|
227
267
|
|
|
228
268
|
# Group results by provider
|
|
229
|
-
vct analysis --
|
|
269
|
+
vct analysis --by-provider
|
|
230
270
|
|
|
231
271
|
# Save grouped results
|
|
232
|
-
vct analysis --
|
|
272
|
+
vct analysis --by-provider --output grouped_report.json
|
|
273
|
+
|
|
274
|
+
# ๆถ้ด่ๅดไธ่พๅบๆ ผๅผๅฏ่ช็ฑ็ปๅ
|
|
275
|
+
vct analysis --weekly
|
|
276
|
+
vct analysis --table --monthly
|
|
277
|
+
vct analysis --by-provider --daily --output today.json
|
|
233
278
|
```
|
|
234
279
|
|
|
235
280
|
### ้ข่ง๏ผไบคไบๅผ้ขๆฟ๏ผ`vct analysis`๏ผ
|
|
@@ -290,6 +335,20 @@ vct update --force
|
|
|
290
335
|
|
|
291
336
|
---
|
|
292
337
|
|
|
338
|
+
## ๐ท๏ธ Version ๅฝไปค
|
|
339
|
+
|
|
340
|
+
ๆฅ็ๅ
็ฝฎ็ๆๅปบไฟกๆฏ๏ผbinary versionใRust toolchainใCargo version๏ผ๏ผ
|
|
341
|
+
|
|
342
|
+
```bash
|
|
343
|
+
vct version # ๅฝฉ่ฒ่กจๆ ผ
|
|
344
|
+
vct version --text # ๆฏ่กไธไธชๅญๆฎต๏ผ้ๅ่ๆฌ
|
|
345
|
+
vct version --json # ๆบ่ฏป JSON
|
|
346
|
+
```
|
|
347
|
+
|
|
348
|
+
Binary version ็ฑ `build.rs` ๅจ็ผ่ฏๆ้่ฟ `git describe` ๅๅ
ฅ๏ผๅผๅ็ๆฌไผ้ๅธฆ commit ่ฎกๆฐใshort SHA ไธ `dirty` ๅ็ผใ
|
|
349
|
+
|
|
350
|
+
---
|
|
351
|
+
|
|
293
352
|
## ๐ก ๆบ่ฝๅฎไปท็ณป็ป
|
|
294
353
|
|
|
295
354
|
### ๅทฅไฝๅ็
|
package/README.zh-TW.md
CHANGED
|
@@ -146,12 +146,31 @@ Commands:
|
|
|
146
146
|
help Print this message or the help of the given subcommand(s)
|
|
147
147
|
```
|
|
148
148
|
|
|
149
|
+
ๆ้็ฏๅ flag๏ผ`usage` ่ `analysis` ๅ
ฑ็จ๏ผไบๆฅ๏ผ้ ่จญ `--all`๏ผ๏ผ
|
|
150
|
+
|
|
151
|
+
| Flag | ็ฏๅ |
|
|
152
|
+
| ----------- | -------------------------- |
|
|
153
|
+
| `--daily` | ไปๅคฉๆดๆฐ้็ session |
|
|
154
|
+
| `--weekly` | ๆฌ ISO ้ฑ๏ผ้ฑไธ โ ไปๅคฉ๏ผ |
|
|
155
|
+
| `--monthly` | ๆฌ่ช็ถๆ |
|
|
156
|
+
| `--all` | ็ฃ็ขไธๆๆ session๏ผ้ ่จญ๏ผ |
|
|
157
|
+
|
|
149
158
|
---
|
|
150
159
|
|
|
151
160
|
## ๐ฐ Usage ๆไปค
|
|
152
161
|
|
|
153
162
|
**่ฟฝ่นคไฝ ๅจๆๆ AI ็จๅผ่จญ่จๅทฅไฝ้ๆฎต็่ฑ่ฒปใ**
|
|
154
163
|
|
|
164
|
+
### Flag ไธ่ฆฝ
|
|
165
|
+
|
|
166
|
+
| Flag | ็จ้ |
|
|
167
|
+
| ---------------------------------------------- | ---------------------------- |
|
|
168
|
+
| *(ไธๅธถๅๆธ)* | ไบๅๅผ TUI ๅ่กจๆฟ๏ผ้ ่จญ๏ผ |
|
|
169
|
+
| `--table` | ้ๆ
่กจๆ ผ๏ผไธๅๅ TUI |
|
|
170
|
+
| `--text` | ็ดๆๅญ๏ผ้ฉๅ่
ณๆฌ่็ |
|
|
171
|
+
| `--json` | JSON ่ผธๅบ๏ผ้ๅธถ pricing ่ณ่จ |
|
|
172
|
+
| `--daily` / `--weekly` / `--monthly` / `--all` | ๆ้็ฏๅ็ฏฉ้ธ๏ผ่ฆไธๆน่กจๆ ผ๏ผ |
|
|
173
|
+
|
|
155
174
|
### ๅบๆฌ็จๆณ
|
|
156
175
|
|
|
157
176
|
```bash
|
|
@@ -164,10 +183,18 @@ vct usage --table
|
|
|
164
183
|
# Plain text for scripts
|
|
165
184
|
vct usage --text
|
|
166
185
|
|
|
167
|
-
# JSON
|
|
186
|
+
# JSON ่ผธๅบ๏ผๅ
ๅซ cost_usd ่ matched_model ๆฌไฝ
|
|
168
187
|
vct usage --json
|
|
188
|
+
|
|
189
|
+
# ๆ้็ฏๅ่่ผธๅบๆ ผๅผๅฏ่ช็ฑ็ตๅ
|
|
190
|
+
vct usage --weekly
|
|
191
|
+
vct usage --table --monthly
|
|
192
|
+
vct usage --json --daily
|
|
169
193
|
```
|
|
170
194
|
|
|
195
|
+
> [!NOTE]
|
|
196
|
+
> Model ๅๆไพ cost ็ฑๅฐๅฐๅคงๆๅบ๏ผๆไปฅ่ฑ่ฒปๆ้ซ็ model ๆ็ท้ฐๅจ `TOTAL` ๅไธๆนใ้ๅๆๅบๆๅฅ็จๅฐไบๅๅผๅ่กจๆฟใ`--table` ่ `--text` ไธ็จฎ่ผธๅบ๏ผ`--json` ไนๆไฟๆ็ธๅ้ ๅบใ
|
|
197
|
+
|
|
171
198
|
### ้ ่ฆฝ๏ผไบๅๅผๅ่กจๆฟ๏ผ`vct usage`๏ผ
|
|
172
199
|
|
|
173
200
|
```
|
|
@@ -177,9 +204,9 @@ vct usage --json
|
|
|
177
204
|
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
178
205
|
โ Model Input Output Cache Read Cache Create Total Cost โ
|
|
179
206
|
โ โ
|
|
207
|
+
โ gemini-3.1-pro-preview 129,115 10,339 67,385 0 $0.40 โ
|
|
180
208
|
โ claude-haiku-4-5-20251001 5,567 19,769 4,627,938 619,816 $1.34 โ
|
|
181
209
|
โ claude-opus-4-6 25,651 179,066 40,830,154 2,572,258 $77.59 โ
|
|
182
|
-
โ gemini-3.1-pro-preview 129,115 10,339 67,385 0 $0.40 โ
|
|
183
210
|
โ TOTAL 160,333 209,174 45,525,477 3,192,074 $79.33 โ
|
|
184
211
|
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
185
212
|
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
@@ -210,6 +237,19 @@ vct usage --json
|
|
|
210
237
|
|
|
211
238
|
**ๆทฑๅ
ฅๅๆ็จๅผ็ขผๆไฝโโ็ฒพ็ขบๆๆกไฝ ็ AI ๅฉๆๅไบๅชไบไบใ**
|
|
212
239
|
|
|
240
|
+
### Flag ไธ่ฆฝ
|
|
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` | ๆ้็ฏๅ็ฏฉ้ธ๏ผ่ฆไธๆน่กจๆ ผ๏ผ |
|
|
250
|
+
|
|
251
|
+
่ซๅ่ [`examples/`](examples/) ็ฎ้๏ผ่ฃก้ขๆๅ็จฎ provider ็็ฏไพ่ผธๅ
ฅ่ๅฐๆ็ JSON ่ผธๅบใ
|
|
252
|
+
|
|
213
253
|
### ๅบๆฌ็จๆณ
|
|
214
254
|
|
|
215
255
|
```bash
|
|
@@ -219,17 +259,22 @@ vct analysis
|
|
|
219
259
|
# Static table output with daily averages
|
|
220
260
|
vct analysis --table
|
|
221
261
|
|
|
222
|
-
#
|
|
262
|
+
# ๅๆๅฎไธๅฐ่ฉฑๆชๆก โ stdout JSON
|
|
223
263
|
vct analysis --path ~/.claude/projects/session.jsonl
|
|
224
264
|
|
|
225
265
|
# Save results to JSON
|
|
226
266
|
vct analysis --output report.json
|
|
227
267
|
|
|
228
268
|
# Group results by provider
|
|
229
|
-
vct analysis --
|
|
269
|
+
vct analysis --by-provider
|
|
230
270
|
|
|
231
271
|
# Save grouped results
|
|
232
|
-
vct analysis --
|
|
272
|
+
vct analysis --by-provider --output grouped_report.json
|
|
273
|
+
|
|
274
|
+
# ๆ้็ฏๅ่่ผธๅบๆ ผๅผๅฏ่ช็ฑ็ตๅ
|
|
275
|
+
vct analysis --weekly
|
|
276
|
+
vct analysis --table --monthly
|
|
277
|
+
vct analysis --by-provider --daily --output today.json
|
|
233
278
|
```
|
|
234
279
|
|
|
235
280
|
### ้ ่ฆฝ๏ผไบๅๅผๅ่กจๆฟ๏ผ`vct analysis`๏ผ
|
|
@@ -290,6 +335,20 @@ vct update --force
|
|
|
290
335
|
|
|
291
336
|
---
|
|
292
337
|
|
|
338
|
+
## ๐ท๏ธ Version ๆไปค
|
|
339
|
+
|
|
340
|
+
ๆชข่ฆๅ
งๅปบ็ๅปบ็ฝฎ่ณ่จ๏ผbinary versionใRust toolchainใCargo version๏ผ๏ผ
|
|
341
|
+
|
|
342
|
+
```bash
|
|
343
|
+
vct version # ๅฝฉ่ฒ่กจๆ ผ
|
|
344
|
+
vct version --text # ๆฏ่กไธๅๆฌไฝ๏ผ้ฉๅ่
ณๆฌ
|
|
345
|
+
vct version --json # ๆฉๅจๅฏ่ฎ็ JSON
|
|
346
|
+
```
|
|
347
|
+
|
|
348
|
+
Binary version ็ฑ `build.rs` ๅจ็ทจ่ญฏๆ้้ `git describe` ๅฏซๅ
ฅ๏ผ้็ผ็ๆฌๆ้ไธ commit ๆธใshort SHA ่ `dirty` ๅพ็ถดใ
|
|
349
|
+
|
|
350
|
+
---
|
|
351
|
+
|
|
293
352
|
## ๐ก ๆบๆ
งๅฎๅน็ณป็ตฑ
|
|
294
353
|
|
|
295
354
|
### ้ไฝๆนๅผ
|
|
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.5.
|
|
3
|
+
"version": "0.5.13",
|
|
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",
|