| 2253 | "get_code_snippet over grep/file search for code discovery.' >&2" |
| 2254 | |
| 2255 | int cbm_upsert_gemini_hooks(const char *settings_path) { |
| 2256 | return upsert_hooks_json((hooks_upsert_args_t){ |
| 2257 | .settings_path = settings_path, |
| 2258 | .hook_event = "BeforeTool", |
| 2259 | .matcher_str = GEMINI_HOOK_MATCHER, |
| 2260 | .command_str = GEMINI_HOOK_COMMAND, |
| 2261 | .old_matchers = cmm_gemini_old_matchers, |
| 2262 | }); |
| 2263 | } |
| 2264 | |
| 2265 | int cbm_remove_gemini_hooks(const char *settings_path) { |
| 2266 | return remove_hooks_json((hooks_remove_args_t){ |
no test coverage detected