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

Function uninstall_codebuddy_durable_context

src/cli/cli.c:10527–10544  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10525}
10526
10527static void uninstall_codebuddy_durable_context(const char *home, bool dry_run) {
10528 char instructions_path[CLI_BUF_1K];
10529 char skills_dir[CLI_BUF_1K];
10530 char agent_path[CLI_BUF_1K];
10531 snprintf(instructions_path, sizeof(instructions_path), "%s/.codebuddy/CODEBUDDY.md", home);
10532 snprintf(skills_dir, sizeof(skills_dir), "%s/.codebuddy/skills", home);
10533 snprintf(agent_path, sizeof(agent_path), "%s/.codebuddy/agents/codebase-memory.md", home);
10534 uninstall_managed_agent_instructions("CodeBuddy Code CLI", instructions_path, dry_run);
10535 uninstall_agent_skill("CodeBuddy Code CLI", skills_dir, dry_run);
10536 uninstall_tiered_agent_profiles(
10537 (cbm_tiered_profile_set_t){
10538 .label = "CodeBuddy Code CLI",
10539 .verify_path = agent_path,
10540 .legacy_verify_content = legacy_codebuddy_verify_agent_content,
10541 .dialect = CBM_GRAPH_DIALECT_CODEBUDDY,
10542 },
10543 dry_run);
10544}
10545
10546static void uninstall_bob_durable_context(const char *home, bool ide, bool dry_run) {
10547 char rules_path[CLI_BUF_1K];

Callers 1

Tested by

no test coverage detected