| 3449 | } |
| 3450 | |
| 3451 | static bool cbm_optional_hook_supported(const char *agent_name, bool windows) { |
| 3452 | if (!agent_name || strcmp(agent_name, "cline") == 0) { |
| 3453 | return false; |
| 3454 | } |
| 3455 | if (!windows) { |
| 3456 | return true; |
| 3457 | } |
| 3458 | return strcmp(agent_name, "kimi") == 0 || strcmp(agent_name, "hermes") == 0 || |
| 3459 | strcmp(agent_name, "qoder") == 0; |
| 3460 | } |
| 3461 | |
| 3462 | static bool cbm_current_platform_is_windows(void) { |
| 3463 | #ifdef _WIN32 |
no outgoing calls
no test coverage detected