fix-legacy-agent-type
🐛 Bug Fixes
Type automatic agent lookup as AgentCodeDocument
Goal: Develop must compile after the allowedCodes fallback removal and the folder filter landed together.
Solution: listAutomaticAgentNames uses AgentCodeDocument. The deleted LegacyAgentCodeDocument alias is not restored, and stored allowedCodes is still not read.
Features:
- The leftover collection generic is
AgentCodeDocument
Files Modified:
src/domains/platform/agents/agents.service.ts- Automatic agent lookup typed asAgentCodeDocument