@mai0313/vct 0.15.0 → 0.17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -151,12 +151,12 @@ Commands:
151
151
 
152
152
  Time range flags (shared by `usage` and `analysis`, mutually exclusive, default `--all`):
153
153
 
154
- | Flag | Window |
155
- | ----------- | --------------------------------- |
156
- | `--daily` | Sessions modified today |
157
- | `--weekly` | Current ISO week (Monday → today) |
158
- | `--monthly` | Current calendar month |
159
- | `--all` | Every session on disk (default) |
154
+ | Flag | Window |
155
+ | ------------- | --------------------------------- |
156
+ | `--daily` | Sessions modified today |
157
+ | `--weekly` | Current ISO week (Monday → today) |
158
+ | `--monthly` | Current calendar month |
159
+ | `-a`, `--all` | Every session on disk (default) |
160
160
 
161
161
  ---
162
162
 
@@ -172,6 +172,7 @@ Time range flags (shared by `usage` and `analysis`, mutually exclusive, default
172
172
  | `--table` | Static table, no TUI |
173
173
  | `--text` | Plain text, script-friendly |
174
174
  | `--json` | JSON with enriched pricing metadata |
175
+ | `--output <FILE>` | Save enriched JSON to a file |
175
176
  | `--daily` / `--weekly` / `--monthly` / `--all` | Time range filter (see table above) |
176
177
 
177
178
  ### Basic Usage
@@ -189,6 +190,9 @@ vct usage --text
189
190
  # JSON for data processing (includes cost_usd and matched_model fields)
190
191
  vct usage --json
191
192
 
193
+ # Save enriched JSON straight to a file
194
+ vct usage --output report.json
195
+
192
196
  # Combine time range with output format
193
197
  vct usage --weekly
194
198
  vct usage --table --monthly
package/README.zh-CN.md CHANGED
@@ -151,12 +151,12 @@ Commands:
151
151
 
152
152
  时间范围 flag(`usage` 与 `analysis` 共用,互斥,默认 `--all`):
153
153
 
154
- | Flag | 范围 |
155
- | ----------- | ---------------------------- |
156
- | `--daily` | 今天更新过的 session |
157
- | `--weekly` | 本 ISO 周(周一 → 今天) |
158
- | `--monthly` | 本自然月 |
159
- | `--all` | 磁盘上所有 session(默认值) |
154
+ | Flag | 范围 |
155
+ | ------------- | ---------------------------- |
156
+ | `--daily` | 今天更新过的 session |
157
+ | `--weekly` | 本 ISO 周(周一 → 今天) |
158
+ | `--monthly` | 本自然月 |
159
+ | `-a`, `--all` | 磁盘上所有 session(默认值) |
160
160
 
161
161
  ---
162
162
 
@@ -172,6 +172,7 @@ Commands:
172
172
  | `--table` | 静态表格,不启动 TUI |
173
173
  | `--text` | 纯文本,适合脚本处理 |
174
174
  | `--json` | JSON 输出,附带定价信息 |
175
+ | `--output <FILE>` | 将富化 JSON 保存到文件 |
175
176
  | `--daily` / `--weekly` / `--monthly` / `--all` | 时间范围筛选(见上方表格) |
176
177
 
177
178
  ### 基本用法
@@ -189,6 +190,9 @@ vct usage --text
189
190
  # JSON 输出,包含 cost_usd 与 matched_model 字段
190
191
  vct usage --json
191
192
 
193
+ # 直接把富化 JSON 保存到文件
194
+ vct usage --output report.json
195
+
192
196
  # 时间范围与输出格式可自由组合
193
197
  vct usage --weekly
194
198
  vct usage --table --monthly
package/README.zh-TW.md CHANGED
@@ -151,12 +151,12 @@ Commands:
151
151
 
152
152
  時間範圍 flag(`usage` 與 `analysis` 共用,互斥,預設 `--all`):
153
153
 
154
- | Flag | 範圍 |
155
- | ----------- | -------------------------- |
156
- | `--daily` | 今天更新過的 session |
157
- | `--weekly` | 本 ISO 週(週一 → 今天) |
158
- | `--monthly` | 本自然月 |
159
- | `--all` | 磁碟上所有 session(預設) |
154
+ | Flag | 範圍 |
155
+ | ------------- | -------------------------- |
156
+ | `--daily` | 今天更新過的 session |
157
+ | `--weekly` | 本 ISO 週(週一 → 今天) |
158
+ | `--monthly` | 本自然月 |
159
+ | `-a`, `--all` | 磁碟上所有 session(預設) |
160
160
 
161
161
  ---
162
162
 
@@ -172,6 +172,7 @@ Commands:
172
172
  | `--table` | 靜態表格,不啟動 TUI |
173
173
  | `--text` | 純文字,適合腳本處理 |
174
174
  | `--json` | JSON 輸出,附帶 pricing 資訊 |
175
+ | `--output <FILE>` | 將富化 JSON 存成檔案 |
175
176
  | `--daily` / `--weekly` / `--monthly` / `--all` | 時間範圍篩選(見上方表格) |
176
177
 
177
178
  ### 基本用法
@@ -189,6 +190,9 @@ vct usage --text
189
190
  # JSON 輸出,包含 cost_usd 與 matched_model 欄位
190
191
  vct usage --json
191
192
 
193
+ # 直接把富化 JSON 存成檔案
194
+ vct usage --output report.json
195
+
192
196
  # 時間範圍與輸出格式可自由組合
193
197
  vct usage --weekly
194
198
  vct usage --table --monthly
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mai0313/vct",
3
- "version": "0.15.0",
3
+ "version": "0.17.0",
4
4
  "description": "Vibe Coding Tracker - AI coding assistant telemetry/usage parser, aggregate JSONL events into CodeAnalysis results",
5
5
  "author": "Wei Lee <mai@mai0313.com>",
6
6
  "license": "MIT",