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

Function install_codex_plugin_bundle

src/agents/codex.rs:505–524  ·  view source on GitHub ↗
(
    install_dir: &Path,
    tracedecay_bin: &str,
    scope: InstallScope,
    profile_home: &Path,
)

Source from the content-addressed store, hash-verified

503}
504
505fn install_codex_plugin_bundle(
506 install_dir: &Path,
507 tracedecay_bin: &str,
508 scope: InstallScope,
509 profile_home: &Path,
510) -> Result<()> {
511 let policy = CodexBundlePolicy::for_scope(scope);
512 write_codex_plugin_bundle_base(install_dir, tracedecay_bin, policy)?;
513 install_codex_managed_skill_overlay(profile_home, install_dir)?;
514 if policy.include_memory_digest() {
515 let profile_root =
516 crate::automation::skill_targets::profile_root_for_agent_home(profile_home);
517 crate::automation::memory_digest::sync_memory_digest_export(
518 &profile_root,
519 crate::automation::skill_targets::SkillInstallTarget::Codex,
520 install_dir,
521 )?;
522 }
523 Ok(())
524}
525
526/// Export a complete shareable Codex plugin bundle with active managed skills.
527pub fn export_codex_plugin_artifact(

Callers 4

update_pluginMethod · 0.85

Tested by

no test coverage detected