configSkillNames lists the cleanly-resolvable skill names from the agent config: inline skill names, the Include allow-list, and referenced skill groups (UseSkills). Skills auto-discovered from Sources (e.g. a local directory) are not enumerated here because doing so would require loading them from
(cfg latest.AgentConfig)
| 866 | // directory) are not enumerated here because doing so would require loading |
| 867 | // them from disk; the inspector notes this rather than starting that work. |
| 868 | func configSkillNames(cfg latest.AgentConfig) []string { |
| 869 | var names []string |
| 870 | for _, s := range cfg.Skills.Inline { |
| 871 | names = append(names, s.Name) |
| 872 | } |
| 873 | names = append(names, cfg.Skills.Include...) |
| 874 | names = append(names, cfg.UseSkills...) |
| 875 | return uniqueNames(names, true) |
| 876 | } |
| 877 | |
| 878 | // toolsetDetails builds one ToolsetDetail per live toolset of the agent, |
| 879 | // combining the side-effect-free lifecycle status with tool names: live names |
no test coverage detected