(&self, ctx: &InstallContext)
| 29 | } |
| 30 | |
| 31 | fn install(&self, ctx: &InstallContext) -> Result<()> { |
| 32 | install_cursor_plugin(&ctx.home, &ctx.tracedecay_bin)?; |
| 33 | sweep_legacy_project_artifacts_at_cwd(&ctx.home); |
| 34 | |
| 35 | eprintln!(); |
| 36 | eprintln!("Setup complete. Next steps:"); |
| 37 | eprintln!(" 1. cd into your project and run: tracedecay init"); |
| 38 | eprintln!(" 2. Reload Cursor — the tracedecay plugin is now installed"); |
| 39 | eprintln!( |
| 40 | " 3. Optional: Cursor's Auto-review mode reviews every MCP call; to let \ |
| 41 | tracedecay's read-only tools run without per-call review, copy the \ |
| 42 | permissions.json mcpAllowlist snippet from the plugin README \ |
| 43 | ({})", |
| 44 | cursor_plugin_install_dir(&ctx.home) |
| 45 | .join("README.md") |
| 46 | .display() |
| 47 | ); |
| 48 | Ok(()) |
| 49 | } |
| 50 | |
| 51 | fn supports_local_install(&self) -> bool { |
| 52 | true |
nothing calls this directly
no test coverage detected