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

Function write_codex_plugin_bundle_base

src/agents/codex.rs:544–556  ·  view source on GitHub ↗
(
    install_dir: &Path,
    tracedecay_bin: &str,
    policy: CodexBundlePolicy,
)

Source from the content-addressed store, hash-verified

542}
543
544fn 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
558fn install_codex_managed_skill_overlay(
559 profile_home: &Path,

Callers 2

Calls 2

write_codex_plugin_filesFunction · 0.85

Tested by

no test coverage detected