| 4011 | } |
| 4012 | |
| 4013 | static bool cbm_optional_hook_supported(const char *agent_name, bool windows) { |
| 4014 | if (!agent_name || strcmp(agent_name, "cline") == 0) { |
| 4015 | return false; |
| 4016 | } |
| 4017 | if (!windows) { |
| 4018 | return true; |
| 4019 | } |
| 4020 | return strcmp(agent_name, "kimi") == 0 || strcmp(agent_name, "hermes") == 0 || |
| 4021 | strcmp(agent_name, "qoder") == 0; |
| 4022 | } |
| 4023 | |
| 4024 | static bool cbm_current_platform_is_windows(void) { |
| 4025 | #ifdef _WIN32 |
no outgoing calls
no test coverage detected