MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / cbm_optional_hook_supported

Function cbm_optional_hook_supported

src/cli/cli.c:4013–4022  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4011}
4012
4013static bool cbm_optional_hook_supported(const char *agent_name, bool windows) {
4014 if (!agent_name || strcmp(agent_name, "cline") == 0) {
4015 return false;
4016 }
4017 if (!windows) {
4018 return true;
4019 }
4020 return strcmp(agent_name, "kimi") == 0 || strcmp(agent_name, "hermes") == 0 ||
4021 strcmp(agent_name, "qoder") == 0;
4022}
4023
4024static bool cbm_current_platform_is_windows(void) {
4025#ifdef _WIN32

Calls

no outgoing calls

Tested by

no test coverage detected