@salesforce/cli 2.103.5 → 2.103.7-cb.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +46 -16
- package/npm-shrinkwrap.json +1026 -188
- package/oclif.lock +271 -44
- package/oclif.manifest.json +1 -1
- package/package.json +6 -5
package/README.md
CHANGED
|
@@ -25,7 +25,7 @@ $ npm install -g @salesforce/cli
|
|
|
25
25
|
$ sf COMMAND
|
|
26
26
|
running command...
|
|
27
27
|
$ sf (--version|-v)
|
|
28
|
-
@salesforce/cli/2.103.
|
|
28
|
+
@salesforce/cli/2.103.7-cb.0 linux-x64 node-v22.18.0
|
|
29
29
|
$ sf --help [COMMAND]
|
|
30
30
|
USAGE
|
|
31
31
|
$ sf COMMAND
|
|
@@ -241,7 +241,7 @@ EXAMPLES
|
|
|
241
241
|
$ sf agent activate --api-name Resort_Manager --target-org my-org
|
|
242
242
|
```
|
|
243
243
|
|
|
244
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.24.
|
|
244
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.24.4/src/commands/agent/activate.ts)_
|
|
245
245
|
|
|
246
246
|
## `sf agent create`
|
|
247
247
|
|
|
@@ -303,7 +303,7 @@ EXAMPLES
|
|
|
303
303
|
$ sf agent create --name "Resort Manager" --spec specs/resortManagerAgent.yaml --preview
|
|
304
304
|
```
|
|
305
305
|
|
|
306
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.24.
|
|
306
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.24.4/src/commands/agent/create.ts)_
|
|
307
307
|
|
|
308
308
|
## `sf agent deactivate`
|
|
309
309
|
|
|
@@ -343,7 +343,7 @@ EXAMPLES
|
|
|
343
343
|
$ sf agent deactivate --api-name Resort_Manager --target-org my-org
|
|
344
344
|
```
|
|
345
345
|
|
|
346
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.24.
|
|
346
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.24.4/src/commands/agent/deactivate.ts)_
|
|
347
347
|
|
|
348
348
|
## `sf agent generate agent-spec`
|
|
349
349
|
|
|
@@ -448,7 +448,7 @@ EXAMPLES
|
|
|
448
448
|
$ sf agent generate agent-spec --tone formal --agent-user resortmanager@myorg.com
|
|
449
449
|
```
|
|
450
450
|
|
|
451
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.24.
|
|
451
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.24.4/src/commands/agent/generate/agent-spec.ts)_
|
|
452
452
|
|
|
453
453
|
## `sf agent generate template`
|
|
454
454
|
|
|
@@ -496,7 +496,7 @@ EXAMPLES
|
|
|
496
496
|
force-app/main/default/bots/My_Awesome_Agent/My_Awesome_Agent.bot-meta.xml --agent-version 1
|
|
497
497
|
```
|
|
498
498
|
|
|
499
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.24.
|
|
499
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.24.4/src/commands/agent/generate/template.ts)_
|
|
500
500
|
|
|
501
501
|
## `sf agent generate test-spec`
|
|
502
502
|
|
|
@@ -557,7 +557,7 @@ EXAMPLES
|
|
|
557
557
|
force-app//main/default/aiEvaluationDefinitions/Resort_Manager_Tests.aiEvaluationDefinition-meta.xml
|
|
558
558
|
```
|
|
559
559
|
|
|
560
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.24.
|
|
560
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.24.4/src/commands/agent/generate/test-spec.ts)_
|
|
561
561
|
|
|
562
562
|
## `sf agent preview`
|
|
563
563
|
|
|
@@ -621,7 +621,7 @@ EXAMPLES
|
|
|
621
621
|
transcripts/my-preview
|
|
622
622
|
```
|
|
623
623
|
|
|
624
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.24.
|
|
624
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.24.4/src/commands/agent/preview.ts)_
|
|
625
625
|
|
|
626
626
|
## `sf agent test create`
|
|
627
627
|
|
|
@@ -676,7 +676,7 @@ EXAMPLES
|
|
|
676
676
|
$ sf agent test create --spec specs/Resort_Manager-testSpec.yaml --api-name Resort_Manager_Test --preview
|
|
677
677
|
```
|
|
678
678
|
|
|
679
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.24.
|
|
679
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.24.4/src/commands/agent/test/create.ts)_
|
|
680
680
|
|
|
681
681
|
## `sf agent test list`
|
|
682
682
|
|
|
@@ -711,7 +711,7 @@ EXAMPLES
|
|
|
711
711
|
$ sf agent test list --target-org my-org
|
|
712
712
|
```
|
|
713
713
|
|
|
714
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.24.
|
|
714
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.24.4/src/commands/agent/test/list.ts)_
|
|
715
715
|
|
|
716
716
|
## `sf agent test results`
|
|
717
717
|
|
|
@@ -720,7 +720,7 @@ Get the results of a completed agent test run.
|
|
|
720
720
|
```
|
|
721
721
|
USAGE
|
|
722
722
|
$ sf agent test results -o <value> -i <value> [--json] [--flags-dir <value>] [--api-version <value>] [--result-format
|
|
723
|
-
json|human|junit|tap] [-d <value>]
|
|
723
|
+
json|human|junit|tap] [-d <value>] [--verbose]
|
|
724
724
|
|
|
725
725
|
FLAGS
|
|
726
726
|
-d, --output-dir=<value> Directory to write the agent test results into.
|
|
@@ -730,6 +730,7 @@ FLAGS
|
|
|
730
730
|
--api-version=<value> Override the api version used for api requests made by this command
|
|
731
731
|
--result-format=<option> [default: human] Format of the agent test run results.
|
|
732
732
|
<options: json|human|junit|tap>
|
|
733
|
+
--verbose Show generated data in the test results output.
|
|
733
734
|
|
|
734
735
|
GLOBAL FLAGS
|
|
735
736
|
--flags-dir=<value> Import flag values from a directory.
|
|
@@ -765,9 +766,18 @@ FLAG DESCRIPTIONS
|
|
|
765
766
|
|
|
766
767
|
If the agent test run completes, write the results to the specified directory. If the test is still running, the
|
|
767
768
|
test results aren't written.
|
|
769
|
+
|
|
770
|
+
--verbose Show generated data in the test results output.
|
|
771
|
+
|
|
772
|
+
When enabled, includes detailed generated data (such as invoked actions) in the human-readable test results output.
|
|
773
|
+
This is useful for debugging test failures and understanding what actions were actually invoked during the test run.
|
|
774
|
+
|
|
775
|
+
The generated data is in JSON format and includes the Apex classes or Flows that were invoked, the Salesforce
|
|
776
|
+
objects that were touched, and so on. Use the JSON structure of this information to build the test case JSONPath
|
|
777
|
+
expression when using custom evaluations.
|
|
768
778
|
```
|
|
769
779
|
|
|
770
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.24.
|
|
780
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.24.4/src/commands/agent/test/results.ts)_
|
|
771
781
|
|
|
772
782
|
## `sf agent test resume`
|
|
773
783
|
|
|
@@ -776,7 +786,7 @@ Resume an agent test that you previously started in your org so you can view the
|
|
|
776
786
|
```
|
|
777
787
|
USAGE
|
|
778
788
|
$ sf agent test resume -o <value> [--json] [--flags-dir <value>] [--api-version <value>] [-i <value>] [-r] [-w
|
|
779
|
-
<value>] [--result-format json|human|junit|tap] [-d <value>]
|
|
789
|
+
<value>] [--result-format json|human|junit|tap] [-d <value>] [--verbose]
|
|
780
790
|
|
|
781
791
|
FLAGS
|
|
782
792
|
-d, --output-dir=<value> Directory to write the agent test results into.
|
|
@@ -789,6 +799,7 @@ FLAGS
|
|
|
789
799
|
--api-version=<value> Override the api version used for api requests made by this command
|
|
790
800
|
--result-format=<option> [default: human] Format of the agent test run results.
|
|
791
801
|
<options: json|human|junit|tap>
|
|
802
|
+
--verbose Show generated data in the test results output.
|
|
792
803
|
|
|
793
804
|
GLOBAL FLAGS
|
|
794
805
|
--flags-dir=<value> Import flag values from a directory.
|
|
@@ -828,9 +839,18 @@ FLAG DESCRIPTIONS
|
|
|
828
839
|
|
|
829
840
|
If the agent test run completes, write the results to the specified directory. If the test is still running, the
|
|
830
841
|
test results aren't written.
|
|
842
|
+
|
|
843
|
+
--verbose Show generated data in the test results output.
|
|
844
|
+
|
|
845
|
+
When enabled, includes detailed generated data (such as invoked actions) in the human-readable test results output.
|
|
846
|
+
This is useful for debugging test failures and understanding what actions were actually invoked during the test run.
|
|
847
|
+
|
|
848
|
+
The generated data is in JSON format and includes the Apex classes or Flows that were invoked, the Salesforce
|
|
849
|
+
objects that were touched, and so on. Use the JSON structure of this information to build the test case JSONPath
|
|
850
|
+
expression when using custom evaluations.
|
|
831
851
|
```
|
|
832
852
|
|
|
833
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.24.
|
|
853
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.24.4/src/commands/agent/test/resume.ts)_
|
|
834
854
|
|
|
835
855
|
## `sf agent test run`
|
|
836
856
|
|
|
@@ -839,7 +859,7 @@ Start an agent test in your org.
|
|
|
839
859
|
```
|
|
840
860
|
USAGE
|
|
841
861
|
$ sf agent test run -o <value> [--json] [--flags-dir <value>] [--api-version <value>] [-n <value>] [-w <value>]
|
|
842
|
-
[--result-format json|human|junit|tap] [-d <value>]
|
|
862
|
+
[--result-format json|human|junit|tap] [-d <value>] [--verbose]
|
|
843
863
|
|
|
844
864
|
FLAGS
|
|
845
865
|
-d, --output-dir=<value> Directory to write the agent test results into.
|
|
@@ -852,6 +872,7 @@ FLAGS
|
|
|
852
872
|
--api-version=<value> Override the api version used for api requests made by this command
|
|
853
873
|
--result-format=<option> [default: human] Format of the agent test run results.
|
|
854
874
|
<options: json|human|junit|tap>
|
|
875
|
+
--verbose Show generated data in the test results output.
|
|
855
876
|
|
|
856
877
|
GLOBAL FLAGS
|
|
857
878
|
--flags-dir=<value> Import flag values from a directory.
|
|
@@ -892,9 +913,18 @@ FLAG DESCRIPTIONS
|
|
|
892
913
|
|
|
893
914
|
If the agent test run completes, write the results to the specified directory. If the test is still running, the
|
|
894
915
|
test results aren't written.
|
|
916
|
+
|
|
917
|
+
--verbose Show generated data in the test results output.
|
|
918
|
+
|
|
919
|
+
When enabled, includes detailed generated data (such as invoked actions) in the human-readable test results output.
|
|
920
|
+
This is useful for debugging test failures and understanding what actions were actually invoked during the test run.
|
|
921
|
+
|
|
922
|
+
The generated data is in JSON format and includes the Apex classes or Flows that were invoked, the Salesforce
|
|
923
|
+
objects that were touched, and so on. Use the JSON structure of this information to build the test case JSONPath
|
|
924
|
+
expression when using custom evaluations.
|
|
895
925
|
```
|
|
896
926
|
|
|
897
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.24.
|
|
927
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.24.4/src/commands/agent/test/run.ts)_
|
|
898
928
|
|
|
899
929
|
## `sf alias list`
|
|
900
930
|
|