diff --git a/README.md b/README.md index e4395132..f7ba5136 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ $ npm install -g @salesforce/cli $ sf COMMAND running command... $ sf (--version|-v) -@salesforce/cli/2.121.7 linux-x64 node-v22.22.0 +@salesforce/cli/2.122.0 linux-x64 node-v22.22.0 $ sf --help [COMMAND] USAGE $ sf COMMAND @@ -248,7 +248,7 @@ EXAMPLES $ sf agent activate --api-name Resort_Manager --target-org my-org ``` -_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.26.9/src/commands/agent/activate.ts)_ +_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.27.0/src/commands/agent/activate.ts)_ ## `sf agent create` @@ -315,7 +315,7 @@ EXAMPLES $ sf agent create --name "Resort Manager" --spec specs/resortManagerAgent.yaml --preview ``` -_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.26.9/src/commands/agent/create.ts)_ +_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.27.0/src/commands/agent/create.ts)_ ## `sf agent deactivate` @@ -355,7 +355,7 @@ EXAMPLES $ sf agent deactivate --api-name Resort_Manager --target-org my-org ``` -_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.26.9/src/commands/agent/deactivate.ts)_ +_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.27.0/src/commands/agent/deactivate.ts)_ ## `sf agent generate agent-spec` @@ -462,7 +462,7 @@ EXAMPLES $ sf agent generate agent-spec --tone formal --agent-user resortmanager@myorg.com ``` -_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.26.9/src/commands/agent/generate/agent-spec.ts)_ +_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.27.0/src/commands/agent/generate/agent-spec.ts)_ ## `sf agent generate authoring-bundle` @@ -528,7 +528,7 @@ EXAMPLES other-package-dir/main/default --target-org my-dev-org ``` -_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.26.9/src/commands/agent/generate/authoring-bundle.ts)_ +_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.27.0/src/commands/agent/generate/authoring-bundle.ts)_ ## `sf agent generate template` @@ -576,7 +576,7 @@ EXAMPLES force-app/main/default/bots/My_Awesome_Agent/My_Awesome_Agent.bot-meta.xml --agent-version 1 ``` -_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.26.9/src/commands/agent/generate/template.ts)_ +_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.27.0/src/commands/agent/generate/template.ts)_ ## `sf agent generate test-spec` @@ -637,7 +637,7 @@ EXAMPLES force-app//main/default/aiEvaluationDefinitions/Resort_Manager_Tests.aiEvaluationDefinition-meta.xml ``` -_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.26.9/src/commands/agent/generate/test-spec.ts)_ +_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.27.0/src/commands/agent/generate/test-spec.ts)_ ## `sf agent preview` @@ -710,7 +710,7 @@ EXAMPLES $ sf agent preview --use-live-actions --apex-debug --output-dir transcripts/my-preview ``` -_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.26.9/src/commands/agent/preview.ts)_ +_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.27.0/src/commands/agent/preview.ts)_ ## `sf agent publish authoring-bundle` @@ -719,6 +719,7 @@ Publish an authoring bundle to your org, which results in a new agent or a new v ``` USAGE $ sf agent publish authoring-bundle -o [--json] [--flags-dir ] [--api-version ] [-n ] + [--skip-retrieve] FLAGS -n, --api-name= API name of the authoring bundle you want to publish; if not specified, the command @@ -726,6 +727,7 @@ FLAGS -o, --target-org= (required) Username or alias of the target org. Not required if the `target-org` configuration variable is already set. --api-version= Override the api version used for api requests made by this command + --skip-retrieve Don't retrieve the metadata associated with the agent to your DX project. GLOBAL FLAGS --flags-dir= Import flag values from a directory. @@ -742,8 +744,8 @@ DESCRIPTION Agent Script file successfully compiles. If there are compilation errors, the command exits and you must fix the Agent Script file to continue. Once the Agent Script file compiles, then it's published to the org, which in turn creates new associated metadata (Bot, BotVersion, GenAiX), or new versions of the metadata if the agent already exists. The - new or updated metadata is retrieved back to your DX project, and then the authoring bundle metadata - (AiAuthoringBundle) is deployed to your org. + new or updated metadata is retrieved back to your DX project; specify the --skip-retrieve flag to skip this step. + Finally, the authoring bundle metadata (AiAuthoringBundle) is deployed to your org. This command uses the API name of the authoring bundle. @@ -757,7 +759,7 @@ EXAMPLES $ sf agent publish authoring-bundle --api-name MyAuthoringbundle --target-org my-dev-org ``` -_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.26.9/src/commands/agent/publish/authoring-bundle.ts)_ +_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.27.0/src/commands/agent/publish/authoring-bundle.ts)_ ## `sf agent test create` @@ -812,7 +814,7 @@ EXAMPLES $ sf agent test create --spec specs/Resort_Manager-testSpec.yaml --api-name Resort_Manager_Test --preview ``` -_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.26.9/src/commands/agent/test/create.ts)_ +_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.27.0/src/commands/agent/test/create.ts)_ ## `sf agent test list` @@ -847,7 +849,7 @@ EXAMPLES $ sf agent test list --target-org my-org ``` -_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.26.9/src/commands/agent/test/list.ts)_ +_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.27.0/src/commands/agent/test/list.ts)_ ## `sf agent test results` @@ -913,7 +915,7 @@ FLAG DESCRIPTIONS expression when using custom evaluations. ``` -_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.26.9/src/commands/agent/test/results.ts)_ +_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.27.0/src/commands/agent/test/results.ts)_ ## `sf agent test resume` @@ -986,7 +988,7 @@ FLAG DESCRIPTIONS expression when using custom evaluations. ``` -_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.26.9/src/commands/agent/test/resume.ts)_ +_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.27.0/src/commands/agent/test/resume.ts)_ ## `sf agent test run` @@ -1060,7 +1062,7 @@ FLAG DESCRIPTIONS expression when using custom evaluations. ``` -_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.26.9/src/commands/agent/test/run.ts)_ +_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.27.0/src/commands/agent/test/run.ts)_ ## `sf agent validate authoring-bundle` @@ -1107,7 +1109,7 @@ EXAMPLES $ sf agent validate authoring-bundle --api-name MyAuthoringBundle --target-org my-dev-org ``` -_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.26.9/src/commands/agent/validate/authoring-bundle.ts)_ +_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.27.0/src/commands/agent/validate/authoring-bundle.ts)_ ## `sf alias list` diff --git a/package.json b/package.json index 2d81af3d..ba9c5cb5 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@salesforce/cli", "description": "The Salesforce CLI", - "version": "2.121.7", + "version": "2.122.0", "author": "Salesforce", "bin": { "sf": "./bin/run.js", @@ -76,7 +76,7 @@ "@salesforce/plugin-user" ], "jitPlugins": { - "@salesforce/plugin-code-analyzer": "5.8.0", + "@salesforce/plugin-code-analyzer": "5.9.0", "@salesforce/plugin-community": "3.3.48", "@salesforce/plugin-custom-metadata": "3.3.72", "@salesforce/plugin-dev": "2.5.1", @@ -157,7 +157,7 @@ "@oclif/plugin-which": "3.2.43", "@salesforce/core": "^8.25.0", "@salesforce/kit": "^3.1.6", - "@salesforce/plugin-agent": "1.26.9", + "@salesforce/plugin-agent": "1.27.0", "@salesforce/plugin-apex": "3.9.5", "@salesforce/plugin-api": "1.3.8", "@salesforce/plugin-auth": "4.1.4", diff --git a/yarn.lock b/yarn.lock index 8afc4a33..20304153 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2471,10 +2471,10 @@ resolved "https://registry.yarnpkg.com/@protobufjs/utf8/-/utf8-1.1.0.tgz#a777360b5b39a1a2e5106f8e858f2fd2d060c570" integrity sha512-Vvn3zZrhQZkkBE8LSuW3em98c0FwgO4nxzv6OdSxPKJIEKY2bGbHn+mhGIPerzI4twdxaP8/0+06HBpwf345Lw== -"@salesforce/agents@^0.21.1": - version "0.21.2" - resolved "https://registry.yarnpkg.com/@salesforce/agents/-/agents-0.21.2.tgz#1e7592965df505e35d88baf9156c78e8a2de4c66" - integrity sha512-WGoElcoqoPqxZEukS+AOpY8PGxcnjfiq0vExUOAKx0jMCfOvocDJuOe/JkAPeXP9lOdQjYLf0vYiZo28yMi/2w== +"@salesforce/agents@^0.22.0": + version "0.22.0" + resolved "https://registry.yarnpkg.com/@salesforce/agents/-/agents-0.22.0.tgz#de812b29d8cd3d2c260a0550d744f980c7dbec6a" + integrity sha512-Od2c6Iu+32Fv06YB8qS1Q/ajW4npzUZ5r9/giOVJDJPvNLTm7gcYKZ3rjc/WD3sP9y8KFvxJZPtsJoZoWvALAg== dependencies: "@salesforce/core" "^8.24.0" "@salesforce/kit" "^3.2.4" @@ -2612,16 +2612,16 @@ jszip "^3.10.1" object-treeify "^2" -"@salesforce/plugin-agent@1.26.9": - version "1.26.9" - resolved "https://registry.yarnpkg.com/@salesforce/plugin-agent/-/plugin-agent-1.26.9.tgz#49b0ec5f0b86fa89e89903433a5e845709e9ded0" - integrity sha512-eRR7xsMJu70ub49V5B5Rl4xa+JTyyObZkdwyzbnEFOdONQx5YgdqMYZteperS+D0lRR2bdZHpKeaAke2f+7Ibw== +"@salesforce/plugin-agent@1.27.0": + version "1.27.0" + resolved "https://registry.yarnpkg.com/@salesforce/plugin-agent/-/plugin-agent-1.27.0.tgz#6b6cb7532960c2ec6c37180e92c3c5f1a2aef63f" + integrity sha512-+jChZuwgIYuz8Gs6iEoyFHOoF05rSe2O5l6lQGDD54BRn3D5N5OrwysT4al5WgA9ddH44kOY1rU5EOMjafnFlA== dependencies: "@inquirer/core" "^10.3.2" "@inquirer/prompts" "^7.10.1" "@oclif/core" "^4" "@oclif/multi-stage-output" "^0.8.29" - "@salesforce/agents" "^0.21.1" + "@salesforce/agents" "^0.22.0" "@salesforce/core" "^8.24.3" "@salesforce/kit" "^3.2.3" "@salesforce/sf-plugins-core" "^12.2.6"