MCPcopy Create free account
hub / github.com/ScriptedAlchemy/tracedecay / export_codex_plugin_artifact

Function export_codex_plugin_artifact

src/agents/codex.rs:527–542  ·  view source on GitHub ↗

Export a complete shareable Codex plugin bundle with active managed skills.

(
    profile_root: &Path,
    output: &Path,
    tracedecay_bin: &str,
)

Source from the content-addressed store, hash-verified

525
526/// Export a complete shareable Codex plugin bundle with active managed skills.
527pub 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
544fn write_codex_plugin_bundle_base(
545 install_dir: &Path,

Calls 2