MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / install

Method install

atomic-agent/src/hooks/agy.rs:992–1000  ·  view source on GitHub ↗
(&self, repo_root: &Path)

Source from the content-addressed store, hash-verified

990 }
991
992 fn install(&self, repo_root: &Path) -> AgentResult<usize> {
993 // Two-part install:
994 // 1. Global plugin (hooks + skills) — the only mechanism agy fires.
995 // 2. Managed AGENTS.md section in the repo — teaches the agent the
996 // KG-first discovery workflow.
997 let count = self.install_global(false)?;
998 Self::upsert_agents_md_section(repo_root)?;
999 Ok(count)
1000 }
1001
1002 fn uninstall(&self, repo_root: &Path) -> AgentResult<()> {
1003 self.uninstall_global()?;

Callers

nothing calls this directly

Calls 1

install_globalMethod · 0.45

Tested by

no test coverage detected