github alexgreensh/token-optimizer v2.4.4
v2.4.4 - Per-Session Quality Scoring

latest releases: openclaw-v2.4.1, v5.6.4, v5.6.2...
one month ago

Quality scores are now per-session and significantly more accurate.

Signal Reset on Compaction: Quality signals reset at compaction boundaries. Score reflects current context, not accumulated history.

Accurate Fill Estimation: Replaced flat 5K/message guess with live fill bridge (statusline writes actual used_percentage to sidecar file) and char-length fallback.

PostCompact Hook: Uses Claude Code v2.1.76 PostCompact hook for immediate quality cache refresh after compaction.

Minor Fixes: Fixed potential UnboundLocalError, removed dead total_input_tokens code path.

Don't miss a new token-optimizer release

NewReleases is sending notifications on new releases.