| 6326 | } |
| 6327 | |
| 6328 | int cbm_remove_gemini_hooks(const char *settings_path) { |
| 6329 | return remove_hooks_json((hooks_remove_args_t){ |
| 6330 | .settings_path = settings_path, |
| 6331 | .hook_event = "BeforeTool", |
| 6332 | .matcher_str = GEMINI_HOOK_MATCHER, |
| 6333 | .old_matchers = cmm_gemini_old_matchers, |
| 6334 | .old_commands = cmm_gemini_released_hook_commands, |
| 6335 | .match_command_exact = GEMINI_HOOK_COMMAND, |
| 6336 | }); |
| 6337 | } |
| 6338 | |
| 6339 | #define GEMINI_HOOK_TIMEOUT_MS 5000 |
| 6340 |
no test coverage detected