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