github alexgreensh/token-optimizer v5.2.1
v5.2.1 — Windows PowerShell hotfix

latest releases: v5.8.3, v5.8.2, v5.8.1...
one month ago

Hotfix on top of v5.2.0. PowerShell on Windows does not invoke a quoted .py path directly — it treats it as a string expression, not a command. The bare-path dispatch in v5.2.0 would have left Windows users without the hook wrapper firing.

Hooks now use python3 "${CLAUDE_PLUGIN_ROOT}/hooks/run.py" …, which PowerShell parses correctly as a command with a quoted argument.

Windows install guidance

  • Recommended: install Python via the Microsoft Store. It registers python3 as an App Execution Alias automatically, so hooks work out of the box.
  • Alternative: install Python from python.org and add python3 to your PATH (or symlink python.exe to python3.exe).
  • If python3 is not on PATH, hooks silently no-op — behavior identical to v5.1.0, so no regression.

All other v5.2.0 changes (Windows Session Health, SessionEnd ordering, health-selfcheck CLI, migration banner) are unchanged.

Don't miss a new token-optimizer release

NewReleases is sending notifications on new releases.