← Files NightshiftARCHIVED FILE
hooks/dispatch/claude-clock-out.ps1
627 Bytes · Oct 4, 2026 · 12:30 UTC
#!/bin/sh
echo --% >/dev/null;: ' | Out-Null
<#'
case "${OS:-}:$(uname -s 2>/dev/null)" in
Windows_NT:* | *:MINGW* | *:MSYS* | *:CYGWIN*)
script="$CLAUDE_PLUGIN_ROOT/hooks/windows/clock-out-gate.ps1"
command -v cygpath >/dev/null 2>&1 && script="$(cygpath -w "$script")"
exec powershell.exe -NoProfile -NonInteractive -ExecutionPolicy Bypass -File "$script" -HostName claude
;;
esac
exec "$CLAUDE_PLUGIN_ROOT/hooks/clock-out-gate.sh"
exit #>
powershell.exe -NoProfile -NonInteractive -ExecutionPolicy Bypass -File "$env:CLAUDE_PLUGIN_ROOT\hooks\windows\clock-out-gate.ps1" -HostName claude
exit $LASTEXITCODE
SHA-256: aab817644113feee26739b04b10a6e54e2be96218ee4ea18fd9072a9bc8dcc06