@mai0313/vibe-coding-tracker 0.11.0 → 0.12.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
@@ -19,7 +19,7 @@
19
19
 
20
20
  </div>
21
21
 
22
- **Track your AI coding costs in real-time.** Vibe Coding Tracker is a lightweight, high-performance CLI tool built in Rust that monitors and analyzes your Claude Code, Codex, Copilot, and Gemini usage — with detailed cost breakdowns, token statistics, and code operation insights, all while keeping the memory footprint minimal.
22
+ **Track your AI coding costs in real-time.** Vibe Coding Tracker is a lightweight, high-performance CLI tool built in Rust that monitors and analyzes your Claude Code, Codex, Copilot, Gemini, and OpenCode usage — with detailed cost breakdowns, token statistics, and code operation insights, all while keeping the memory footprint minimal.
23
23
 
24
24
  [English](README.md) | [繁體中文](README.zh-TW.md) | [简体中文](README.zh-CN.md)
25
25
 
@@ -48,7 +48,7 @@ Choose your preferred view:
48
48
 
49
49
  ### Zero Configuration
50
50
 
51
- Automatically detects and processes logs from Claude Code, Codex, Copilot, and Gemini. No setup required — just run and analyze.
51
+ Automatically detects and processes logs from Claude Code, Codex, Copilot, Gemini, and OpenCode. No setup required — just run and analyze.
52
52
 
53
53
  ### Rich Insights
54
54
 
@@ -80,7 +80,7 @@ Automatically detects and processes logs from Claude Code, Codex, Copilot, and G
80
80
 
81
81
  Choose the installation method that works best for you:
82
82
 
83
- > **Developers**: If you want to build from source or contribute to development, please see [CONTRIBUTING.md](CONTRIBUTING.md).
83
+ > **Developers**: If you want to build from source or contribute to development, please see [CONTRIBUTING.md](.github/CONTRIBUTING.md).
84
84
 
85
85
  #### Method 1: Install from npm
86
86
 
@@ -232,6 +232,7 @@ The tool automatically scans these directories:
232
232
  - `~/.codex/sessions/**/*.jsonl` (Codex — recursive, includes daily subdirectories)
233
233
  - `~/.copilot/session-state/<sessionId>/events.jsonl` (Copilot CLI)
234
234
  - `~/.gemini/tmp/<project_hash>/chats/*.jsonl` (Gemini CLI)
235
+ - `~/.local/share/opencode/opencode.db` (OpenCode — SQLite database; honors `$XDG_DATA_HOME`)
235
236
 
236
237
  ---
237
238
 
@@ -386,5 +387,6 @@ docker run --rm \
386
387
  -v ~/.codex:/root/.codex \
387
388
  -v ~/.copilot:/root/.copilot \
388
389
  -v ~/.gemini:/root/.gemini \
390
+ -v ~/.local/share/opencode:/root/.local/share/opencode \
389
391
  vibe_coding_tracker:latest usage
390
392
  ```
package/README.zh-CN.md CHANGED
@@ -19,7 +19,7 @@
19
19
 
20
20
  </div>
21
21
 
22
- **实时追踪你的 AI 编程开销。** Vibe Coding Tracker 是一款基于 Rust 构建的轻量级高性能 CLI 工具,用于监控和分析你在 Claude Code、Codex、Copilot 和 Gemini 上的使用情况——提供详细的费用明细、token 统计和代码操作洞察,同时保持极低的内存占用。
22
+ **实时追踪你的 AI 编程开销。** Vibe Coding Tracker 是一款基于 Rust 构建的轻量级高性能 CLI 工具,用于监控和分析你在 Claude Code、Codex、Copilot、Gemini 和 OpenCode 上的使用情况——提供详细的费用明细、token 统计和代码操作洞察,同时保持极低的内存占用。
23
23
 
24
24
  [English](README.md) | [繁體中文](README.zh-TW.md) | [简体中文](README.zh-CN.md)
25
25
 
@@ -48,7 +48,7 @@
48
48
 
49
49
  ### 零配置
50
50
 
51
- 自动检测并处理来自 Claude Code、Codex、Copilot 和 Gemini 的日志。无需任何设置——直接运行即可分析。
51
+ 自动检测并处理来自 Claude Code、Codex、Copilot、Gemini 和 OpenCode 的日志。无需任何设置——直接运行即可分析。
52
52
 
53
53
  ### 丰富的洞察
54
54
 
@@ -62,15 +62,15 @@
62
62
 
63
63
  ## 核心特性
64
64
 
65
- | 特性 | 说明 |
66
- | ---------------- | -------------------------------------------------------- |
67
- | **多供应商支持** | Claude Code、Codex、Copilot 和 Gemini——一站式管理 |
68
- | **智能定价** | 模糊模型匹配 + 从 LiteLLM 每日缓存更新 |
69
- | **4 种显示模式** | 交互式 TUI、静态表格、纯文本和 JSON |
70
- | **双维度分析** | token/费用统计(`usage`)+ 代码操作统计(`analysis`) |
71
- | **超轻量级** | TUI 常驻内存 50 MB 以内、流式 JSONL 解析——基于 Rust 构建 |
72
- | **实时更新** | 面板每秒自动刷新 |
73
- | **高效缓存** | 智能每日缓存,减少 API 调用次数 |
65
+ | 特性 | 说明 |
66
+ | ---------------- | ----------------------------------------------------------- |
67
+ | **多供应商支持** | Claude Code、Codex、Copilot、Gemini 和 OpenCode——一站式管理 |
68
+ | **智能定价** | 模糊模型匹配 + 从 LiteLLM 每日缓存更新 |
69
+ | **4 种显示模式** | 交互式 TUI、静态表格、纯文本和 JSON |
70
+ | **双维度分析** | token/费用统计(`usage`)+ 代码操作统计(`analysis`) |
71
+ | **超轻量级** | TUI 常驻内存 50 MB 以内、流式 JSONL 解析——基于 Rust 构建 |
72
+ | **实时更新** | 面板每秒自动刷新 |
73
+ | **高效缓存** | 智能每日缓存,减少 API 调用次数 |
74
74
 
75
75
  ---
76
76
 
@@ -80,7 +80,7 @@
80
80
 
81
81
  选择最适合你的安装方式:
82
82
 
83
- > **开发者**:如果你想从源码构建或参与项目开发,请参阅 [CONTRIBUTING.md](CONTRIBUTING.md)。
83
+ > **开发者**:如果你想从源码构建或参与项目开发,请参阅 [CONTRIBUTING.md](.github/CONTRIBUTING.md)。
84
84
 
85
85
  #### 方式一:通过 npm 安装
86
86
 
@@ -232,6 +232,7 @@ vct usage --json --daily
232
232
  - `~/.codex/sessions/**/*.jsonl`(Codex,递归包含每日子目录)
233
233
  - `~/.copilot/session-state/<sessionId>/events.jsonl`(Copilot CLI)
234
234
  - `~/.gemini/tmp/<project_hash>/chats/*.jsonl`(Gemini CLI)
235
+ - `~/.local/share/opencode/opencode.db`(OpenCode,SQLite 数据库;遵循 `$XDG_DATA_HOME`)
235
236
 
236
237
  ---
237
238
 
@@ -386,5 +387,6 @@ docker run --rm \
386
387
  -v ~/.codex:/root/.codex \
387
388
  -v ~/.copilot:/root/.copilot \
388
389
  -v ~/.gemini:/root/.gemini \
390
+ -v ~/.local/share/opencode:/root/.local/share/opencode \
389
391
  vibe_coding_tracker:latest usage
390
392
  ```
package/README.zh-TW.md CHANGED
@@ -19,7 +19,7 @@
19
19
 
20
20
  </div>
21
21
 
22
- **即時追蹤你的 AI 程式設計花費。** Vibe Coding Tracker 是一款以 Rust 打造的輕量、高效能 CLI 工具,能監控與分析你在 Claude Code、Codex、Copilot 及 Gemini 的使用狀況——提供詳細的費用明細、token 統計資料與程式碼操作分析,同時維持極低的記憶體使用量。
22
+ **即時追蹤你的 AI 程式設計花費。** Vibe Coding Tracker 是一款以 Rust 打造的輕量、高效能 CLI 工具,能監控與分析你在 Claude Code、Codex、Copilot、Gemini 及 OpenCode 的使用狀況——提供詳細的費用明細、token 統計資料與程式碼操作分析,同時維持極低的記憶體使用量。
23
23
 
24
24
  [English](README.md) | [繁體中文](README.zh-TW.md) | [简体中文](README.zh-CN.md)
25
25
 
@@ -48,7 +48,7 @@
48
48
 
49
49
  ### 零設定
50
50
 
51
- 自動偵測並處理 Claude Code、Codex、Copilot 及 Gemini 的日誌檔。不需要任何設定——直接執行就能分析。
51
+ 自動偵測並處理 Claude Code、Codex、Copilot、Gemini 及 OpenCode 的日誌檔。不需要任何設定——直接執行就能分析。
52
52
 
53
53
  ### 豐富洞察
54
54
 
@@ -64,7 +64,7 @@
64
64
 
65
65
  | 功能 | 說明 |
66
66
  | ---------------- | --------------------------------------------------------- |
67
- | **多供應商支援** | Claude Code、Codex、Copilot 及 Gemini——一站整合 |
67
+ | **多供應商支援** | Claude Code、Codex、Copilot、Gemini 及 OpenCode——一站整合 |
68
68
  | **智慧定價** | 模糊模型比對 + 每日從 LiteLLM cache 更新 |
69
69
  | **4 種顯示模式** | 互動式 TUI、靜態表格、純文字及 JSON |
70
70
  | **雙重分析** | Token / 費用統計(`usage`)+ 程式碼操作統計(`analysis`) |
@@ -80,7 +80,7 @@
80
80
 
81
81
  選擇最適合你的安裝方式:
82
82
 
83
- > **開發者**:如果你想從原始碼建置或參與開發,請參閱 [CONTRIBUTING.md](CONTRIBUTING.md)。
83
+ > **開發者**:如果你想從原始碼建置或參與開發,請參閱 [CONTRIBUTING.md](.github/CONTRIBUTING.md)。
84
84
 
85
85
  #### 方法一:透過 npm 安裝
86
86
 
@@ -232,6 +232,7 @@ vct usage --json --daily
232
232
  - `~/.codex/sessions/**/*.jsonl`(Codex,遞迴包含每日子目錄)
233
233
  - `~/.copilot/session-state/<sessionId>/events.jsonl`(Copilot CLI)
234
234
  - `~/.gemini/tmp/<project_hash>/chats/*.jsonl`(Gemini CLI)
235
+ - `~/.local/share/opencode/opencode.db`(OpenCode,SQLite 資料庫;遵循 `$XDG_DATA_HOME`)
235
236
 
236
237
  ---
237
238
 
@@ -386,5 +387,6 @@ docker run --rm \
386
387
  -v ~/.codex:/root/.codex \
387
388
  -v ~/.copilot:/root/.copilot \
388
389
  -v ~/.gemini:/root/.gemini \
390
+ -v ~/.local/share/opencode:/root/.local/share/opencode \
389
391
  vibe_coding_tracker:latest usage
390
392
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mai0313/vibe-coding-tracker",
3
- "version": "0.11.0",
3
+ "version": "0.12.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",