-
Fix PreToolUse hook for Claude Code v2.1.117+ (Glob|Grep → Bash matcher)
发布于
2026-04-27 23:56:54 +00:00 Grep and Glob tools removed in CC v2.1.117; searches now go through Bash.
Hook now reads stdin tool_input and pattern-matches on search commands.
Uninstall/reinstall handles both old and new matcher for clean upgrades.Closes #578
Co-Authored-By: Claude Sonnet 4.6 noreply@anthropic.com
下载附件