Remove lazy tool loading (load-on-call). Tools must now be explicitly listed in the agent's autoLoad config. Calling an unloaded tool fails with a clear error message. Package structure improvements: - embedding/index.go: generic Index type for semantic matching - skills/skills.go: uses embedding.Index internally, keeps Skill type - agent/skill_match.go: matchSkills() for skill discovery - agent/tool_match.go: matchTools() for tool hints (new file) Tool hints now match only loaded tools, not all tools on disk. This makes agent capabilities explicit and auditable. |
||
|---|---|---|
| .. | ||
| skills.go | ||
| skills_test.go | ||