Windows support shipped
Token Optimizer now runs end-to-end on Windows alongside macOS and Linux.
What is new
- Session Health on Windows. The Health tab,
kill-stale, and thesession-healthCLI all read real process data viatasklist+wmic, with a PowerShellGet-CimInstancefallback for Windows 11 24H2+ wherewmicis deprecated. Strict image-name matching (claude.exe/claude-*.exe) keepskill-stalefrom ever touching third-party apps that happen to have "claude" in a window title. - Cross-platform plugin hooks. Hooks dispatch through a shebang-invoked Python wrapper (
hooks/run.py) instead of POSIX shell syntax, soSessionStart,SessionEnd, and every other hook fire correctly in PowerShell, bash, and zsh alike. TheSessionEndchain runs in one sequential process so the trends database is never contended. health-selfcheckCLI. One command, any platform: probes the process-listing tools, the parsers, and the_collect_health_datacontract. Paste the output into an issue if anything fails.daemon-statusCLI. IPv4 with IPv6 fallback. Replaces thenc-based port probe in the dashboard skills.UNKNOWN_AGEflag. When Windows can't resolve a process start time (locked-down PowerShell,wmicremoved), sessions are flagged explicitly rather than silently appearing fresh.
Upgrading from v5.1.0
Claude Code auto-updates the plugin when the version changes. The first SessionStart on Windows after the update prints a one-line migration notice pointing at health-selfcheck.
Compatibility
No changes to the public CLI surface. No changes to the dashboard shape. macOS and Linux behavior is unchanged on the core Session Health path; the only observable difference is Windows now works.