(&self, ctx: &InstallContext, project_path: &Path)
| 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 |
nothing calls this directly
no test coverage detected