diff --git a/README.md b/README.md index cf657f5a..03b72ec8 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.135.0 linux-x64 node-v22.22.2 +@salesforce/cli/2.135.1 linux-x64 node-v22.22.2 $ sf --help [COMMAND] USAGE $ sf COMMAND @@ -60,6 +60,7 @@ See [architecture page](ARCHITECTURE.md) for diagrams of the Salesforce CLI. - [`sf agent test results`](#sf-agent-test-results) - [`sf agent test resume`](#sf-agent-test-resume) - [`sf agent test run`](#sf-agent-test-run) +- [`sf agent test run-eval`](#sf-agent-test-run-eval) - [`sf agent validate authoring-bundle`](#sf-agent-validate-authoring-bundle) - [`sf alias list`](#sf-alias-list) - [`sf alias set`](#sf-alias-set) @@ -277,7 +278,7 @@ ERROR CODES ActivationFailed (4) Failed to activate the agent due to API or network errors. ``` -_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.35.0/src/commands/agent/activate.ts)_ +_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.37.0/src/commands/agent/activate.ts)_ ## `sf agent create` @@ -344,7 +345,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.35.0/src/commands/agent/create.ts)_ +_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.37.0/src/commands/agent/create.ts)_ ## `sf agent deactivate` @@ -393,7 +394,7 @@ ERROR CODES DeactivationFailed (4) Failed to deactivate the agent due to API or network errors. ``` -_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.35.0/src/commands/agent/deactivate.ts)_ +_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.37.0/src/commands/agent/deactivate.ts)_ ## `sf agent generate agent-spec` @@ -500,7 +501,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.35.0/src/commands/agent/generate/agent-spec.ts)_ +_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.37.0/src/commands/agent/generate/agent-spec.ts)_ ## `sf agent generate authoring-bundle` @@ -577,7 +578,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.35.0/src/commands/agent/generate/authoring-bundle.ts)_ +_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.37.0/src/commands/agent/generate/authoring-bundle.ts)_ ## `sf agent generate template` @@ -639,7 +640,7 @@ EXAMPLES my-package --source-org my-scratch-org ``` -_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.35.0/src/commands/agent/generate/template.ts)_ +_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.37.0/src/commands/agent/generate/template.ts)_ ## `sf agent generate test-spec` @@ -704,7 +705,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.35.0/src/commands/agent/generate/test-spec.ts)_ +_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.37.0/src/commands/agent/generate/test-spec.ts)_ ## `sf agent preview` @@ -777,7 +778,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.35.0/src/commands/agent/preview.ts)_ +_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.37.0/src/commands/agent/preview.ts)_ ## `sf agent preview end` @@ -841,7 +842,7 @@ ERROR CODES SessionAmbiguous (5) Multiple preview sessions found; specify --session-id to choose one. ``` -_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.35.0/src/commands/agent/preview/end.ts)_ +_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.37.0/src/commands/agent/preview/end.ts)_ ## `sf agent preview send` @@ -908,7 +909,7 @@ ERROR CODES SessionAmbiguous (5) Multiple preview sessions found; specify --session-id to choose one. ``` -_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.35.0/src/commands/agent/preview/send.ts)_ +_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.37.0/src/commands/agent/preview/send.ts)_ ## `sf agent preview sessions` @@ -944,7 +945,7 @@ ERROR CODES Succeeded (0) Sessions listed successfully (or empty list if no active sessions). ``` -_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.35.0/src/commands/agent/preview/sessions.ts)_ +_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.37.0/src/commands/agent/preview/sessions.ts)_ ## `sf agent preview start` @@ -1020,7 +1021,7 @@ ERROR CODES PreviewStartFailed (4) Preview session failed to start due to API or network errors. ``` -_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.35.0/src/commands/agent/preview/start.ts)_ +_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.37.0/src/commands/agent/preview/start.ts)_ ## `sf agent publish authoring-bundle` @@ -1029,14 +1030,17 @@ 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] + [--skip-retrieve] [-v | --concise] FLAGS -n, --api-name= API name of the authoring bundle you want to publish; if not specified, the command provides a list that you can choose from. -o, --target-org= (required) Username or alias of the target org. Not required if the `target-org` configuration variable is already set. + -v, --verbose Display detailed output showing all metadata components retrieved and deployed during the + publish process. --api-version= Override the api version used for api requests made by this command + --concise Display minimal output with only essential information about the publish operation. --skip-retrieve Don't retrieve the metadata associated with the agent to your DX project. GLOBAL FLAGS @@ -1068,12 +1072,20 @@ EXAMPLES $ sf agent publish authoring-bundle --api-name MyAuthoringbundle --target-org my-dev-org + Publish with verbose output to see all retrieved and deployed metadata components: + + $ sf agent publish authoring-bundle --api-name MyAuthoringbundle --verbose + + Publish with concise output showing only essential information: + + $ sf agent publish authoring-bundle --api-name MyAuthoringbundle --concise + ERROR CODES Succeeded (0) Agent published successfully without errors. Failed (1) Compilation errors found in the Agent Script file. ``` -_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.35.0/src/commands/agent/publish/authoring-bundle.ts)_ +_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.37.0/src/commands/agent/publish/authoring-bundle.ts)_ ## `sf agent test create` @@ -1137,7 +1149,7 @@ ERROR CODES DeploymentFailed (4) Deployment failed due to API or network errors. ``` -_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.35.0/src/commands/agent/test/create.ts)_ +_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.37.0/src/commands/agent/test/create.ts)_ ## `sf agent test list` @@ -1159,8 +1171,8 @@ GLOBAL FLAGS DESCRIPTION List the available agent tests in your org. - The command outputs a table with the name (API name) of each test along with its unique ID and the date it was created - in the org. + The command outputs a table with the name (API name) of each test along with its unique ID, type ('agentforce-studio' + or 'testing-center'), and the date it was created in the org. EXAMPLES List the agent tests in your default org: @@ -1179,7 +1191,7 @@ ERROR CODES Failed (4) Failed to retrieve agent tests due to API or network errors. ``` -_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.35.0/src/commands/agent/test/list.ts)_ +_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.37.0/src/commands/agent/test/list.ts)_ ## `sf agent test results` @@ -1188,7 +1200,7 @@ Get the results of a completed agent test run. ``` USAGE $ sf agent test results -o -i [--json] [--flags-dir ] [--api-version ] [--result-format - json|human|junit|tap] [-d ] [--verbose] + json|human|junit|tap] [-d ] [--test-runner agentforce-studio|testing-center] [--verbose] FLAGS -d, --output-dir= Directory to write the agent test results into. @@ -1198,6 +1210,8 @@ FLAGS --api-version= Override the api version used for api requests made by this command --result-format=