github alexgreensh/token-optimizer v5.11.86

3 hours ago

Batch of fixes and two features.

Fixes

  • Continuity (#129): cold-resume no longer injects an unrelated or cross-project session's checkpoint. Guessed matches now use a verify-before-claiming footer; a stale freshest sibling is declined; an explicit session id is honored strictly and scoped to the current project.
  • Dashboard: deduped the savings-card methodology note (it rendered one sentence twice).
  • Statusline: reflow segments onto new lines on narrow terminals (COLUMNS-based) instead of clipping; byte-identical fallback on older Claude Code.
  • Hooks: budget the compact-restore SessionStart hook (the only unbudgeted first-prompt hook) to cut a slow-first-prompt stall under many concurrent sessions.
  • Quality: context-quality and session-efficiency no longer freeze or blank on long/busy sessions (the bootstrap lease could not win the lock); a post-acquire re-read avoids redundant recompute; a breadcrumb makes a busy lease diagnosable.

Features

  • Dashboard 5h/7d window card auto-refreshes (60s live poll) instead of needing manual Regenerate.
  • Korean, Chinese, and Japanese READMEs with a native-script language nav.

Full suite: 1211 passed. New env tunables: TOKEN_OPTIMIZER_RESUME_RECENCY_MIN, TOKEN_OPTIMIZER_COMPACT_RESTORE_BUDGET, TOKEN_OPTIMIZER_QUALITY_BOOTSTRAP_LOCK_TIMEOUT, TOKEN_OPTIMIZER_QUALITY_LOCK_TIMEOUT.

Don't miss a new token-optimizer release

NewReleases is sending notifications on new releases.