MCPcopy Create free account
hub / github.com/ScriptedAlchemy/tracedecay / uninstall

Method uninstall

src/agents/claude.rs:111–132  ·  view source on GitHub ↗
(&self, ctx: &InstallContext)

Source from the content-addressed store, hash-verified

109 }
110
111 fn uninstall(&self, ctx: &InstallContext) -> Result<()> {
112 let claude_dir = ctx.home.join(".claude");
113 let settings_path = claude_dir.join("settings.json");
114 let claude_md_path = claude_dir.join("CLAUDE.md");
115
116 // Remove the plugin: marketplace registration, enablement, deployed dir.
117 unregister_marketplace(&ctx.home)?;
118 uninstall_settings(&settings_path);
119 remove_deployed_bundle(&ctx.home)?;
120
121 super::remove_managed_skill_prompt_index(
122 &ctx.home,
123 &claude_md_path,
124 crate::automation::skill_targets::SkillInstallTarget::Claude,
125 )?;
126 uninstall_claude_md_rules(&claude_md_path);
127
128 eprintln!();
129 eprintln!("Uninstall complete. TraceDecay has been removed from Claude Code.");
130 eprintln!("Restart Claude Code for changes to take effect.");
131 Ok(())
132 }
133
134 fn update_plugin(&self, ctx: &InstallContext) -> Result<UpdatePluginOutcome> {
135 let claude_dir = ctx.home.join(".claude");

Callers

nothing calls this directly

Calls 5

unregister_marketplaceFunction · 0.85
uninstall_settingsFunction · 0.85
remove_deployed_bundleFunction · 0.85

Tested by

no test coverage detected