List visible agents (not hidden)
(&self)
| 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 { |