(&self, ctx: &InstallContext)
| 67 | } |
| 68 | |
| 69 | fn uninstall(&self, ctx: &InstallContext) -> Result<()> { |
| 70 | let config_path = opencode_config_path(&ctx.home); |
| 71 | uninstall_mcp_server(&config_path); |
| 72 | |
| 73 | let global_prompt = opencode_prompt_path(&ctx.home); |
| 74 | super::remove_managed_skill_prompt_index( |
| 75 | &ctx.home, |
| 76 | &global_prompt, |
| 77 | crate::automation::skill_targets::SkillInstallTarget::OpenCode, |
| 78 | )?; |
| 79 | uninstall_prompt_rules(&global_prompt); |
| 80 | |
| 81 | eprintln!(); |
| 82 | eprintln!("Uninstall complete. Tracedecay has been removed from OpenCode."); |
| 83 | eprintln!("Start a new OpenCode session for changes to take effect."); |
| 84 | Ok(()) |
| 85 | } |
| 86 | |
| 87 | fn healthcheck(&self, dc: &mut DoctorCounters, ctx: &HealthcheckContext) { |
| 88 | eprintln!("\n\x1b[1mOpenCode integration\x1b[0m"); |
nothing calls this directly
no test coverage detected