@salesforce/agents
    Preparing search index...

    Variable AI_AGENT_DEFINITION_MIN_API_VERSIONConst

    AI_AGENT_DEFINITION_MIN_API_VERSION: 68

    The minimum org API version that supports the AiAgentDefinition / AiAgentDefinitionVersion metadata types. Orgs below this version are retrieved as the legacy Bot / GenAiPlanner / GenAiPlugin metadata.

    TODO: remove this version gate and the legacy retrieval fallback once the old metadata types are retired (v68/264) and every supported org has the feature enabled — at that point always retrieve the new types (TD-0333078).