| 10187 | } |
| 10188 | |
| 10189 | static void uninstall_codebuddy_durable_context(const char *home, bool dry_run) { |
| 10190 | char instructions_path[CLI_BUF_1K]; |
| 10191 | char skills_dir[CLI_BUF_1K]; |
| 10192 | char agent_path[CLI_BUF_1K]; |
| 10193 | snprintf(instructions_path, sizeof(instructions_path), "%s/.codebuddy/CODEBUDDY.md", home); |
| 10194 | snprintf(skills_dir, sizeof(skills_dir), "%s/.codebuddy/skills", home); |
| 10195 | snprintf(agent_path, sizeof(agent_path), "%s/.codebuddy/agents/codebase-memory.md", home); |
| 10196 | uninstall_managed_agent_instructions("CodeBuddy Code CLI", instructions_path, dry_run); |
| 10197 | uninstall_agent_skill("CodeBuddy Code CLI", skills_dir, dry_run); |
| 10198 | uninstall_tiered_agent_profiles( |
| 10199 | (cbm_tiered_profile_set_t){ |
| 10200 | .label = "CodeBuddy Code CLI", |
| 10201 | .verify_path = agent_path, |
| 10202 | .legacy_verify_content = legacy_codebuddy_verify_agent_content, |
| 10203 | .dialect = CBM_GRAPH_DIALECT_CODEBUDDY, |
| 10204 | }, |
| 10205 | dry_run); |
| 10206 | } |
| 10207 | |
| 10208 | static void uninstall_bob_durable_context(const char *home, bool ide, bool dry_run) { |
| 10209 | char rules_path[CLI_BUF_1K]; |
no test coverage detected