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

Method install

atomic-agent/src/hooks/opencode.rs:589–598  ·  view source on GitHub ↗
(&self, _repo_root: &Path)

Source from the content-addressed store, hash-verified

587 }
588
589 fn install(&self, _repo_root: &Path) -> AgentResult<usize> {
590 // Installation is owned by the integrations engine (the
591 // atomic-opencode package on Atomic storage). Report 1 when the
592 // plugin is already staged so `enable` shows a success message.
593 if Self::is_plugin_installed() {
594 Ok(1)
595 } else {
596 Ok(0)
597 }
598 }
599
600 fn uninstall(&self, _repo_root: &Path) -> AgentResult<()> {
601 Ok(()) // Uninstallation is receipt-driven via the integrations engine.

Calls

no outgoing calls