(home: &Path, project_path: &Path, tracedecay_bin: &str)
| 378 | } |
| 379 | |
| 380 | fn install_codex_repo_plugin(home: &Path, project_path: &Path, tracedecay_bin: &str) -> Result<()> { |
| 381 | let install_dir = codex_repo_plugin_install_dir(project_path); |
| 382 | install_codex_plugin_bundle( |
| 383 | &install_dir, |
| 384 | tracedecay_bin, |
| 385 | InstallScope::ProjectLocal, |
| 386 | home, |
| 387 | )?; |
| 388 | install_codex_marketplace_entry( |
| 389 | &codex_repo_marketplace_path(project_path), |
| 390 | "local-repo", |
| 391 | "Local Repo", |
| 392 | "./plugins/tracedecay", |
| 393 | )?; |
| 394 | eprintln!( |
| 395 | "\x1b[32m✔\x1b[0m Installed Codex repo plugin source at {}", |
| 396 | install_dir.display() |
| 397 | ); |
| 398 | Ok(()) |
| 399 | } |
| 400 | |
| 401 | fn sweep_legacy_global_codex_config(home: &Path) { |
| 402 | let codex_dir = home.join(".codex"); |
no test coverage detected