vibe-coding-tracker 1.0.0__tar.gz → 1.1.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.0.0
3
+ Version: 1.1.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
@@ -264,16 +264,18 @@ The tool automatically scans these directories:
264
264
  `vct usage` shows **live remaining quota for Claude Code and Codex right in the dashboard — with zero setup.** No status-line hook, no config file: vct reads each provider's own OAuth credentials, calls its usage API on a background thread, and keeps the panels current while you work.
265
265
 
266
266
  ```
267
- ┌ Provider/Tokens/Cost/Days ┬ Claude ────────┬ Codex ──────────┐
268
- │ Claude 1.2M $3.00 4d │ 5h ▰▰▱▱▱ 16% │ Plan: plus
269
- │ Codex 800K $0.00 6d │ 4h13m │ 5h ▰▰▱▱▱ 27%
270
- │ ... │ 7d ▰▰▰▱▱ 28% │ 7d ▱▱▱▱▱ 4%
271
- │ │ updated 2m ago │ Credits: 0 +2
272
- └───────────────────────────┴────────────────┴─────────────────┘
267
+ ┌ Provider/Tokens/Cost/Days ┬ Claude ───────────────────┬ Codex ────────────────────┐
268
+ │ Claude 1.2M $3.00 4d │ Plan: max 20x │ Plan: plus
269
+ │ Codex 800K $0.00 6d │ 5h ▰▱▱▱▱ 16% 2h0m │ 5h ▰▰▱▱▱ 37% ↻ 2h33m
270
+ │ ... │ 7d ▰▰▱▱▱ 41% ↻ 5d │ 7d ▰▰▱▱▱ 24% ↻ 3d16h
271
+ │ │ Opus ▰▰▰▱▱ 61% ↻ 5d │ Credits: 0 +3 reset
272
+ │ │ Balance: - $0.00 used │ updated just now │
273
+ │ │ updated just now │ │
274
+ └───────────────────────────┴────────────────────────────┴────────────────────────────┘
273
275
  ```
274
276
 
275
- - **Claude** — 5-hour and weekly usage from the official OAuth usage API (`GET /api/oauth/usage`), read from `~/.claude/.credentials.json`.
276
- - **Codex** — plan tier, 5-hour and weekly usage, and credit balance from the ChatGPT backend (`wham/usage`) using `~/.codex/auth.json`; falls back to the newest `rate_limits` in your Codex session logs when the API is unavailable (the title shows `Codex` vs `Codex (session)`).
277
+ - **Claude** — plan tier, 5-hour, weekly, and per-model weekly usage from the official OAuth usage API (`GET /api/oauth/usage`), read from `~/.claude/.credentials.json`, plus your credit balance. Polled about once a minute to stay under the endpoint's rate limit; a red `LIMIT` flag appears in the title when a cap is hit. The per-model weekly row is best-effort and simply hides when that scope is not returned.
278
+ - **Codex** — plan tier, 5-hour and weekly usage, and credit balance from the ChatGPT backend (`wham/usage`) using `~/.codex/auth.json` (with approximate remaining messages / spend cap when applicable); falls back to the newest `rate_limits` in your Codex session logs when the API is unavailable (the title shows `Codex` vs `Codex (session)`).
277
279
 
278
280
  **Automatic token refresh.** For both providers, when a token is near expiry or rejected, vct refreshes it and writes the new token back to the provider's own credential file (in that CLI's exact format), so a token is reused across checks rather than refreshed every time. If a refresh cannot proceed, the panel shows a `run: <provider> auth login` hint instead of breaking.
279
281
 
@@ -238,16 +238,18 @@ The tool automatically scans these directories:
238
238
  `vct usage` shows **live remaining quota for Claude Code and Codex right in the dashboard — with zero setup.** No status-line hook, no config file: vct reads each provider's own OAuth credentials, calls its usage API on a background thread, and keeps the panels current while you work.
239
239
 
240
240
  ```
241
- ┌ Provider/Tokens/Cost/Days ┬ Claude ────────┬ Codex ──────────┐
242
- │ Claude 1.2M $3.00 4d │ 5h ▰▰▱▱▱ 16% │ Plan: plus
243
- │ Codex 800K $0.00 6d │ 4h13m │ 5h ▰▰▱▱▱ 27%
244
- │ ... │ 7d ▰▰▰▱▱ 28% │ 7d ▱▱▱▱▱ 4%
245
- │ │ updated 2m ago │ Credits: 0 +2
246
- └───────────────────────────┴────────────────┴─────────────────┘
241
+ ┌ Provider/Tokens/Cost/Days ┬ Claude ───────────────────┬ Codex ────────────────────┐
242
+ │ Claude 1.2M $3.00 4d │ Plan: max 20x │ Plan: plus
243
+ │ Codex 800K $0.00 6d │ 5h ▰▱▱▱▱ 16% 2h0m │ 5h ▰▰▱▱▱ 37% ↻ 2h33m
244
+ │ ... │ 7d ▰▰▱▱▱ 41% ↻ 5d │ 7d ▰▰▱▱▱ 24% ↻ 3d16h
245
+ │ │ Opus ▰▰▰▱▱ 61% ↻ 5d │ Credits: 0 +3 reset
246
+ │ │ Balance: - $0.00 used │ updated just now │
247
+ │ │ updated just now │ │
248
+ └───────────────────────────┴────────────────────────────┴────────────────────────────┘
247
249
  ```
248
250
 
249
- - **Claude** — 5-hour and weekly usage from the official OAuth usage API (`GET /api/oauth/usage`), read from `~/.claude/.credentials.json`.
250
- - **Codex** — plan tier, 5-hour and weekly usage, and credit balance from the ChatGPT backend (`wham/usage`) using `~/.codex/auth.json`; falls back to the newest `rate_limits` in your Codex session logs when the API is unavailable (the title shows `Codex` vs `Codex (session)`).
251
+ - **Claude** — plan tier, 5-hour, weekly, and per-model weekly usage from the official OAuth usage API (`GET /api/oauth/usage`), read from `~/.claude/.credentials.json`, plus your credit balance. Polled about once a minute to stay under the endpoint's rate limit; a red `LIMIT` flag appears in the title when a cap is hit. The per-model weekly row is best-effort and simply hides when that scope is not returned.
252
+ - **Codex** — plan tier, 5-hour and weekly usage, and credit balance from the ChatGPT backend (`wham/usage`) using `~/.codex/auth.json` (with approximate remaining messages / spend cap when applicable); falls back to the newest `rate_limits` in your Codex session logs when the API is unavailable (the title shows `Codex` vs `Codex (session)`).
251
253
 
252
254
  **Automatic token refresh.** For both providers, when a token is near expiry or rejected, vct refreshes it and writes the new token back to the provider's own credential file (in that CLI's exact format), so a token is reused across checks rather than refreshed every time. If a refresh cannot proceed, the panel shows a `run: <provider> auth login` hint instead of breaking.
253
255
 
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "vibe_coding_tracker"
3
- version = "1.0.0"
3
+ version = "1.1.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" }