@mai0313/vibe-coding-tracker 0.8.0 → 0.9.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
@@ -239,14 +239,15 @@ The tool automatically scans these directories:
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 daily averages |
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
 
@@ -259,22 +260,23 @@ vct analysis
259
260
  # Static table output with daily averages
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`)
package/README.zh-CN.md CHANGED
@@ -226,8 +226,8 @@ 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
 
@@ -239,14 +239,15 @@ vct usage --json --daily
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
 
@@ -259,22 +260,23 @@ vct analysis
259
260
  # Static table output with daily averages
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`)
package/README.zh-TW.md CHANGED
@@ -226,8 +226,8 @@ 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
 
@@ -239,14 +239,15 @@ vct usage --json --daily
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
 
@@ -259,22 +260,23 @@ vct analysis
259
260
  # Static table output with daily averages
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`)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mai0313/vibe-coding-tracker",
3
- "version": "0.8.0",
3
+ "version": "0.9.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",