@salesforce/plugin-agent 1.14.0 → 1.14.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/oclif.lock CHANGED
@@ -1377,6 +1377,30 @@
1377
1377
  wordwrap "^1.0.0"
1378
1378
  wrap-ansi "^7.0.0"
1379
1379
 
1380
+ "@oclif/core@^4.2.4":
1381
+ version "4.2.6"
1382
+ resolved "https://registry.yarnpkg.com/@oclif/core/-/core-4.2.6.tgz#f2f1696be03a815a4c391504312f90fce29fbb4e"
1383
+ integrity sha512-agk1Tlm7qMemWx+qq5aNgkYwX2JCkoVP4M0ruFveJrarmdUPbKZTMW1j/eg8lNKZh1sp68ytZyKhYXYEfRPcww==
1384
+ dependencies:
1385
+ ansi-escapes "^4.3.2"
1386
+ ansis "^3.10.0"
1387
+ clean-stack "^3.0.1"
1388
+ cli-spinners "^2.9.2"
1389
+ debug "^4.4.0"
1390
+ ejs "^3.1.10"
1391
+ get-package-type "^0.1.0"
1392
+ globby "^11.1.0"
1393
+ indent-string "^4.0.0"
1394
+ is-wsl "^2.2.0"
1395
+ lilconfig "^3.1.3"
1396
+ minimatch "^9.0.5"
1397
+ semver "^7.6.3"
1398
+ string-width "^4.2.3"
1399
+ supports-color "^8"
1400
+ widest-line "^3.1.0"
1401
+ wordwrap "^1.0.0"
1402
+ wrap-ansi "^7.0.0"
1403
+
1380
1404
  "@oclif/multi-stage-output@^0.7.12":
1381
1405
  version "0.7.12"
1382
1406
  resolved "https://registry.yarnpkg.com/@oclif/multi-stage-output/-/multi-stage-output-0.7.12.tgz#04df5efb6dce527920cf475c9ad9f20236803ccd"
@@ -1449,6 +1473,21 @@
1449
1473
  strip-ansi "^7.1.0"
1450
1474
  wrap-ansi "^9.0.0"
1451
1475
 
1476
+ "@oclif/table@^0.4.6":
1477
+ version "0.4.6"
1478
+ resolved "https://registry.yarnpkg.com/@oclif/table/-/table-0.4.6.tgz#4e07fc11de9b8a3187a5ea43edce71c42811ab7e"
1479
+ integrity sha512-NXh72vHHYnDrWPmVfh4i7kDydz3CXm/tSAr17fWhmWfMM+8jGn5uo6FXtvB0cd9s4skvDqzoRcsRwOeR73zIKA==
1480
+ dependencies:
1481
+ "@types/react" "^18.3.12"
1482
+ change-case "^5.4.4"
1483
+ cli-truncate "^4.0.0"
1484
+ ink "5.0.1"
1485
+ natural-orderby "^3.0.2"
1486
+ object-hash "^3.0.0"
1487
+ react "^18.3.1"
1488
+ strip-ansi "^7.1.0"
1489
+ wrap-ansi "^9.0.0"
1490
+
1452
1491
  "@oclif/test@^4.1.0":
1453
1492
  version "4.1.0"
1454
1493
  resolved "https://registry.yarnpkg.com/@oclif/test/-/test-4.1.0.tgz#7935e3707cf07480790139e02973196d18d16822"
@@ -1462,16 +1501,16 @@
1462
1501
  resolved "https://registry.yarnpkg.com/@pkgjs/parseargs/-/parseargs-0.11.0.tgz#a77ea742fab25775145434eb1d2328cf5013ac33"
1463
1502
  integrity sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==
1464
1503
 
1465
- "@salesforce/agents@^0.9.2":
1466
- version "0.9.2"
1467
- resolved "https://registry.yarnpkg.com/@salesforce/agents/-/agents-0.9.2.tgz#eacad6fab97cd156484b78a974f47389efaefb27"
1468
- integrity sha512-z/+mMa1GgiEwFpg+FD40ahzJhtf7Am5G8H+qHXjrUBijk7CdFm5lGZGvX0+LzhxD/Atn44qOo05V3Z3RuN7qYw==
1504
+ "@salesforce/agents@0.9.5-dev.0":
1505
+ version "0.9.5-dev.0"
1506
+ resolved "https://registry.yarnpkg.com/@salesforce/agents/-/agents-0.9.5-dev.0.tgz#1344af97d7756d4b8c20a79a19c45ae3d11a8e8b"
1507
+ integrity sha512-dKgk9Dmgmc+w+qMz8zHgsEzykIAwO5hUDncaRfo43ENIRnbXWaw2hgoo1Ae82uadHunF9scWjo2PpCQmivcT/w==
1469
1508
  dependencies:
1470
1509
  "@salesforce/core" "^8.8.2"
1471
1510
  "@salesforce/kit" "^3.2.3"
1472
- "@salesforce/sf-plugins-core" "^12.1.2"
1511
+ "@salesforce/sf-plugins-core" "^12.1.3"
1473
1512
  "@salesforce/source-deploy-retrieve" "^12.14.1"
1474
- ansis "^3.9.0"
1513
+ ansis "^3.10.0"
1475
1514
  fast-xml-parser "^4.5.1"
1476
1515
  nock "^13.5.6"
1477
1516
  yaml "^2.7.0"
@@ -1602,7 +1641,7 @@
1602
1641
  string-width "^7.2.0"
1603
1642
  terminal-link "^3.0.0"
1604
1643
 
1605
- "@salesforce/sf-plugins-core@^12.1.0", "@salesforce/sf-plugins-core@^12.1.2":
1644
+ "@salesforce/sf-plugins-core@^12.1.0":
1606
1645
  version "12.1.2"
1607
1646
  resolved "https://registry.yarnpkg.com/@salesforce/sf-plugins-core/-/sf-plugins-core-12.1.2.tgz#0c4fba3787ee670014c8bca447c2fc59fb9c3ec3"
1608
1647
  integrity sha512-qrmGZr2mG7uOpqhOpeOJjBEVztM7Mt8B10lD3rG+aOBZQelTm3YQ738yZYcwHjksQW3AOyf0QtqZICCfe0nD8A==
@@ -1618,6 +1657,22 @@
1618
1657
  cli-progress "^3.12.0"
1619
1658
  terminal-link "^3.0.0"
1620
1659
 
1660
+ "@salesforce/sf-plugins-core@^12.1.3":
1661
+ version "12.1.4"
1662
+ resolved "https://registry.yarnpkg.com/@salesforce/sf-plugins-core/-/sf-plugins-core-12.1.4.tgz#c73829c7f12bdc96a2e2746ce7f574a604e8efb4"
1663
+ integrity sha512-inSWsy9omNc4dIULVpoOJPX6DdEaqkA4CxmzTVrylc7P08jCbsv6LpS79wUaYC7Ah3krBQvbopP4wR9f3XvLeQ==
1664
+ dependencies:
1665
+ "@inquirer/confirm" "^3.1.22"
1666
+ "@inquirer/password" "^2.2.0"
1667
+ "@oclif/core" "^4.2.4"
1668
+ "@oclif/table" "^0.4.6"
1669
+ "@salesforce/core" "^8.5.1"
1670
+ "@salesforce/kit" "^3.2.3"
1671
+ "@salesforce/ts-types" "^2.0.12"
1672
+ ansis "^3.3.2"
1673
+ cli-progress "^3.12.0"
1674
+ terminal-link "^3.0.0"
1675
+
1621
1676
  "@salesforce/source-deploy-retrieve@^12.14.0":
1622
1677
  version "12.14.0"
1623
1678
  resolved "https://registry.yarnpkg.com/@salesforce/source-deploy-retrieve/-/source-deploy-retrieve-12.14.0.tgz#04036f76301071b2188c92f70d77a138bc0d72cf"
@@ -2681,7 +2736,12 @@ ansi-styles@^6.0.0, ansi-styles@^6.1.0, ansi-styles@^6.2.1:
2681
2736
  resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-6.2.1.tgz#0e62320cf99c21afff3b3012192546aacbfb05c5"
2682
2737
  integrity sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==
2683
2738
 
2684
- ansis@^3.3.1, ansis@^3.3.2, ansis@^3.8.1, ansis@^3.9.0:
2739
+ ansis@^3.10.0:
2740
+ version "3.10.0"
2741
+ resolved "https://registry.yarnpkg.com/ansis/-/ansis-3.10.0.tgz#6886afb0f729b1fa865df6b710b97a9915b7d0d4"
2742
+ integrity sha512-hxDKLYT7hy3Y4sF3HxI926A3urzPxi73mZBB629m9bCVF+NyKNxbwCqqm+C/YrGPtxLwnl6d8/ZASCsz6SyvJA==
2743
+
2744
+ ansis@^3.3.1, ansis@^3.3.2, ansis@^3.8.1:
2685
2745
  version "3.9.0"
2686
2746
  resolved "https://registry.yarnpkg.com/ansis/-/ansis-3.9.0.tgz#d195c93c31a333916142ff8f0be4d7e3872f262e"
2687
2747
  integrity sha512-PcDrVe15ldexeZMsVLBAzBwF2KhZgaU0R+CHxH+x5kqn/pO+UWVBZJ+NEXMPpEOLUFeNsnNdoWYc2gwO+MVkDg==
@@ -7499,16 +7559,7 @@ stack-utils@^2.0.6:
7499
7559
  dependencies:
7500
7560
  escape-string-regexp "^2.0.0"
7501
7561
 
7502
- "string-width-cjs@npm:string-width@^4.2.0":
7503
- version "4.2.3"
7504
- resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010"
7505
- integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==
7506
- dependencies:
7507
- emoji-regex "^8.0.0"
7508
- is-fullwidth-code-point "^3.0.0"
7509
- strip-ansi "^6.0.1"
7510
-
7511
- string-width@^4.0.0, string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3:
7562
+ "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:
7512
7563
  version "4.2.3"
7513
7564
  resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010"
7514
7565
  integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==
@@ -7603,14 +7654,7 @@ string_decoder@~1.1.1:
7603
7654
  dependencies:
7604
7655
  safe-buffer "~5.1.0"
7605
7656
 
7606
- "strip-ansi-cjs@npm:strip-ansi@^6.0.1":
7607
- version "6.0.1"
7608
- resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9"
7609
- integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==
7610
- dependencies:
7611
- ansi-regex "^5.0.1"
7612
-
7613
- strip-ansi@6.0.1, strip-ansi@^6.0.0, strip-ansi@^6.0.1:
7657
+ "strip-ansi-cjs@npm:strip-ansi@^6.0.1", strip-ansi@6.0.1, strip-ansi@^6.0.0, strip-ansi@^6.0.1:
7614
7658
  version "6.0.1"
7615
7659
  resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9"
7616
7660
  integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==
@@ -8219,7 +8263,7 @@ workerpool@^6.5.1:
8219
8263
  resolved "https://registry.yarnpkg.com/workerpool/-/workerpool-6.5.1.tgz#060f73b39d0caf97c6db64da004cd01b4c099544"
8220
8264
  integrity sha512-Fs4dNYcsdpYSAfVxhnl1L5zTksjvOJxtC5hzMNl+1t9B8hTJTdKDyZ5ju7ztgPy+ft9tBFXoOlDNiOT9WUXZlA==
8221
8265
 
8222
- "wrap-ansi-cjs@npm:wrap-ansi@^7.0.0":
8266
+ "wrap-ansi-cjs@npm:wrap-ansi@^7.0.0", wrap-ansi@^7.0.0:
8223
8267
  version "7.0.0"
8224
8268
  resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43"
8225
8269
  integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==
@@ -8237,15 +8281,6 @@ wrap-ansi@^6.2.0:
8237
8281
  string-width "^4.1.0"
8238
8282
  strip-ansi "^6.0.0"
8239
8283
 
8240
- wrap-ansi@^7.0.0:
8241
- version "7.0.0"
8242
- resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43"
8243
- integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==
8244
- dependencies:
8245
- ansi-styles "^4.0.0"
8246
- string-width "^4.1.0"
8247
- strip-ansi "^6.0.0"
8248
-
8249
8284
  wrap-ansi@^8.1.0:
8250
8285
  version "8.1.0"
8251
8286
  resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-8.1.0.tgz#56dc22368ee570face1b49819975d9b9a5ead214"
@@ -1074,5 +1074,5 @@
1074
1074
  ]
1075
1075
  }
1076
1076
  },
1077
- "version": "1.14.0"
1077
+ "version": "1.14.1-dev.0"
1078
1078
  }
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.14.0",
4
+ "version": "1.14.1-dev.0",
5
5
  "author": "Salesforce",
6
6
  "bugs": "https://github.com/forcedotcom/cli/issues",
7
7
  "dependencies": {
@@ -9,7 +9,7 @@
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.2",
12
+ "@salesforce/agents": "0.9.5-dev.0",
13
13
  "@salesforce/core": "^8.8.0",
14
14
  "@salesforce/kit": "^3.2.1",
15
15
  "@salesforce/sf-plugins-core": "^12.1.0",
@@ -226,7 +226,7 @@
226
226
  "exports": "./lib/index.js",
227
227
  "type": "module",
228
228
  "sfdx": {
229
- "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-agent/1.14.0.crt",
230
- "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-agent/1.14.0.sig"
229
+ "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-agent/1.14.1-dev.0.crt",
230
+ "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-agent/1.14.1-dev.0.sig"
231
231
  }
232
232
  }
@@ -5,7 +5,7 @@
5
5
  "AgentTestCancelResult": {
6
6
  "type": "object",
7
7
  "properties": {
8
- "aiEvaluationId": {
8
+ "runId": {
9
9
  "type": "string"
10
10
  },
11
11
  "success": {
@@ -18,11 +18,8 @@
18
18
  "type": "string"
19
19
  }
20
20
  },
21
- "required": [
22
- "aiEvaluationId",
23
- "success"
24
- ],
21
+ "required": ["runId", "success"],
25
22
  "additionalProperties": false
26
23
  }
27
24
  }
28
- }
25
+ }
@@ -23,24 +23,14 @@
23
23
  "subjectName": {
24
24
  "type": "string"
25
25
  },
26
- "testSet": {
27
- "type": "object",
28
- "properties": {
29
- "name": {
30
- "type": "string"
31
- },
32
- "testCases": {
33
- "type": "array",
34
- "items": {
35
- "$ref": "#/definitions/TestCaseResult"
36
- }
37
- }
38
- },
39
- "required": ["name", "testCases"],
40
- "additionalProperties": false
26
+ "testCases": {
27
+ "type": "array",
28
+ "items": {
29
+ "$ref": "#/definitions/TestCaseResult"
30
+ }
41
31
  }
42
32
  },
43
- "required": ["status", "startTime", "subjectName", "testSet"],
33
+ "required": ["status", "startTime", "subjectName", "testCases"],
44
34
  "additionalProperties": false
45
35
  },
46
36
  "TestStatus": {
@@ -145,9 +135,12 @@
145
135
  ],
146
136
  "additionalProperties": false
147
137
  }
138
+ },
139
+ "testNumber": {
140
+ "type": "number"
148
141
  }
149
142
  },
150
- "required": ["status", "startTime", "inputs", "generatedData", "testResults"],
143
+ "required": ["status", "startTime", "inputs", "generatedData", "testResults", "testNumber"],
151
144
  "additionalProperties": false
152
145
  }
153
146
  }
@@ -5,18 +5,15 @@
5
5
  "AgentTestResumeResult": {
6
6
  "type": "object",
7
7
  "properties": {
8
- "aiEvaluationId": {
8
+ "runId": {
9
9
  "type": "string"
10
10
  },
11
11
  "status": {
12
12
  "type": "string"
13
13
  }
14
14
  },
15
- "required": [
16
- "aiEvaluationId",
17
- "status"
18
- ],
15
+ "required": ["runId", "status"],
19
16
  "additionalProperties": false
20
17
  }
21
18
  }
22
- }
19
+ }
@@ -5,18 +5,15 @@
5
5
  "AgentTestRunResult": {
6
6
  "type": "object",
7
7
  "properties": {
8
- "aiEvaluationId": {
8
+ "runId": {
9
9
  "type": "string"
10
10
  },
11
11
  "status": {
12
12
  "type": "string"
13
13
  }
14
14
  },
15
- "required": [
16
- "aiEvaluationId",
17
- "status"
18
- ],
15
+ "required": ["runId", "status"],
19
16
  "additionalProperties": false
20
17
  }
21
18
  }
22
- }
19
+ }