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

Method install_local

src/agents/codex.rs:56–67  ·  view source on GitHub ↗
(&self, ctx: &InstallContext, project_path: &Path)

Source from the content-addressed store, hash-verified

54 }
55
56 fn install_local(&self, ctx: &InstallContext, project_path: &Path) -> Result<()> {
57 for path in [
58 codex_repo_plugin_install_dir(project_path).join(".codex-plugin/plugin.json"),
59 codex_repo_plugin_install_dir(project_path).join(".mcp.json"),
60 codex_repo_marketplace_path(project_path),
61 ] {
62 super::ensure_project_local_safe_path(project_path, &path)?;
63 }
64 install_codex_repo_plugin(&ctx.home, project_path, &ctx.tracedecay_bin)?;
65 sweep_legacy_project_codex_config(project_path);
66 Ok(())
67 }
68
69 fn uninstall(&self, ctx: &InstallContext) -> Result<()> {
70 let codex_dir = ctx.home.join(".codex");

Callers

nothing calls this directly

Tested by

no test coverage detected