v0.0.3
Leash 0.0.3 — your Claude Code hook now survives brew upgrade.
# Homebrew — macOS
brew install hoophq/tap/leash# npm — macOS / Linux
npm install -g @hoophq/leashFixed
- The hook no longer dies on upgrade.
leash initused to resolve symlinks when recording the hook command, so Homebrew installs wrote the version-pinnedCaskroom/leash/<version>/leashpath — and the nextbrew upgradedeleted it, silently disarming Leash (it fails open) until re-init. Init now records the stable/opt/homebrew/bin/leashsymlink, which upgrades repoint. leash initnow heals. If your settings already carry a Leash hook with a stale or different command, re-runningleash initupdates it in place ("Updated the Leash hook command") instead of reporting "already present".
If you installed ≤ 0.0.2 via Homebrew and ran
leash init: runleash init(orleash init --global) once after upgrading — it will repair the hook path for you.
Changelog
- fe47dd4 Write an upgrade-stable path into the Claude Code hook, and heal stale ones