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

Function cbm_install_agent_configs

src/cli/cli.c:3552–3564  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3550}
3551
3552static void cbm_install_agent_configs(const char *home, const char *binary_path, bool force,
3553 bool dry_run) {
3554 cbm_detected_agents_t agents = cbm_detect_agents(home);
3555 if (!g_install_plan) {
3556 print_detected_agents(&agents);
3557 }
3558
3559 if (agents.claude_code) {
3560 install_claude_code_config(home, binary_path, force, dry_run);
3561 }
3562 install_cli_agent_configs(&agents, home, binary_path, dry_run);
3563 install_editor_agent_configs(&agents, home, binary_path, dry_run);
3564}
3565
3566/* Count .db files in the cache directory. */
3567static int count_db_indexes(const char *home) {

Callers 3

cbm_cmd_installFunction · 0.85
cbm_cmd_updateFunction · 0.85

Calls 5

cbm_detect_agentsFunction · 0.85
print_detected_agentsFunction · 0.85

Tested by

no test coverage detected