You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Two bugs prevented Bash compression from working since Claude Code
v2.1.101 tightened hook schema validation:
1. hookSpecificOutput was missing the required hookEventName field,
causing every rewrite to be rejected with a validation error.
2. The rewritten command hardcoded python3 instead of routing through
python-launcher.sh, breaking Windows (Store shim) and bypassing the
cross-platform interpreter discovery.
Also adds an explicit anti-recursion guard: shell interpreters (bash, sh,
zsh, dash, fish) are now excluded from the whitelist so the rewritten
command can never trigger the hook again.
Closes#26
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
0 commit comments