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

Function codex_plugin_hooks

src/agents/codex.rs:712–725  ·  view source on GitHub ↗
(raw: &str, tracedecay_bin: &str)

Source from the content-addressed store, hash-verified

710}
711
712fn codex_plugin_hooks(raw: &str, tracedecay_bin: &str) -> Result<String> {
713 let mut hooks: serde_json::Value = serde_json::from_str(raw)?;
714 for hook in CODEX_MANAGED_HOOKS {
715 install_codex_hook_event(
716 &mut hooks,
717 hook.event,
718 tracedecay_bin,
719 hook.subcommand,
720 hook.timeout_secs,
721 hook.matcher,
722 );
723 }
724 Ok(format!("{}\n", serde_json::to_string_pretty(&hooks)?))
725}
726
727fn install_codex_marketplace_entry(
728 marketplace_path: &Path,

Calls 1

install_codex_hook_eventFunction · 0.85