{"version":"1.0.38","anchor":"configuration","canonical_anchor":"configuration","heading":"Configuration","tier":null,"area":null,"scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/1.0.38\/e\/configuration","release_url":"https:\/\/changelogs.core-directive.com\/v\/1.0.38","markdown":"### Configuration\n\nNew hook configuration example:\n\n`\/\/ Configure hooks in settings { \"hooks\": { \"PreToolUse\": [ { \"matcher\": \"file_edit|str_replace\", \"hooks\": [ { \"type\": \"command\", \"command\": \"echo 'About to edit a file' | tee -a \/tmp\/claude.log\" } ] } ] } }` New Grep tool usage examples:\n\n`# Search for function definitions\nclaude> Search for \"function.*Error\" in all JavaScript files\n\n# Multiline search for struct definitions\nclaude> Search for struct definitions with a \"field\" property using multiline mode\n\n# Count occurrences with context\nclaude> Count how many times \"TODO\" appears in the codebase with 2 lines of context`"}