Major Features #
Hook System (New)
- Pre/Post Tool Hooks: Execute custom commands before and after tool operations
PreToolUse- Run commands before tools execute (e.g., validation, logging)PostToolUse- Run commands after tools complete (e.g., notifications, cleanup)Stop- Execute commands when Claude stops respondingNotification- Trigger commands for system notifications- Hook Configuration: Configure hooks with matchers to target specific tools or patterns
- Support for regex and pipe-separated matchers
- Hooks can approve/block operations or provide feedback
- JSON output parsing for structured hook responses
- 60-second timeout with automatic cancellation
Enhanced Search Tool (Grep)
- New Grep Tool: Powerful search based on ripgrep with advanced features
- Multiple output modes:
content,files_with_matches,count - Context lines support with
-A,-B,-Cflags - Line numbers with
-nflag - Case-insensitive search with
-iflag - File type filtering with
typeparameter - Glob pattern support for file filtering
- Multiline mode: Search across line boundaries with
multiline: true - Head limit to control output size
- Optimized for correct permissions and file access
- Never invokes
greporrgas bash commands directly