Creates a new AgentPublisher instance.
The caller-supplied Connection. Used as the lookup key into the ConnectionManager cache (managerFor()); never used directly for SFAP or org API calls.
The Salesforce project
The compiled AgentJson to publish
Whether to skip retrieving the agent metadata from the org
Publish an AgentJson representation to the org
Promise
Service class responsible for publishing agents to Salesforce orgs