(agentHostIDs []string, agentHostID string)
| 286 | } |
| 287 | |
| 288 | func appendAgentHostID(agentHostIDs []string, agentHostID string) []string { |
| 289 | for _, existing := range agentHostIDs { |
| 290 | if existing == agentHostID { |
| 291 | return agentHostIDs |
| 292 | } |
| 293 | } |
| 294 | return append(agentHostIDs, agentHostID) |
| 295 | } |
| 296 | |
| 297 | func scanFilterForAgentHost(agentHost *registry.AgentHost, scope registry.Scope) scanFilter { |
| 298 | if scope == registry.ScopeProject && agentHost.ProjectDir == "skills" { |