Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
62 changes: 46 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ $ npm install -g @salesforce/cli
$ sf COMMAND
running command...
$ sf (--version|-v)
@salesforce/cli/2.103.5 linux-x64 node-v22.18.0
@salesforce/cli/2.103.6 linux-x64 node-v22.18.0
$ sf --help [COMMAND]
USAGE
$ sf COMMAND
Expand Down Expand Up @@ -241,7 +241,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.24.3/src/commands/agent/activate.ts)_
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.24.4/src/commands/agent/activate.ts)_

## `sf agent create`

Expand Down Expand Up @@ -303,7 +303,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.24.3/src/commands/agent/create.ts)_
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.24.4/src/commands/agent/create.ts)_

## `sf agent deactivate`

Expand Down Expand Up @@ -343,7 +343,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.24.3/src/commands/agent/deactivate.ts)_
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.24.4/src/commands/agent/deactivate.ts)_

## `sf agent generate agent-spec`

Expand Down Expand Up @@ -448,7 +448,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.24.3/src/commands/agent/generate/agent-spec.ts)_
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.24.4/src/commands/agent/generate/agent-spec.ts)_

## `sf agent generate template`

Expand Down Expand Up @@ -496,7 +496,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.24.3/src/commands/agent/generate/template.ts)_
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.24.4/src/commands/agent/generate/template.ts)_

## `sf agent generate test-spec`

Expand Down Expand Up @@ -557,7 +557,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.24.3/src/commands/agent/generate/test-spec.ts)_
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.24.4/src/commands/agent/generate/test-spec.ts)_

## `sf agent preview`

Expand Down Expand Up @@ -621,7 +621,7 @@ EXAMPLES
transcripts/my-preview
```

_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.24.3/src/commands/agent/preview.ts)_
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.24.4/src/commands/agent/preview.ts)_

## `sf agent test create`

Expand Down Expand Up @@ -676,7 +676,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.24.3/src/commands/agent/test/create.ts)_
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.24.4/src/commands/agent/test/create.ts)_

## `sf agent test list`

Expand Down Expand Up @@ -711,7 +711,7 @@ EXAMPLES
$ sf agent test list --target-org my-org
```

_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.24.3/src/commands/agent/test/list.ts)_
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.24.4/src/commands/agent/test/list.ts)_

## `sf agent test results`

Expand All @@ -720,7 +720,7 @@ Get the results of a completed agent test run.
```
USAGE
$ sf agent test results -o <value> -i <value> [--json] [--flags-dir <value>] [--api-version <value>] [--result-format
json|human|junit|tap] [-d <value>]
json|human|junit|tap] [-d <value>] [--verbose]

FLAGS
-d, --output-dir=<value> Directory to write the agent test results into.
Expand All @@ -730,6 +730,7 @@ FLAGS
--api-version=<value> Override the api version used for api requests made by this command
--result-format=<option> [default: human] Format of the agent test run results.
<options: json|human|junit|tap>
--verbose Show generated data in the test results output.

GLOBAL FLAGS
--flags-dir=<value> Import flag values from a directory.
Expand Down Expand Up @@ -765,9 +766,18 @@ FLAG DESCRIPTIONS

If the agent test run completes, write the results to the specified directory. If the test is still running, the
test results aren't written.

--verbose Show generated data in the test results output.

When enabled, includes detailed generated data (such as invoked actions) in the human-readable test results output.
This is useful for debugging test failures and understanding what actions were actually invoked during the test run.

The generated data is in JSON format and includes the Apex classes or Flows that were invoked, the Salesforce
objects that were touched, and so on. Use the JSON structure of this information to build the test case JSONPath
expression when using custom evaluations.
```

_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.24.3/src/commands/agent/test/results.ts)_
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.24.4/src/commands/agent/test/results.ts)_

## `sf agent test resume`

Expand All @@ -776,7 +786,7 @@ Resume an agent test that you previously started in your org so you can view the
```
USAGE
$ sf agent test resume -o <value> [--json] [--flags-dir <value>] [--api-version <value>] [-i <value>] [-r] [-w
<value>] [--result-format json|human|junit|tap] [-d <value>]
<value>] [--result-format json|human|junit|tap] [-d <value>] [--verbose]

FLAGS
-d, --output-dir=<value> Directory to write the agent test results into.
Expand All @@ -789,6 +799,7 @@ FLAGS
--api-version=<value> Override the api version used for api requests made by this command
--result-format=<option> [default: human] Format of the agent test run results.
<options: json|human|junit|tap>
--verbose Show generated data in the test results output.

GLOBAL FLAGS
--flags-dir=<value> Import flag values from a directory.
Expand Down Expand Up @@ -828,9 +839,18 @@ FLAG DESCRIPTIONS

If the agent test run completes, write the results to the specified directory. If the test is still running, the
test results aren't written.

--verbose Show generated data in the test results output.

When enabled, includes detailed generated data (such as invoked actions) in the human-readable test results output.
This is useful for debugging test failures and understanding what actions were actually invoked during the test run.

The generated data is in JSON format and includes the Apex classes or Flows that were invoked, the Salesforce
objects that were touched, and so on. Use the JSON structure of this information to build the test case JSONPath
expression when using custom evaluations.
```

_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.24.3/src/commands/agent/test/resume.ts)_
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.24.4/src/commands/agent/test/resume.ts)_

## `sf agent test run`

Expand All @@ -839,7 +859,7 @@ Start an agent test in your org.
```
USAGE
$ sf agent test run -o <value> [--json] [--flags-dir <value>] [--api-version <value>] [-n <value>] [-w <value>]
[--result-format json|human|junit|tap] [-d <value>]
[--result-format json|human|junit|tap] [-d <value>] [--verbose]

FLAGS
-d, --output-dir=<value> Directory to write the agent test results into.
Expand All @@ -852,6 +872,7 @@ FLAGS
--api-version=<value> Override the api version used for api requests made by this command
--result-format=<option> [default: human] Format of the agent test run results.
<options: json|human|junit|tap>
--verbose Show generated data in the test results output.

GLOBAL FLAGS
--flags-dir=<value> Import flag values from a directory.
Expand Down Expand Up @@ -892,9 +913,18 @@ FLAG DESCRIPTIONS

If the agent test run completes, write the results to the specified directory. If the test is still running, the
test results aren't written.

--verbose Show generated data in the test results output.

When enabled, includes detailed generated data (such as invoked actions) in the human-readable test results output.
This is useful for debugging test failures and understanding what actions were actually invoked during the test run.

The generated data is in JSON format and includes the Apex classes or Flows that were invoked, the Salesforce
objects that were touched, and so on. Use the JSON structure of this information to build the test case JSONPath
expression when using custom evaluations.
```

_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.24.3/src/commands/agent/test/run.ts)_
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.24.4/src/commands/agent/test/run.ts)_

## `sf alias list`

Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@salesforce/cli",
"description": "The Salesforce CLI",
"version": "2.103.5",
"version": "2.103.6",
"author": "Salesforce",
"bin": {
"sf": "./bin/run.js",
Expand Down Expand Up @@ -157,7 +157,7 @@
"@oclif/plugin-which": "3.2.39",
"@salesforce/core": "^8.9.1",
"@salesforce/kit": "^3.1.6",
"@salesforce/plugin-agent": "1.24.3",
"@salesforce/plugin-agent": "1.24.4",
"@salesforce/plugin-apex": "3.6.19",
"@salesforce/plugin-api": "1.3.3",
"@salesforce/plugin-auth": "3.8.1",
Expand All @@ -171,7 +171,7 @@
"@salesforce/plugin-schema": "3.3.78",
"@salesforce/plugin-settings": "2.4.42",
"@salesforce/plugin-sobject": "1.4.68",
"@salesforce/plugin-telemetry": "3.6.54",
"@salesforce/plugin-telemetry": "3.6.55",
"@salesforce/plugin-templates": "56.3.60",
"@salesforce/plugin-trust": "3.7.113",
"@salesforce/plugin-user": "3.6.34",
Expand Down
16 changes: 8 additions & 8 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2158,10 +2158,10 @@
jszip "^3.10.1"
object-treeify "^2"

"@salesforce/plugin-agent@1.24.3":
version "1.24.3"
resolved "https://registry.yarnpkg.com/@salesforce/plugin-agent/-/plugin-agent-1.24.3.tgz#0cec52d347807884a8fece3182c22dc5e415b4a6"
integrity sha512-ck2cOVvnaUuuukajUkBvxgAHy53lYbzCxMXr6m1L99ZRYO9l44tosvUfJMkBb4xKBgDrOWtLZtZd7ddwutDPfw==
"@salesforce/plugin-agent@1.24.4":
version "1.24.4"
resolved "https://registry.yarnpkg.com/@salesforce/plugin-agent/-/plugin-agent-1.24.4.tgz#5114327969fd0ea9691bb65a298e9773c717c3ba"
integrity sha512-DrZ3bBUyOOlrrHqN8YBJlVfBW0JVDPOt5N7Zzjux5z84K8EfoO0rVAoFCfPXlNtAQwI2WaXZWEVMDTigcv0h3g==
dependencies:
"@inquirer/core" "^10.1.6"
"@inquirer/prompts" "^7.2.0"
Expand Down Expand Up @@ -2403,10 +2403,10 @@
fast-xml-parser "^4.5.3"
js2xmlparser "^4.0.2"

"@salesforce/plugin-telemetry@3.6.54":
version "3.6.54"
resolved "https://registry.yarnpkg.com/@salesforce/plugin-telemetry/-/plugin-telemetry-3.6.54.tgz#14774e29e78dd816bddf89fb8a7349778a1e1e57"
integrity sha512-YNSshwHXpln2impiDLd7sfjBSl1NnADSYXiafJiPjr67Zb5lbl9Pc3uFSQCCWPcwA0Fk9X8tc4kpKsJc3wbPXA==
"@salesforce/plugin-telemetry@3.6.55":
version "3.6.55"
resolved "https://registry.yarnpkg.com/@salesforce/plugin-telemetry/-/plugin-telemetry-3.6.55.tgz#574c03a11dc5f37cb20ade29d8a254a1686d2849"
integrity sha512-n5mpUxtS8ti8AXsX8LNxYc4gPl5ljn9KVS72Hd8ZUAMk9W9Atw/foZu6D2hAICGBzC2qdEXlmPWPbMPzGyIO7Q==
dependencies:
"@oclif/core" "^4.5.2"
"@salesforce/core" "^8.15.0"
Expand Down
Loading