| 5469 | } |
| 5470 | |
| 5471 | static int cbm_remove_gemini_coverage_hook(const char *settings_path, const char *binary_path) { |
| 5472 | char command[CLI_BUF_8K]; |
| 5473 | if (cbm_build_augment_dialect_command(binary_path, "gemini", command, sizeof(command)) != |
| 5474 | CLI_OK) { |
| 5475 | return CLI_ERR; |
| 5476 | } |
| 5477 | return remove_hooks_json((hooks_remove_args_t){ |
| 5478 | .settings_path = settings_path, |
| 5479 | .hook_event = "AfterTool", |
| 5480 | .matcher_str = "read_file", |
| 5481 | .match_command_exact = command, |
| 5482 | }); |
| 5483 | } |
| 5484 | #endif |
| 5485 | |
| 5486 | /* Gemini CLI SessionStart reminder. settings.json uses the same |
no test coverage detected