Skip to content

v0.0.3

Choose a tag to compare

@github-actions github-actions released this 02 Jul 14:07
· 46 commits to main since this release
ce533ed

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/leash

Fixed

  • The hook no longer dies on upgrade. leash init used to resolve symlinks when recording the hook command, so Homebrew installs wrote the version-pinned Caskroom/leash/<version>/leash path — and the next brew upgrade deleted it, silently disarming Leash (it fails open) until re-init. Init now records the stable /opt/homebrew/bin/leash symlink, which upgrades repoint.
  • leash init now heals. If your settings already carry a Leash hook with a stale or different command, re-running leash init updates 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: run leash init (or leash 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