@salesforce/plugin-agent 1.36.0 → 1.36.1
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 +55 -24
- package/lib/agentTestCache.d.ts +4 -1
- package/lib/agentTestCache.js +2 -2
- package/lib/agentTestCache.js.map +1 -1
- package/lib/commands/agent/test/list.js +6 -1
- package/lib/commands/agent/test/list.js.map +1 -1
- package/lib/commands/agent/test/results.d.ts +3 -2
- package/lib/commands/agent/test/results.js +5 -3
- package/lib/commands/agent/test/results.js.map +1 -1
- package/lib/commands/agent/test/resume.d.ts +1 -0
- package/lib/commands/agent/test/resume.js +12 -4
- package/lib/commands/agent/test/resume.js.map +1 -1
- package/lib/commands/agent/test/run.d.ts +1 -0
- package/lib/commands/agent/test/run.js +21 -8
- package/lib/commands/agent/test/run.js.map +1 -1
- package/lib/flags.d.ts +6 -1
- package/lib/flags.js +21 -4
- package/lib/flags.js.map +1 -1
- package/lib/handleTestResults.d.ts +4 -2
- package/lib/handleTestResults.js +137 -5
- package/lib/handleTestResults.js.map +1 -1
- package/lib/testRunnerFactory.d.ts +7 -0
- package/lib/testRunnerFactory.js +30 -0
- package/lib/testRunnerFactory.js.map +1 -0
- package/lib/testStages.d.ts +4 -3
- package/lib/testStages.js.map +1 -1
- package/messages/agent.test.list.md +1 -1
- package/messages/shared.md +8 -0
- package/oclif.manifest.json +162 -126
- package/package.json +5 -5
- package/schemas/agent-activate.json +5 -2
- package/schemas/agent-create.json +39 -8
- package/schemas/agent-deactivate.json +5 -2
- package/schemas/agent-generate-agent__spec.json +18 -4
- package/schemas/agent-generate-authoring__bundle.json +6 -2
- package/schemas/agent-generate-template.json +5 -2
- package/schemas/agent-preview-end.json +5 -2
- package/schemas/agent-preview-send.json +6 -2
- package/schemas/agent-preview-sessions.json +10 -3
- package/schemas/agent-preview-start.json +5 -2
- package/schemas/agent-preview.json +1 -1
- package/schemas/agent-test-create.json +5 -2
- package/schemas/agent-test-list.json +1 -1
- package/schemas/agent-test-results.json +111 -10
- package/schemas/agent-test-resume.json +113 -10
- package/schemas/agent-test-run.json +113 -10
- package/schemas/agent-test-run__eval.json +17 -4
- package/schemas/agent-validate-authoring__bundle.json +4 -2
package/oclif.manifest.json
CHANGED
|
@@ -879,130 +879,6 @@
|
|
|
879
879
|
"test-spec:generate:agent"
|
|
880
880
|
]
|
|
881
881
|
},
|
|
882
|
-
"agent:publish:authoring-bundle": {
|
|
883
|
-
"aliases": [],
|
|
884
|
-
"args": {},
|
|
885
|
-
"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\nWhen you publish an authoring bundle to your org, a number of things happen. First, this command validates that the Agent Script file successfully compiles. If there are compilation errors, the command exits and you must fix the Agent Script file to continue. Once the Agent Script file compiles, then it's published to the org, which in turn creates new associated metadata (Bot, BotVersion, GenAiX), or new versions of the metadata if the agent already exists. The new or updated metadata is retrieved back to your DX project; specify the --skip-retrieve flag to skip this step. Finally, the authoring bundle metadata (AiAuthoringBundle) is deployed to your org.\n\nThis command uses the API name of the authoring bundle.",
|
|
886
|
-
"examples": [
|
|
887
|
-
"Publish an authoring bundle by being prompted for its API name; use your default org:\n<%= config.bin %> <%= command.id %>",
|
|
888
|
-
"Publish an authoring bundle with API name MyAuthoringBundle to the org with alias \"my-dev-org\":\n<%= config.bin %> <%= command.id %> --api-name MyAuthoringbundle --target-org my-dev-org",
|
|
889
|
-
"Publish with verbose output to see all retrieved and deployed metadata components:\n<%= config.bin %> <%= command.id %> --api-name MyAuthoringbundle --verbose",
|
|
890
|
-
"Publish with concise output showing only essential information:\n<%= config.bin %> <%= command.id %> --api-name MyAuthoringbundle --concise"
|
|
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 publish; if not specified, the command provides a list that you can choose from.",
|
|
929
|
-
"hasDynamicHelp": false,
|
|
930
|
-
"multiple": false,
|
|
931
|
-
"type": "option"
|
|
932
|
-
},
|
|
933
|
-
"skip-retrieve": {
|
|
934
|
-
"name": "skip-retrieve",
|
|
935
|
-
"summary": "Don't retrieve the metadata associated with the agent to your DX project.",
|
|
936
|
-
"allowNo": false,
|
|
937
|
-
"type": "boolean"
|
|
938
|
-
},
|
|
939
|
-
"verbose": {
|
|
940
|
-
"char": "v",
|
|
941
|
-
"exclusive": [
|
|
942
|
-
"concise"
|
|
943
|
-
],
|
|
944
|
-
"name": "verbose",
|
|
945
|
-
"summary": "Display detailed output showing all metadata components retrieved and deployed during the publish process.",
|
|
946
|
-
"allowNo": false,
|
|
947
|
-
"type": "boolean"
|
|
948
|
-
},
|
|
949
|
-
"concise": {
|
|
950
|
-
"exclusive": [
|
|
951
|
-
"verbose"
|
|
952
|
-
],
|
|
953
|
-
"name": "concise",
|
|
954
|
-
"summary": "Display minimal output with only essential information about the publish operation.",
|
|
955
|
-
"allowNo": false,
|
|
956
|
-
"type": "boolean"
|
|
957
|
-
}
|
|
958
|
-
},
|
|
959
|
-
"hasDynamicHelp": true,
|
|
960
|
-
"hiddenAliases": [],
|
|
961
|
-
"id": "agent:publish:authoring-bundle",
|
|
962
|
-
"pluginAlias": "@salesforce/plugin-agent",
|
|
963
|
-
"pluginName": "@salesforce/plugin-agent",
|
|
964
|
-
"pluginType": "core",
|
|
965
|
-
"strict": true,
|
|
966
|
-
"summary": "Publish an authoring bundle to your org, which results in a new agent or a new version of an existing agent.",
|
|
967
|
-
"enableJsonFlag": true,
|
|
968
|
-
"requiresProject": true,
|
|
969
|
-
"errorCodes": {
|
|
970
|
-
"header": "ERROR CODES",
|
|
971
|
-
"body": [
|
|
972
|
-
{
|
|
973
|
-
"name": "Succeeded (0)",
|
|
974
|
-
"description": "Agent published successfully without errors."
|
|
975
|
-
},
|
|
976
|
-
{
|
|
977
|
-
"name": "Failed (1)",
|
|
978
|
-
"description": "Compilation errors found in the Agent Script file."
|
|
979
|
-
}
|
|
980
|
-
]
|
|
981
|
-
},
|
|
982
|
-
"FLAGGABLE_PROMPTS": {
|
|
983
|
-
"api-name": {
|
|
984
|
-
"message": "API name of the authoring bundle you want to publish; if not specified, the command provides a list that you can choose from.",
|
|
985
|
-
"promptMessage": "API name of the authoring bundle to publish"
|
|
986
|
-
}
|
|
987
|
-
},
|
|
988
|
-
"isESM": true,
|
|
989
|
-
"relativePath": [
|
|
990
|
-
"lib",
|
|
991
|
-
"commands",
|
|
992
|
-
"agent",
|
|
993
|
-
"publish",
|
|
994
|
-
"authoring-bundle.js"
|
|
995
|
-
],
|
|
996
|
-
"aliasPermutations": [],
|
|
997
|
-
"permutations": [
|
|
998
|
-
"agent:publish:authoring-bundle",
|
|
999
|
-
"publish:agent:authoring-bundle",
|
|
1000
|
-
"publish:authoring-bundle:agent",
|
|
1001
|
-
"agent:authoring-bundle:publish",
|
|
1002
|
-
"authoring-bundle:agent:publish",
|
|
1003
|
-
"authoring-bundle:publish:agent"
|
|
1004
|
-
]
|
|
1005
|
-
},
|
|
1006
882
|
"agent:preview:end": {
|
|
1007
883
|
"aliases": [],
|
|
1008
884
|
"args": {},
|
|
@@ -1470,6 +1346,130 @@
|
|
|
1470
1346
|
"start:preview:agent"
|
|
1471
1347
|
]
|
|
1472
1348
|
},
|
|
1349
|
+
"agent:publish:authoring-bundle": {
|
|
1350
|
+
"aliases": [],
|
|
1351
|
+
"args": {},
|
|
1352
|
+
"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\nWhen you publish an authoring bundle to your org, a number of things happen. First, this command validates that the Agent Script file successfully compiles. If there are compilation errors, the command exits and you must fix the Agent Script file to continue. Once the Agent Script file compiles, then it's published to the org, which in turn creates new associated metadata (Bot, BotVersion, GenAiX), or new versions of the metadata if the agent already exists. The new or updated metadata is retrieved back to your DX project; specify the --skip-retrieve flag to skip this step. Finally, the authoring bundle metadata (AiAuthoringBundle) is deployed to your org.\n\nThis command uses the API name of the authoring bundle.",
|
|
1353
|
+
"examples": [
|
|
1354
|
+
"Publish an authoring bundle by being prompted for its API name; use your default org:\n<%= config.bin %> <%= command.id %>",
|
|
1355
|
+
"Publish an authoring bundle with API name MyAuthoringBundle to the org with alias \"my-dev-org\":\n<%= config.bin %> <%= command.id %> --api-name MyAuthoringbundle --target-org my-dev-org",
|
|
1356
|
+
"Publish with verbose output to see all retrieved and deployed metadata components:\n<%= config.bin %> <%= command.id %> --api-name MyAuthoringbundle --verbose",
|
|
1357
|
+
"Publish with concise output showing only essential information:\n<%= config.bin %> <%= command.id %> --api-name MyAuthoringbundle --concise"
|
|
1358
|
+
],
|
|
1359
|
+
"flags": {
|
|
1360
|
+
"json": {
|
|
1361
|
+
"description": "Format output as json.",
|
|
1362
|
+
"helpGroup": "GLOBAL",
|
|
1363
|
+
"name": "json",
|
|
1364
|
+
"allowNo": false,
|
|
1365
|
+
"type": "boolean"
|
|
1366
|
+
},
|
|
1367
|
+
"flags-dir": {
|
|
1368
|
+
"helpGroup": "GLOBAL",
|
|
1369
|
+
"name": "flags-dir",
|
|
1370
|
+
"summary": "Import flag values from a directory.",
|
|
1371
|
+
"hasDynamicHelp": false,
|
|
1372
|
+
"multiple": false,
|
|
1373
|
+
"type": "option"
|
|
1374
|
+
},
|
|
1375
|
+
"target-org": {
|
|
1376
|
+
"char": "o",
|
|
1377
|
+
"name": "target-org",
|
|
1378
|
+
"noCacheDefault": true,
|
|
1379
|
+
"required": true,
|
|
1380
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
1381
|
+
"hasDynamicHelp": true,
|
|
1382
|
+
"multiple": false,
|
|
1383
|
+
"type": "option"
|
|
1384
|
+
},
|
|
1385
|
+
"api-version": {
|
|
1386
|
+
"description": "Override the api version used for api requests made by this command",
|
|
1387
|
+
"name": "api-version",
|
|
1388
|
+
"hasDynamicHelp": false,
|
|
1389
|
+
"multiple": false,
|
|
1390
|
+
"type": "option"
|
|
1391
|
+
},
|
|
1392
|
+
"api-name": {
|
|
1393
|
+
"char": "n",
|
|
1394
|
+
"name": "api-name",
|
|
1395
|
+
"summary": "API name of the authoring bundle you want to publish; if not specified, the command provides a list that you can choose from.",
|
|
1396
|
+
"hasDynamicHelp": false,
|
|
1397
|
+
"multiple": false,
|
|
1398
|
+
"type": "option"
|
|
1399
|
+
},
|
|
1400
|
+
"skip-retrieve": {
|
|
1401
|
+
"name": "skip-retrieve",
|
|
1402
|
+
"summary": "Don't retrieve the metadata associated with the agent to your DX project.",
|
|
1403
|
+
"allowNo": false,
|
|
1404
|
+
"type": "boolean"
|
|
1405
|
+
},
|
|
1406
|
+
"verbose": {
|
|
1407
|
+
"char": "v",
|
|
1408
|
+
"exclusive": [
|
|
1409
|
+
"concise"
|
|
1410
|
+
],
|
|
1411
|
+
"name": "verbose",
|
|
1412
|
+
"summary": "Display detailed output showing all metadata components retrieved and deployed during the publish process.",
|
|
1413
|
+
"allowNo": false,
|
|
1414
|
+
"type": "boolean"
|
|
1415
|
+
},
|
|
1416
|
+
"concise": {
|
|
1417
|
+
"exclusive": [
|
|
1418
|
+
"verbose"
|
|
1419
|
+
],
|
|
1420
|
+
"name": "concise",
|
|
1421
|
+
"summary": "Display minimal output with only essential information about the publish operation.",
|
|
1422
|
+
"allowNo": false,
|
|
1423
|
+
"type": "boolean"
|
|
1424
|
+
}
|
|
1425
|
+
},
|
|
1426
|
+
"hasDynamicHelp": true,
|
|
1427
|
+
"hiddenAliases": [],
|
|
1428
|
+
"id": "agent:publish:authoring-bundle",
|
|
1429
|
+
"pluginAlias": "@salesforce/plugin-agent",
|
|
1430
|
+
"pluginName": "@salesforce/plugin-agent",
|
|
1431
|
+
"pluginType": "core",
|
|
1432
|
+
"strict": true,
|
|
1433
|
+
"summary": "Publish an authoring bundle to your org, which results in a new agent or a new version of an existing agent.",
|
|
1434
|
+
"enableJsonFlag": true,
|
|
1435
|
+
"requiresProject": true,
|
|
1436
|
+
"errorCodes": {
|
|
1437
|
+
"header": "ERROR CODES",
|
|
1438
|
+
"body": [
|
|
1439
|
+
{
|
|
1440
|
+
"name": "Succeeded (0)",
|
|
1441
|
+
"description": "Agent published successfully without errors."
|
|
1442
|
+
},
|
|
1443
|
+
{
|
|
1444
|
+
"name": "Failed (1)",
|
|
1445
|
+
"description": "Compilation errors found in the Agent Script file."
|
|
1446
|
+
}
|
|
1447
|
+
]
|
|
1448
|
+
},
|
|
1449
|
+
"FLAGGABLE_PROMPTS": {
|
|
1450
|
+
"api-name": {
|
|
1451
|
+
"message": "API name of the authoring bundle you want to publish; if not specified, the command provides a list that you can choose from.",
|
|
1452
|
+
"promptMessage": "API name of the authoring bundle to publish"
|
|
1453
|
+
}
|
|
1454
|
+
},
|
|
1455
|
+
"isESM": true,
|
|
1456
|
+
"relativePath": [
|
|
1457
|
+
"lib",
|
|
1458
|
+
"commands",
|
|
1459
|
+
"agent",
|
|
1460
|
+
"publish",
|
|
1461
|
+
"authoring-bundle.js"
|
|
1462
|
+
],
|
|
1463
|
+
"aliasPermutations": [],
|
|
1464
|
+
"permutations": [
|
|
1465
|
+
"agent:publish:authoring-bundle",
|
|
1466
|
+
"publish:agent:authoring-bundle",
|
|
1467
|
+
"publish:authoring-bundle:agent",
|
|
1468
|
+
"agent:authoring-bundle:publish",
|
|
1469
|
+
"authoring-bundle:agent:publish",
|
|
1470
|
+
"authoring-bundle:publish:agent"
|
|
1471
|
+
]
|
|
1472
|
+
},
|
|
1473
1473
|
"agent:test:create": {
|
|
1474
1474
|
"aliases": [],
|
|
1475
1475
|
"args": {},
|
|
@@ -1599,7 +1599,7 @@
|
|
|
1599
1599
|
"agent:test:list": {
|
|
1600
1600
|
"aliases": [],
|
|
1601
1601
|
"args": {},
|
|
1602
|
-
"description": "The command outputs a table with the name (API name) of each test along with its unique ID and the date it was created in the org.",
|
|
1602
|
+
"description": "The command outputs a table with the name (API name) of each test along with its unique ID, type ('agentforce-studio' or 'testing-center'), and the date it was created in the org.",
|
|
1603
1603
|
"examples": [
|
|
1604
1604
|
"List the agent tests in your default org:\n<%= config.bin %> <%= command.id %>",
|
|
1605
1605
|
"List the agent tests in an org with alias \"my-org\"\"\n<%= config.bin %> <%= command.id %> --target-org my-org"
|
|
@@ -1761,6 +1761,18 @@
|
|
|
1761
1761
|
"multiple": false,
|
|
1762
1762
|
"type": "option"
|
|
1763
1763
|
},
|
|
1764
|
+
"test-runner": {
|
|
1765
|
+
"description": "By default, the command automatically detects which test runner to use based on the test definition metadata type in your org. Use this flag to explicitly specify the runner type. 'agentforce-studio' uses AiTestingDefinition metadata. 'testing-center' uses AiEvaluationDefinition metadata.",
|
|
1766
|
+
"name": "test-runner",
|
|
1767
|
+
"summary": "Explicitly specify which test runner to use (agentforce-studio or testing-center).",
|
|
1768
|
+
"hasDynamicHelp": false,
|
|
1769
|
+
"multiple": false,
|
|
1770
|
+
"options": [
|
|
1771
|
+
"agentforce-studio",
|
|
1772
|
+
"testing-center"
|
|
1773
|
+
],
|
|
1774
|
+
"type": "option"
|
|
1775
|
+
},
|
|
1764
1776
|
"verbose": {
|
|
1765
1777
|
"description": "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.\n\nThe 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.",
|
|
1766
1778
|
"name": "verbose",
|
|
@@ -1911,6 +1923,18 @@
|
|
|
1911
1923
|
"multiple": false,
|
|
1912
1924
|
"type": "option"
|
|
1913
1925
|
},
|
|
1926
|
+
"test-runner": {
|
|
1927
|
+
"description": "By default, the command automatically detects which test runner to use based on the test definition metadata type in your org. Use this flag to explicitly specify the runner type. 'agentforce-studio' uses AiTestingDefinition metadata. 'testing-center' uses AiEvaluationDefinition metadata.",
|
|
1928
|
+
"name": "test-runner",
|
|
1929
|
+
"summary": "Explicitly specify which test runner to use (agentforce-studio or testing-center).",
|
|
1930
|
+
"hasDynamicHelp": false,
|
|
1931
|
+
"multiple": false,
|
|
1932
|
+
"options": [
|
|
1933
|
+
"agentforce-studio",
|
|
1934
|
+
"testing-center"
|
|
1935
|
+
],
|
|
1936
|
+
"type": "option"
|
|
1937
|
+
},
|
|
1914
1938
|
"verbose": {
|
|
1915
1939
|
"description": "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.\n\nThe 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.",
|
|
1916
1940
|
"name": "verbose",
|
|
@@ -2216,6 +2240,18 @@
|
|
|
2216
2240
|
"multiple": false,
|
|
2217
2241
|
"type": "option"
|
|
2218
2242
|
},
|
|
2243
|
+
"test-runner": {
|
|
2244
|
+
"description": "By default, the command automatically detects which test runner to use based on the test definition metadata type in your org. Use this flag to explicitly specify the runner type. 'agentforce-studio' uses AiTestingDefinition metadata. 'testing-center' uses AiEvaluationDefinition metadata.",
|
|
2245
|
+
"name": "test-runner",
|
|
2246
|
+
"summary": "Explicitly specify which test runner to use (agentforce-studio or testing-center).",
|
|
2247
|
+
"hasDynamicHelp": false,
|
|
2248
|
+
"multiple": false,
|
|
2249
|
+
"options": [
|
|
2250
|
+
"agentforce-studio",
|
|
2251
|
+
"testing-center"
|
|
2252
|
+
],
|
|
2253
|
+
"type": "option"
|
|
2254
|
+
},
|
|
2219
2255
|
"verbose": {
|
|
2220
2256
|
"description": "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.\n\nThe 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.",
|
|
2221
2257
|
"name": "verbose",
|
|
@@ -2396,5 +2432,5 @@
|
|
|
2396
2432
|
]
|
|
2397
2433
|
}
|
|
2398
2434
|
},
|
|
2399
|
-
"version": "1.36.
|
|
2435
|
+
"version": "1.36.1"
|
|
2400
2436
|
}
|
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.36.
|
|
4
|
+
"version": "1.36.1",
|
|
5
5
|
"author": "Salesforce",
|
|
6
6
|
"bugs": "https://github.com/forcedotcom/cli/issues",
|
|
7
7
|
"enableO11y": true,
|
|
@@ -12,11 +12,11 @@
|
|
|
12
12
|
"@inquirer/prompts": "^7.10.1",
|
|
13
13
|
"@oclif/core": "^4",
|
|
14
14
|
"@oclif/multi-stage-output": "^0.8.36",
|
|
15
|
-
"@salesforce/agents": "^1.
|
|
15
|
+
"@salesforce/agents": "^1.5.1",
|
|
16
16
|
"@salesforce/core": "^8.28.3",
|
|
17
17
|
"@salesforce/kit": "^3.2.6",
|
|
18
18
|
"@salesforce/sf-plugins-core": "^12.2.6",
|
|
19
|
-
"@salesforce/source-deploy-retrieve": "^12.
|
|
19
|
+
"@salesforce/source-deploy-retrieve": "^12.35.3",
|
|
20
20
|
"@salesforce/types": "^1.7.1",
|
|
21
21
|
"ansis": "^3.3.2",
|
|
22
22
|
"fast-xml-parser": "^5.7.1",
|
|
@@ -240,7 +240,7 @@
|
|
|
240
240
|
"exports": "./lib/index.js",
|
|
241
241
|
"type": "module",
|
|
242
242
|
"sfdx": {
|
|
243
|
-
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-agent/1.36.
|
|
244
|
-
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-agent/1.36.
|
|
243
|
+
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-agent/1.36.1.crt",
|
|
244
|
+
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-agent/1.36.1.sig"
|
|
245
245
|
}
|
|
246
246
|
}
|
|
@@ -28,7 +28,11 @@
|
|
|
28
28
|
"type": "string"
|
|
29
29
|
}
|
|
30
30
|
},
|
|
31
|
-
"required": [
|
|
31
|
+
"required": [
|
|
32
|
+
"botId",
|
|
33
|
+
"botVersionId",
|
|
34
|
+
"plannerId"
|
|
35
|
+
],
|
|
32
36
|
"additionalProperties": false,
|
|
33
37
|
"description": "If the agent was created with saveAgent=true, these are the IDs that make up an agent; Bot, BotVersion, and GenAiPlanner metadata."
|
|
34
38
|
},
|
|
@@ -78,7 +82,11 @@
|
|
|
78
82
|
"type": "string"
|
|
79
83
|
}
|
|
80
84
|
},
|
|
81
|
-
"required": [
|
|
85
|
+
"required": [
|
|
86
|
+
"inputName",
|
|
87
|
+
"inputDataType",
|
|
88
|
+
"inputDescription"
|
|
89
|
+
],
|
|
82
90
|
"additionalProperties": false
|
|
83
91
|
},
|
|
84
92
|
"minItems": 1,
|
|
@@ -99,14 +107,24 @@
|
|
|
99
107
|
"type": "string"
|
|
100
108
|
}
|
|
101
109
|
},
|
|
102
|
-
"required": [
|
|
110
|
+
"required": [
|
|
111
|
+
"outputName",
|
|
112
|
+
"outputDataType",
|
|
113
|
+
"outputDescription"
|
|
114
|
+
],
|
|
103
115
|
"additionalProperties": false
|
|
104
116
|
},
|
|
105
117
|
"minItems": 1,
|
|
106
118
|
"maxItems": 1
|
|
107
119
|
}
|
|
108
120
|
},
|
|
109
|
-
"required": [
|
|
121
|
+
"required": [
|
|
122
|
+
"actionName",
|
|
123
|
+
"exampleOutput",
|
|
124
|
+
"actionDescription",
|
|
125
|
+
"inputs",
|
|
126
|
+
"outputs"
|
|
127
|
+
],
|
|
110
128
|
"additionalProperties": false
|
|
111
129
|
},
|
|
112
130
|
"minItems": 1,
|
|
@@ -122,7 +140,13 @@
|
|
|
122
140
|
"type": "string"
|
|
123
141
|
}
|
|
124
142
|
},
|
|
125
|
-
"required": [
|
|
143
|
+
"required": [
|
|
144
|
+
"scope",
|
|
145
|
+
"topic",
|
|
146
|
+
"actions",
|
|
147
|
+
"instructions",
|
|
148
|
+
"classificationDescription"
|
|
149
|
+
],
|
|
126
150
|
"additionalProperties": false
|
|
127
151
|
},
|
|
128
152
|
"minItems": 1,
|
|
@@ -135,11 +159,18 @@
|
|
|
135
159
|
}
|
|
136
160
|
}
|
|
137
161
|
},
|
|
138
|
-
"required": [
|
|
162
|
+
"required": [
|
|
163
|
+
"agentDescription",
|
|
164
|
+
"topics",
|
|
165
|
+
"sampleUtterances"
|
|
166
|
+
],
|
|
139
167
|
"additionalProperties": false
|
|
140
168
|
}
|
|
141
169
|
},
|
|
142
|
-
"required": [
|
|
170
|
+
"required": [
|
|
171
|
+
"agentDefinition",
|
|
172
|
+
"isSuccess"
|
|
173
|
+
]
|
|
143
174
|
}
|
|
144
175
|
}
|
|
145
|
-
}
|
|
176
|
+
}
|
|
@@ -47,7 +47,14 @@
|
|
|
47
47
|
"type": "string"
|
|
48
48
|
}
|
|
49
49
|
},
|
|
50
|
-
"required": [
|
|
50
|
+
"required": [
|
|
51
|
+
"agentType",
|
|
52
|
+
"companyDescription",
|
|
53
|
+
"companyName",
|
|
54
|
+
"isSuccess",
|
|
55
|
+
"role",
|
|
56
|
+
"topics"
|
|
57
|
+
]
|
|
51
58
|
},
|
|
52
59
|
"DraftAgentTopics": {
|
|
53
60
|
"type": "array",
|
|
@@ -61,7 +68,10 @@
|
|
|
61
68
|
"type": "string"
|
|
62
69
|
}
|
|
63
70
|
},
|
|
64
|
-
"required": [
|
|
71
|
+
"required": [
|
|
72
|
+
"name",
|
|
73
|
+
"description"
|
|
74
|
+
],
|
|
65
75
|
"additionalProperties": false
|
|
66
76
|
},
|
|
67
77
|
"minItems": 1,
|
|
@@ -69,7 +79,11 @@
|
|
|
69
79
|
},
|
|
70
80
|
"AgentType": {
|
|
71
81
|
"type": "string",
|
|
72
|
-
"enum": [
|
|
82
|
+
"enum": [
|
|
83
|
+
"customer",
|
|
84
|
+
"internal",
|
|
85
|
+
"AGENT"
|
|
86
|
+
]
|
|
73
87
|
}
|
|
74
88
|
}
|
|
75
|
-
}
|
|
89
|
+
}
|
|
@@ -23,13 +23,20 @@
|
|
|
23
23
|
"$ref": "#/definitions/SessionType"
|
|
24
24
|
}
|
|
25
25
|
},
|
|
26
|
-
"required": [
|
|
26
|
+
"required": [
|
|
27
|
+
"agentId",
|
|
28
|
+
"sessionId"
|
|
29
|
+
],
|
|
27
30
|
"additionalProperties": false
|
|
28
31
|
}
|
|
29
32
|
},
|
|
30
33
|
"SessionType": {
|
|
31
34
|
"type": "string",
|
|
32
|
-
"enum": [
|
|
35
|
+
"enum": [
|
|
36
|
+
"simulated",
|
|
37
|
+
"live",
|
|
38
|
+
"published"
|
|
39
|
+
]
|
|
33
40
|
}
|
|
34
41
|
}
|
|
35
|
-
}
|
|
42
|
+
}
|