toktrack 2.12.0 → 2.13.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 +5 -3
- package/bin/toktrack-darwin-arm64 +0 -0
- package/bin/toktrack-darwin-x64 +0 -0
- package/bin/toktrack-linux-arm64 +0 -0
- package/bin/toktrack-linux-musl-arm64 +0 -0
- package/bin/toktrack-linux-musl-x64 +0 -0
- package/bin/toktrack-linux-x64 +0 -0
- package/bin/toktrack-win32-x64.exe +0 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
[](https://www.npmjs.com/package/toktrack)
|
|
5
5
|
[](https://github.com/mag123c/toktrack/blob/main/LICENSE)
|
|
6
6
|
|
|
7
|
-
Ultra-fast token & cost tracker for Claude Code, Codex CLI, Gemini CLI, Qwen Code, OpenCode,
|
|
7
|
+
Ultra-fast token & cost tracker for Claude Code, Codex CLI, Gemini CLI, Qwen Code, OpenCode, PI Agent, and Antigravity. Built with Rust for ultra-fast performance (simd-json + rayon).
|
|
8
8
|
|
|
9
9
|
> **⚠️ Did you know?** Claude Code **deletes your session data after 30 days** by default. Once deleted, your token usage and cost history are gone forever — unless you preserve them.
|
|
10
10
|
|
|
@@ -39,8 +39,8 @@ brew install toktrack
|
|
|
39
39
|
|
|
40
40
|
- **Ultra-Fast Parsing** — simd-json + rayon parallel processing (~3 GiB/s throughput)
|
|
41
41
|
- **TUI Dashboard** — 5 tabs (Overview, Stats, Models, Projects, Audit) with daily/weekly/monthly views
|
|
42
|
-
- **Per-Project Breakdown** — the Projects tab shows token & cost usage per project (the session working directory), for CLIs that record one
|
|
43
|
-
- **Multi-CLI Support** — Claude Code, Codex CLI, Gemini CLI, Qwen Code, OpenCode, PI Agent
|
|
42
|
+
- **Per-Project Breakdown** — the Projects tab shows token & cost usage per project (the session working directory), for CLIs that record one. Drill into any project for its day-by-day, per-model breakdown. Usage from CLIs that don't record a project is grouped under `(no project)`. Project details are cached, so they survive past the CLI's 30-day deletion
|
|
43
|
+
- **Multi-CLI Support** — Claude Code, Codex CLI, Gemini CLI, Qwen Code, OpenCode, PI Agent, Antigravity
|
|
44
44
|
- **CLI Commands** — `daily`, `weekly`, `monthly`, `stats` with JSON output
|
|
45
45
|
- **Data Preservation** — Cached daily summaries survive CLI data deletion
|
|
46
46
|
|
|
@@ -51,8 +51,10 @@ brew install toktrack
|
|
|
51
51
|
| Claude Code | `~/.claude/projects/` |
|
|
52
52
|
| Codex CLI | `~/.codex/sessions/` |
|
|
53
53
|
| Gemini CLI | `~/.gemini/tmp/*/chats/` |
|
|
54
|
+
| Qwen Code | `~/.qwen/tmp/*/chats/` |
|
|
54
55
|
| OpenCode | `~/.local/share/opencode/storage/message/` |
|
|
55
56
|
| PI Agent | `~/.pi/agent/sessions/` |
|
|
57
|
+
| Antigravity | `~/.gemini/antigravity-{ide,cli}/conversations/*.db` |
|
|
56
58
|
|
|
57
59
|
## Supported Platforms
|
|
58
60
|
|
|
Binary file
|
package/bin/toktrack-darwin-x64
CHANGED
|
Binary file
|
package/bin/toktrack-linux-arm64
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/bin/toktrack-linux-x64
CHANGED
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "toktrack",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.13.1",
|
|
4
4
|
"description": "Never lose your AI coding cost history — token & cost tracker for Claude Code, Codex, Gemini, Qwen Code, OpenCode & PI Agent, with a persistent cache that survives CLI data deletion.",
|
|
5
5
|
"bin": {
|
|
6
6
|
"toktrack": "./bin/run.js"
|