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

Function install_codebuddy_durable_context

src/cli/cli.c:8473–8490  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8471}
8472
8473static void install_codebuddy_durable_context(const char *home, bool force, bool dry_run) {
8474 char instructions_path[CLI_BUF_1K];
8475 char skills_dir[CLI_BUF_1K];
8476 char agent_path[CLI_BUF_1K];
8477 snprintf(instructions_path, sizeof(instructions_path), "%s/.codebuddy/CODEBUDDY.md", home);
8478 snprintf(skills_dir, sizeof(skills_dir), "%s/.codebuddy/skills", home);
8479 snprintf(agent_path, sizeof(agent_path), "%s/.codebuddy/agents/codebase-memory.md", home);
8480 install_managed_agent_instructions("CodeBuddy Code CLI", instructions_path, dry_run);
8481 install_agent_skill("CodeBuddy Code CLI", skills_dir, force, dry_run);
8482 install_tiered_agent_profiles(
8483 (cbm_tiered_profile_set_t){
8484 .label = "CodeBuddy Code CLI",
8485 .verify_path = agent_path,
8486 .legacy_verify_content = legacy_codebuddy_verify_agent_content,
8487 .dialect = CBM_GRAPH_DIALECT_CODEBUDDY,
8488 },
8489 dry_run);
8490}
8491
8492static void install_bob_durable_context(const char *home, bool ide, bool force, bool dry_run) {
8493 char rules_path[CLI_BUF_1K];

Callers 1

Calls 3

install_agent_skillFunction · 0.85

Tested by

no test coverage detected