| 3344 | } |
| 3345 | |
| 3346 | static bool cbm_optional_hook_supported(const char *agent_name, bool windows) { |
| 3347 | if (!agent_name || strcmp(agent_name, "cline") == 0) { |
| 3348 | return false; |
| 3349 | } |
| 3350 | if (!windows) { |
| 3351 | return true; |
| 3352 | } |
| 3353 | return strcmp(agent_name, "kimi") == 0 || strcmp(agent_name, "hermes") == 0 || |
| 3354 | strcmp(agent_name, "qoder") == 0; |
| 3355 | } |
| 3356 | |
| 3357 | static bool cbm_current_platform_is_windows(void) { |
| 3358 | #ifdef _WIN32 |
no outgoing calls
no test coverage detected