Skip to content

v0.9.2

Choose a tag to compare

@Astro-Han Astro-Han released this 16 Jun 03:57
· 2 commits to main since this release
  • Fix the auto-compact bar briefly showing the model's full window (e.g. 0% 1M) at the very start of a session. Claude Code sends context_window.total_input_tokens as 0 on a fresh session's first frame, and v0.9.1 only recomputed against the auto-compact window when that value was > 0 — so the bar (and its 1M label) fell back to the full window until the first API response landed, the exact 1M flash issue #15 set out to remove. The recompute now fires whenever the field is present, including a genuine 0, and falls back to the full window only when Claude Code omits the field entirely (older CC that predates total_input_tokens). jq now emits a -1 sentinel for the missing field so a real 0 (fresh-session first frame) and an absent field no longer collapse to the same value (follow-up to #15)
  • Add regression coverage for the present-zero first frame measuring against the compact window, plus an explicit guard that a missing field never relabels to the compact window