| 3566 | } |
| 3567 | |
| 3568 | static bool cbm_optional_hook_supported(const char *agent_name, bool windows) { |
| 3569 | if (!agent_name || strcmp(agent_name, "cline") == 0) { |
| 3570 | return false; |
| 3571 | } |
| 3572 | if (!windows) { |
| 3573 | return true; |
| 3574 | } |
| 3575 | return strcmp(agent_name, "kimi") == 0 || strcmp(agent_name, "hermes") == 0 || |
| 3576 | strcmp(agent_name, "qoder") == 0; |
| 3577 | } |
| 3578 | |
| 3579 | static bool cbm_current_platform_is_windows(void) { |
| 3580 | #ifdef _WIN32 |
no outgoing calls
no test coverage detected