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

Method installed

atomic-agent/src/hooks/mod.rs:436–442  ·  view source on GitHub ↗

Returns all agents that have hooks currently installed.

(&self, repo_root: &Path)

Source from the content-addressed store, hash-verified

434
435 /// Returns all agents that have hooks currently installed.
436 pub fn installed(&self, repo_root: &Path) -> Vec<&str> {
437 self.agents
438 .iter()
439 .filter(|a| a.is_installed(repo_root))
440 .map(|a| a.name())
441 .collect()
442 }
443
444 /// Returns an iterator over all registered agent adapters.
445 pub fn iter(&self) -> impl Iterator<Item = &dyn AgentHook> {

Callers 3

agents_with_installsFunction · 0.80
runMethod · 0.80

Calls 3

iterMethod · 0.45
is_installedMethod · 0.45
nameMethod · 0.45