Workspace-relative parent folders scanned for custom agents, independent of the configurable
prompt-templates directories. Scanning both folders mirrors the skills convention introduced
in #17553, but the duplicate-id precedence is intentionally inverted: here .agents is listed
first, so it becomes the default location for newly created agents and wins over .prompts,
whereas for skills .prompts wins over .agents (see combineSkillDirectories in
skill-service.ts). .prompts is retained for backward compatibility with agents authored
before the move to .agents.
Workspace-relative parent folders scanned for custom agents, independent of the configurable prompt-templates directories. Scanning both folders mirrors the skills convention introduced in #17553, but the duplicate-id precedence is intentionally inverted: here
.agentsis listed first, so it becomes the default location for newly created agents and wins over.prompts, whereas for skills.promptswins over.agents(seecombineSkillDirectoriesinskill-service.ts)..promptsis retained for backward compatibility with agents authored before the move to.agents.