github alexgreensh/token-optimizer v5.6.0
v5.6.0 — Activity Intelligence + Savings Measurement

one day ago

What's New

Savings Measurement Fix

  • Loop detection now estimates 15K tokens saved per caught loop (was logging 0)
  • Quality nudges now estimate 10K tokens recovered per nudge (was logging 0)
  • Your dashboard will finally show real savings numbers instead of $0.02

New Detectors

  • Output waste: 3-signal detector for excessive output tokens
  • Cache instability: flags CLAUDE.md patterns that break prompt cache prefix

Activity Intelligence

  • Mode detection: 10-tool sliding window classifies session mode
  • Mode-aware compaction: PRESERVE/DROP adapts to what you are doing
  • Decision extraction: detects chose/decided/going with patterns in real-time
  • Anchored compact state: persists across compaction cycles

OpenClaw v2.4.0

  • Output waste detector ported to TypeScript (16 detectors total)

Quality Fixes

  • Catastrophic regex backtracking eliminated
  • Activity log bounded with automatic pruning
  • Vacuous truth on empty tool lists fixed
  • Rollback guard prevents leaked implicit transactions

Claude Code plugin: 5.6.0 | OpenClaw: 2.4.0

Don't miss a new token-optimizer release

NewReleases is sending notifications on new releases.