vibe-coding-tracker 1.5.1__tar.gz → 1.7.0__tar.gz

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: vibe-coding-tracker
3
- Version: 1.5.1
3
+ Version: 1.7.0
4
4
  Summary: Vibe Coding Tracker - AI coding assistant telemetry/usage parser, aggregate JSONL events into CodeAnalysis results
5
5
  Keywords: cli,ai,coding-assistant,telemetry,claude,codex,gemini,usage-tracker,analytics
6
6
  Author: Wei Lee
@@ -45,7 +45,7 @@ Description-Content-Type: text/markdown
45
45
 
46
46
  </div>
47
47
 
48
- **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.
48
+ **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, OpenCode, and Cursor usage — with detailed cost breakdowns, token statistics, and code operation insights, all while keeping the memory footprint minimal.
49
49
 
50
50
  [English](README.md) | [繁體中文](README.zh-TW.md) | [简体中文](README.zh-CN.md)
51
51
 
@@ -74,7 +74,7 @@ Choose your preferred view:
74
74
 
75
75
  ### Zero Configuration
76
76
 
77
- Automatically detects and processes logs from Claude Code, Codex, Copilot, Gemini, and OpenCode. No setup required — just run and analyze.
77
+ Automatically detects and processes logs from Claude Code, Codex, Copilot, Gemini, OpenCode, and Cursor. No setup required — just run and analyze.
78
78
 
79
79
  ### Rich Insights
80
80
 
@@ -88,15 +88,15 @@ Automatically detects and processes logs from Claude Code, Codex, Copilot, Gemin
88
88
 
89
89
  ## Key Features
90
90
 
91
- | Feature | Description |
92
- | --------------------- | -------------------------------------------------------------------- |
93
- | **Multi-Provider** | Claude Code, Codex, Copilot, Gemini, and OpenCode — all in one place |
94
- | **Smart Pricing** | Fuzzy model matching + daily cache from LiteLLM |
95
- | **4 Display Modes** | Interactive TUI, static table, plain text, and JSON |
96
- | **Dual Analysis** | Token/cost stats (`usage`) + code operation stats (`analysis`) |
97
- | **Live Quota Panels** | Live remaining quota for Claude, Codex, Copilot, and Cursor |
98
- | **Ultra-Lightweight** | Under ~50 MB RSS in the TUI, streaming JSONL parse — built with Rust |
99
- | **Live Updates** | Auto-refreshing dashboard (every 10s) with change highlighting |
91
+ | Feature | Description |
92
+ | --------------------- | ---------------------------------------------------------------------------- |
93
+ | **Multi-Provider** | Claude Code, Codex, Copilot, Gemini, OpenCode, and Cursor — all in one place |
94
+ | **Smart Pricing** | Fuzzy model matching + daily cache from LiteLLM |
95
+ | **4 Display Modes** | Interactive TUI, static table, plain text, and JSON |
96
+ | **Dual Analysis** | Token/cost stats (`usage`) + code operation stats (`analysis`) |
97
+ | **Live Quota Panels** | Live remaining quota for Claude, Codex, Copilot, and Cursor |
98
+ | **Ultra-Lightweight** | Under ~50 MB RSS in the TUI, streaming JSONL parse — built with Rust |
99
+ | **Live Updates** | Auto-refreshing dashboard (every 10s) with change highlighting |
100
100
 
101
101
  ---
102
102
 
@@ -174,6 +174,7 @@ Commands:
174
174
  usage Display token usage statistics
175
175
  version Display version information
176
176
  update Update to the latest version from GitHub releases
177
+ fetch Fetch a provider's raw quota/usage API response
177
178
  help Print this message or the help of the given subcommand(s)
178
179
  ```
179
180
 
@@ -314,6 +315,7 @@ The tool automatically scans these directories:
314
315
  - `~/.copilot/session-state/<sessionId>/events.jsonl` (Copilot CLI)
315
316
  - `~/.gemini/tmp/<project_hash>/chats/*.jsonl` (Gemini CLI)
316
317
  - `~/.local/share/opencode/opencode.db` (OpenCode — SQLite database; honors `$XDG_DATA_HOME`)
318
+ - `~/.cursor/chats/*/*/store.db` (Cursor — SQLite chat stores, for `analysis`) and Cursor's dashboard usage API (for `usage` tokens + cost, via the local session token; approximated from local context data when offline)
317
319
 
318
320
  ### Live Quota Panels
319
321
 
@@ -496,6 +498,42 @@ The binary version is produced at build time by `build.rs` from `git describe`,
496
498
 
497
499
  ---
498
500
 
501
+ ## Fetch Command
502
+
503
+ **Print a provider's raw quota/usage API response — no parsing, no aggregation.**
504
+
505
+ Calls the same quota endpoint the `usage` dashboard uses (Claude / Codex / Copilot / Cursor) exactly once and prints the raw body, so you can inspect the exact API shape or sanity-check your credentials. It reads each provider's stored credentials and does **not** refresh tokens: if a token is expired, re-auth with that provider's own CLI (`claude` / `codex` / `copilot` / `cursor-agent`).
506
+
507
+ ### Flags
508
+
509
+ | Flag | Purpose |
510
+ | --------- | --------------------------------------------- |
511
+ | *(none)* | Pretty JSON (default) |
512
+ | `--json` | Pretty JSON |
513
+ | `--text` | Flattened `key: value` lines, script-friendly |
514
+ | `--table` | Flattened Field / Value table |
515
+
516
+ ### Basic Usage
517
+
518
+ ```bash
519
+ # Raw JSON (default)
520
+ vct fetch claude
521
+ vct fetch codex
522
+ vct fetch copilot
523
+ vct fetch cursor
524
+
525
+ # Flattened plain text
526
+ vct fetch codex --text
527
+
528
+ # Flattened key/value table
529
+ vct fetch copilot --table
530
+ ```
531
+
532
+ > [!NOTE]
533
+ > The response body is printed to stdout as-is. On an HTTP error the body is still printed and the process exits non-zero; a 401/403 additionally prints a `run: <cli> login` hint on stderr.
534
+
535
+ ---
536
+
499
537
  ## Smart Pricing System
500
538
 
501
539
  ### How It Works
@@ -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, Gemini, and OpenCode 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, OpenCode, and Cursor 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, Gemini, and OpenCode. No setup required — just run and analyze.
51
+ Automatically detects and processes logs from Claude Code, Codex, Copilot, Gemini, OpenCode, and Cursor. No setup required — just run and analyze.
52
52
 
53
53
  ### Rich Insights
54
54
 
@@ -62,15 +62,15 @@ Automatically detects and processes logs from Claude Code, Codex, Copilot, Gemin
62
62
 
63
63
  ## Key Features
64
64
 
65
- | Feature | Description |
66
- | --------------------- | -------------------------------------------------------------------- |
67
- | **Multi-Provider** | Claude Code, Codex, Copilot, Gemini, and OpenCode — all in one place |
68
- | **Smart Pricing** | Fuzzy model matching + daily cache from LiteLLM |
69
- | **4 Display Modes** | Interactive TUI, static table, plain text, and JSON |
70
- | **Dual Analysis** | Token/cost stats (`usage`) + code operation stats (`analysis`) |
71
- | **Live Quota Panels** | Live remaining quota for Claude, Codex, Copilot, and Cursor |
72
- | **Ultra-Lightweight** | Under ~50 MB RSS in the TUI, streaming JSONL parse — built with Rust |
73
- | **Live Updates** | Auto-refreshing dashboard (every 10s) with change highlighting |
65
+ | Feature | Description |
66
+ | --------------------- | ---------------------------------------------------------------------------- |
67
+ | **Multi-Provider** | Claude Code, Codex, Copilot, Gemini, OpenCode, and Cursor — all in one place |
68
+ | **Smart Pricing** | Fuzzy model matching + daily cache from LiteLLM |
69
+ | **4 Display Modes** | Interactive TUI, static table, plain text, and JSON |
70
+ | **Dual Analysis** | Token/cost stats (`usage`) + code operation stats (`analysis`) |
71
+ | **Live Quota Panels** | Live remaining quota for Claude, Codex, Copilot, and Cursor |
72
+ | **Ultra-Lightweight** | Under ~50 MB RSS in the TUI, streaming JSONL parse — built with Rust |
73
+ | **Live Updates** | Auto-refreshing dashboard (every 10s) with change highlighting |
74
74
 
75
75
  ---
76
76
 
@@ -148,6 +148,7 @@ Commands:
148
148
  usage Display token usage statistics
149
149
  version Display version information
150
150
  update Update to the latest version from GitHub releases
151
+ fetch Fetch a provider's raw quota/usage API response
151
152
  help Print this message or the help of the given subcommand(s)
152
153
  ```
153
154
 
@@ -288,6 +289,7 @@ The tool automatically scans these directories:
288
289
  - `~/.copilot/session-state/<sessionId>/events.jsonl` (Copilot CLI)
289
290
  - `~/.gemini/tmp/<project_hash>/chats/*.jsonl` (Gemini CLI)
290
291
  - `~/.local/share/opencode/opencode.db` (OpenCode — SQLite database; honors `$XDG_DATA_HOME`)
292
+ - `~/.cursor/chats/*/*/store.db` (Cursor — SQLite chat stores, for `analysis`) and Cursor's dashboard usage API (for `usage` tokens + cost, via the local session token; approximated from local context data when offline)
291
293
 
292
294
  ### Live Quota Panels
293
295
 
@@ -470,6 +472,42 @@ The binary version is produced at build time by `build.rs` from `git describe`,
470
472
 
471
473
  ---
472
474
 
475
+ ## Fetch Command
476
+
477
+ **Print a provider's raw quota/usage API response — no parsing, no aggregation.**
478
+
479
+ Calls the same quota endpoint the `usage` dashboard uses (Claude / Codex / Copilot / Cursor) exactly once and prints the raw body, so you can inspect the exact API shape or sanity-check your credentials. It reads each provider's stored credentials and does **not** refresh tokens: if a token is expired, re-auth with that provider's own CLI (`claude` / `codex` / `copilot` / `cursor-agent`).
480
+
481
+ ### Flags
482
+
483
+ | Flag | Purpose |
484
+ | --------- | --------------------------------------------- |
485
+ | *(none)* | Pretty JSON (default) |
486
+ | `--json` | Pretty JSON |
487
+ | `--text` | Flattened `key: value` lines, script-friendly |
488
+ | `--table` | Flattened Field / Value table |
489
+
490
+ ### Basic Usage
491
+
492
+ ```bash
493
+ # Raw JSON (default)
494
+ vct fetch claude
495
+ vct fetch codex
496
+ vct fetch copilot
497
+ vct fetch cursor
498
+
499
+ # Flattened plain text
500
+ vct fetch codex --text
501
+
502
+ # Flattened key/value table
503
+ vct fetch copilot --table
504
+ ```
505
+
506
+ > [!NOTE]
507
+ > The response body is printed to stdout as-is. On an HTTP error the body is still printed and the process exits non-zero; a 401/403 additionally prints a `run: <cli> login` hint on stderr.
508
+
509
+ ---
510
+
473
511
  ## Smart Pricing System
474
512
 
475
513
  ### How It Works
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "vibe_coding_tracker"
3
- version = "1.5.1"
3
+ version = "1.7.0"
4
4
  description = "Vibe Coding Tracker - AI coding assistant telemetry/usage parser, aggregate JSONL events into CodeAnalysis results"
5
5
  authors = [
6
6
  { name = "Wei Lee", email = "mai@mai0313.com" }