| 3428 | } |
| 3429 | |
| 3430 | static bool cbm_optional_hook_supported(const char *agent_name, bool windows) { |
| 3431 | if (!agent_name || strcmp(agent_name, "cline") == 0) { |
| 3432 | return false; |
| 3433 | } |
| 3434 | if (!windows) { |
| 3435 | return true; |
| 3436 | } |
| 3437 | return strcmp(agent_name, "kimi") == 0 || strcmp(agent_name, "hermes") == 0 || |
| 3438 | strcmp(agent_name, "qoder") == 0; |
| 3439 | } |
| 3440 | |
| 3441 | static bool cbm_current_platform_is_windows(void) { |
| 3442 | #ifdef _WIN32 |
no outgoing calls
no test coverage detected