(
install_dir: &Path,
tracedecay_bin: &str,
policy: CodexBundlePolicy,
)
| 542 | } |
| 543 | |
| 544 | fn write_codex_plugin_bundle_base( |
| 545 | install_dir: &Path, |
| 546 | tracedecay_bin: &str, |
| 547 | policy: CodexBundlePolicy, |
| 548 | ) -> Result<()> { |
| 549 | if let Some(parent) = install_dir.parent() { |
| 550 | std::fs::create_dir_all(parent).map_err(|e| TraceDecayError::Config { |
| 551 | message: format!("failed to create {}: {e}", parent.display()), |
| 552 | })?; |
| 553 | } |
| 554 | remove_codex_plugin_install(install_dir)?; |
| 555 | write_codex_plugin_files(install_dir, tracedecay_bin, policy) |
| 556 | } |
| 557 | |
| 558 | fn install_codex_managed_skill_overlay( |
| 559 | profile_home: &Path, |
no test coverage detected