| 2263 | } |
| 2264 | |
| 2265 | int cbm_remove_gemini_hooks(const char *settings_path) { |
| 2266 | return remove_hooks_json((hooks_remove_args_t){ |
| 2267 | .settings_path = settings_path, |
| 2268 | .hook_event = "BeforeTool", |
| 2269 | .matcher_str = GEMINI_HOOK_MATCHER, |
| 2270 | .old_matchers = cmm_gemini_old_matchers, |
| 2271 | }); |
| 2272 | } |
| 2273 | |
| 2274 | /* Gemini CLI / Antigravity SessionStart reminder. settings.json uses the same |
| 2275 | * hooks.<Event>[].hooks[] JSON shape as Claude, so it reuses upsert_hooks_json. |
no test coverage detected