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

Function codex_plugin_manifest

src/agents/codex.rs:588–596  ·  view source on GitHub ↗
(raw: &str, policy: CodexBundlePolicy)

Source from the content-addressed store, hash-verified

586}
587
588fn codex_plugin_manifest(raw: &str, policy: CodexBundlePolicy) -> Result<String> {
589 super::plugin_bundle::stamp_manifest_version_with(raw, |manifest| {
590 if !policy.include_hooks() {
591 if let Some(object) = manifest.as_object_mut() {
592 object.remove("hooks");
593 }
594 }
595 })
596}
597
598fn codex_plugin_mcp(raw: &str, tracedecay_bin: &str, policy: CodexBundlePolicy) -> Result<String> {
599 // Reuse the shared command rewrite, then layer the policy's args/env on

Callers 1

write_codex_plugin_filesFunction · 0.85

Calls 2

include_hooksMethod · 0.80

Tested by

no test coverage detected