@salesforce/plugin-agent 1.15.0 → 1.15.1-dev.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 -26
- package/lib/commands/agent/create.js +2 -2
- package/lib/commands/agent/create.js.map +1 -1
- package/lib/commands/agent/generate/test-spec.d.ts +4 -0
- package/lib/commands/agent/generate/test-spec.js +131 -78
- package/lib/commands/agent/generate/test-spec.js.map +1 -1
- package/lib/commands/agent/test/create.d.ts +2 -1
- package/lib/commands/agent/test/create.js +75 -18
- package/lib/commands/agent/test/create.js.map +1 -1
- package/lib/flags.d.ts +1 -0
- package/lib/flags.js +31 -0
- package/lib/flags.js.map +1 -1
- package/lib/handleTestResults.js +2 -21
- package/lib/handleTestResults.js.map +1 -1
- package/lib/yes-no-cancel.d.ts +10 -0
- package/lib/yes-no-cancel.js +60 -0
- package/lib/yes-no-cancel.js.map +1 -0
- package/messages/agent.generate.test-spec.md +8 -0
- package/messages/agent.test.create.md +17 -7
- package/npm-shrinkwrap.json +522 -30
- package/oclif.lock +115 -11
- package/oclif.manifest.json +28 -7
- package/package.json +7 -5
- package/lib/read-dir.d.ts +0 -1
- package/lib/read-dir.js +0 -16
- package/lib/read-dir.js.map +0 -1
package/oclif.lock
CHANGED
|
@@ -1095,6 +1095,39 @@
|
|
|
1095
1095
|
wrap-ansi "^6.2.0"
|
|
1096
1096
|
yoctocolors-cjs "^2.1.2"
|
|
1097
1097
|
|
|
1098
|
+
"@inquirer/core@^10.1.6":
|
|
1099
|
+
version "10.1.6"
|
|
1100
|
+
resolved "https://registry.yarnpkg.com/@inquirer/core/-/core-10.1.6.tgz#2a92a219cb48c81453e145a5040d0e04f7df1aa2"
|
|
1101
|
+
integrity sha512-Bwh/Zk6URrHwZnSSzAZAKH7YgGYi0xICIBDFOqBQoXNNAzBHw/bgXgLmChfp+GyR3PnChcTbiCTZGC6YJNJkMA==
|
|
1102
|
+
dependencies:
|
|
1103
|
+
"@inquirer/figures" "^1.0.10"
|
|
1104
|
+
"@inquirer/type" "^3.0.4"
|
|
1105
|
+
ansi-escapes "^4.3.2"
|
|
1106
|
+
cli-width "^4.1.0"
|
|
1107
|
+
mute-stream "^2.0.0"
|
|
1108
|
+
signal-exit "^4.1.0"
|
|
1109
|
+
wrap-ansi "^6.2.0"
|
|
1110
|
+
yoctocolors-cjs "^2.1.2"
|
|
1111
|
+
|
|
1112
|
+
"@inquirer/core@^3.1.1":
|
|
1113
|
+
version "3.1.2"
|
|
1114
|
+
resolved "https://registry.yarnpkg.com/@inquirer/core/-/core-3.1.2.tgz#d9691e6ffae85935685641550b8370ab7e599caa"
|
|
1115
|
+
integrity sha512-lR2GaqBkp42Ew9BOAOqf2pSp+ymVES1qN8OC90WWh45yeoYLl0Ty1GyCxmkKqBJtq/+Ea1MF12AdFcZcpRNFsw==
|
|
1116
|
+
dependencies:
|
|
1117
|
+
"@inquirer/type" "^1.1.2"
|
|
1118
|
+
"@types/mute-stream" "^0.0.1"
|
|
1119
|
+
"@types/node" "^20.4.8"
|
|
1120
|
+
"@types/wrap-ansi" "^3.0.0"
|
|
1121
|
+
ansi-escapes "^4.3.2"
|
|
1122
|
+
chalk "^4.1.2"
|
|
1123
|
+
cli-spinners "^2.9.0"
|
|
1124
|
+
cli-width "^4.1.0"
|
|
1125
|
+
figures "^3.2.0"
|
|
1126
|
+
mute-stream "^1.0.0"
|
|
1127
|
+
run-async "^3.0.0"
|
|
1128
|
+
strip-ansi "^6.0.1"
|
|
1129
|
+
wrap-ansi "^6.2.0"
|
|
1130
|
+
|
|
1098
1131
|
"@inquirer/core@^9.0.8", "@inquirer/core@^9.1.0":
|
|
1099
1132
|
version "9.1.0"
|
|
1100
1133
|
resolved "https://registry.yarnpkg.com/@inquirer/core/-/core-9.1.0.tgz#158b82dc44564a1abd0ce14723d50c3efa0634a2"
|
|
@@ -1132,6 +1165,11 @@
|
|
|
1132
1165
|
"@inquirer/type" "^3.0.2"
|
|
1133
1166
|
yoctocolors-cjs "^2.1.2"
|
|
1134
1167
|
|
|
1168
|
+
"@inquirer/figures@^1.0.10":
|
|
1169
|
+
version "1.0.10"
|
|
1170
|
+
resolved "https://registry.yarnpkg.com/@inquirer/figures/-/figures-1.0.10.tgz#e3676a51c9c51aaabcd6ba18a28e82b98417db37"
|
|
1171
|
+
integrity sha512-Ey6176gZmeqZuY/W/nZiUyvmb1/qInjcpiZjXWi6nON+nxJpD1bxtSoBxNliGISae32n6OwbY+TSXPZ1CfS4bw==
|
|
1172
|
+
|
|
1135
1173
|
"@inquirer/figures@^1.0.5", "@inquirer/figures@^1.0.7", "@inquirer/figures@^1.0.9":
|
|
1136
1174
|
version "1.0.9"
|
|
1137
1175
|
resolved "https://registry.yarnpkg.com/@inquirer/figures/-/figures-1.0.9.tgz#9d8128f8274cde4ca009ca8547337cab3f37a4a3"
|
|
@@ -1236,6 +1274,13 @@
|
|
|
1236
1274
|
ansi-escapes "^4.3.2"
|
|
1237
1275
|
yoctocolors-cjs "^2.1.2"
|
|
1238
1276
|
|
|
1277
|
+
"@inquirer/type@^1.1.2":
|
|
1278
|
+
version "1.5.5"
|
|
1279
|
+
resolved "https://registry.yarnpkg.com/@inquirer/type/-/type-1.5.5.tgz#303ea04ce7ad2e585b921b662b3be36ef7b4f09b"
|
|
1280
|
+
integrity sha512-MzICLu4yS7V8AA61sANROZ9vT1H3ooca5dSmI1FjZkzq7o/koMsRfQSzRtFo+F3Ao4Sf1C0bpLKejpKB/+j6MA==
|
|
1281
|
+
dependencies:
|
|
1282
|
+
mute-stream "^1.0.0"
|
|
1283
|
+
|
|
1239
1284
|
"@inquirer/type@^1.5.1", "@inquirer/type@^1.5.3":
|
|
1240
1285
|
version "1.5.3"
|
|
1241
1286
|
resolved "https://registry.yarnpkg.com/@inquirer/type/-/type-1.5.3.tgz#220ae9f3d5ae17dd3b2ce5ffd6b48c4a30c73181"
|
|
@@ -1248,6 +1293,11 @@
|
|
|
1248
1293
|
resolved "https://registry.yarnpkg.com/@inquirer/type/-/type-3.0.2.tgz#baff9f8d70947181deb36772cd9a5b6876d3e60c"
|
|
1249
1294
|
integrity sha512-ZhQ4TvhwHZF+lGhQ2O/rsjo80XoZR5/5qhOY3t6FJuX5XBg5Be8YzYTvaUGJnc12AUGI2nr4QSUE4PhKSigx7g==
|
|
1250
1295
|
|
|
1296
|
+
"@inquirer/type@^3.0.4":
|
|
1297
|
+
version "3.0.4"
|
|
1298
|
+
resolved "https://registry.yarnpkg.com/@inquirer/type/-/type-3.0.4.tgz#fa5f9e91a0abf3c9e93d3e1990ecb891d8195cf2"
|
|
1299
|
+
integrity sha512-2MNFrDY8jkFYc9Il9DgLsHhMzuHnOYM1+CUYVWbzu9oT0hC7V7EcYvdCKeoll/Fcci04A+ERZ9wcc7cQ8lTkIA==
|
|
1300
|
+
|
|
1251
1301
|
"@isaacs/cliui@^8.0.2":
|
|
1252
1302
|
version "8.0.2"
|
|
1253
1303
|
resolved "https://registry.yarnpkg.com/@isaacs/cliui/-/cliui-8.0.2.tgz#b37667b7bc181c168782259bab42474fbf52b550"
|
|
@@ -1462,14 +1512,14 @@
|
|
|
1462
1512
|
resolved "https://registry.yarnpkg.com/@pkgjs/parseargs/-/parseargs-0.11.0.tgz#a77ea742fab25775145434eb1d2328cf5013ac33"
|
|
1463
1513
|
integrity sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==
|
|
1464
1514
|
|
|
1465
|
-
"@salesforce/agents@0.9.
|
|
1466
|
-
version "0.9.
|
|
1467
|
-
resolved "https://registry.yarnpkg.com/@salesforce/agents/-/agents-0.9.
|
|
1468
|
-
integrity sha512-
|
|
1515
|
+
"@salesforce/agents@0.9.8-dev.1":
|
|
1516
|
+
version "0.9.8-dev.1"
|
|
1517
|
+
resolved "https://registry.yarnpkg.com/@salesforce/agents/-/agents-0.9.8-dev.1.tgz#317893b7c1f06f5f953972a4c97953016c37fb10"
|
|
1518
|
+
integrity sha512-HFupkCFn4EE4rdt7ZPgDOAhhiaHaUKS2HkiG/sQ4HxLPD4OtQBjLSs6lBetcw0qrBu8+oePi8SXetZSy8kJq5A==
|
|
1469
1519
|
dependencies:
|
|
1470
1520
|
"@salesforce/core" "^8.8.2"
|
|
1471
1521
|
"@salesforce/kit" "^3.2.3"
|
|
1472
|
-
"@salesforce/source-deploy-retrieve" "^12.14.
|
|
1522
|
+
"@salesforce/source-deploy-retrieve" "^12.14.5"
|
|
1473
1523
|
fast-xml-parser "^4.5.1"
|
|
1474
1524
|
nock "^13.5.6"
|
|
1475
1525
|
yaml "^2.7.0"
|
|
@@ -1636,10 +1686,10 @@
|
|
|
1636
1686
|
proxy-agent "^6.4.0"
|
|
1637
1687
|
yaml "^2.6.1"
|
|
1638
1688
|
|
|
1639
|
-
"@salesforce/source-deploy-retrieve@^12.14.
|
|
1640
|
-
version "12.14.
|
|
1641
|
-
resolved "https://registry.yarnpkg.com/@salesforce/source-deploy-retrieve/-/source-deploy-retrieve-12.14.
|
|
1642
|
-
integrity sha512-
|
|
1689
|
+
"@salesforce/source-deploy-retrieve@^12.14.5":
|
|
1690
|
+
version "12.14.8"
|
|
1691
|
+
resolved "https://registry.yarnpkg.com/@salesforce/source-deploy-retrieve/-/source-deploy-retrieve-12.14.8.tgz#df47446a46cd405e2c2fdbd741ef985eeea000be"
|
|
1692
|
+
integrity sha512-XmTAen0b49YhhFhVuRag/n38uRgqRXpdS/0iqUhEmLEaNXVaH9/jpSNaNRM3VHOfIWxDd2QtEj3JUgAEfy1i3A==
|
|
1643
1693
|
dependencies:
|
|
1644
1694
|
"@salesforce/core" "^8.8.2"
|
|
1645
1695
|
"@salesforce/kit" "^3.2.3"
|
|
@@ -2342,6 +2392,13 @@
|
|
|
2342
2392
|
resolved "https://registry.yarnpkg.com/@types/mocha/-/mocha-10.0.7.tgz#4c620090f28ca7f905a94b706f74dc5b57b44f2f"
|
|
2343
2393
|
integrity sha512-GN8yJ1mNTcFcah/wKEFIJckJx9iJLoMSzWcfRRuxz/Jk+U6KQNnml+etbtxFK8lPjzOw3zp4Ha/kjSst9fsHYw==
|
|
2344
2394
|
|
|
2395
|
+
"@types/mute-stream@^0.0.1":
|
|
2396
|
+
version "0.0.1"
|
|
2397
|
+
resolved "https://registry.yarnpkg.com/@types/mute-stream/-/mute-stream-0.0.1.tgz#8ec7d16d51e2ceb054d8be0226250169d17af5b2"
|
|
2398
|
+
integrity sha512-0yQLzYhCqGz7CQPE3iDmYjhb7KMBFOP+tBkyw+/Y2YyDI5wpS7itXXxneN1zSsUwWx3Ji6YiVYrhAnpQGS/vkw==
|
|
2399
|
+
dependencies:
|
|
2400
|
+
"@types/node" "*"
|
|
2401
|
+
|
|
2345
2402
|
"@types/mute-stream@^0.0.4":
|
|
2346
2403
|
version "0.0.4"
|
|
2347
2404
|
resolved "https://registry.yarnpkg.com/@types/mute-stream/-/mute-stream-0.0.4.tgz#77208e56a08767af6c5e1237be8888e2f255c478"
|
|
@@ -2363,6 +2420,13 @@
|
|
|
2363
2420
|
dependencies:
|
|
2364
2421
|
undici-types "~5.26.4"
|
|
2365
2422
|
|
|
2423
|
+
"@types/node@^20.4.8":
|
|
2424
|
+
version "20.17.17"
|
|
2425
|
+
resolved "https://registry.yarnpkg.com/@types/node/-/node-20.17.17.tgz#5cea2af2e271313742c14f418eaf5dcfa8ae2e3a"
|
|
2426
|
+
integrity sha512-/WndGO4kIfMicEQLTi/mDANUu/iVUhT7KboZPdEqqHQ4aTS+3qT3U5gIqWDFV+XouorjfgGqvKILJeHhuQgFYg==
|
|
2427
|
+
dependencies:
|
|
2428
|
+
undici-types "~6.19.2"
|
|
2429
|
+
|
|
2366
2430
|
"@types/normalize-package-data@^2.4.0":
|
|
2367
2431
|
version "2.4.1"
|
|
2368
2432
|
resolved "https://registry.yarnpkg.com/@types/normalize-package-data/-/normalize-package-data-2.4.1.tgz#d3357479a0fdfdd5907fe67e17e0a85c906e1301"
|
|
@@ -3112,7 +3176,7 @@ chalk@^2.4.2:
|
|
|
3112
3176
|
escape-string-regexp "^1.0.5"
|
|
3113
3177
|
supports-color "^5.3.0"
|
|
3114
3178
|
|
|
3115
|
-
chalk@^4, chalk@^4.0.0, chalk@^4.0.2, chalk@^4.1.0:
|
|
3179
|
+
chalk@^4, chalk@^4.0.0, chalk@^4.0.2, chalk@^4.1.0, chalk@^4.1.2:
|
|
3116
3180
|
version "4.1.2"
|
|
3117
3181
|
resolved "https://registry.yarnpkg.com/chalk/-/chalk-4.1.2.tgz#aac4e2b7734a740867aeb16bf02aad556a1e7a01"
|
|
3118
3182
|
integrity sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==
|
|
@@ -3218,7 +3282,7 @@ cli-progress@^3.12.0:
|
|
|
3218
3282
|
dependencies:
|
|
3219
3283
|
string-width "^4.2.3"
|
|
3220
3284
|
|
|
3221
|
-
cli-spinners@^2, cli-spinners@^2.9.2:
|
|
3285
|
+
cli-spinners@^2, cli-spinners@^2.9.0, cli-spinners@^2.9.2:
|
|
3222
3286
|
version "2.9.2"
|
|
3223
3287
|
resolved "https://registry.yarnpkg.com/cli-spinners/-/cli-spinners-2.9.2.tgz#1773a8f4b9c4d6ac31563df53b3fc1d79462fe41"
|
|
3224
3288
|
integrity sha512-ywqV+5MmyL4E7ybXgKys4DugZbX0FC6LnwrhjuykIjnK9k8OQacQ7axGKnjDXWNhns0xot3bZI5h55H8yo9cJg==
|
|
@@ -3891,6 +3955,11 @@ escape-string-regexp@^2.0.0:
|
|
|
3891
3955
|
resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz#a30304e99daa32e23b2fd20f51babd07cffca344"
|
|
3892
3956
|
integrity sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==
|
|
3893
3957
|
|
|
3958
|
+
escape-string-regexp@^5.0.0:
|
|
3959
|
+
version "5.0.0"
|
|
3960
|
+
resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-5.0.0.tgz#4683126b500b61762f2dbebace1806e8be31b1c8"
|
|
3961
|
+
integrity sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw==
|
|
3962
|
+
|
|
3894
3963
|
escodegen@^2.1.0:
|
|
3895
3964
|
version "2.1.0"
|
|
3896
3965
|
resolved "https://registry.yarnpkg.com/escodegen/-/escodegen-2.1.0.tgz#ba93bbb7a43986d29d6041f99f5262da773e2e17"
|
|
@@ -4310,6 +4379,21 @@ faye@^1.4.0:
|
|
|
4310
4379
|
tough-cookie "*"
|
|
4311
4380
|
tunnel-agent "*"
|
|
4312
4381
|
|
|
4382
|
+
figures@^3.2.0:
|
|
4383
|
+
version "3.2.0"
|
|
4384
|
+
resolved "https://registry.yarnpkg.com/figures/-/figures-3.2.0.tgz#625c18bd293c604dc4a8ddb2febf0c88341746af"
|
|
4385
|
+
integrity sha512-yaduQFRKLXYOGgEn6AZau90j3ggSOyiqXU0F9JZfeXYhNa+Jk4X+s45A2zg5jns87GAFa34BBm2kXw4XpNcbdg==
|
|
4386
|
+
dependencies:
|
|
4387
|
+
escape-string-regexp "^1.0.5"
|
|
4388
|
+
|
|
4389
|
+
figures@^5.0.0:
|
|
4390
|
+
version "5.0.0"
|
|
4391
|
+
resolved "https://registry.yarnpkg.com/figures/-/figures-5.0.0.tgz#126cd055052dea699f8a54e8c9450e6ecfc44d5f"
|
|
4392
|
+
integrity sha512-ej8ksPF4x6e5wvK9yevct0UCXh8TTFlWGVLlgjZuoBH1HwjIfKE/IdL5mq89sFA7zELi1VhKpmtDnrs7zWyeyg==
|
|
4393
|
+
dependencies:
|
|
4394
|
+
escape-string-regexp "^5.0.0"
|
|
4395
|
+
is-unicode-supported "^1.2.0"
|
|
4396
|
+
|
|
4313
4397
|
figures@^6.1.0:
|
|
4314
4398
|
version "6.1.0"
|
|
4315
4399
|
resolved "https://registry.yarnpkg.com/figures/-/figures-6.1.0.tgz#935479f51865fa7479f6fa94fc6fc7ac14e62c4a"
|
|
@@ -5044,6 +5128,16 @@ ink@5.0.1, ink@^5.0.1:
|
|
|
5044
5128
|
ws "^8.15.0"
|
|
5045
5129
|
yoga-wasm-web "~0.3.3"
|
|
5046
5130
|
|
|
5131
|
+
inquirer-autocomplete-standalone@^0.8.1:
|
|
5132
|
+
version "0.8.1"
|
|
5133
|
+
resolved "https://registry.yarnpkg.com/inquirer-autocomplete-standalone/-/inquirer-autocomplete-standalone-0.8.1.tgz#540ac162d5dd01f83d0f4016b76bf0bb64e2fff8"
|
|
5134
|
+
integrity sha512-mlzwCTiXDX1Cw4yJL5PCq32k23XYLTK8K6BDFoL1a76iJeFB5ul6IoMU9spgdDagl2SM7P6ZaCNjj8VNXRDPOQ==
|
|
5135
|
+
dependencies:
|
|
5136
|
+
"@inquirer/core" "^3.1.1"
|
|
5137
|
+
"@inquirer/type" "^1.1.2"
|
|
5138
|
+
figures "^5.0.0"
|
|
5139
|
+
picocolors "^1.0.0"
|
|
5140
|
+
|
|
5047
5141
|
internal-slot@^1.0.7:
|
|
5048
5142
|
version "1.0.7"
|
|
5049
5143
|
resolved "https://registry.yarnpkg.com/internal-slot/-/internal-slot-1.0.7.tgz#c06dcca3ed874249881007b0a5523b172a190802"
|
|
@@ -5309,6 +5403,11 @@ is-unicode-supported@^0.1.0:
|
|
|
5309
5403
|
resolved "https://registry.yarnpkg.com/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz#3f26c76a809593b52bfa2ecb5710ed2779b522a7"
|
|
5310
5404
|
integrity sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==
|
|
5311
5405
|
|
|
5406
|
+
is-unicode-supported@^1.2.0:
|
|
5407
|
+
version "1.3.0"
|
|
5408
|
+
resolved "https://registry.yarnpkg.com/is-unicode-supported/-/is-unicode-supported-1.3.0.tgz#d824984b616c292a2e198207d4a609983842f714"
|
|
5409
|
+
integrity sha512-43r2mRvz+8JRIKnWJ+3j8JtjRKZ6GmjzfaE/qiBJnikNnYv/6bagRJ1kUhNk8R5EX/GkobD+r+sfxCPJsiKBLQ==
|
|
5410
|
+
|
|
5312
5411
|
is-unicode-supported@^2.0.0:
|
|
5313
5412
|
version "2.1.0"
|
|
5314
5413
|
resolved "https://registry.yarnpkg.com/is-unicode-supported/-/is-unicode-supported-2.1.0.tgz#09f0ab0de6d3744d48d265ebb98f65d11f2a9b3a"
|
|
@@ -7106,6 +7205,11 @@ rimraf@^3.0.0, rimraf@^3.0.2:
|
|
|
7106
7205
|
dependencies:
|
|
7107
7206
|
glob "^7.1.3"
|
|
7108
7207
|
|
|
7208
|
+
run-async@^3.0.0:
|
|
7209
|
+
version "3.0.0"
|
|
7210
|
+
resolved "https://registry.yarnpkg.com/run-async/-/run-async-3.0.0.tgz#42a432f6d76c689522058984384df28be379daad"
|
|
7211
|
+
integrity sha512-540WwVDOMxA6dN6We19EcT9sc3hkXPw5mzRNGM3FkdN/vtE9NFvj5lFAPNwUDmJjXidm3v7TC1cTE7t17Ulm1Q==
|
|
7212
|
+
|
|
7109
7213
|
run-parallel@^1.1.9:
|
|
7110
7214
|
version "1.2.0"
|
|
7111
7215
|
resolved "https://registry.yarnpkg.com/run-parallel/-/run-parallel-1.2.0.tgz#66d1368da7bdf921eb9d95bd1a9229e7f21a43ee"
|
package/oclif.manifest.json
CHANGED
|
@@ -467,6 +467,23 @@
|
|
|
467
467
|
"hasDynamicHelp": false,
|
|
468
468
|
"multiple": false,
|
|
469
469
|
"type": "option"
|
|
470
|
+
},
|
|
471
|
+
"output-dir": {
|
|
472
|
+
"char": "d",
|
|
473
|
+
"name": "output-dir",
|
|
474
|
+
"summary": "The directory to save the generated spec file.",
|
|
475
|
+
"default": "specs",
|
|
476
|
+
"hasDynamicHelp": false,
|
|
477
|
+
"multiple": false,
|
|
478
|
+
"type": "option"
|
|
479
|
+
},
|
|
480
|
+
"output-file": {
|
|
481
|
+
"char": "f",
|
|
482
|
+
"name": "output-file",
|
|
483
|
+
"summary": "The name of the generated spec file.",
|
|
484
|
+
"hasDynamicHelp": false,
|
|
485
|
+
"multiple": false,
|
|
486
|
+
"type": "option"
|
|
470
487
|
}
|
|
471
488
|
},
|
|
472
489
|
"hasDynamicHelp": false,
|
|
@@ -586,7 +603,7 @@
|
|
|
586
603
|
"agent:test:create": {
|
|
587
604
|
"aliases": [],
|
|
588
605
|
"args": {},
|
|
589
|
-
"description": "
|
|
606
|
+
"description": "This command will convert a test spec file into an AiEvaluationDefinition and deploy it to your org. The spec file must be in yaml format.\n\nUse the --preview flag to see the metadata that will be deployed without actually deploying it.",
|
|
590
607
|
"examples": [
|
|
591
608
|
"<%= config.bin %> <%= command.id %>"
|
|
592
609
|
],
|
|
@@ -606,12 +623,16 @@
|
|
|
606
623
|
"multiple": false,
|
|
607
624
|
"type": "option"
|
|
608
625
|
},
|
|
626
|
+
"test-api-name": {
|
|
627
|
+
"name": "test-api-name",
|
|
628
|
+
"summary": "The API name of the AiEvaluationDefinition.",
|
|
629
|
+
"hasDynamicHelp": false,
|
|
630
|
+
"multiple": false,
|
|
631
|
+
"type": "option"
|
|
632
|
+
},
|
|
609
633
|
"spec": {
|
|
610
|
-
"char": "s",
|
|
611
|
-
"description": "More information about a flag. Don't repeat the summary.",
|
|
612
634
|
"name": "spec",
|
|
613
|
-
"
|
|
614
|
-
"summary": "Description of a flag.",
|
|
635
|
+
"summary": "The path to the spec file.",
|
|
615
636
|
"hasDynamicHelp": false,
|
|
616
637
|
"multiple": false,
|
|
617
638
|
"type": "option"
|
|
@@ -655,7 +676,7 @@
|
|
|
655
676
|
"pluginType": "core",
|
|
656
677
|
"state": "beta",
|
|
657
678
|
"strict": true,
|
|
658
|
-
"summary": "
|
|
679
|
+
"summary": "Convert a test spec file into an AiEvaluationDefinition and deploy it to your org.",
|
|
659
680
|
"enableJsonFlag": true,
|
|
660
681
|
"isESM": true,
|
|
661
682
|
"relativePath": [
|
|
@@ -1076,5 +1097,5 @@
|
|
|
1076
1097
|
]
|
|
1077
1098
|
}
|
|
1078
1099
|
},
|
|
1079
|
-
"version": "1.15.0"
|
|
1100
|
+
"version": "1.15.1-dev.0"
|
|
1080
1101
|
}
|
package/package.json
CHANGED
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/plugin-agent",
|
|
3
3
|
"description": "Commands to interact with Salesforce agents",
|
|
4
|
-
"version": "1.15.0",
|
|
4
|
+
"version": "1.15.1-dev.0",
|
|
5
5
|
"author": "Salesforce",
|
|
6
6
|
"bugs": "https://github.com/forcedotcom/cli/issues",
|
|
7
7
|
"dependencies": {
|
|
8
|
+
"@inquirer/core": "^10.1.6",
|
|
8
9
|
"@inquirer/figures": "^1.0.7",
|
|
9
10
|
"@inquirer/prompts": "^7.2.0",
|
|
10
11
|
"@oclif/core": "^4",
|
|
11
12
|
"@oclif/multi-stage-output": "^0.7.12",
|
|
12
|
-
"@salesforce/agents": "0.9.
|
|
13
|
+
"@salesforce/agents": "0.9.8-dev.1",
|
|
13
14
|
"@salesforce/core": "^8.8.0",
|
|
14
15
|
"@salesforce/kit": "^3.2.1",
|
|
15
16
|
"@salesforce/sf-plugins-core": "^12.1.0",
|
|
@@ -17,8 +18,9 @@
|
|
|
17
18
|
"@salesforce/types": "^1.3.0",
|
|
18
19
|
"ansis": "^3.3.2",
|
|
19
20
|
"fast-xml-parser": "^4.5.1",
|
|
20
|
-
"ink": "
|
|
21
|
+
"ink": "5.0.1",
|
|
21
22
|
"ink-text-input": "^6.0.0",
|
|
23
|
+
"inquirer-autocomplete-standalone": "^0.8.1",
|
|
22
24
|
"react": "^18.3.1",
|
|
23
25
|
"yaml": "^2.7.0"
|
|
24
26
|
},
|
|
@@ -227,7 +229,7 @@
|
|
|
227
229
|
"exports": "./lib/index.js",
|
|
228
230
|
"type": "module",
|
|
229
231
|
"sfdx": {
|
|
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
|
+
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-agent/1.15.1-dev.0.crt",
|
|
233
|
+
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-agent/1.15.1-dev.0.sig"
|
|
232
234
|
}
|
|
233
235
|
}
|
package/lib/read-dir.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function readDir(path: string): Promise<string[]>;
|
package/lib/read-dir.js
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2024, salesforce.com, inc.
|
|
3
|
-
* All rights reserved.
|
|
4
|
-
* Licensed under the BSD 3-Clause license.
|
|
5
|
-
* For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
|
|
6
|
-
*/
|
|
7
|
-
import { readdir } from 'node:fs/promises';
|
|
8
|
-
export async function readDir(path) {
|
|
9
|
-
try {
|
|
10
|
-
return (await readdir(path)).filter((bot) => !bot.startsWith('.'));
|
|
11
|
-
}
|
|
12
|
-
catch {
|
|
13
|
-
return [];
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
//# sourceMappingURL=read-dir.js.map
|
package/lib/read-dir.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"read-dir.js","sourceRoot":"","sources":["../src/read-dir.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAC3C,MAAM,CAAC,KAAK,UAAU,OAAO,CAAC,IAAY;IACxC,IAAI,CAAC;QACH,OAAO,CAAC,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC,GAAG,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC;IACrE,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,EAAE,CAAC;IACZ,CAAC;AACH,CAAC"}
|