@mauricode/token-derby 2.3.0 → 2.5.0
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 +2 -1
- package/dist/bin.js +951 -138
- package/dist/bin.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -39,6 +39,8 @@ token-derby end <admin-code>
|
|
|
39
39
|
|
|
40
40
|
The CLI sums `message.usage.output_tokens` across every `*.jsonl` under `~/.claude/projects/`. Your "race tokens" are everything generated since the moment you joined. Tokens generated while disconnected are skipped — that window is your crash penalty.
|
|
41
41
|
|
|
42
|
+
Races can optionally also count *fresh input tokens* — i.e. `input_tokens + cache_creation_input_tokens` (your new context this turn) in addition to output. `cache_read_input_tokens` is never counted, since those reflect passive context size rather than work. The race creator opts in at `token-derby create` time; thresholds for Stampede!, Pulled Away!, and the heartbeat rate cap scale 10× in these races so the achievement cadence stays comparable.
|
|
43
|
+
|
|
42
44
|
## Files
|
|
43
45
|
|
|
44
46
|
- `~/.token-derby/stable.json` — saved horses
|
|
@@ -49,4 +51,3 @@ The CLI sums `message.usage.output_tokens` across every `*.jsonl` under `~/.clau
|
|
|
49
51
|
- `TOKEN_DERBY_API_BASE` — override the API base URL (default: `https://token-derby.mauricode.co.uk/api`)
|
|
50
52
|
- `TOKEN_DERBY_HOME` — override the data directory (default: `~/.token-derby`)
|
|
51
53
|
- `TOKEN_DERBY_CLAUDE_DIR` — override the transcripts directory (default: `~/.claude/projects`)
|
|
52
|
-
- `TOKEN_DERBY_COUNT_INPUT_TOKENS` — set to `1` to count input tokens (including cache reads/creations) toward your race total. Default is output tokens only.
|