toktrack 2.3.2 → 2.4.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 +3 -2
- 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
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
[](https://www.npmjs.com/package/toktrack)
|
|
6
6
|
[](https://github.com/mag123c/toktrack/blob/main/LICENSE)
|
|
7
7
|
|
|
8
|
-
Ultra-fast token & cost tracker for Claude Code, Codex CLI, Gemini CLI, and
|
|
8
|
+
Ultra-fast token & cost tracker for Claude Code, Codex CLI, Gemini CLI, OpenCode, and PI Agent. Built with Rust for ultra-fast performance (simd-json + rayon).
|
|
9
9
|
|
|
10
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
11
|
|
|
@@ -33,7 +33,7 @@ npm install -g toktrack
|
|
|
33
33
|
|
|
34
34
|
- **Ultra-Fast Parsing** — simd-json + rayon parallel processing (~3 GiB/s throughput)
|
|
35
35
|
- **TUI Dashboard** — 3 tabs (Overview, Stats, Models) with daily/weekly/monthly views
|
|
36
|
-
- **Multi-CLI Support** — Claude Code, Codex CLI, Gemini CLI, OpenCode
|
|
36
|
+
- **Multi-CLI Support** — Claude Code, Codex CLI, Gemini CLI, OpenCode, PI Agent
|
|
37
37
|
- **CLI Commands** — `daily`, `weekly`, `monthly`, `stats` with JSON output
|
|
38
38
|
- **Data Preservation** — Cached daily summaries survive CLI data deletion
|
|
39
39
|
|
|
@@ -45,6 +45,7 @@ npm install -g toktrack
|
|
|
45
45
|
| Codex CLI | `~/.codex/sessions/` |
|
|
46
46
|
| Gemini CLI | `~/.gemini/tmp/*/chats/` |
|
|
47
47
|
| OpenCode | `~/.local/share/opencode/storage/message/` |
|
|
48
|
+
| PI Agent | `~/.pi/agent/sessions/` |
|
|
48
49
|
|
|
49
50
|
## Supported Platforms
|
|
50
51
|
|
|
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
|