@salesforce/cli 2.121.6 → 2.122.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 +20 -18
- package/npm-shrinkwrap.json +10 -10
- package/oclif.lock +9 -9
- package/oclif.manifest.json +1 -1
- package/package.json +3 -3
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.
|
|
28
|
+
@salesforce/cli/2.122.0 linux-x64 node-v22.22.0
|
|
29
29
|
$ sf --help [COMMAND]
|
|
30
30
|
USAGE
|
|
31
31
|
$ sf COMMAND
|
|
@@ -248,7 +248,7 @@ EXAMPLES
|
|
|
248
248
|
$ sf agent activate --api-name Resort_Manager --target-org my-org
|
|
249
249
|
```
|
|
250
250
|
|
|
251
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
251
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.27.0/src/commands/agent/activate.ts)_
|
|
252
252
|
|
|
253
253
|
## `sf agent create`
|
|
254
254
|
|
|
@@ -315,7 +315,7 @@ EXAMPLES
|
|
|
315
315
|
$ sf agent create --name "Resort Manager" --spec specs/resortManagerAgent.yaml --preview
|
|
316
316
|
```
|
|
317
317
|
|
|
318
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
318
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.27.0/src/commands/agent/create.ts)_
|
|
319
319
|
|
|
320
320
|
## `sf agent deactivate`
|
|
321
321
|
|
|
@@ -355,7 +355,7 @@ EXAMPLES
|
|
|
355
355
|
$ sf agent deactivate --api-name Resort_Manager --target-org my-org
|
|
356
356
|
```
|
|
357
357
|
|
|
358
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
358
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.27.0/src/commands/agent/deactivate.ts)_
|
|
359
359
|
|
|
360
360
|
## `sf agent generate agent-spec`
|
|
361
361
|
|
|
@@ -462,7 +462,7 @@ EXAMPLES
|
|
|
462
462
|
$ sf agent generate agent-spec --tone formal --agent-user resortmanager@myorg.com
|
|
463
463
|
```
|
|
464
464
|
|
|
465
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
465
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.27.0/src/commands/agent/generate/agent-spec.ts)_
|
|
466
466
|
|
|
467
467
|
## `sf agent generate authoring-bundle`
|
|
468
468
|
|
|
@@ -528,7 +528,7 @@ EXAMPLES
|
|
|
528
528
|
other-package-dir/main/default --target-org my-dev-org
|
|
529
529
|
```
|
|
530
530
|
|
|
531
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
531
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.27.0/src/commands/agent/generate/authoring-bundle.ts)_
|
|
532
532
|
|
|
533
533
|
## `sf agent generate template`
|
|
534
534
|
|
|
@@ -576,7 +576,7 @@ EXAMPLES
|
|
|
576
576
|
force-app/main/default/bots/My_Awesome_Agent/My_Awesome_Agent.bot-meta.xml --agent-version 1
|
|
577
577
|
```
|
|
578
578
|
|
|
579
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
579
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.27.0/src/commands/agent/generate/template.ts)_
|
|
580
580
|
|
|
581
581
|
## `sf agent generate test-spec`
|
|
582
582
|
|
|
@@ -637,7 +637,7 @@ EXAMPLES
|
|
|
637
637
|
force-app//main/default/aiEvaluationDefinitions/Resort_Manager_Tests.aiEvaluationDefinition-meta.xml
|
|
638
638
|
```
|
|
639
639
|
|
|
640
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
640
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.27.0/src/commands/agent/generate/test-spec.ts)_
|
|
641
641
|
|
|
642
642
|
## `sf agent preview`
|
|
643
643
|
|
|
@@ -710,7 +710,7 @@ EXAMPLES
|
|
|
710
710
|
$ sf agent preview --use-live-actions --apex-debug --output-dir transcripts/my-preview
|
|
711
711
|
```
|
|
712
712
|
|
|
713
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
713
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.27.0/src/commands/agent/preview.ts)_
|
|
714
714
|
|
|
715
715
|
## `sf agent publish authoring-bundle`
|
|
716
716
|
|
|
@@ -719,6 +719,7 @@ Publish an authoring bundle to your org, which results in a new agent or a new v
|
|
|
719
719
|
```
|
|
720
720
|
USAGE
|
|
721
721
|
$ sf agent publish authoring-bundle -o <value> [--json] [--flags-dir <value>] [--api-version <value>] [-n <value>]
|
|
722
|
+
[--skip-retrieve]
|
|
722
723
|
|
|
723
724
|
FLAGS
|
|
724
725
|
-n, --api-name=<value> API name of the authoring bundle you want to publish; if not specified, the command
|
|
@@ -726,6 +727,7 @@ FLAGS
|
|
|
726
727
|
-o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
|
|
727
728
|
configuration variable is already set.
|
|
728
729
|
--api-version=<value> Override the api version used for api requests made by this command
|
|
730
|
+
--skip-retrieve Don't retrieve the metadata associated with the agent to your DX project.
|
|
729
731
|
|
|
730
732
|
GLOBAL FLAGS
|
|
731
733
|
--flags-dir=<value> Import flag values from a directory.
|
|
@@ -742,8 +744,8 @@ DESCRIPTION
|
|
|
742
744
|
Agent Script file successfully compiles. If there are compilation errors, the command exits and you must fix the Agent
|
|
743
745
|
Script file to continue. Once the Agent Script file compiles, then it's published to the org, which in turn creates
|
|
744
746
|
new associated metadata (Bot, BotVersion, GenAiX), or new versions of the metadata if the agent already exists. The
|
|
745
|
-
new or updated metadata is retrieved back to your DX project
|
|
746
|
-
(AiAuthoringBundle) is deployed to your org.
|
|
747
|
+
new or updated metadata is retrieved back to your DX project; specify the --skip-retrieve flag to skip this step.
|
|
748
|
+
Finally, the authoring bundle metadata (AiAuthoringBundle) is deployed to your org.
|
|
747
749
|
|
|
748
750
|
This command uses the API name of the authoring bundle.
|
|
749
751
|
|
|
@@ -757,7 +759,7 @@ EXAMPLES
|
|
|
757
759
|
$ sf agent publish authoring-bundle --api-name MyAuthoringbundle --target-org my-dev-org
|
|
758
760
|
```
|
|
759
761
|
|
|
760
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
762
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.27.0/src/commands/agent/publish/authoring-bundle.ts)_
|
|
761
763
|
|
|
762
764
|
## `sf agent test create`
|
|
763
765
|
|
|
@@ -812,7 +814,7 @@ EXAMPLES
|
|
|
812
814
|
$ sf agent test create --spec specs/Resort_Manager-testSpec.yaml --api-name Resort_Manager_Test --preview
|
|
813
815
|
```
|
|
814
816
|
|
|
815
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
817
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.27.0/src/commands/agent/test/create.ts)_
|
|
816
818
|
|
|
817
819
|
## `sf agent test list`
|
|
818
820
|
|
|
@@ -847,7 +849,7 @@ EXAMPLES
|
|
|
847
849
|
$ sf agent test list --target-org my-org
|
|
848
850
|
```
|
|
849
851
|
|
|
850
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
852
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.27.0/src/commands/agent/test/list.ts)_
|
|
851
853
|
|
|
852
854
|
## `sf agent test results`
|
|
853
855
|
|
|
@@ -913,7 +915,7 @@ FLAG DESCRIPTIONS
|
|
|
913
915
|
expression when using custom evaluations.
|
|
914
916
|
```
|
|
915
917
|
|
|
916
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
918
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.27.0/src/commands/agent/test/results.ts)_
|
|
917
919
|
|
|
918
920
|
## `sf agent test resume`
|
|
919
921
|
|
|
@@ -986,7 +988,7 @@ FLAG DESCRIPTIONS
|
|
|
986
988
|
expression when using custom evaluations.
|
|
987
989
|
```
|
|
988
990
|
|
|
989
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
991
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.27.0/src/commands/agent/test/resume.ts)_
|
|
990
992
|
|
|
991
993
|
## `sf agent test run`
|
|
992
994
|
|
|
@@ -1060,7 +1062,7 @@ FLAG DESCRIPTIONS
|
|
|
1060
1062
|
expression when using custom evaluations.
|
|
1061
1063
|
```
|
|
1062
1064
|
|
|
1063
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
1065
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.27.0/src/commands/agent/test/run.ts)_
|
|
1064
1066
|
|
|
1065
1067
|
## `sf agent validate authoring-bundle`
|
|
1066
1068
|
|
|
@@ -1107,7 +1109,7 @@ EXAMPLES
|
|
|
1107
1109
|
$ sf agent validate authoring-bundle --api-name MyAuthoringBundle --target-org my-dev-org
|
|
1108
1110
|
```
|
|
1109
1111
|
|
|
1110
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.
|
|
1112
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.27.0/src/commands/agent/validate/authoring-bundle.ts)_
|
|
1111
1113
|
|
|
1112
1114
|
## `sf alias list`
|
|
1113
1115
|
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/cli",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.122.0",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@salesforce/cli",
|
|
9
|
-
"version": "2.
|
|
9
|
+
"version": "2.122.0",
|
|
10
10
|
"hasInstallScript": true,
|
|
11
11
|
"license": "Apache-2.0",
|
|
12
12
|
"dependencies": {
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"@oclif/plugin-which": "3.2.43",
|
|
25
25
|
"@salesforce/core": "^8.25.0",
|
|
26
26
|
"@salesforce/kit": "^3.1.6",
|
|
27
|
-
"@salesforce/plugin-agent": "1.
|
|
27
|
+
"@salesforce/plugin-agent": "1.27.0",
|
|
28
28
|
"@salesforce/plugin-apex": "3.9.5",
|
|
29
29
|
"@salesforce/plugin-api": "1.3.8",
|
|
30
30
|
"@salesforce/plugin-auth": "4.1.4",
|
|
@@ -6217,9 +6217,9 @@
|
|
|
6217
6217
|
"license": "BSD-3-Clause"
|
|
6218
6218
|
},
|
|
6219
6219
|
"node_modules/@salesforce/agents": {
|
|
6220
|
-
"version": "0.
|
|
6221
|
-
"resolved": "https://registry.npmjs.org/@salesforce/agents/-/agents-0.
|
|
6222
|
-
"integrity": "sha512-
|
|
6220
|
+
"version": "0.22.0",
|
|
6221
|
+
"resolved": "https://registry.npmjs.org/@salesforce/agents/-/agents-0.22.0.tgz",
|
|
6222
|
+
"integrity": "sha512-Od2c6Iu+32Fv06YB8qS1Q/ajW4npzUZ5r9/giOVJDJPvNLTm7gcYKZ3rjc/WD3sP9y8KFvxJZPtsJoZoWvALAg==",
|
|
6223
6223
|
"license": "Apache-2.0",
|
|
6224
6224
|
"dependencies": {
|
|
6225
6225
|
"@salesforce/core": "^8.24.0",
|
|
@@ -6619,16 +6619,16 @@
|
|
|
6619
6619
|
}
|
|
6620
6620
|
},
|
|
6621
6621
|
"node_modules/@salesforce/plugin-agent": {
|
|
6622
|
-
"version": "1.
|
|
6623
|
-
"resolved": "https://registry.npmjs.org/@salesforce/plugin-agent/-/plugin-agent-1.
|
|
6624
|
-
"integrity": "sha512
|
|
6622
|
+
"version": "1.27.0",
|
|
6623
|
+
"resolved": "https://registry.npmjs.org/@salesforce/plugin-agent/-/plugin-agent-1.27.0.tgz",
|
|
6624
|
+
"integrity": "sha512-+jChZuwgIYuz8Gs6iEoyFHOoF05rSe2O5l6lQGDD54BRn3D5N5OrwysT4al5WgA9ddH44kOY1rU5EOMjafnFlA==",
|
|
6625
6625
|
"license": "Apache-2.0",
|
|
6626
6626
|
"dependencies": {
|
|
6627
6627
|
"@inquirer/core": "^10.3.2",
|
|
6628
6628
|
"@inquirer/prompts": "^7.10.1",
|
|
6629
6629
|
"@oclif/core": "^4",
|
|
6630
6630
|
"@oclif/multi-stage-output": "^0.8.29",
|
|
6631
|
-
"@salesforce/agents": "^0.
|
|
6631
|
+
"@salesforce/agents": "^0.22.0",
|
|
6632
6632
|
"@salesforce/core": "^8.24.3",
|
|
6633
6633
|
"@salesforce/kit": "^3.2.3",
|
|
6634
6634
|
"@salesforce/sf-plugins-core": "^12.2.6",
|
package/oclif.lock
CHANGED
|
@@ -2478,10 +2478,10 @@
|
|
|
2478
2478
|
resolved "https://registry.npmjs.org/@protobufjs/utf8/-/utf8-1.1.0.tgz"
|
|
2479
2479
|
integrity sha512-Vvn3zZrhQZkkBE8LSuW3em98c0FwgO4nxzv6OdSxPKJIEKY2bGbHn+mhGIPerzI4twdxaP8/0+06HBpwf345Lw==
|
|
2480
2480
|
|
|
2481
|
-
"@salesforce/agents@^0.
|
|
2482
|
-
version "0.
|
|
2483
|
-
resolved "https://registry.npmjs.org/@salesforce/agents/-/agents-0.
|
|
2484
|
-
integrity sha512-
|
|
2481
|
+
"@salesforce/agents@^0.22.0":
|
|
2482
|
+
version "0.22.0"
|
|
2483
|
+
resolved "https://registry.npmjs.org/@salesforce/agents/-/agents-0.22.0.tgz"
|
|
2484
|
+
integrity sha512-Od2c6Iu+32Fv06YB8qS1Q/ajW4npzUZ5r9/giOVJDJPvNLTm7gcYKZ3rjc/WD3sP9y8KFvxJZPtsJoZoWvALAg==
|
|
2485
2485
|
dependencies:
|
|
2486
2486
|
"@salesforce/core" "^8.24.0"
|
|
2487
2487
|
"@salesforce/kit" "^3.2.4"
|
|
@@ -2619,16 +2619,16 @@
|
|
|
2619
2619
|
jszip "^3.10.1"
|
|
2620
2620
|
object-treeify "^2"
|
|
2621
2621
|
|
|
2622
|
-
"@salesforce/plugin-agent@1.
|
|
2623
|
-
version "1.
|
|
2624
|
-
resolved "https://registry.npmjs.org/@salesforce/plugin-agent/-/plugin-agent-1.
|
|
2625
|
-
integrity sha512
|
|
2622
|
+
"@salesforce/plugin-agent@1.27.0":
|
|
2623
|
+
version "1.27.0"
|
|
2624
|
+
resolved "https://registry.npmjs.org/@salesforce/plugin-agent/-/plugin-agent-1.27.0.tgz"
|
|
2625
|
+
integrity sha512-+jChZuwgIYuz8Gs6iEoyFHOoF05rSe2O5l6lQGDD54BRn3D5N5OrwysT4al5WgA9ddH44kOY1rU5EOMjafnFlA==
|
|
2626
2626
|
dependencies:
|
|
2627
2627
|
"@inquirer/core" "^10.3.2"
|
|
2628
2628
|
"@inquirer/prompts" "^7.10.1"
|
|
2629
2629
|
"@oclif/core" "^4"
|
|
2630
2630
|
"@oclif/multi-stage-output" "^0.8.29"
|
|
2631
|
-
"@salesforce/agents" "^0.
|
|
2631
|
+
"@salesforce/agents" "^0.22.0"
|
|
2632
2632
|
"@salesforce/core" "^8.24.3"
|
|
2633
2633
|
"@salesforce/kit" "^3.2.3"
|
|
2634
2634
|
"@salesforce/sf-plugins-core" "^12.2.6"
|
package/oclif.manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/cli",
|
|
3
3
|
"description": "The Salesforce CLI",
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.122.0",
|
|
5
5
|
"author": "Salesforce",
|
|
6
6
|
"bin": {
|
|
7
7
|
"sf": "./bin/run.js",
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
"@salesforce/plugin-user"
|
|
77
77
|
],
|
|
78
78
|
"jitPlugins": {
|
|
79
|
-
"@salesforce/plugin-code-analyzer": "5.
|
|
79
|
+
"@salesforce/plugin-code-analyzer": "5.9.0",
|
|
80
80
|
"@salesforce/plugin-community": "3.3.48",
|
|
81
81
|
"@salesforce/plugin-custom-metadata": "3.3.72",
|
|
82
82
|
"@salesforce/plugin-dev": "2.5.1",
|
|
@@ -157,7 +157,7 @@
|
|
|
157
157
|
"@oclif/plugin-which": "3.2.43",
|
|
158
158
|
"@salesforce/core": "^8.25.0",
|
|
159
159
|
"@salesforce/kit": "^3.1.6",
|
|
160
|
-
"@salesforce/plugin-agent": "1.
|
|
160
|
+
"@salesforce/plugin-agent": "1.27.0",
|
|
161
161
|
"@salesforce/plugin-apex": "3.9.5",
|
|
162
162
|
"@salesforce/plugin-api": "1.3.8",
|
|
163
163
|
"@salesforce/plugin-auth": "4.1.4",
|