(install_dir: &Path)
| 414 | } |
| 415 | |
| 416 | fn cursor_plugin_managed_paths(install_dir: &Path) -> Vec<PathBuf> { |
| 417 | let mut paths: Vec<PathBuf> = embedded_plugin_files() |
| 418 | .into_iter() |
| 419 | .map(|(relative, _)| install_dir.join(relative)) |
| 420 | .collect(); |
| 421 | paths.push(install_dir.join("rules/tracedecay-memory-digest.mdc")); |
| 422 | paths |
| 423 | } |
| 424 | |
| 425 | fn legacy_mcp_has_tracedecay(mcp_path: &Path) -> bool { |
| 426 | load_json_file(mcp_path) |