@salesforce/agents
    Preparing search index...

    Function applyStringReplacementsToAgent

    • Applies string replacements configured in sfdx-project.json to agent file content This follows the same pattern as the Salesforce CLI for source deployment

      Parameters

      • agentFilePath: string

        Path to the .agent file

      • agentContent: string

        The original agent file content

      • project: SfProject

        The SfProject instance

      Returns Promise<ReplacementResult>

      Object containing modified content and details about replacements made