| 4503 | } |
| 4504 | |
| 4505 | static int cbm_remove_devin_session_hook(const char *config_path, const char *binary_path) { |
| 4506 | char command[CLI_BUF_8K]; |
| 4507 | if (cbm_build_augment_dialect_command(binary_path, "devin", command, sizeof(command)) != |
| 4508 | CLI_OK) { |
| 4509 | return CLI_ERR; |
| 4510 | } |
| 4511 | return remove_hooks_json((hooks_remove_args_t){ |
| 4512 | .settings_path = config_path, |
| 4513 | .hook_event = "SessionStart", |
| 4514 | .match_command_exact = command, |
| 4515 | }); |
| 4516 | } |
| 4517 | |
| 4518 | #define CMM_HERMES_HOOK_ID "codebase-memory-mcp" |
| 4519 |
no test coverage detected