| 6356 | } |
| 6357 | |
| 6358 | static int cbm_remove_gemini_coverage_hook(const char *settings_path, const char *binary_path) { |
| 6359 | char command[CLI_BUF_8K]; |
| 6360 | if (cbm_build_augment_dialect_command(binary_path, "gemini", command, sizeof(command)) != |
| 6361 | CLI_OK) { |
| 6362 | return CLI_ERR; |
| 6363 | } |
| 6364 | return remove_hooks_json((hooks_remove_args_t){ |
| 6365 | .settings_path = settings_path, |
| 6366 | .hook_event = "AfterTool", |
| 6367 | .matcher_str = "read_file", |
| 6368 | .match_command_exact = command, |
| 6369 | }); |
| 6370 | } |
| 6371 | #endif |
| 6372 | |
| 6373 | /* Gemini CLI SessionStart reminder. settings.json uses the same |
no test coverage detected