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

Method install_local

src/agents/kiro.rs:196–214  ·  view source on GitHub ↗
(&self, ctx: &InstallContext, project_path: &Path)

Source from the content-addressed store, hash-verified

194 }
195
196 fn install_local(&self, ctx: &InstallContext, project_path: &Path) -> Result<()> {
197 let mcp_path = workspace_mcp_config_path(project_path);
198 install_mcp_server(&mcp_path, &ctx.tracedecay_bin)?;
199
200 let steering = project_path.join(".kiro/steering/tracedecay.md");
201 install_steering_rules(&steering)?;
202
203 let agent_path = project_path.join(".kiro/agents/tracedecay.json");
204 let skill_index_path = project_path.join(".kiro/steering/tracedecay-managed-skills.md");
205 install_managed_agent(
206 &agent_path,
207 &ctx.tracedecay_bin,
208 &steering,
209 &ctx.home,
210 Some(&skill_index_path),
211 )?;
212
213 Ok(())
214 }
215
216 fn update_plugin(&self, ctx: &InstallContext) -> Result<UpdatePluginOutcome> {
217 // The managed agent file is the only generated artifact (it bakes the

Callers

nothing calls this directly

Calls 4

install_steering_rulesFunction · 0.85
install_managed_agentFunction · 0.85
install_mcp_serverFunction · 0.70

Tested by

no test coverage detected