{"version":"1.0.38","anchor":"major-features","canonical_anchor":"major-features","heading":"Major Features","tier":null,"area":null,"scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/1.0.38\/e\/major-features","release_url":"https:\/\/changelogs.core-directive.com\/v\/1.0.38","markdown":"### Major Features\n\nHook System (New)\n\n- **Pre\/Post Tool Hooks**: Execute custom commands before and after tool operations\n- `PreToolUse` - Run commands before tools execute (e.g., validation, logging)\n- `PostToolUse` - Run commands after tools complete (e.g., notifications, cleanup)\n- `Stop` - Execute commands when Claude stops responding\n- `Notification` - Trigger commands for system notifications\n- **Hook Configuration**: Configure hooks with matchers to target specific tools or patterns\n- Support for regex and pipe-separated matchers\n- Hooks can approve\/block operations or provide feedback\n- JSON output parsing for structured hook responses\n- 60-second timeout with automatic cancellation\n\nEnhanced Search Tool (Grep)\n\n- **New Grep Tool**: Powerful search based on ripgrep with advanced features\n- Multiple output modes: `content`, `files_with_matches`, `count`\n- Context lines support with `-A`, `-B`, `-C` flags\n- Line numbers with `-n` flag\n- Case-insensitive search with `-i` flag\n- File type filtering with `type` parameter\n- Glob pattern support for file filtering\n- **Multiline mode**: Search across line boundaries with `multiline: true`\n- Head limit to control output size\n- Optimized for correct permissions and file access\n- Never invokes `grep` or `rg` as bash commands directly"}