#!/bin/sh
# spor-hook — POSIX shim over the Node dispatcher (spor-hook.js),
# kept so existing hooks configs and adapter manifests that exec this path
# keep working unchanged. Windows hosts invoke spor-hook.js via node
# (or spor-hook.cmd) instead. Fail-open: no node, no output, exit 0.
command -v node >/dev/null 2>&1 || exit 0
exec node "$(dirname "$0")/spor-hook.js" "$@"
