| 2029 | } |
| 2030 | |
| 2031 | int cbm_remove_claude_hooks(const char *settings_path) { |
| 2032 | return remove_hooks_json((hooks_remove_args_t){ |
| 2033 | .settings_path = settings_path, |
| 2034 | .hook_event = "PreToolUse", |
| 2035 | .matcher_str = CMM_HOOK_MATCHER, |
| 2036 | .old_matchers = cmm_claude_old_matchers, |
| 2037 | }); |
| 2038 | } |
| 2039 | |
| 2040 | /* Install the search-augmenter shim to ~/.claude/hooks/. |
| 2041 | * The shim is a thin wrapper that delegates to `<binary> hook-augment`, |
no test coverage detected