MCPcopy Create free account
hub / github.com/AI45Lab/Code / list_visible

Method list_visible

core/src/subagent.rs:656–659  ·  view source on GitHub ↗

List visible agents (not hidden)

(&self)

Source from the content-addressed store, hash-verified

654
655 /// List visible agents (not hidden)
656 pub fn list_visible(&self) -> Vec<AgentDefinition> {
657 let agents = read_or_recover(&self.agents);
658 agents.values().filter(|a| !a.hidden).cloned().collect()
659 }
660
661 /// Check if an agent exists
662 pub fn exists(&self, name: &str) -> bool {

Callers 2

Calls 1

read_or_recoverFunction · 0.85

Tested by 1