@salesforce/cli 2.101.3 → 2.101.4
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 +16 -13
- package/npm-shrinkwrap.json +6 -6
- package/oclif.lock +4 -4
- package/oclif.manifest.json +1 -1
- package/package.json +2 -2
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.101.
|
|
28
|
+
@salesforce/cli/2.101.4 linux-x64 node-v22.17.1
|
|
29
29
|
$ sf --help [COMMAND]
|
|
30
30
|
USAGE
|
|
31
31
|
$ sf COMMAND
|
|
@@ -242,7 +242,7 @@ EXAMPLES
|
|
|
242
242
|
$ sf agent activate --api-name Resort_Manager --target-org my-org
|
|
243
243
|
```
|
|
244
244
|
|
|
245
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.24.
|
|
245
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.24.1/src/commands/agent/activate.ts)_
|
|
246
246
|
|
|
247
247
|
## `sf agent create`
|
|
248
248
|
|
|
@@ -304,7 +304,7 @@ EXAMPLES
|
|
|
304
304
|
$ sf agent create --name "Resort Manager" --spec specs/resortManagerAgent.yaml --preview
|
|
305
305
|
```
|
|
306
306
|
|
|
307
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.24.
|
|
307
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.24.1/src/commands/agent/create.ts)_
|
|
308
308
|
|
|
309
309
|
## `sf agent deactivate`
|
|
310
310
|
|
|
@@ -344,7 +344,7 @@ EXAMPLES
|
|
|
344
344
|
$ sf agent deactivate --api-name Resort_Manager --target-org my-org
|
|
345
345
|
```
|
|
346
346
|
|
|
347
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.24.
|
|
347
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.24.1/src/commands/agent/deactivate.ts)_
|
|
348
348
|
|
|
349
349
|
## `sf agent generate agent-spec`
|
|
350
350
|
|
|
@@ -449,7 +449,7 @@ EXAMPLES
|
|
|
449
449
|
$ sf agent generate agent-spec --tone formal --agent-user resortmanager@myorg.com
|
|
450
450
|
```
|
|
451
451
|
|
|
452
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.24.
|
|
452
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.24.1/src/commands/agent/generate/agent-spec.ts)_
|
|
453
453
|
|
|
454
454
|
## `sf agent generate template`
|
|
455
455
|
|
|
@@ -497,7 +497,7 @@ EXAMPLES
|
|
|
497
497
|
force-app/main/default/bots/My_Awesome_Agent/My_Awesome_Agent.bot-meta.xml --agent-version 1
|
|
498
498
|
```
|
|
499
499
|
|
|
500
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.24.
|
|
500
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.24.1/src/commands/agent/generate/template.ts)_
|
|
501
501
|
|
|
502
502
|
## `sf agent generate test-spec`
|
|
503
503
|
|
|
@@ -532,6 +532,9 @@ DESCRIPTION
|
|
|
532
532
|
- Expected topic: API name of the topic you expect the agent to use when responding to the utterance.
|
|
533
533
|
- Expected actions: One or more API names of the expection actions the agent takes.
|
|
534
534
|
- Expected outcome: Natural language description of the outcome you expect.
|
|
535
|
+
- (Optional) Custom evaluation: Test an agent's response for specific strings or numbers.
|
|
536
|
+
- (Optional) Conversation history: Boilerplate for additional context you can add to the test in the form of a
|
|
537
|
+
conversation history.
|
|
535
538
|
|
|
536
539
|
When your test spec is ready, you then run the "agent test create" command to actually create the test in your org and
|
|
537
540
|
synchronize the metadata with your DX project. The metadata type for an agent test is AiEvaluationDefinition.
|
|
@@ -555,7 +558,7 @@ EXAMPLES
|
|
|
555
558
|
force-app//main/default/aiEvaluationDefinitions/Resort_Manager_Tests.aiEvaluationDefinition-meta.xml
|
|
556
559
|
```
|
|
557
560
|
|
|
558
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.24.
|
|
561
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.24.1/src/commands/agent/generate/test-spec.ts)_
|
|
559
562
|
|
|
560
563
|
## `sf agent preview`
|
|
561
564
|
|
|
@@ -619,7 +622,7 @@ EXAMPLES
|
|
|
619
622
|
transcripts/my-preview
|
|
620
623
|
```
|
|
621
624
|
|
|
622
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.24.
|
|
625
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.24.1/src/commands/agent/preview.ts)_
|
|
623
626
|
|
|
624
627
|
## `sf agent test create`
|
|
625
628
|
|
|
@@ -674,7 +677,7 @@ EXAMPLES
|
|
|
674
677
|
$ sf agent test create --spec specs/Resort_Manager-testSpec.yaml --api-name Resort_Manager_Test --preview
|
|
675
678
|
```
|
|
676
679
|
|
|
677
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.24.
|
|
680
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.24.1/src/commands/agent/test/create.ts)_
|
|
678
681
|
|
|
679
682
|
## `sf agent test list`
|
|
680
683
|
|
|
@@ -709,7 +712,7 @@ EXAMPLES
|
|
|
709
712
|
$ sf agent test list --target-org my-org
|
|
710
713
|
```
|
|
711
714
|
|
|
712
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.24.
|
|
715
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.24.1/src/commands/agent/test/list.ts)_
|
|
713
716
|
|
|
714
717
|
## `sf agent test results`
|
|
715
718
|
|
|
@@ -765,7 +768,7 @@ FLAG DESCRIPTIONS
|
|
|
765
768
|
test results aren't written.
|
|
766
769
|
```
|
|
767
770
|
|
|
768
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.24.
|
|
771
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.24.1/src/commands/agent/test/results.ts)_
|
|
769
772
|
|
|
770
773
|
## `sf agent test resume`
|
|
771
774
|
|
|
@@ -828,7 +831,7 @@ FLAG DESCRIPTIONS
|
|
|
828
831
|
test results aren't written.
|
|
829
832
|
```
|
|
830
833
|
|
|
831
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.24.
|
|
834
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.24.1/src/commands/agent/test/resume.ts)_
|
|
832
835
|
|
|
833
836
|
## `sf agent test run`
|
|
834
837
|
|
|
@@ -892,7 +895,7 @@ FLAG DESCRIPTIONS
|
|
|
892
895
|
test results aren't written.
|
|
893
896
|
```
|
|
894
897
|
|
|
895
|
-
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.24.
|
|
898
|
+
_See code: [@salesforce/plugin-agent](https://github.com/salesforcecli/plugin-agent/blob/1.24.1/src/commands/agent/test/run.ts)_
|
|
896
899
|
|
|
897
900
|
## `sf alias list`
|
|
898
901
|
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/cli",
|
|
3
|
-
"version": "2.101.
|
|
3
|
+
"version": "2.101.4",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@salesforce/cli",
|
|
9
|
-
"version": "2.101.
|
|
9
|
+
"version": "2.101.4",
|
|
10
10
|
"hasInstallScript": true,
|
|
11
11
|
"license": "Apache-2.0",
|
|
12
12
|
"dependencies": {
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"@oclif/plugin-which": "3.2.39",
|
|
25
25
|
"@salesforce/core": "^8.9.1",
|
|
26
26
|
"@salesforce/kit": "^3.1.6",
|
|
27
|
-
"@salesforce/plugin-agent": "1.24.
|
|
27
|
+
"@salesforce/plugin-agent": "1.24.1",
|
|
28
28
|
"@salesforce/plugin-apex": "3.6.19",
|
|
29
29
|
"@salesforce/plugin-api": "1.3.3",
|
|
30
30
|
"@salesforce/plugin-auth": "3.7.16",
|
|
@@ -4860,9 +4860,9 @@
|
|
|
4860
4860
|
}
|
|
4861
4861
|
},
|
|
4862
4862
|
"node_modules/@salesforce/plugin-agent": {
|
|
4863
|
-
"version": "1.24.
|
|
4864
|
-
"resolved": "https://registry.npmjs.org/@salesforce/plugin-agent/-/plugin-agent-1.24.
|
|
4865
|
-
"integrity": "sha512-
|
|
4863
|
+
"version": "1.24.1",
|
|
4864
|
+
"resolved": "https://registry.npmjs.org/@salesforce/plugin-agent/-/plugin-agent-1.24.1.tgz",
|
|
4865
|
+
"integrity": "sha512-YyEsfrYmNJl+gky724/anwdp8R7pXWoKq002oXcFLeWTdeUW/on0+MB4NSn191Fo9OLb/EsNiM+EMMAlR7FWdA==",
|
|
4866
4866
|
"license": "BSD-3-Clause",
|
|
4867
4867
|
"dependencies": {
|
|
4868
4868
|
"@inquirer/core": "^10.1.6",
|
package/oclif.lock
CHANGED
|
@@ -2113,10 +2113,10 @@
|
|
|
2113
2113
|
jszip "^3.10.1"
|
|
2114
2114
|
object-treeify "^2"
|
|
2115
2115
|
|
|
2116
|
-
"@salesforce/plugin-agent@1.24.
|
|
2117
|
-
version "1.24.
|
|
2118
|
-
resolved "https://registry.npmjs.org/@salesforce/plugin-agent/-/plugin-agent-1.24.
|
|
2119
|
-
integrity sha512-
|
|
2116
|
+
"@salesforce/plugin-agent@1.24.1":
|
|
2117
|
+
version "1.24.1"
|
|
2118
|
+
resolved "https://registry.npmjs.org/@salesforce/plugin-agent/-/plugin-agent-1.24.1.tgz"
|
|
2119
|
+
integrity sha512-YyEsfrYmNJl+gky724/anwdp8R7pXWoKq002oXcFLeWTdeUW/on0+MB4NSn191Fo9OLb/EsNiM+EMMAlR7FWdA==
|
|
2120
2120
|
dependencies:
|
|
2121
2121
|
"@inquirer/core" "^10.1.6"
|
|
2122
2122
|
"@inquirer/prompts" "^7.2.0"
|
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.101.
|
|
4
|
+
"version": "2.101.4",
|
|
5
5
|
"author": "Salesforce",
|
|
6
6
|
"bin": {
|
|
7
7
|
"sf": "./bin/run.js",
|
|
@@ -157,7 +157,7 @@
|
|
|
157
157
|
"@oclif/plugin-which": "3.2.39",
|
|
158
158
|
"@salesforce/core": "^8.9.1",
|
|
159
159
|
"@salesforce/kit": "^3.1.6",
|
|
160
|
-
"@salesforce/plugin-agent": "1.24.
|
|
160
|
+
"@salesforce/plugin-agent": "1.24.1",
|
|
161
161
|
"@salesforce/plugin-apex": "3.6.19",
|
|
162
162
|
"@salesforce/plugin-api": "1.3.3",
|
|
163
163
|
"@salesforce/plugin-auth": "3.7.16",
|