| 10162 | } |
| 10163 | |
| 10164 | static void uninstall_pochi_durable_context(const char *home, bool dry_run) { |
| 10165 | char instructions_path[CLI_BUF_1K]; |
| 10166 | char skills_dir[CLI_BUF_1K]; |
| 10167 | char agent_path[CLI_BUF_1K]; |
| 10168 | snprintf(instructions_path, sizeof(instructions_path), "%s/.pochi/README.pochi.md", home); |
| 10169 | snprintf(skills_dir, sizeof(skills_dir), "%s/.pochi/skills", home); |
| 10170 | snprintf(agent_path, sizeof(agent_path), "%s/.pochi/agents/codebase-memory.md", home); |
| 10171 | uninstall_managed_agent_instructions("Pochi", instructions_path, dry_run); |
| 10172 | uninstall_agent_skill("Pochi", skills_dir, dry_run); |
| 10173 | uninstall_tiered_agent_profiles( |
| 10174 | (cbm_tiered_profile_set_t){ |
| 10175 | .label = "Pochi", |
| 10176 | .verify_path = agent_path, |
| 10177 | .legacy_verify_content = legacy_pochi_verify_agent_content, |
| 10178 | .dialect = CBM_GRAPH_DIALECT_POCHI, |
| 10179 | }, |
| 10180 | dry_run); |
| 10181 | } |
| 10182 | |
| 10183 | static void uninstall_agent_client_registry(const char *home, bool dry_run) { |
| 10184 | cbm_agent_registry_context_t registry; |
no test coverage detected