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

Method install_local

src/agents/opencode.rs:58–67  ·  view source on GitHub ↗
(&self, ctx: &InstallContext, project_path: &Path)

Source from the content-addressed store, hash-verified

56 }
57
58 fn install_local(&self, ctx: &InstallContext, project_path: &Path) -> Result<()> {
59 install_mcp_server(&project_path.join("opencode.json"), &ctx.tracedecay_bin)?;
60 let agents_md = project_path.join("AGENTS.md");
61 install_prompt_rules(&agents_md)?;
62 super::install_managed_skill_prompt_index(
63 &ctx.home,
64 &agents_md,
65 crate::automation::skill_targets::SkillInstallTarget::OpenCode,
66 )
67 }
68
69 fn uninstall(&self, ctx: &InstallContext) -> Result<()> {
70 let config_path = opencode_config_path(&ctx.home);

Callers

nothing calls this directly

Calls 3

install_mcp_serverFunction · 0.70
install_prompt_rulesFunction · 0.70

Tested by

no test coverage detected