@salesforce/plugin-agent 1.26.7 → 1.26.8
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 +15 -15
- package/oclif.manifest.json +86 -86
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -112,7 +112,7 @@ EXAMPLES
|
|
|
112
112
|
$ sf agent activate --api-name Resort_Manager --target-org my-org
|
|
113
113
|
```
|
|
114
114
|
|
|
115
|
-
_See code: [src/commands/agent/activate.ts](https://github.com/salesforcecli/plugin-agent/blob/1.26.
|
|
115
|
+
_See code: [src/commands/agent/activate.ts](https://github.com/salesforcecli/plugin-agent/blob/1.26.8/src/commands/agent/activate.ts)_
|
|
116
116
|
|
|
117
117
|
## `sf agent create`
|
|
118
118
|
|
|
@@ -179,7 +179,7 @@ EXAMPLES
|
|
|
179
179
|
$ sf agent create --name "Resort Manager" --spec specs/resortManagerAgent.yaml --preview
|
|
180
180
|
```
|
|
181
181
|
|
|
182
|
-
_See code: [src/commands/agent/create.ts](https://github.com/salesforcecli/plugin-agent/blob/1.26.
|
|
182
|
+
_See code: [src/commands/agent/create.ts](https://github.com/salesforcecli/plugin-agent/blob/1.26.8/src/commands/agent/create.ts)_
|
|
183
183
|
|
|
184
184
|
## `sf agent deactivate`
|
|
185
185
|
|
|
@@ -219,7 +219,7 @@ EXAMPLES
|
|
|
219
219
|
$ sf agent deactivate --api-name Resort_Manager --target-org my-org
|
|
220
220
|
```
|
|
221
221
|
|
|
222
|
-
_See code: [src/commands/agent/deactivate.ts](https://github.com/salesforcecli/plugin-agent/blob/1.26.
|
|
222
|
+
_See code: [src/commands/agent/deactivate.ts](https://github.com/salesforcecli/plugin-agent/blob/1.26.8/src/commands/agent/deactivate.ts)_
|
|
223
223
|
|
|
224
224
|
## `sf agent generate agent-spec`
|
|
225
225
|
|
|
@@ -326,7 +326,7 @@ EXAMPLES
|
|
|
326
326
|
$ sf agent generate agent-spec --tone formal --agent-user resortmanager@myorg.com
|
|
327
327
|
```
|
|
328
328
|
|
|
329
|
-
_See code: [src/commands/agent/generate/agent-spec.ts](https://github.com/salesforcecli/plugin-agent/blob/1.26.
|
|
329
|
+
_See code: [src/commands/agent/generate/agent-spec.ts](https://github.com/salesforcecli/plugin-agent/blob/1.26.8/src/commands/agent/generate/agent-spec.ts)_
|
|
330
330
|
|
|
331
331
|
## `sf agent generate authoring-bundle`
|
|
332
332
|
|
|
@@ -392,7 +392,7 @@ EXAMPLES
|
|
|
392
392
|
other-package-dir/main/default --target-org my-dev-org
|
|
393
393
|
```
|
|
394
394
|
|
|
395
|
-
_See code: [src/commands/agent/generate/authoring-bundle.ts](https://github.com/salesforcecli/plugin-agent/blob/1.26.
|
|
395
|
+
_See code: [src/commands/agent/generate/authoring-bundle.ts](https://github.com/salesforcecli/plugin-agent/blob/1.26.8/src/commands/agent/generate/authoring-bundle.ts)_
|
|
396
396
|
|
|
397
397
|
## `sf agent generate template`
|
|
398
398
|
|
|
@@ -440,7 +440,7 @@ EXAMPLES
|
|
|
440
440
|
force-app/main/default/bots/My_Awesome_Agent/My_Awesome_Agent.bot-meta.xml --agent-version 1
|
|
441
441
|
```
|
|
442
442
|
|
|
443
|
-
_See code: [src/commands/agent/generate/template.ts](https://github.com/salesforcecli/plugin-agent/blob/1.26.
|
|
443
|
+
_See code: [src/commands/agent/generate/template.ts](https://github.com/salesforcecli/plugin-agent/blob/1.26.8/src/commands/agent/generate/template.ts)_
|
|
444
444
|
|
|
445
445
|
## `sf agent generate test-spec`
|
|
446
446
|
|
|
@@ -501,7 +501,7 @@ EXAMPLES
|
|
|
501
501
|
force-app//main/default/aiEvaluationDefinitions/Resort_Manager_Tests.aiEvaluationDefinition-meta.xml
|
|
502
502
|
```
|
|
503
503
|
|
|
504
|
-
_See code: [src/commands/agent/generate/test-spec.ts](https://github.com/salesforcecli/plugin-agent/blob/1.26.
|
|
504
|
+
_See code: [src/commands/agent/generate/test-spec.ts](https://github.com/salesforcecli/plugin-agent/blob/1.26.8/src/commands/agent/generate/test-spec.ts)_
|
|
505
505
|
|
|
506
506
|
## `sf agent preview`
|
|
507
507
|
|
|
@@ -574,7 +574,7 @@ EXAMPLES
|
|
|
574
574
|
$ sf agent preview --use-live-actions --apex-debug --output-dir transcripts/my-preview
|
|
575
575
|
```
|
|
576
576
|
|
|
577
|
-
_See code: [src/commands/agent/preview.ts](https://github.com/salesforcecli/plugin-agent/blob/1.26.
|
|
577
|
+
_See code: [src/commands/agent/preview.ts](https://github.com/salesforcecli/plugin-agent/blob/1.26.8/src/commands/agent/preview.ts)_
|
|
578
578
|
|
|
579
579
|
## `sf agent publish authoring-bundle`
|
|
580
580
|
|
|
@@ -621,7 +621,7 @@ EXAMPLES
|
|
|
621
621
|
$ sf agent publish authoring-bundle --api-name MyAuthoringbundle --target-org my-dev-org
|
|
622
622
|
```
|
|
623
623
|
|
|
624
|
-
_See code: [src/commands/agent/publish/authoring-bundle.ts](https://github.com/salesforcecli/plugin-agent/blob/1.26.
|
|
624
|
+
_See code: [src/commands/agent/publish/authoring-bundle.ts](https://github.com/salesforcecli/plugin-agent/blob/1.26.8/src/commands/agent/publish/authoring-bundle.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: [src/commands/agent/test/create.ts](https://github.com/salesforcecli/plugin-agent/blob/1.26.
|
|
679
|
+
_See code: [src/commands/agent/test/create.ts](https://github.com/salesforcecli/plugin-agent/blob/1.26.8/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: [src/commands/agent/test/list.ts](https://github.com/salesforcecli/plugin-agent/blob/1.26.
|
|
714
|
+
_See code: [src/commands/agent/test/list.ts](https://github.com/salesforcecli/plugin-agent/blob/1.26.8/src/commands/agent/test/list.ts)_
|
|
715
715
|
|
|
716
716
|
## `sf agent test results`
|
|
717
717
|
|
|
@@ -777,7 +777,7 @@ FLAG DESCRIPTIONS
|
|
|
777
777
|
expression when using custom evaluations.
|
|
778
778
|
```
|
|
779
779
|
|
|
780
|
-
_See code: [src/commands/agent/test/results.ts](https://github.com/salesforcecli/plugin-agent/blob/1.26.
|
|
780
|
+
_See code: [src/commands/agent/test/results.ts](https://github.com/salesforcecli/plugin-agent/blob/1.26.8/src/commands/agent/test/results.ts)_
|
|
781
781
|
|
|
782
782
|
## `sf agent test resume`
|
|
783
783
|
|
|
@@ -850,7 +850,7 @@ FLAG DESCRIPTIONS
|
|
|
850
850
|
expression when using custom evaluations.
|
|
851
851
|
```
|
|
852
852
|
|
|
853
|
-
_See code: [src/commands/agent/test/resume.ts](https://github.com/salesforcecli/plugin-agent/blob/1.26.
|
|
853
|
+
_See code: [src/commands/agent/test/resume.ts](https://github.com/salesforcecli/plugin-agent/blob/1.26.8/src/commands/agent/test/resume.ts)_
|
|
854
854
|
|
|
855
855
|
## `sf agent test run`
|
|
856
856
|
|
|
@@ -924,7 +924,7 @@ FLAG DESCRIPTIONS
|
|
|
924
924
|
expression when using custom evaluations.
|
|
925
925
|
```
|
|
926
926
|
|
|
927
|
-
_See code: [src/commands/agent/test/run.ts](https://github.com/salesforcecli/plugin-agent/blob/1.26.
|
|
927
|
+
_See code: [src/commands/agent/test/run.ts](https://github.com/salesforcecli/plugin-agent/blob/1.26.8/src/commands/agent/test/run.ts)_
|
|
928
928
|
|
|
929
929
|
## `sf agent validate authoring-bundle`
|
|
930
930
|
|
|
@@ -971,6 +971,6 @@ EXAMPLES
|
|
|
971
971
|
$ sf agent validate authoring-bundle --api-name MyAuthoringBundle --target-org my-dev-org
|
|
972
972
|
```
|
|
973
973
|
|
|
974
|
-
_See code: [src/commands/agent/validate/authoring-bundle.ts](https://github.com/salesforcecli/plugin-agent/blob/1.26.
|
|
974
|
+
_See code: [src/commands/agent/validate/authoring-bundle.ts](https://github.com/salesforcecli/plugin-agent/blob/1.26.8/src/commands/agent/validate/authoring-bundle.ts)_
|
|
975
975
|
|
|
976
976
|
<!-- commandsstop -->
|
package/oclif.manifest.json
CHANGED
|
@@ -881,91 +881,6 @@
|
|
|
881
881
|
"authoring-bundle:publish:agent"
|
|
882
882
|
]
|
|
883
883
|
},
|
|
884
|
-
"agent:validate:authoring-bundle": {
|
|
885
|
-
"aliases": [],
|
|
886
|
-
"args": {},
|
|
887
|
-
"description": "An authoring bundle is a metadata type (named aiAuthoringBundle) that provides the blueprint for an agent. The metadata type contains two files: the standard metatada XML file and an Agent Script file (extension \".agent\") that fully describes the agent using the Agent Script language.\n\nThis command validates that the Agent Script file in the authoring bundle compiles without errors so that you can later publish the bundle to your org. Use this command while you code the Agent Script file to ensure that it's valid. If the validation fails, the command outputs the list of syntax errors, a brief description of the error, and the location in the Agent Script file where the error occurred.\n\nThis command uses the API name of the authoring bundle. If you don't provide an API name with the --api-name flag, the command searches the current DX project and outputs a list of authoring bundles that it found for you to choose from.",
|
|
888
|
-
"examples": [
|
|
889
|
-
"Validate an authoring bundle by being prompted for its API name; use your default org:\n<%= config.bin %> <%= command.id %>",
|
|
890
|
-
"Validate an authoring bundle with API name MyAuthoringBundle; use the org with alias \"my-dev-org\":\n<%= config.bin %> <%= command.id %> --api-name MyAuthoringBundle --target-org my-dev-org"
|
|
891
|
-
],
|
|
892
|
-
"flags": {
|
|
893
|
-
"json": {
|
|
894
|
-
"description": "Format output as json.",
|
|
895
|
-
"helpGroup": "GLOBAL",
|
|
896
|
-
"name": "json",
|
|
897
|
-
"allowNo": false,
|
|
898
|
-
"type": "boolean"
|
|
899
|
-
},
|
|
900
|
-
"flags-dir": {
|
|
901
|
-
"helpGroup": "GLOBAL",
|
|
902
|
-
"name": "flags-dir",
|
|
903
|
-
"summary": "Import flag values from a directory.",
|
|
904
|
-
"hasDynamicHelp": false,
|
|
905
|
-
"multiple": false,
|
|
906
|
-
"type": "option"
|
|
907
|
-
},
|
|
908
|
-
"target-org": {
|
|
909
|
-
"char": "o",
|
|
910
|
-
"name": "target-org",
|
|
911
|
-
"noCacheDefault": true,
|
|
912
|
-
"required": true,
|
|
913
|
-
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
914
|
-
"hasDynamicHelp": true,
|
|
915
|
-
"multiple": false,
|
|
916
|
-
"type": "option"
|
|
917
|
-
},
|
|
918
|
-
"api-version": {
|
|
919
|
-
"description": "Override the api version used for api requests made by this command",
|
|
920
|
-
"name": "api-version",
|
|
921
|
-
"hasDynamicHelp": false,
|
|
922
|
-
"multiple": false,
|
|
923
|
-
"type": "option"
|
|
924
|
-
},
|
|
925
|
-
"api-name": {
|
|
926
|
-
"char": "n",
|
|
927
|
-
"name": "api-name",
|
|
928
|
-
"summary": "API name of the authoring bundle you want to validate; if not specified, the command provides a list that you can choose from.",
|
|
929
|
-
"hasDynamicHelp": false,
|
|
930
|
-
"multiple": false,
|
|
931
|
-
"type": "option"
|
|
932
|
-
}
|
|
933
|
-
},
|
|
934
|
-
"hasDynamicHelp": true,
|
|
935
|
-
"hiddenAliases": [],
|
|
936
|
-
"id": "agent:validate:authoring-bundle",
|
|
937
|
-
"pluginAlias": "@salesforce/plugin-agent",
|
|
938
|
-
"pluginName": "@salesforce/plugin-agent",
|
|
939
|
-
"pluginType": "core",
|
|
940
|
-
"state": "beta",
|
|
941
|
-
"strict": true,
|
|
942
|
-
"summary": "Validate an authoring bundle to ensure its Agent Script file compiles successfully and can be used to publish an agent.",
|
|
943
|
-
"enableJsonFlag": true,
|
|
944
|
-
"requiresProject": true,
|
|
945
|
-
"FLAGGABLE_PROMPTS": {
|
|
946
|
-
"api-name": {
|
|
947
|
-
"message": "API name of the authoring bundle you want to validate; if not specified, the command provides a list that you can choose from.",
|
|
948
|
-
"promptMessage": "API name of the authoring bundle to validate"
|
|
949
|
-
}
|
|
950
|
-
},
|
|
951
|
-
"isESM": true,
|
|
952
|
-
"relativePath": [
|
|
953
|
-
"lib",
|
|
954
|
-
"commands",
|
|
955
|
-
"agent",
|
|
956
|
-
"validate",
|
|
957
|
-
"authoring-bundle.js"
|
|
958
|
-
],
|
|
959
|
-
"aliasPermutations": [],
|
|
960
|
-
"permutations": [
|
|
961
|
-
"agent:validate:authoring-bundle",
|
|
962
|
-
"validate:agent:authoring-bundle",
|
|
963
|
-
"validate:authoring-bundle:agent",
|
|
964
|
-
"agent:authoring-bundle:validate",
|
|
965
|
-
"authoring-bundle:agent:validate",
|
|
966
|
-
"authoring-bundle:validate:agent"
|
|
967
|
-
]
|
|
968
|
-
},
|
|
969
884
|
"agent:test:create": {
|
|
970
885
|
"aliases": [],
|
|
971
886
|
"args": {},
|
|
@@ -1479,7 +1394,92 @@
|
|
|
1479
1394
|
"run:agent:test",
|
|
1480
1395
|
"run:test:agent"
|
|
1481
1396
|
]
|
|
1397
|
+
},
|
|
1398
|
+
"agent:validate:authoring-bundle": {
|
|
1399
|
+
"aliases": [],
|
|
1400
|
+
"args": {},
|
|
1401
|
+
"description": "An authoring bundle is a metadata type (named aiAuthoringBundle) that provides the blueprint for an agent. The metadata type contains two files: the standard metatada XML file and an Agent Script file (extension \".agent\") that fully describes the agent using the Agent Script language.\n\nThis command validates that the Agent Script file in the authoring bundle compiles without errors so that you can later publish the bundle to your org. Use this command while you code the Agent Script file to ensure that it's valid. If the validation fails, the command outputs the list of syntax errors, a brief description of the error, and the location in the Agent Script file where the error occurred.\n\nThis command uses the API name of the authoring bundle. If you don't provide an API name with the --api-name flag, the command searches the current DX project and outputs a list of authoring bundles that it found for you to choose from.",
|
|
1402
|
+
"examples": [
|
|
1403
|
+
"Validate an authoring bundle by being prompted for its API name; use your default org:\n<%= config.bin %> <%= command.id %>",
|
|
1404
|
+
"Validate an authoring bundle with API name MyAuthoringBundle; use the org with alias \"my-dev-org\":\n<%= config.bin %> <%= command.id %> --api-name MyAuthoringBundle --target-org my-dev-org"
|
|
1405
|
+
],
|
|
1406
|
+
"flags": {
|
|
1407
|
+
"json": {
|
|
1408
|
+
"description": "Format output as json.",
|
|
1409
|
+
"helpGroup": "GLOBAL",
|
|
1410
|
+
"name": "json",
|
|
1411
|
+
"allowNo": false,
|
|
1412
|
+
"type": "boolean"
|
|
1413
|
+
},
|
|
1414
|
+
"flags-dir": {
|
|
1415
|
+
"helpGroup": "GLOBAL",
|
|
1416
|
+
"name": "flags-dir",
|
|
1417
|
+
"summary": "Import flag values from a directory.",
|
|
1418
|
+
"hasDynamicHelp": false,
|
|
1419
|
+
"multiple": false,
|
|
1420
|
+
"type": "option"
|
|
1421
|
+
},
|
|
1422
|
+
"target-org": {
|
|
1423
|
+
"char": "o",
|
|
1424
|
+
"name": "target-org",
|
|
1425
|
+
"noCacheDefault": true,
|
|
1426
|
+
"required": true,
|
|
1427
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
1428
|
+
"hasDynamicHelp": true,
|
|
1429
|
+
"multiple": false,
|
|
1430
|
+
"type": "option"
|
|
1431
|
+
},
|
|
1432
|
+
"api-version": {
|
|
1433
|
+
"description": "Override the api version used for api requests made by this command",
|
|
1434
|
+
"name": "api-version",
|
|
1435
|
+
"hasDynamicHelp": false,
|
|
1436
|
+
"multiple": false,
|
|
1437
|
+
"type": "option"
|
|
1438
|
+
},
|
|
1439
|
+
"api-name": {
|
|
1440
|
+
"char": "n",
|
|
1441
|
+
"name": "api-name",
|
|
1442
|
+
"summary": "API name of the authoring bundle you want to validate; if not specified, the command provides a list that you can choose from.",
|
|
1443
|
+
"hasDynamicHelp": false,
|
|
1444
|
+
"multiple": false,
|
|
1445
|
+
"type": "option"
|
|
1446
|
+
}
|
|
1447
|
+
},
|
|
1448
|
+
"hasDynamicHelp": true,
|
|
1449
|
+
"hiddenAliases": [],
|
|
1450
|
+
"id": "agent:validate:authoring-bundle",
|
|
1451
|
+
"pluginAlias": "@salesforce/plugin-agent",
|
|
1452
|
+
"pluginName": "@salesforce/plugin-agent",
|
|
1453
|
+
"pluginType": "core",
|
|
1454
|
+
"state": "beta",
|
|
1455
|
+
"strict": true,
|
|
1456
|
+
"summary": "Validate an authoring bundle to ensure its Agent Script file compiles successfully and can be used to publish an agent.",
|
|
1457
|
+
"enableJsonFlag": true,
|
|
1458
|
+
"requiresProject": true,
|
|
1459
|
+
"FLAGGABLE_PROMPTS": {
|
|
1460
|
+
"api-name": {
|
|
1461
|
+
"message": "API name of the authoring bundle you want to validate; if not specified, the command provides a list that you can choose from.",
|
|
1462
|
+
"promptMessage": "API name of the authoring bundle to validate"
|
|
1463
|
+
}
|
|
1464
|
+
},
|
|
1465
|
+
"isESM": true,
|
|
1466
|
+
"relativePath": [
|
|
1467
|
+
"lib",
|
|
1468
|
+
"commands",
|
|
1469
|
+
"agent",
|
|
1470
|
+
"validate",
|
|
1471
|
+
"authoring-bundle.js"
|
|
1472
|
+
],
|
|
1473
|
+
"aliasPermutations": [],
|
|
1474
|
+
"permutations": [
|
|
1475
|
+
"agent:validate:authoring-bundle",
|
|
1476
|
+
"validate:agent:authoring-bundle",
|
|
1477
|
+
"validate:authoring-bundle:agent",
|
|
1478
|
+
"agent:authoring-bundle:validate",
|
|
1479
|
+
"authoring-bundle:agent:validate",
|
|
1480
|
+
"authoring-bundle:validate:agent"
|
|
1481
|
+
]
|
|
1482
1482
|
}
|
|
1483
1483
|
},
|
|
1484
|
-
"version": "1.26.
|
|
1484
|
+
"version": "1.26.8"
|
|
1485
1485
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/plugin-agent",
|
|
3
3
|
"description": "Commands to interact with Salesforce agents",
|
|
4
|
-
"version": "1.26.
|
|
4
|
+
"version": "1.26.8",
|
|
5
5
|
"author": "Salesforce",
|
|
6
6
|
"bugs": "https://github.com/forcedotcom/cli/issues",
|
|
7
7
|
"dependencies": {
|
|
@@ -237,7 +237,7 @@
|
|
|
237
237
|
"exports": "./lib/index.js",
|
|
238
238
|
"type": "module",
|
|
239
239
|
"sfdx": {
|
|
240
|
-
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-agent/1.26.
|
|
241
|
-
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-agent/1.26.
|
|
240
|
+
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-agent/1.26.8.crt",
|
|
241
|
+
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-agent/1.26.8.sig"
|
|
242
242
|
}
|
|
243
243
|
}
|