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
  ![toktrack overview](https://raw.githubusercontent.com/mag123c/toktrack/main/assets/demo.gif)
11
13
 
12
- > Scanning 2,000+ session files (3 GB) took over 40 seconds with existing tools — toktrack does it in ~1 second.
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
- | Mode | Time |
62
- |------|------|
63
- | Cold start (no cache) | **~1.0s** |
64
- | Warm start (cached) | **~0.04s** |
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 (9,000+ files / 3.4 GB).
75
+ > Measured on Apple Silicon with 2,000+ JSONL files (3.4 GB).
67
76
 
68
77
  ## Links
69
78
 
Binary file
Binary file
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "toktrack",
3
- "version": "0.1.30",
3
+ "version": "0.1.32",
4
4
  "description": "Ultra-fast token & cost tracker for Claude Code, Codex CLI, and Gemini CLI",
5
5
  "bin": {
6
6
  "toktrack": "./bin/run.js"