ponytail/hooks
DietrichGebert d676635325
fix: hooks degrade gracefully when node is not on PATH (#57)
Claude Code runs hooks via a non-interactive /bin/sh. On setups where node
isn't on that shell's PATH (Nix/nix-darwin, nvm, fnm), every prompt errored
with "/bin/sh: node: command not found". Guard each hook command so it runs
node only when present and exits 0 otherwise, no more per-prompt noise. The
slash-command skills are unaffected; only the always-on activation needs node.
Document the requirement in the README install section.

Closes #51.

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-15 11:23:59 +02:00
..
copilot-hooks.json Adding support for Copilot Marketplace plugin (#47) 2026-06-15 11:02:59 +02:00
hooks.json fix: hooks degrade gracefully when node is not on PATH (#57) 2026-06-15 11:23:59 +02:00
ponytail-activate.js fix: honor CLAUDE_CONFIG_DIR in hooks (#37) 2026-06-15 00:00:01 +02:00
ponytail-config.js fix: honor CLAUDE_CONFIG_DIR in hooks (#37) 2026-06-15 00:00:01 +02:00
ponytail-instructions.js feat: refine ruleset from a full-project field review (#39) 2026-06-15 02:02:50 +02:00
ponytail-mode-tracker.js feat: codex support 2026-06-12 08:49:33 -04:00
ponytail-runtime.js Adding support for Copilot Marketplace plugin (#47) 2026-06-15 11:02:59 +02:00
ponytail-statusline.ps1 feat: full plugin integration + cross-agent rules 2026-06-12 03:25:15 +02:00
ponytail-statusline.sh feat: full plugin integration + cross-agent rules 2026-06-12 03:25:15 +02:00