Export a complete shareable Codex plugin bundle with active managed skills.
(
profile_root: &Path,
output: &Path,
tracedecay_bin: &str,
)
| 525 | |
| 526 | /// Export a complete shareable Codex plugin bundle with active managed skills. |
| 527 | pub fn export_codex_plugin_artifact( |
| 528 | profile_root: &Path, |
| 529 | output: &Path, |
| 530 | tracedecay_bin: &str, |
| 531 | ) -> Result<crate::automation::skill_targets::SkillInstallSummary> { |
| 532 | write_codex_plugin_bundle_base( |
| 533 | output, |
| 534 | tracedecay_bin, |
| 535 | CodexBundlePolicy::for_scope(InstallScope::Global), |
| 536 | )?; |
| 537 | crate::automation::skill_targets::export_native_skill_overlay( |
| 538 | profile_root, |
| 539 | crate::automation::skill_targets::SkillInstallTarget::Codex, |
| 540 | output, |
| 541 | ) |
| 542 | } |
| 543 | |
| 544 | fn write_codex_plugin_bundle_base( |
| 545 | install_dir: &Path, |