Replace $HOME with actual resolved path in hook command strings. $HOME is a Unix shell variable that is not expanded by cmd.exe or PowerShell on Windows, causing hooks to fail with MODULE_NOT_FOUND. The fix uses a new buildHookCommand() helper that: - Uses the actual claudeDir path instead of $HOME - Normalizes backslashes to forward slashes for Node.js compatibility