github alexgreensh/token-optimizer v5.4.24

latest releases: v5.8.10, v5.8.9, v5.8.8...
one month ago

Smarter compression, broader coverage, cache-aligned hooks

  • Range-aware read cache: Whole-file reads now cover subsequent partial reads of the same unchanged file, preventing redundant re-reads
  • Non-code structure maps: Heading outlines for .md, key trees for .json and .yaml, section lists for .toml
  • Expanded bash compression: sqlite3 queries, docker exec/logs/inspect, kubectl get/describe/logs, du/df/wc
  • Structure-aware MCP compression: JSON key trees, path directory grouping, and table preservation replace flat truncation
  • Session Knowledge Store: SQLite-backed per-session cache with WAL mode for concurrent hook access, replacing JSON file cache
  • Cache-aligned injection: Structure map messages are now stable per file state, preserving prompt cache prefix stability
  • Fail-open safety: All error paths verified to allow tool calls, never block them

Don't miss a new token-optimizer release

NewReleases is sending notifications on new releases.