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

Function uninstall_pochi_durable_context

src/cli/cli.c:12049–12066  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12047}
12048
12049static void uninstall_pochi_durable_context(const char *home, bool dry_run) {
12050 char instructions_path[CLI_BUF_1K];
12051 char skills_dir[CLI_BUF_1K];
12052 char agent_path[CLI_BUF_1K];
12053 snprintf(instructions_path, sizeof(instructions_path), "%s/.pochi/README.pochi.md", home);
12054 snprintf(skills_dir, sizeof(skills_dir), "%s/.pochi/skills", home);
12055 snprintf(agent_path, sizeof(agent_path), "%s/.pochi/agents/codebase-memory.md", home);
12056 uninstall_managed_agent_instructions("Pochi", instructions_path, dry_run);
12057 uninstall_agent_skill("Pochi", skills_dir, dry_run);
12058 uninstall_tiered_agent_profiles(
12059 (cbm_tiered_profile_set_t){
12060 .label = "Pochi",
12061 .verify_path = agent_path,
12062 .legacy_verify_content = legacy_pochi_verify_agent_content,
12063 .dialect = CBM_GRAPH_DIALECT_POCHI,
12064 },
12065 dry_run);
12066}
12067
12068static void uninstall_omp_durable_context(const cbm_agent_registry_context_t *registry,
12069 bool dry_run) {

Callers 1

Tested by

no test coverage detected