Repository navigation
Fixes the hook silently doing nothing in Cursor windows whose working directory is not ~/.cursor/ (e.g. any freshly opened repo).
Root cause: hooks.json shipped relative commands (./hooks/attention-beep.sh stop). hooks.json has no ~/env-var expansion and Cursor does not guarantee the cwd it spawns hooks from, so the relative path resolved against whatever repo was open and silently no-op'd.
Fix: install.sh now renders each command with the absolute path to the installed script ($HOME/.cursor/hooks/attention-beep.sh) for both fresh-install and merge paths. Absolute paths work regardless of cwd.
If you installed an earlier version, just re-run ./install.sh -- it backs up your ~/.cursor/hooks.json, strips the old relative entries, and re-adds absolute ones. Then reload your Cursor window.
No change to the beep logic or the v0.3.1 shell regex.