github alexgreensh/token-optimizer v5.11.31

latest release: v5.11.32
5 hours ago

Token Optimizer 5.11.31

Cross-platform hook reliability and Codex/Copilot polish.

  • Portable bash resolution in hooks. Hook commands now resolve bash across a minimal or empty PATH (falling back to standard absolute locations), so plugin hooks run reliably in stripped hook environments on macOS, Linux, WSL, and Windows git-bash. The user's own Bash commands degrade gracefully to plain execution when compression can't be applied.
  • Codex SessionStart emits valid JSON. SessionStart context (checkpoint continuity, health) is now wrapped in the Codex hook envelope on both the bundled-bridge and marketplace paths, so Codex accepts it cleanly.
  • Copilot install recovers COPILOT_HOME under WSL. When --copilot is run as root under WSL, the installer now recovers a COPILOT_HOME set in the Windows environment and targets the correct Windows profile, with a timeout-guarded probe and root-scoped behavior.
  • Tiered continuity relevance. Prior-session hints now surface the full recovered-context block only for high-relevance matches; lower-relevance matches show a single-line teaser instead, keeping prompts lean. Thresholds are configurable via TOKEN_OPTIMIZER_RELEVANCE_THRESHOLD and TOKEN_OPTIMIZER_RELEVANCE_FULL_THRESHOLD.

Don't miss a new token-optimizer release

NewReleases is sending notifications on new releases.