Commit Graph

3 Commits

Author SHA1 Message Date
Keysat 5b8cc3446f Add /handoff ritual reminder to status line 2026-06-12 23:04:06 -05:00
Keysat 15d995aa27 Fix and enrich statusline context-token display
The brace-bounded grep truncated at the first nested "}" in the usage
object, so the token segment silently rendered empty. Parse each
transcript JSONL line as JSON instead, summing input + cache_read +
cache_creation to match /context's window-occupancy figure.

Show it as "X.Xk/<limit> tokens (Y%)" with the limit auto-sized to the
model's context window (1m vs 200k), and color the segment red once
context reaches 200k.
2026-06-12 14:10:47 -05:00
Keysat b3b8099ba5 Add Claude status line script
dir | git branch | model | tokens-in-context status line, symlinked
from ~/.claude/statusline.sh per the portability protocol.
2026-06-12 13:59:30 -05:00