| 5187 | } |
| 5188 | |
| 5189 | static int cbm_remove_devin_session_hook(const char *config_path, const char *binary_path) { |
| 5190 | char command[CLI_BUF_8K]; |
| 5191 | if (cbm_build_augment_dialect_command(binary_path, "devin", command, sizeof(command)) != |
| 5192 | CLI_OK) { |
| 5193 | return CLI_ERR; |
| 5194 | } |
| 5195 | return remove_hooks_json((hooks_remove_args_t){ |
| 5196 | .settings_path = config_path, |
| 5197 | .hook_event = "SessionStart", |
| 5198 | .match_command_exact = command, |
| 5199 | }); |
| 5200 | } |
| 5201 | |
| 5202 | #define CMM_HERMES_HOOK_ID "codebase-memory-mcp" |
| 5203 |
no test coverage detected