@salesforce/plugin-agent 1.15.2 → 1.17.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/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.6":
1466
- version "0.9.6"
1467
- resolved "https://registry.yarnpkg.com/@salesforce/agents/-/agents-0.9.6.tgz#0ebf630e46bebf04bad96c2e8870ad8d83b438ef"
1468
- integrity sha512-LxHBxLaTvhYQM5MPN2SwUxrx8gKZ6WTZ4IbVYlA1cAtIhToj3pcpLIgwBqr2iEYrtZjUMq0uWLThXsmVnzbPRA==
1515
+ "@salesforce/agents@0.12.0":
1516
+ version "0.12.0"
1517
+ resolved "https://registry.yarnpkg.com/@salesforce/agents/-/agents-0.12.0.tgz#bfaec03bfba4443d4c9a958819181acc57dd775a"
1518
+ integrity sha512-1HT8UIbDnadYH0yu/5JcrDkHAKBU2eJUnjJgZnGiFMHxrDpEe5DSmK4j8iCECMLmENQ5WfT//wWXq2UNcu9tcA==
1469
1519
  dependencies:
1470
1520
  "@salesforce/core" "^8.8.2"
1471
1521
  "@salesforce/kit" "^3.2.3"
1472
- "@salesforce/source-deploy-retrieve" "^12.14.1"
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.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==
1689
+ "@salesforce/source-deploy-retrieve@^12.14.5":
1690
+ version "12.15.0"
1691
+ resolved "https://registry.yarnpkg.com/@salesforce/source-deploy-retrieve/-/source-deploy-retrieve-12.15.0.tgz#b93c3c245953b7b0f34cf1022c36b6d0d4aae755"
1692
+ integrity sha512-UbJ68pzAmGsdeHhBB4ml1tzTFbD8SjmGj1bhl3AbgeqxYncT1SpIMj0OHCXaUZFZB4vsGe5J8ft394PajlCeWw==
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"
@@ -7502,7 +7606,16 @@ stack-utils@^2.0.6:
7502
7606
  dependencies:
7503
7607
  escape-string-regexp "^2.0.0"
7504
7608
 
7505
- "string-width-cjs@npm:string-width@^4.2.0", string-width@^4.0.0, string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3:
7609
+ "string-width-cjs@npm:string-width@^4.2.0":
7610
+ version "4.2.3"
7611
+ resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010"
7612
+ integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==
7613
+ dependencies:
7614
+ emoji-regex "^8.0.0"
7615
+ is-fullwidth-code-point "^3.0.0"
7616
+ strip-ansi "^6.0.1"
7617
+
7618
+ string-width@^4.0.0, string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3:
7506
7619
  version "4.2.3"
7507
7620
  resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010"
7508
7621
  integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==
@@ -7597,7 +7710,14 @@ string_decoder@~1.1.1:
7597
7710
  dependencies:
7598
7711
  safe-buffer "~5.1.0"
7599
7712
 
7600
- "strip-ansi-cjs@npm:strip-ansi@^6.0.1", strip-ansi@6.0.1, strip-ansi@^6.0.0, strip-ansi@^6.0.1:
7713
+ "strip-ansi-cjs@npm:strip-ansi@^6.0.1":
7714
+ version "6.0.1"
7715
+ resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9"
7716
+ integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==
7717
+ dependencies:
7718
+ ansi-regex "^5.0.1"
7719
+
7720
+ strip-ansi@6.0.1, strip-ansi@^6.0.0, strip-ansi@^6.0.1:
7601
7721
  version "6.0.1"
7602
7722
  resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9"
7603
7723
  integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==
@@ -8206,7 +8326,7 @@ workerpool@^6.5.1:
8206
8326
  resolved "https://registry.yarnpkg.com/workerpool/-/workerpool-6.5.1.tgz#060f73b39d0caf97c6db64da004cd01b4c099544"
8207
8327
  integrity sha512-Fs4dNYcsdpYSAfVxhnl1L5zTksjvOJxtC5hzMNl+1t9B8hTJTdKDyZ5ju7ztgPy+ft9tBFXoOlDNiOT9WUXZlA==
8208
8328
 
8209
- "wrap-ansi-cjs@npm:wrap-ansi@^7.0.0", wrap-ansi@^7.0.0:
8329
+ "wrap-ansi-cjs@npm:wrap-ansi@^7.0.0":
8210
8330
  version "7.0.0"
8211
8331
  resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43"
8212
8332
  integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==
@@ -8224,6 +8344,15 @@ wrap-ansi@^6.2.0:
8224
8344
  string-width "^4.1.0"
8225
8345
  strip-ansi "^6.0.0"
8226
8346
 
8347
+ wrap-ansi@^7.0.0:
8348
+ version "7.0.0"
8349
+ resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43"
8350
+ integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==
8351
+ dependencies:
8352
+ ansi-styles "^4.0.0"
8353
+ string-width "^4.1.0"
8354
+ strip-ansi "^6.0.0"
8355
+
8227
8356
  wrap-ansi@^8.1.0:
8228
8357
  version "8.1.0"
8229
8358
  resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-8.1.0.tgz#56dc22368ee570face1b49819975d9b9a5ead214"
@@ -466,6 +466,28 @@
466
466
  "hasDynamicHelp": false,
467
467
  "multiple": false,
468
468
  "type": "option"
469
+ },
470
+ "from-definition": {
471
+ "char": "d",
472
+ "name": "from-definition",
473
+ "summary": "The API name of the AIEvaluationDefinition that you want to convert to a spec file.",
474
+ "hasDynamicHelp": false,
475
+ "multiple": false,
476
+ "type": "option"
477
+ },
478
+ "force-overwrite": {
479
+ "name": "force-overwrite",
480
+ "summary": "Don't prompt for confirmation when overwriting an existing test spec file.",
481
+ "allowNo": false,
482
+ "type": "boolean"
483
+ },
484
+ "output-file": {
485
+ "char": "f",
486
+ "name": "output-file",
487
+ "summary": "The name of the generated spec file. Defaults to \"specs/<AGENT_API_NAME>-testSpec.yaml\"",
488
+ "hasDynamicHelp": false,
489
+ "multiple": false,
490
+ "type": "option"
469
491
  }
470
492
  },
471
493
  "hasDynamicHelp": false,
@@ -585,7 +607,7 @@
585
607
  "agent:test:create": {
586
608
  "aliases": [],
587
609
  "args": {},
588
- "description": "More information about a command. Don't repeat the summary.",
610
+ "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.",
589
611
  "examples": [
590
612
  "<%= config.bin %> <%= command.id %>"
591
613
  ],
@@ -605,12 +627,16 @@
605
627
  "multiple": false,
606
628
  "type": "option"
607
629
  },
630
+ "test-api-name": {
631
+ "name": "test-api-name",
632
+ "summary": "The API name of the AiEvaluationDefinition.",
633
+ "hasDynamicHelp": false,
634
+ "multiple": false,
635
+ "type": "option"
636
+ },
608
637
  "spec": {
609
- "char": "s",
610
- "description": "More information about a flag. Don't repeat the summary.",
611
638
  "name": "spec",
612
- "required": true,
613
- "summary": "Description of a flag.",
639
+ "summary": "The path to the spec file.",
614
640
  "hasDynamicHelp": false,
615
641
  "multiple": false,
616
642
  "type": "option"
@@ -638,9 +664,8 @@
638
664
  "allowNo": false,
639
665
  "type": "boolean"
640
666
  },
641
- "no-prompt": {
642
- "char": "p",
643
- "name": "no-prompt",
667
+ "force-overwrite": {
668
+ "name": "force-overwrite",
644
669
  "summary": "Don't prompt for confirmation when overwriting an existing test.",
645
670
  "allowNo": false,
646
671
  "type": "boolean"
@@ -654,7 +679,7 @@
654
679
  "pluginType": "core",
655
680
  "state": "beta",
656
681
  "strict": true,
657
- "summary": "Summary of a command.",
682
+ "summary": "Convert a test spec file into an AiEvaluationDefinition and deploy it to your org.",
658
683
  "enableJsonFlag": true,
659
684
  "isESM": true,
660
685
  "relativePath": [
@@ -1075,5 +1100,5 @@
1075
1100
  ]
1076
1101
  }
1077
1102
  },
1078
- "version": "1.15.2"
1103
+ "version": "1.17.0"
1079
1104
  }
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.2",
4
+ "version": "1.17.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.6",
13
+ "@salesforce/agents": "0.12.0",
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": "^5.0.1",
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.2.crt",
231
- "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-agent/1.15.2.sig"
232
+ "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-agent/1.17.0.crt",
233
+ "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-agent/1.17.0.sig"
232
234
  }
233
235
  }
@@ -10,8 +10,7 @@
10
10
  "$ref": "#/definitions/DraftAgentTopics"
11
11
  },
12
12
  "agentType": {
13
- "type": "string",
14
- "enum": ["customer", "internal"],
13
+ "$ref": "#/definitions/AgentType",
15
14
  "description": "Internal type is copilots; used by customers' employees. Customer type is agents; used by customers' customers."
16
15
  },
17
16
  "role": {
@@ -67,6 +66,10 @@
67
66
  },
68
67
  "minItems": 1,
69
68
  "maxItems": 1
69
+ },
70
+ "AgentType": {
71
+ "type": "string",
72
+ "enum": ["customer", "internal"]
70
73
  }
71
74
  }
72
75
  }
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
@@ -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"}