From 2713ecda54a7504fd643d24b94877be380e654e3 Mon Sep 17 00:00:00 2001 From: Eric Willhoit Date: Tue, 12 Nov 2024 14:55:27 -0600 Subject: [PATCH] fix: add agents library --- README.md | 4 ++-- package.json | 1 + yarn.lock | 8 ++++++++ 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f6f3707..f5793d8 100644 --- a/README.md +++ b/README.md @@ -41,11 +41,11 @@ git clone git@github.com:salesforcecli/plugin-agent yarn && yarn build ``` -To use your plugin, run using the local `./bin/dev` or `./bin/dev.cmd` file. +To use your plugin, run using the local `./bin/dev.js` or `./bin/dev.cmd` file. ```bash # Run using local run file. -./bin/dev agent +./bin/dev.js agent ``` There should be no differences when running via the Salesforce CLI or using the local run file. However, it can be useful to link the plugin to do some additional testing or run your commands from anywhere on your machine. diff --git a/package.json b/package.json index 82d37d1..70e5ec1 100644 --- a/package.json +++ b/package.json @@ -9,6 +9,7 @@ "@inquirer/input": "^4.0.1", "@inquirer/select": "^4.0.1", "@oclif/core": "^4", + "@salesforce/agents": "^0.1.3", "@salesforce/core": "^8.5.2", "@salesforce/kit": "^3.2.1", "@salesforce/sf-plugins-core": "^12", diff --git a/yarn.lock b/yarn.lock index 3e5919b..4cafa6b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1357,6 +1357,14 @@ resolved "https://registry.yarnpkg.com/@pkgjs/parseargs/-/parseargs-0.11.0.tgz#a77ea742fab25775145434eb1d2328cf5013ac33" integrity sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg== +"@salesforce/agents@^0.1.3": + version "0.1.3" + resolved "https://registry.yarnpkg.com/@salesforce/agents/-/agents-0.1.3.tgz#bd57d65e7708646efd082e22a40082e1b7049cdf" + integrity sha512-bvpSbGO0w7ZHwWX+GrLbWFBluEfJ6oLfalBSEry+O4ENZIDwu2mnw9xbLX0twwz02tsJyB8XibClSZZRL0RB0w== + dependencies: + "@salesforce/core" "^8.5.2" + "@salesforce/kit" "^3.2.3" + "@salesforce/cli-plugins-testkit@^5.3.35": version "5.3.35" resolved "https://registry.yarnpkg.com/@salesforce/cli-plugins-testkit/-/cli-plugins-testkit-5.3.35.tgz#a670de684e7edec3fa1a233031dfd351411050c6"