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

Function install_codex_repo_plugin

src/agents/codex.rs:380–399  ·  view source on GitHub ↗
(home: &Path, project_path: &Path, tracedecay_bin: &str)

Source from the content-addressed store, hash-verified

378}
379
380fn install_codex_repo_plugin(home: &Path, project_path: &Path, tracedecay_bin: &str) -> Result<()> {
381 let install_dir = codex_repo_plugin_install_dir(project_path);
382 install_codex_plugin_bundle(
383 &install_dir,
384 tracedecay_bin,
385 InstallScope::ProjectLocal,
386 home,
387 )?;
388 install_codex_marketplace_entry(
389 &codex_repo_marketplace_path(project_path),
390 "local-repo",
391 "Local Repo",
392 "./plugins/tracedecay",
393 )?;
394 eprintln!(
395 "\x1b[32m✔\x1b[0m Installed Codex repo plugin source at {}",
396 install_dir.display()
397 );
398 Ok(())
399}
400
401fn sweep_legacy_global_codex_config(home: &Path) {
402 let codex_dir = home.join(".codex");

Callers 1

install_localMethod · 0.85

Tested by

no test coverage detected