@salesforce/plugin-agent 1.14.5-dev.4 → 1.15.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 +30 -33
- package/lib/commands/agent/create.js +2 -2
- package/lib/commands/agent/create.js.map +1 -1
- package/lib/commands/agent/generate/template.d.ts +4 -3
- package/lib/commands/agent/generate/template.js +108 -20
- package/lib/commands/agent/generate/template.js.map +1 -1
- package/lib/commands/agent/generate/test-spec.d.ts +0 -4
- package/lib/commands/agent/generate/test-spec.js +76 -130
- package/lib/commands/agent/generate/test-spec.js.map +1 -1
- package/lib/commands/agent/test/create.d.ts +1 -2
- package/lib/commands/agent/test/create.js +16 -62
- package/lib/commands/agent/test/create.js.map +1 -1
- package/lib/flags.d.ts +0 -1
- package/lib/flags.js +0 -31
- package/lib/flags.js.map +1 -1
- package/lib/handleTestResults.js +21 -2
- package/lib/handleTestResults.js.map +1 -1
- package/lib/read-dir.d.ts +1 -0
- package/lib/read-dir.js +16 -0
- package/lib/read-dir.js.map +1 -0
- package/messages/agent.generate.template.md +7 -7
- package/messages/agent.generate.test-spec.md +0 -8
- package/messages/agent.test.create.md +7 -13
- package/npm-shrinkwrap.json +33 -194
- package/oclif.lock +16 -91
- package/oclif.manifest.json +16 -37
- package/package.json +5 -5
- package/schemas/agent-generate-template.json +5 -2
package/oclif.lock
CHANGED
|
@@ -1095,25 +1095,6 @@
|
|
|
1095
1095
|
wrap-ansi "^6.2.0"
|
|
1096
1096
|
yoctocolors-cjs "^2.1.2"
|
|
1097
1097
|
|
|
1098
|
-
"@inquirer/core@^3.1.1":
|
|
1099
|
-
version "3.1.2"
|
|
1100
|
-
resolved "https://registry.yarnpkg.com/@inquirer/core/-/core-3.1.2.tgz#d9691e6ffae85935685641550b8370ab7e599caa"
|
|
1101
|
-
integrity sha512-lR2GaqBkp42Ew9BOAOqf2pSp+ymVES1qN8OC90WWh45yeoYLl0Ty1GyCxmkKqBJtq/+Ea1MF12AdFcZcpRNFsw==
|
|
1102
|
-
dependencies:
|
|
1103
|
-
"@inquirer/type" "^1.1.2"
|
|
1104
|
-
"@types/mute-stream" "^0.0.1"
|
|
1105
|
-
"@types/node" "^20.4.8"
|
|
1106
|
-
"@types/wrap-ansi" "^3.0.0"
|
|
1107
|
-
ansi-escapes "^4.3.2"
|
|
1108
|
-
chalk "^4.1.2"
|
|
1109
|
-
cli-spinners "^2.9.0"
|
|
1110
|
-
cli-width "^4.1.0"
|
|
1111
|
-
figures "^3.2.0"
|
|
1112
|
-
mute-stream "^1.0.0"
|
|
1113
|
-
run-async "^3.0.0"
|
|
1114
|
-
strip-ansi "^6.0.1"
|
|
1115
|
-
wrap-ansi "^6.2.0"
|
|
1116
|
-
|
|
1117
1098
|
"@inquirer/core@^9.0.8", "@inquirer/core@^9.1.0":
|
|
1118
1099
|
version "9.1.0"
|
|
1119
1100
|
resolved "https://registry.yarnpkg.com/@inquirer/core/-/core-9.1.0.tgz#158b82dc44564a1abd0ce14723d50c3efa0634a2"
|
|
@@ -1255,13 +1236,6 @@
|
|
|
1255
1236
|
ansi-escapes "^4.3.2"
|
|
1256
1237
|
yoctocolors-cjs "^2.1.2"
|
|
1257
1238
|
|
|
1258
|
-
"@inquirer/type@^1.1.2":
|
|
1259
|
-
version "1.5.5"
|
|
1260
|
-
resolved "https://registry.yarnpkg.com/@inquirer/type/-/type-1.5.5.tgz#303ea04ce7ad2e585b921b662b3be36ef7b4f09b"
|
|
1261
|
-
integrity sha512-MzICLu4yS7V8AA61sANROZ9vT1H3ooca5dSmI1FjZkzq7o/koMsRfQSzRtFo+F3Ao4Sf1C0bpLKejpKB/+j6MA==
|
|
1262
|
-
dependencies:
|
|
1263
|
-
mute-stream "^1.0.0"
|
|
1264
|
-
|
|
1265
1239
|
"@inquirer/type@^1.5.1", "@inquirer/type@^1.5.3":
|
|
1266
1240
|
version "1.5.3"
|
|
1267
1241
|
resolved "https://registry.yarnpkg.com/@inquirer/type/-/type-1.5.3.tgz#220ae9f3d5ae17dd3b2ce5ffd6b48c4a30c73181"
|
|
@@ -1488,14 +1462,14 @@
|
|
|
1488
1462
|
resolved "https://registry.yarnpkg.com/@pkgjs/parseargs/-/parseargs-0.11.0.tgz#a77ea742fab25775145434eb1d2328cf5013ac33"
|
|
1489
1463
|
integrity sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==
|
|
1490
1464
|
|
|
1491
|
-
"@salesforce/agents@0.9.
|
|
1492
|
-
version "0.9.
|
|
1493
|
-
resolved "https://registry.yarnpkg.com/@salesforce/agents/-/agents-0.9.
|
|
1494
|
-
integrity sha512-
|
|
1465
|
+
"@salesforce/agents@0.9.6":
|
|
1466
|
+
version "0.9.6"
|
|
1467
|
+
resolved "https://registry.yarnpkg.com/@salesforce/agents/-/agents-0.9.6.tgz#0ebf630e46bebf04bad96c2e8870ad8d83b438ef"
|
|
1468
|
+
integrity sha512-LxHBxLaTvhYQM5MPN2SwUxrx8gKZ6WTZ4IbVYlA1cAtIhToj3pcpLIgwBqr2iEYrtZjUMq0uWLThXsmVnzbPRA==
|
|
1495
1469
|
dependencies:
|
|
1496
1470
|
"@salesforce/core" "^8.8.2"
|
|
1497
1471
|
"@salesforce/kit" "^3.2.3"
|
|
1498
|
-
"@salesforce/source-deploy-retrieve" "^12.14.
|
|
1472
|
+
"@salesforce/source-deploy-retrieve" "^12.14.1"
|
|
1499
1473
|
fast-xml-parser "^4.5.1"
|
|
1500
1474
|
nock "^13.5.6"
|
|
1501
1475
|
yaml "^2.7.0"
|
|
@@ -1662,10 +1636,10 @@
|
|
|
1662
1636
|
proxy-agent "^6.4.0"
|
|
1663
1637
|
yaml "^2.6.1"
|
|
1664
1638
|
|
|
1665
|
-
"@salesforce/source-deploy-retrieve@^12.14.
|
|
1666
|
-
version "12.14.
|
|
1667
|
-
resolved "https://registry.yarnpkg.com/@salesforce/source-deploy-retrieve/-/source-deploy-retrieve-12.14.
|
|
1668
|
-
integrity sha512-
|
|
1639
|
+
"@salesforce/source-deploy-retrieve@^12.14.1":
|
|
1640
|
+
version "12.14.1"
|
|
1641
|
+
resolved "https://registry.yarnpkg.com/@salesforce/source-deploy-retrieve/-/source-deploy-retrieve-12.14.1.tgz#9067388b1eb9fadda7e6ccd894e9d1bb0e8407d5"
|
|
1642
|
+
integrity sha512-8POp6tqoeciDFAv7a40LG21aHZ2XGHvX0/ySqcjcAVhTVhVhcP0EpC+qO+SSKjB6Ocf0/6iXMo5ciU2Eq32ydw==
|
|
1669
1643
|
dependencies:
|
|
1670
1644
|
"@salesforce/core" "^8.8.2"
|
|
1671
1645
|
"@salesforce/kit" "^3.2.3"
|
|
@@ -1687,6 +1661,11 @@
|
|
|
1687
1661
|
resolved "https://registry.yarnpkg.com/@salesforce/ts-types/-/ts-types-2.0.12.tgz#60420622812a7ec7e46d220667bc29b42dc247ff"
|
|
1688
1662
|
integrity sha512-BIJyduJC18Kc8z+arUm5AZ9VkPRyw1KKAm+Tk+9LT99eOzhNilyfKzhZ4t+tG2lIGgnJpmytZfVDZ0e2kFul8g==
|
|
1689
1663
|
|
|
1664
|
+
"@salesforce/types@^1.3.0":
|
|
1665
|
+
version "1.3.0"
|
|
1666
|
+
resolved "https://registry.yarnpkg.com/@salesforce/types/-/types-1.3.0.tgz#c8b686cd5d7351aa3b9857ed03561d6a7439e5a8"
|
|
1667
|
+
integrity sha512-tcjBZrzCukOVIVm7mLHefsfDMyd+MTWWFWXk5wbdIQa+hiehUSA2SG0B0cpDMuOaIa9UiBm/SQCI+zznlt6W6g==
|
|
1668
|
+
|
|
1690
1669
|
"@shikijs/core@1.12.0":
|
|
1691
1670
|
version "1.12.0"
|
|
1692
1671
|
resolved "https://registry.yarnpkg.com/@shikijs/core/-/core-1.12.0.tgz#58ae6d02da7934edd9c10951a989c9cde0cf736b"
|
|
@@ -2363,13 +2342,6 @@
|
|
|
2363
2342
|
resolved "https://registry.yarnpkg.com/@types/mocha/-/mocha-10.0.7.tgz#4c620090f28ca7f905a94b706f74dc5b57b44f2f"
|
|
2364
2343
|
integrity sha512-GN8yJ1mNTcFcah/wKEFIJckJx9iJLoMSzWcfRRuxz/Jk+U6KQNnml+etbtxFK8lPjzOw3zp4Ha/kjSst9fsHYw==
|
|
2365
2344
|
|
|
2366
|
-
"@types/mute-stream@^0.0.1":
|
|
2367
|
-
version "0.0.1"
|
|
2368
|
-
resolved "https://registry.yarnpkg.com/@types/mute-stream/-/mute-stream-0.0.1.tgz#8ec7d16d51e2ceb054d8be0226250169d17af5b2"
|
|
2369
|
-
integrity sha512-0yQLzYhCqGz7CQPE3iDmYjhb7KMBFOP+tBkyw+/Y2YyDI5wpS7itXXxneN1zSsUwWx3Ji6YiVYrhAnpQGS/vkw==
|
|
2370
|
-
dependencies:
|
|
2371
|
-
"@types/node" "*"
|
|
2372
|
-
|
|
2373
2345
|
"@types/mute-stream@^0.0.4":
|
|
2374
2346
|
version "0.0.4"
|
|
2375
2347
|
resolved "https://registry.yarnpkg.com/@types/mute-stream/-/mute-stream-0.0.4.tgz#77208e56a08767af6c5e1237be8888e2f255c478"
|
|
@@ -2391,13 +2363,6 @@
|
|
|
2391
2363
|
dependencies:
|
|
2392
2364
|
undici-types "~5.26.4"
|
|
2393
2365
|
|
|
2394
|
-
"@types/node@^20.4.8":
|
|
2395
|
-
version "20.17.17"
|
|
2396
|
-
resolved "https://registry.yarnpkg.com/@types/node/-/node-20.17.17.tgz#5cea2af2e271313742c14f418eaf5dcfa8ae2e3a"
|
|
2397
|
-
integrity sha512-/WndGO4kIfMicEQLTi/mDANUu/iVUhT7KboZPdEqqHQ4aTS+3qT3U5gIqWDFV+XouorjfgGqvKILJeHhuQgFYg==
|
|
2398
|
-
dependencies:
|
|
2399
|
-
undici-types "~6.19.2"
|
|
2400
|
-
|
|
2401
2366
|
"@types/normalize-package-data@^2.4.0":
|
|
2402
2367
|
version "2.4.1"
|
|
2403
2368
|
resolved "https://registry.yarnpkg.com/@types/normalize-package-data/-/normalize-package-data-2.4.1.tgz#d3357479a0fdfdd5907fe67e17e0a85c906e1301"
|
|
@@ -3147,7 +3112,7 @@ chalk@^2.4.2:
|
|
|
3147
3112
|
escape-string-regexp "^1.0.5"
|
|
3148
3113
|
supports-color "^5.3.0"
|
|
3149
3114
|
|
|
3150
|
-
chalk@^4, chalk@^4.0.0, chalk@^4.0.2, chalk@^4.1.0
|
|
3115
|
+
chalk@^4, chalk@^4.0.0, chalk@^4.0.2, chalk@^4.1.0:
|
|
3151
3116
|
version "4.1.2"
|
|
3152
3117
|
resolved "https://registry.yarnpkg.com/chalk/-/chalk-4.1.2.tgz#aac4e2b7734a740867aeb16bf02aad556a1e7a01"
|
|
3153
3118
|
integrity sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==
|
|
@@ -3253,7 +3218,7 @@ cli-progress@^3.12.0:
|
|
|
3253
3218
|
dependencies:
|
|
3254
3219
|
string-width "^4.2.3"
|
|
3255
3220
|
|
|
3256
|
-
cli-spinners@^2, cli-spinners@^2.9.
|
|
3221
|
+
cli-spinners@^2, cli-spinners@^2.9.2:
|
|
3257
3222
|
version "2.9.2"
|
|
3258
3223
|
resolved "https://registry.yarnpkg.com/cli-spinners/-/cli-spinners-2.9.2.tgz#1773a8f4b9c4d6ac31563df53b3fc1d79462fe41"
|
|
3259
3224
|
integrity sha512-ywqV+5MmyL4E7ybXgKys4DugZbX0FC6LnwrhjuykIjnK9k8OQacQ7axGKnjDXWNhns0xot3bZI5h55H8yo9cJg==
|
|
@@ -3926,11 +3891,6 @@ escape-string-regexp@^2.0.0:
|
|
|
3926
3891
|
resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz#a30304e99daa32e23b2fd20f51babd07cffca344"
|
|
3927
3892
|
integrity sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==
|
|
3928
3893
|
|
|
3929
|
-
escape-string-regexp@^5.0.0:
|
|
3930
|
-
version "5.0.0"
|
|
3931
|
-
resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-5.0.0.tgz#4683126b500b61762f2dbebace1806e8be31b1c8"
|
|
3932
|
-
integrity sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw==
|
|
3933
|
-
|
|
3934
3894
|
escodegen@^2.1.0:
|
|
3935
3895
|
version "2.1.0"
|
|
3936
3896
|
resolved "https://registry.yarnpkg.com/escodegen/-/escodegen-2.1.0.tgz#ba93bbb7a43986d29d6041f99f5262da773e2e17"
|
|
@@ -4350,21 +4310,6 @@ faye@^1.4.0:
|
|
|
4350
4310
|
tough-cookie "*"
|
|
4351
4311
|
tunnel-agent "*"
|
|
4352
4312
|
|
|
4353
|
-
figures@^3.2.0:
|
|
4354
|
-
version "3.2.0"
|
|
4355
|
-
resolved "https://registry.yarnpkg.com/figures/-/figures-3.2.0.tgz#625c18bd293c604dc4a8ddb2febf0c88341746af"
|
|
4356
|
-
integrity sha512-yaduQFRKLXYOGgEn6AZau90j3ggSOyiqXU0F9JZfeXYhNa+Jk4X+s45A2zg5jns87GAFa34BBm2kXw4XpNcbdg==
|
|
4357
|
-
dependencies:
|
|
4358
|
-
escape-string-regexp "^1.0.5"
|
|
4359
|
-
|
|
4360
|
-
figures@^5.0.0:
|
|
4361
|
-
version "5.0.0"
|
|
4362
|
-
resolved "https://registry.yarnpkg.com/figures/-/figures-5.0.0.tgz#126cd055052dea699f8a54e8c9450e6ecfc44d5f"
|
|
4363
|
-
integrity sha512-ej8ksPF4x6e5wvK9yevct0UCXh8TTFlWGVLlgjZuoBH1HwjIfKE/IdL5mq89sFA7zELi1VhKpmtDnrs7zWyeyg==
|
|
4364
|
-
dependencies:
|
|
4365
|
-
escape-string-regexp "^5.0.0"
|
|
4366
|
-
is-unicode-supported "^1.2.0"
|
|
4367
|
-
|
|
4368
4313
|
figures@^6.1.0:
|
|
4369
4314
|
version "6.1.0"
|
|
4370
4315
|
resolved "https://registry.yarnpkg.com/figures/-/figures-6.1.0.tgz#935479f51865fa7479f6fa94fc6fc7ac14e62c4a"
|
|
@@ -5099,16 +5044,6 @@ ink@5.0.1, ink@^5.0.1:
|
|
|
5099
5044
|
ws "^8.15.0"
|
|
5100
5045
|
yoga-wasm-web "~0.3.3"
|
|
5101
5046
|
|
|
5102
|
-
inquirer-autocomplete-standalone@^0.8.1:
|
|
5103
|
-
version "0.8.1"
|
|
5104
|
-
resolved "https://registry.yarnpkg.com/inquirer-autocomplete-standalone/-/inquirer-autocomplete-standalone-0.8.1.tgz#540ac162d5dd01f83d0f4016b76bf0bb64e2fff8"
|
|
5105
|
-
integrity sha512-mlzwCTiXDX1Cw4yJL5PCq32k23XYLTK8K6BDFoL1a76iJeFB5ul6IoMU9spgdDagl2SM7P6ZaCNjj8VNXRDPOQ==
|
|
5106
|
-
dependencies:
|
|
5107
|
-
"@inquirer/core" "^3.1.1"
|
|
5108
|
-
"@inquirer/type" "^1.1.2"
|
|
5109
|
-
figures "^5.0.0"
|
|
5110
|
-
picocolors "^1.0.0"
|
|
5111
|
-
|
|
5112
5047
|
internal-slot@^1.0.7:
|
|
5113
5048
|
version "1.0.7"
|
|
5114
5049
|
resolved "https://registry.yarnpkg.com/internal-slot/-/internal-slot-1.0.7.tgz#c06dcca3ed874249881007b0a5523b172a190802"
|
|
@@ -5374,11 +5309,6 @@ is-unicode-supported@^0.1.0:
|
|
|
5374
5309
|
resolved "https://registry.yarnpkg.com/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz#3f26c76a809593b52bfa2ecb5710ed2779b522a7"
|
|
5375
5310
|
integrity sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==
|
|
5376
5311
|
|
|
5377
|
-
is-unicode-supported@^1.2.0:
|
|
5378
|
-
version "1.3.0"
|
|
5379
|
-
resolved "https://registry.yarnpkg.com/is-unicode-supported/-/is-unicode-supported-1.3.0.tgz#d824984b616c292a2e198207d4a609983842f714"
|
|
5380
|
-
integrity sha512-43r2mRvz+8JRIKnWJ+3j8JtjRKZ6GmjzfaE/qiBJnikNnYv/6bagRJ1kUhNk8R5EX/GkobD+r+sfxCPJsiKBLQ==
|
|
5381
|
-
|
|
5382
5312
|
is-unicode-supported@^2.0.0:
|
|
5383
5313
|
version "2.1.0"
|
|
5384
5314
|
resolved "https://registry.yarnpkg.com/is-unicode-supported/-/is-unicode-supported-2.1.0.tgz#09f0ab0de6d3744d48d265ebb98f65d11f2a9b3a"
|
|
@@ -7176,11 +7106,6 @@ rimraf@^3.0.0, rimraf@^3.0.2:
|
|
|
7176
7106
|
dependencies:
|
|
7177
7107
|
glob "^7.1.3"
|
|
7178
7108
|
|
|
7179
|
-
run-async@^3.0.0:
|
|
7180
|
-
version "3.0.0"
|
|
7181
|
-
resolved "https://registry.yarnpkg.com/run-async/-/run-async-3.0.0.tgz#42a432f6d76c689522058984384df28be379daad"
|
|
7182
|
-
integrity sha512-540WwVDOMxA6dN6We19EcT9sc3hkXPw5mzRNGM3FkdN/vtE9NFvj5lFAPNwUDmJjXidm3v7TC1cTE7t17Ulm1Q==
|
|
7183
|
-
|
|
7184
7109
|
run-parallel@^1.1.9:
|
|
7185
7110
|
version "1.2.0"
|
|
7186
7111
|
resolved "https://registry.yarnpkg.com/run-parallel/-/run-parallel-1.2.0.tgz#66d1368da7bdf921eb9d95bd1a9229e7f21a43ee"
|
package/oclif.manifest.json
CHANGED
|
@@ -370,7 +370,7 @@
|
|
|
370
370
|
"args": {},
|
|
371
371
|
"description": "Generate agent template metadata to for packaging your agent.",
|
|
372
372
|
"examples": [
|
|
373
|
-
"Generate an agent template from a Bot
|
|
373
|
+
"Generate an agent template from a Bot metadata file in your project:\n<%= config.bin %> <%= command.id %> --agent-file force-app/main/default/bots/My_Awesome_Agent/My_Awesome_Agent.bot-meta.xml --agent-version 1"
|
|
374
374
|
],
|
|
375
375
|
"flags": {
|
|
376
376
|
"json": {
|
|
@@ -405,18 +405,19 @@
|
|
|
405
405
|
"multiple": false,
|
|
406
406
|
"type": "option"
|
|
407
407
|
},
|
|
408
|
-
"agent-
|
|
409
|
-
"name": "agent-
|
|
408
|
+
"agent-version": {
|
|
409
|
+
"name": "agent-version",
|
|
410
410
|
"required": true,
|
|
411
|
-
"summary": "
|
|
411
|
+
"summary": "Version of the Agent (botVersion).",
|
|
412
412
|
"hasDynamicHelp": false,
|
|
413
413
|
"multiple": false,
|
|
414
414
|
"type": "option"
|
|
415
415
|
},
|
|
416
|
-
"
|
|
417
|
-
"char": "
|
|
418
|
-
"name": "
|
|
419
|
-
"
|
|
416
|
+
"agent-file": {
|
|
417
|
+
"char": "f",
|
|
418
|
+
"name": "agent-file",
|
|
419
|
+
"required": true,
|
|
420
|
+
"summary": "The path to an Agent (Bot) file.",
|
|
420
421
|
"hasDynamicHelp": false,
|
|
421
422
|
"multiple": false,
|
|
422
423
|
"type": "option"
|
|
@@ -466,24 +467,6 @@
|
|
|
466
467
|
"hasDynamicHelp": false,
|
|
467
468
|
"multiple": false,
|
|
468
469
|
"type": "option"
|
|
469
|
-
},
|
|
470
|
-
"output-dir": {
|
|
471
|
-
"char": "d",
|
|
472
|
-
"name": "output-dir",
|
|
473
|
-
"summary": "The directory to save the generated spec file.",
|
|
474
|
-
"default": "specs",
|
|
475
|
-
"hasDynamicHelp": false,
|
|
476
|
-
"multiple": false,
|
|
477
|
-
"type": "option"
|
|
478
|
-
},
|
|
479
|
-
"output-file": {
|
|
480
|
-
"char": "f",
|
|
481
|
-
"name": "output-file",
|
|
482
|
-
"summary": "The name of the generated spec file.",
|
|
483
|
-
"default": "agentTestSpec.yaml",
|
|
484
|
-
"hasDynamicHelp": false,
|
|
485
|
-
"multiple": false,
|
|
486
|
-
"type": "option"
|
|
487
470
|
}
|
|
488
471
|
},
|
|
489
472
|
"hasDynamicHelp": false,
|
|
@@ -603,7 +586,7 @@
|
|
|
603
586
|
"agent:test:create": {
|
|
604
587
|
"aliases": [],
|
|
605
588
|
"args": {},
|
|
606
|
-
"description": "
|
|
589
|
+
"description": "More information about a command. Don't repeat the summary.",
|
|
607
590
|
"examples": [
|
|
608
591
|
"<%= config.bin %> <%= command.id %>"
|
|
609
592
|
],
|
|
@@ -623,16 +606,12 @@
|
|
|
623
606
|
"multiple": false,
|
|
624
607
|
"type": "option"
|
|
625
608
|
},
|
|
626
|
-
"api-name": {
|
|
627
|
-
"name": "api-name",
|
|
628
|
-
"summary": "The API name of the AiEvaluationDefinition.",
|
|
629
|
-
"hasDynamicHelp": false,
|
|
630
|
-
"multiple": false,
|
|
631
|
-
"type": "option"
|
|
632
|
-
},
|
|
633
609
|
"spec": {
|
|
610
|
+
"char": "s",
|
|
611
|
+
"description": "More information about a flag. Don't repeat the summary.",
|
|
634
612
|
"name": "spec",
|
|
635
|
-
"
|
|
613
|
+
"required": true,
|
|
614
|
+
"summary": "Description of a flag.",
|
|
636
615
|
"hasDynamicHelp": false,
|
|
637
616
|
"multiple": false,
|
|
638
617
|
"type": "option"
|
|
@@ -676,7 +655,7 @@
|
|
|
676
655
|
"pluginType": "core",
|
|
677
656
|
"state": "beta",
|
|
678
657
|
"strict": true,
|
|
679
|
-
"summary": "
|
|
658
|
+
"summary": "Summary of a command.",
|
|
680
659
|
"enableJsonFlag": true,
|
|
681
660
|
"isESM": true,
|
|
682
661
|
"relativePath": [
|
|
@@ -1097,5 +1076,5 @@
|
|
|
1097
1076
|
]
|
|
1098
1077
|
}
|
|
1099
1078
|
},
|
|
1100
|
-
"version": "1.
|
|
1079
|
+
"version": "1.15.0"
|
|
1101
1080
|
}
|
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.
|
|
4
|
+
"version": "1.15.0",
|
|
5
5
|
"author": "Salesforce",
|
|
6
6
|
"bugs": "https://github.com/forcedotcom/cli/issues",
|
|
7
7
|
"dependencies": {
|
|
@@ -9,16 +9,16 @@
|
|
|
9
9
|
"@inquirer/prompts": "^7.2.0",
|
|
10
10
|
"@oclif/core": "^4",
|
|
11
11
|
"@oclif/multi-stage-output": "^0.7.12",
|
|
12
|
-
"@salesforce/agents": "0.9.
|
|
12
|
+
"@salesforce/agents": "0.9.6",
|
|
13
13
|
"@salesforce/core": "^8.8.0",
|
|
14
14
|
"@salesforce/kit": "^3.2.1",
|
|
15
15
|
"@salesforce/sf-plugins-core": "^12.1.0",
|
|
16
16
|
"@salesforce/source-deploy-retrieve": "^12.14.0",
|
|
17
|
+
"@salesforce/types": "^1.3.0",
|
|
17
18
|
"ansis": "^3.3.2",
|
|
18
19
|
"fast-xml-parser": "^4.5.1",
|
|
19
20
|
"ink": "^5.0.1",
|
|
20
21
|
"ink-text-input": "^6.0.0",
|
|
21
|
-
"inquirer-autocomplete-standalone": "^0.8.1",
|
|
22
22
|
"react": "^18.3.1",
|
|
23
23
|
"yaml": "^2.7.0"
|
|
24
24
|
},
|
|
@@ -227,7 +227,7 @@
|
|
|
227
227
|
"exports": "./lib/index.js",
|
|
228
228
|
"type": "module",
|
|
229
229
|
"sfdx": {
|
|
230
|
-
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-agent/1.
|
|
231
|
-
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-agent/1.
|
|
230
|
+
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-agent/1.15.0.crt",
|
|
231
|
+
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-agent/1.15.0.sig"
|
|
232
232
|
}
|
|
233
233
|
}
|
|
@@ -5,11 +5,14 @@
|
|
|
5
5
|
"AgentGenerateTemplateResult": {
|
|
6
6
|
"type": "object",
|
|
7
7
|
"properties": {
|
|
8
|
-
"
|
|
8
|
+
"genAiPlannerPath": {
|
|
9
|
+
"type": "string"
|
|
10
|
+
},
|
|
11
|
+
"botTemplatePath": {
|
|
9
12
|
"type": "string"
|
|
10
13
|
}
|
|
11
14
|
},
|
|
12
|
-
"required": ["
|
|
15
|
+
"required": ["genAiPlannerPath", "botTemplatePath"],
|
|
13
16
|
"additionalProperties": false
|
|
14
17
|
}
|
|
15
18
|
}
|