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

Function uninstall_pochi_durable_context

src/cli/cli.c:11830–11847  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11828}
11829
11830static void uninstall_pochi_durable_context(const char *home, bool dry_run) {
11831 char instructions_path[CLI_BUF_1K];
11832 char skills_dir[CLI_BUF_1K];
11833 char agent_path[CLI_BUF_1K];
11834 snprintf(instructions_path, sizeof(instructions_path), "%s/.pochi/README.pochi.md", home);
11835 snprintf(skills_dir, sizeof(skills_dir), "%s/.pochi/skills", home);
11836 snprintf(agent_path, sizeof(agent_path), "%s/.pochi/agents/codebase-memory.md", home);
11837 uninstall_managed_agent_instructions("Pochi", instructions_path, dry_run);
11838 uninstall_agent_skill("Pochi", skills_dir, dry_run);
11839 uninstall_tiered_agent_profiles(
11840 (cbm_tiered_profile_set_t){
11841 .label = "Pochi",
11842 .verify_path = agent_path,
11843 .legacy_verify_content = legacy_pochi_verify_agent_content,
11844 .dialect = CBM_GRAPH_DIALECT_POCHI,
11845 },
11846 dry_run);
11847}
11848
11849static void uninstall_omp_durable_context(const cbm_agent_registry_context_t *registry,
11850 bool dry_run) {

Callers 1

Tested by

no test coverage detected