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

Method uninstall

src/agents/kimi.rs:74–91  ·  view source on GitHub ↗
(&self, ctx: &InstallContext)

Source from the content-addressed store, hash-verified

72 }
73
74 fn uninstall(&self, ctx: &InstallContext) -> Result<()> {
75 let kimi_dir = ctx.home.join(".kimi");
76 let mcp_path = kimi_dir.join("mcp.json");
77 uninstall_mcp_server(&mcp_path);
78
79 let agents_md = kimi_dir.join("AGENTS.md");
80 super::remove_managed_skill_prompt_index(
81 &ctx.home,
82 &agents_md,
83 crate::automation::skill_targets::SkillInstallTarget::Kimi,
84 )?;
85 uninstall_prompt_rules(&agents_md);
86
87 eprintln!();
88 eprintln!("Uninstall complete. Tracedecay has been removed from Kimi CLI.");
89 eprintln!("Start a new Kimi session for changes to take effect.");
90 Ok(())
91 }
92
93 fn healthcheck(&self, dc: &mut DoctorCounters, ctx: &HealthcheckContext) {
94 eprintln!("\n\x1b[1mKimi CLI integration\x1b[0m");

Callers

nothing calls this directly

Calls 3

uninstall_mcp_serverFunction · 0.70
uninstall_prompt_rulesFunction · 0.70

Tested by

no test coverage detected