| 3406 | } |
| 3407 | |
| 3408 | static bool cbm_optional_hook_supported(const char *agent_name, bool windows) { |
| 3409 | if (!agent_name || strcmp(agent_name, "cline") == 0) { |
| 3410 | return false; |
| 3411 | } |
| 3412 | if (!windows) { |
| 3413 | return true; |
| 3414 | } |
| 3415 | return strcmp(agent_name, "kimi") == 0 || strcmp(agent_name, "hermes") == 0 || |
| 3416 | strcmp(agent_name, "qoder") == 0; |
| 3417 | } |
| 3418 | |
| 3419 | static bool cbm_current_platform_is_windows(void) { |
| 3420 | #ifdef _WIN32 |
no outgoing calls
no test coverage detected