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

Function uninstall_pochi_durable_context

src/cli/cli.c:10785–10802  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10783}
10784
10785static void uninstall_pochi_durable_context(const char *home, bool dry_run) {
10786 char instructions_path[CLI_BUF_1K];
10787 char skills_dir[CLI_BUF_1K];
10788 char agent_path[CLI_BUF_1K];
10789 snprintf(instructions_path, sizeof(instructions_path), "%s/.pochi/README.pochi.md", home);
10790 snprintf(skills_dir, sizeof(skills_dir), "%s/.pochi/skills", home);
10791 snprintf(agent_path, sizeof(agent_path), "%s/.pochi/agents/codebase-memory.md", home);
10792 uninstall_managed_agent_instructions("Pochi", instructions_path, dry_run);
10793 uninstall_agent_skill("Pochi", skills_dir, dry_run);
10794 uninstall_tiered_agent_profiles(
10795 (cbm_tiered_profile_set_t){
10796 .label = "Pochi",
10797 .verify_path = agent_path,
10798 .legacy_verify_content = legacy_pochi_verify_agent_content,
10799 .dialect = CBM_GRAPH_DIALECT_POCHI,
10800 },
10801 dry_run);
10802}
10803
10804static void uninstall_agent_client_registry(const char *home, bool dry_run) {
10805 cbm_agent_registry_context_t registry;

Callers 1

Tested by

no test coverage detected