toktrack 0.1.30 → 0.1.32
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
|
@@ -7,9 +7,17 @@
|
|
|
7
7
|
|
|
8
8
|
Ultra-fast token & cost tracker for Claude Code, Codex CLI, and Gemini CLI. Built with Rust + simd-json + ratatui.
|
|
9
9
|
|
|
10
|
+
> **⚠️ 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.
|
|
11
|
+
|
|
10
12
|

|
|
11
13
|
|
|
12
|
-
|
|
14
|
+
## Why toktrack?
|
|
15
|
+
|
|
16
|
+
| Problem | Solution |
|
|
17
|
+
|---------|----------|
|
|
18
|
+
| 🐌 **Existing tools are slow** — 40+ seconds | ⚡ **1000x faster** — cached queries in ~0.04s |
|
|
19
|
+
| 🗑️ **Claude Code deletes data after 30 days** | 💾 **Persistent cache** — history survives |
|
|
20
|
+
| 📊 **No unified view** — each CLI has separate data | 🎯 **One dashboard** — all CLIs in one place |
|
|
13
21
|
|
|
14
22
|
## Installation
|
|
15
23
|
|
|
@@ -58,12 +66,13 @@ npx toktrack stats --json
|
|
|
58
66
|
|
|
59
67
|
## Performance
|
|
60
68
|
|
|
61
|
-
|
|
|
62
|
-
|
|
63
|
-
|
|
|
64
|
-
|
|
|
69
|
+
| Tool | Time | Speedup |
|
|
70
|
+
|------|------|---------|
|
|
71
|
+
| Existing tools | 40s+ | baseline |
|
|
72
|
+
| **toktrack** (cold) | **~1.0s** | **40x faster** |
|
|
73
|
+
| **toktrack** (cached) | **~0.04s** | **1000x faster** |
|
|
65
74
|
|
|
66
|
-
> Measured on Apple Silicon
|
|
75
|
+
> Measured on Apple Silicon with 2,000+ JSONL files (3.4 GB).
|
|
67
76
|
|
|
68
77
|
## Links
|
|
69
78
|
|
|
Binary file
|
package/bin/toktrack-darwin-x64
CHANGED
|
Binary file
|
package/bin/toktrack-linux-arm64
CHANGED
|
Binary file
|
package/bin/toktrack-linux-x64
CHANGED
|
Binary file
|
|
Binary file
|