Theia API Documentation v1.73.0
    Preparing search index...
    CUSTOM_AGENT_WORKSPACE_DIRECTORIES: string[] = ...

    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.