| 4646 | } |
| 4647 | |
| 4648 | static int cbm_remove_devin_session_hook(const char *config_path, const char *binary_path) { |
| 4649 | char command[CLI_BUF_8K]; |
| 4650 | if (cbm_build_augment_dialect_command(binary_path, "devin", command, sizeof(command)) != |
| 4651 | CLI_OK) { |
| 4652 | return CLI_ERR; |
| 4653 | } |
| 4654 | return remove_hooks_json((hooks_remove_args_t){ |
| 4655 | .settings_path = config_path, |
| 4656 | .hook_event = "SessionStart", |
| 4657 | .match_command_exact = command, |
| 4658 | }); |
| 4659 | } |
| 4660 | |
| 4661 | #define CMM_HERMES_HOOK_ID "codebase-memory-mcp" |
| 4662 |
no test coverage detected