checkly 8.6.0 → 8.7.0-prerelease-633a7ed

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.
Files changed (62) hide show
  1. package/dist/ai-context/context.d.ts +2 -2
  2. package/dist/ai-context/context.js +1 -1
  3. package/dist/ai-context/context.js.map +1 -1
  4. package/dist/ai-context/skills-command/references/manage-account-members.md +26 -8
  5. package/dist/ai-context/skills-command/references/manage.md +1 -1
  6. package/dist/commands/checks/get.js +18 -17
  7. package/dist/commands/checks/get.js.map +1 -1
  8. package/dist/commands/members/delete.d.ts +18 -0
  9. package/dist/commands/members/delete.js +73 -0
  10. package/dist/commands/members/delete.js.map +1 -0
  11. package/dist/commands/members/update.d.ts +21 -0
  12. package/dist/commands/members/update.js +104 -0
  13. package/dist/commands/members/update.js.map +1 -0
  14. package/dist/commands/{account/members.d.ts → members.d.ts} +3 -2
  15. package/dist/commands/{account/members.js → members.js} +5 -4
  16. package/dist/commands/members.js.map +1 -0
  17. package/dist/commands/test-sessions/get.d.ts +3 -0
  18. package/dist/commands/test-sessions/get.js +45 -22
  19. package/dist/commands/test-sessions/get.js.map +1 -1
  20. package/dist/formatters/account-members.js +13 -14
  21. package/dist/formatters/account-members.js.map +1 -1
  22. package/dist/formatters/account-plan.js +19 -11
  23. package/dist/formatters/account-plan.js.map +1 -1
  24. package/dist/formatters/alert-channels.js +20 -22
  25. package/dist/formatters/alert-channels.js.map +1 -1
  26. package/dist/formatters/batch-stats.js +19 -17
  27. package/dist/formatters/batch-stats.js.map +1 -1
  28. package/dist/formatters/check-result-detail.d.ts +2 -1
  29. package/dist/formatters/check-result-detail.js +9 -1
  30. package/dist/formatters/check-result-detail.js.map +1 -1
  31. package/dist/formatters/checks.js +21 -14
  32. package/dist/formatters/checks.js.map +1 -1
  33. package/dist/formatters/incidents.js +7 -10
  34. package/dist/formatters/incidents.js.map +1 -1
  35. package/dist/formatters/render.d.ts +9 -0
  36. package/dist/formatters/render.js +13 -0
  37. package/dist/formatters/render.js.map +1 -1
  38. package/dist/formatters/status-pages.js +29 -36
  39. package/dist/formatters/status-pages.js.map +1 -1
  40. package/dist/formatters/test-sessions.js +32 -49
  41. package/dist/formatters/test-sessions.js.map +1 -1
  42. package/dist/helpers/account-member-target.d.ts +14 -0
  43. package/dist/helpers/account-member-target.js +37 -0
  44. package/dist/helpers/account-member-target.js.map +1 -0
  45. package/dist/rest/account-members.d.ts +6 -0
  46. package/dist/rest/account-members.js +7 -0
  47. package/dist/rest/account-members.js.map +1 -1
  48. package/dist/rest/test-sessions.d.ts +2 -0
  49. package/dist/rest/test-sessions.js +3 -0
  50. package/dist/rest/test-sessions.js.map +1 -1
  51. package/dist/services/check-parser/package-files/lockfile-package-version.d.ts +85 -0
  52. package/dist/services/check-parser/package-files/lockfile-package-version.js +317 -0
  53. package/dist/services/check-parser/package-files/lockfile-package-version.js.map +1 -0
  54. package/dist/services/check-parser/package-files/package-manager.d.ts +19 -0
  55. package/dist/services/check-parser/package-files/package-manager.js +52 -0
  56. package/dist/services/check-parser/package-files/package-manager.js.map +1 -1
  57. package/dist/services/playwright-project-bundler.d.ts +11 -0
  58. package/dist/services/playwright-project-bundler.js +120 -4
  59. package/dist/services/playwright-project-bundler.js.map +1 -1
  60. package/oclif.manifest.json +598 -434
  61. package/package.json +6 -2
  62. package/dist/commands/account/members.js.map +0 -1
@@ -407,6 +407,98 @@
407
407
  "logout.js"
408
408
  ]
409
409
  },
410
+ "members": {
411
+ "aliases": [],
412
+ "args": {},
413
+ "description": "List account members and pending invites.",
414
+ "flags": {
415
+ "search": {
416
+ "char": "s",
417
+ "description": "Search members and invites by name or email.",
418
+ "name": "search",
419
+ "hasDynamicHelp": false,
420
+ "multiple": false,
421
+ "type": "option"
422
+ },
423
+ "type": {
424
+ "description": "Filter by item type: member or invite.",
425
+ "name": "type",
426
+ "hasDynamicHelp": false,
427
+ "multiple": false,
428
+ "type": "option"
429
+ },
430
+ "role": {
431
+ "description": "Filter by member or invite role: owner, admin, read_write, read_run, read_only.",
432
+ "name": "role",
433
+ "hasDynamicHelp": false,
434
+ "multiple": false,
435
+ "type": "option"
436
+ },
437
+ "status": {
438
+ "description": "Filter by member or invite status: active, pending, expired.",
439
+ "name": "status",
440
+ "hasDynamicHelp": false,
441
+ "multiple": false,
442
+ "type": "option"
443
+ },
444
+ "limit": {
445
+ "char": "l",
446
+ "description": "Number of account members to return (1-100). Enables cursor pagination.",
447
+ "name": "limit",
448
+ "hasDynamicHelp": false,
449
+ "multiple": false,
450
+ "type": "option"
451
+ },
452
+ "next-id": {
453
+ "description": "Cursor for next page. Requires --limit.",
454
+ "name": "next-id",
455
+ "hasDynamicHelp": false,
456
+ "multiple": false,
457
+ "type": "option"
458
+ },
459
+ "hide-id": {
460
+ "description": "Hide member and invite IDs in table output.",
461
+ "name": "hide-id",
462
+ "allowNo": false,
463
+ "type": "boolean"
464
+ },
465
+ "output": {
466
+ "char": "o",
467
+ "description": "Output format.",
468
+ "name": "output",
469
+ "default": "table",
470
+ "hasDynamicHelp": false,
471
+ "multiple": false,
472
+ "options": [
473
+ "table",
474
+ "json",
475
+ "md"
476
+ ],
477
+ "type": "option"
478
+ }
479
+ },
480
+ "hasDynamicHelp": false,
481
+ "hidden": false,
482
+ "hiddenAliases": [
483
+ "account members"
484
+ ],
485
+ "id": "members",
486
+ "pluginAlias": "checkly",
487
+ "pluginName": "checkly",
488
+ "pluginType": "core",
489
+ "strict": true,
490
+ "enableJsonFlag": false,
491
+ "coreCommand": false,
492
+ "readOnly": true,
493
+ "destructive": false,
494
+ "idempotent": true,
495
+ "isESM": true,
496
+ "relativePath": [
497
+ "dist",
498
+ "commands",
499
+ "members.js"
500
+ ]
501
+ },
410
502
  "pw-test": {
411
503
  "aliases": [],
412
504
  "args": {},
@@ -1108,97 +1200,6 @@
1108
1200
  "whoami.js"
1109
1201
  ]
1110
1202
  },
1111
- "account:members": {
1112
- "aliases": [],
1113
- "args": {},
1114
- "description": "List account members and pending invites.",
1115
- "flags": {
1116
- "search": {
1117
- "char": "s",
1118
- "description": "Search members and invites by name or email.",
1119
- "name": "search",
1120
- "hasDynamicHelp": false,
1121
- "multiple": false,
1122
- "type": "option"
1123
- },
1124
- "type": {
1125
- "description": "Filter by item type: member or invite.",
1126
- "name": "type",
1127
- "hasDynamicHelp": false,
1128
- "multiple": false,
1129
- "type": "option"
1130
- },
1131
- "role": {
1132
- "description": "Filter by member or invite role: owner, admin, read_write, read_run, read_only.",
1133
- "name": "role",
1134
- "hasDynamicHelp": false,
1135
- "multiple": false,
1136
- "type": "option"
1137
- },
1138
- "status": {
1139
- "description": "Filter by member or invite status: active, pending, expired.",
1140
- "name": "status",
1141
- "hasDynamicHelp": false,
1142
- "multiple": false,
1143
- "type": "option"
1144
- },
1145
- "limit": {
1146
- "char": "l",
1147
- "description": "Number of account members to return (1-100). Enables cursor pagination.",
1148
- "name": "limit",
1149
- "hasDynamicHelp": false,
1150
- "multiple": false,
1151
- "type": "option"
1152
- },
1153
- "next-id": {
1154
- "description": "Cursor for next page. Requires --limit.",
1155
- "name": "next-id",
1156
- "hasDynamicHelp": false,
1157
- "multiple": false,
1158
- "type": "option"
1159
- },
1160
- "hide-id": {
1161
- "description": "Hide member and invite IDs in table output.",
1162
- "name": "hide-id",
1163
- "allowNo": false,
1164
- "type": "boolean"
1165
- },
1166
- "output": {
1167
- "char": "o",
1168
- "description": "Output format.",
1169
- "name": "output",
1170
- "default": "table",
1171
- "hasDynamicHelp": false,
1172
- "multiple": false,
1173
- "options": [
1174
- "table",
1175
- "json",
1176
- "md"
1177
- ],
1178
- "type": "option"
1179
- }
1180
- },
1181
- "hasDynamicHelp": false,
1182
- "hidden": false,
1183
- "hiddenAliases": [],
1184
- "id": "account:members",
1185
- "pluginAlias": "checkly",
1186
- "pluginName": "checkly",
1187
- "pluginType": "core",
1188
- "strict": true,
1189
- "enableJsonFlag": false,
1190
- "coreCommand": false,
1191
- "readOnly": true,
1192
- "destructive": false,
1193
- "idempotent": true,
1194
- "isESM": true,
1195
- "relativePath": [
1196
- "dist",
1197
- "commands",
1198
- "account",
1199
- "members.js"
1200
- ]
1201
- },
1202
1203
  "account:plan": {
1203
1204
  "aliases": [],
1204
1205
  "args": {
@@ -1468,199 +1469,37 @@
1468
1469
  "logs.js"
1469
1470
  ]
1470
1471
  },
1471
- "debug:parse-file": {
1472
+ "checks:get": {
1472
1473
  "aliases": [],
1473
- "args": {},
1474
- "description": "Parses and outputs relevant details of a code file.",
1474
+ "args": {
1475
+ "id": {
1476
+ "description": "The ID of the check to retrieve.",
1477
+ "name": "id",
1478
+ "required": true
1479
+ }
1480
+ },
1481
+ "description": "Get details of a specific check, including recent results. Use --result to drill into a specific result.",
1475
1482
  "flags": {
1476
- "file": {
1477
- "name": "file",
1478
- "required": true,
1483
+ "result": {
1484
+ "char": "r",
1485
+ "description": "Show details for a specific result ID.",
1486
+ "name": "result",
1479
1487
  "hasDynamicHelp": false,
1480
1488
  "multiple": false,
1481
1489
  "type": "option"
1482
1490
  },
1483
- "restricted": {
1484
- "name": "restricted",
1485
- "allowNo": false,
1486
- "type": "boolean"
1487
- },
1488
- "detect-workspace": {
1489
- "name": "detect-workspace",
1490
- "allowNo": true,
1491
- "type": "boolean"
1492
- },
1493
- "supported-module": {
1494
- "name": "supported-module",
1495
- "default": [],
1496
- "delimiter": ",",
1491
+ "error-group": {
1492
+ "char": "e",
1493
+ "description": "Show full details for a specific error group ID.",
1494
+ "name": "error-group",
1497
1495
  "hasDynamicHelp": false,
1498
- "multiple": true,
1496
+ "multiple": false,
1499
1497
  "type": "option"
1500
1498
  },
1501
- "check-unsupported-modules": {
1502
- "name": "check-unsupported-modules",
1503
- "allowNo": false,
1504
- "type": "boolean"
1505
- }
1506
- },
1507
- "hasDynamicHelp": false,
1508
- "hidden": true,
1509
- "hiddenAliases": [],
1510
- "id": "debug:parse-file",
1511
- "pluginAlias": "checkly",
1512
- "pluginName": "checkly",
1513
- "pluginType": "core",
1514
- "strict": true,
1515
- "enableJsonFlag": false,
1516
- "isESM": true,
1517
- "relativePath": [
1518
- "dist",
1519
- "commands",
1520
- "debug",
1521
- "parse-file.js"
1522
- ]
1523
- },
1524
- "debug:parse-playwright-config": {
1525
- "aliases": [],
1526
- "args": {},
1527
- "description": "Parses and outputs relevant details of a Playwright configuration file.",
1528
- "flags": {
1529
- "file": {
1530
- "env": "CHECKLY_PLAYWRIGHT_CONFIG_FILE",
1531
- "name": "file",
1532
- "default": "/home/runner/work/checkly-cli/checkly-cli/packages/cli/playwright.config.ts",
1533
- "hasDynamicHelp": false,
1534
- "multiple": false,
1535
- "type": "option"
1536
- }
1537
- },
1538
- "hasDynamicHelp": false,
1539
- "hidden": true,
1540
- "hiddenAliases": [],
1541
- "id": "debug:parse-playwright-config",
1542
- "pluginAlias": "checkly",
1543
- "pluginName": "checkly",
1544
- "pluginType": "core",
1545
- "strict": true,
1546
- "enableJsonFlag": false,
1547
- "isESM": true,
1548
- "relativePath": [
1549
- "dist",
1550
- "commands",
1551
- "debug",
1552
- "parse-playwright-config.js"
1553
- ]
1554
- },
1555
- "debug:parse-project": {
1556
- "aliases": [],
1557
- "args": {},
1558
- "description": "Parses a Checkly project.",
1559
- "flags": {
1560
- "config": {
1561
- "char": "c",
1562
- "description": "The Checkly CLI configuration file. If not passed, uses the checkly.config.ts|js file in the current directory.",
1563
- "env": "CHECKLY_CONFIG_FILE",
1564
- "name": "config",
1565
- "hasDynamicHelp": false,
1566
- "multiple": false,
1567
- "type": "option"
1568
- },
1569
- "default-runtime": {
1570
- "description": "The default runtime to use if none is specified.",
1571
- "env": "CHECKLY_DEFAULT_RUNTIME",
1572
- "name": "default-runtime",
1573
- "default": "2025.04",
1574
- "hasDynamicHelp": false,
1575
- "multiple": false,
1576
- "type": "option"
1577
- },
1578
- "verify-runtime-dependencies": {
1579
- "description": "[default: true] Return an error if checks import dependencies that are not supported by the selected runtime.",
1580
- "env": "CHECKLY_VERIFY_RUNTIME_DEPENDENCIES",
1581
- "name": "verify-runtime-dependencies",
1582
- "allowNo": true,
1583
- "type": "boolean"
1584
- },
1585
- "emulate-pw-test": {
1586
- "description": "Pretend to be the pw-test command. Affects validation.",
1587
- "env": "CHECKLY_EMULATE_PW_TEST",
1588
- "name": "emulate-pw-test",
1589
- "allowNo": false,
1590
- "type": "boolean"
1591
- },
1592
- "include": {
1593
- "description": "File patterns to include when bundling the test project (e.g., \"utils/**/*\").",
1594
- "name": "include",
1595
- "default": [],
1596
- "hasDynamicHelp": false,
1597
- "multiple": true,
1598
- "type": "option"
1599
- },
1600
- "inject-private-location": {
1601
- "description": "Pretend that the given private location exists (e.g., \"70c4ded4-2229-45a7-acf4-6b1eb56a86df:my-external-private-location\").",
1602
- "name": "inject-private-location",
1603
- "default": [],
1604
- "delimiter": ",",
1605
- "hasDynamicHelp": false,
1606
- "multiple": true,
1607
- "type": "option"
1608
- },
1609
- "stats": {
1610
- "description": "Print parse/bundle/synthesize timing and heap usage to stderr. Run with NODE_OPTIONS=--expose-gc to also report the retained (post-GC) heap.",
1611
- "name": "stats",
1612
- "allowNo": false,
1613
- "type": "boolean"
1614
- }
1615
- },
1616
- "hasDynamicHelp": false,
1617
- "hidden": true,
1618
- "hiddenAliases": [],
1619
- "id": "debug:parse-project",
1620
- "pluginAlias": "checkly",
1621
- "pluginName": "checkly",
1622
- "pluginType": "core",
1623
- "strict": true,
1624
- "enableJsonFlag": false,
1625
- "isESM": true,
1626
- "relativePath": [
1627
- "dist",
1628
- "commands",
1629
- "debug",
1630
- "parse-project.js"
1631
- ]
1632
- },
1633
- "checks:get": {
1634
- "aliases": [],
1635
- "args": {
1636
- "id": {
1637
- "description": "The ID of the check to retrieve.",
1638
- "name": "id",
1639
- "required": true
1640
- }
1641
- },
1642
- "description": "Get details of a specific check, including recent results. Use --result to drill into a specific result.",
1643
- "flags": {
1644
- "result": {
1645
- "char": "r",
1646
- "description": "Show details for a specific result ID.",
1647
- "name": "result",
1648
- "hasDynamicHelp": false,
1649
- "multiple": false,
1650
- "type": "option"
1651
- },
1652
- "error-group": {
1653
- "char": "e",
1654
- "description": "Show full details for a specific error group ID.",
1655
- "name": "error-group",
1656
- "hasDynamicHelp": false,
1657
- "multiple": false,
1658
- "type": "option"
1659
- },
1660
- "results-limit": {
1661
- "description": "Number of recent results to show.",
1662
- "name": "results-limit",
1663
- "default": 10,
1499
+ "results-limit": {
1500
+ "description": "Number of recent results to show.",
1501
+ "name": "results-limit",
1502
+ "default": 10,
1664
1503
  "hasDynamicHelp": false,
1665
1504
  "multiple": false,
1666
1505
  "type": "option"
@@ -1928,44 +1767,398 @@
1928
1767
  "multiple": false,
1929
1768
  "type": "option"
1930
1769
  },
1931
- "type": {
1932
- "description": "Filter by check type.",
1933
- "name": "type",
1770
+ "type": {
1771
+ "description": "Filter by check type.",
1772
+ "name": "type",
1773
+ "hasDynamicHelp": false,
1774
+ "multiple": false,
1775
+ "options": [
1776
+ "API",
1777
+ "BROWSER",
1778
+ "HEARTBEAT",
1779
+ "MULTI_STEP",
1780
+ "PLAYWRIGHT",
1781
+ "TCP",
1782
+ "ICMP",
1783
+ "DNS",
1784
+ "URL",
1785
+ "AGENTIC"
1786
+ ],
1787
+ "type": "option"
1788
+ },
1789
+ "output": {
1790
+ "char": "o",
1791
+ "description": "Output format.",
1792
+ "name": "output",
1793
+ "default": "table",
1794
+ "hasDynamicHelp": false,
1795
+ "multiple": false,
1796
+ "options": [
1797
+ "table",
1798
+ "json",
1799
+ "md"
1800
+ ],
1801
+ "type": "option"
1802
+ }
1803
+ },
1804
+ "hasDynamicHelp": false,
1805
+ "hidden": false,
1806
+ "hiddenAliases": [],
1807
+ "id": "checks:stats",
1808
+ "pluginAlias": "checkly",
1809
+ "pluginName": "checkly",
1810
+ "pluginType": "core",
1811
+ "strict": false,
1812
+ "enableJsonFlag": false,
1813
+ "coreCommand": false,
1814
+ "readOnly": true,
1815
+ "destructive": false,
1816
+ "idempotent": true,
1817
+ "isESM": true,
1818
+ "relativePath": [
1819
+ "dist",
1820
+ "commands",
1821
+ "checks",
1822
+ "stats.js"
1823
+ ]
1824
+ },
1825
+ "debug:parse-file": {
1826
+ "aliases": [],
1827
+ "args": {},
1828
+ "description": "Parses and outputs relevant details of a code file.",
1829
+ "flags": {
1830
+ "file": {
1831
+ "name": "file",
1832
+ "required": true,
1833
+ "hasDynamicHelp": false,
1834
+ "multiple": false,
1835
+ "type": "option"
1836
+ },
1837
+ "restricted": {
1838
+ "name": "restricted",
1839
+ "allowNo": false,
1840
+ "type": "boolean"
1841
+ },
1842
+ "detect-workspace": {
1843
+ "name": "detect-workspace",
1844
+ "allowNo": true,
1845
+ "type": "boolean"
1846
+ },
1847
+ "supported-module": {
1848
+ "name": "supported-module",
1849
+ "default": [],
1850
+ "delimiter": ",",
1851
+ "hasDynamicHelp": false,
1852
+ "multiple": true,
1853
+ "type": "option"
1854
+ },
1855
+ "check-unsupported-modules": {
1856
+ "name": "check-unsupported-modules",
1857
+ "allowNo": false,
1858
+ "type": "boolean"
1859
+ }
1860
+ },
1861
+ "hasDynamicHelp": false,
1862
+ "hidden": true,
1863
+ "hiddenAliases": [],
1864
+ "id": "debug:parse-file",
1865
+ "pluginAlias": "checkly",
1866
+ "pluginName": "checkly",
1867
+ "pluginType": "core",
1868
+ "strict": true,
1869
+ "enableJsonFlag": false,
1870
+ "isESM": true,
1871
+ "relativePath": [
1872
+ "dist",
1873
+ "commands",
1874
+ "debug",
1875
+ "parse-file.js"
1876
+ ]
1877
+ },
1878
+ "debug:parse-playwright-config": {
1879
+ "aliases": [],
1880
+ "args": {},
1881
+ "description": "Parses and outputs relevant details of a Playwright configuration file.",
1882
+ "flags": {
1883
+ "file": {
1884
+ "env": "CHECKLY_PLAYWRIGHT_CONFIG_FILE",
1885
+ "name": "file",
1886
+ "default": "/home/runner/work/checkly-cli/checkly-cli/packages/cli/playwright.config.ts",
1887
+ "hasDynamicHelp": false,
1888
+ "multiple": false,
1889
+ "type": "option"
1890
+ }
1891
+ },
1892
+ "hasDynamicHelp": false,
1893
+ "hidden": true,
1894
+ "hiddenAliases": [],
1895
+ "id": "debug:parse-playwright-config",
1896
+ "pluginAlias": "checkly",
1897
+ "pluginName": "checkly",
1898
+ "pluginType": "core",
1899
+ "strict": true,
1900
+ "enableJsonFlag": false,
1901
+ "isESM": true,
1902
+ "relativePath": [
1903
+ "dist",
1904
+ "commands",
1905
+ "debug",
1906
+ "parse-playwright-config.js"
1907
+ ]
1908
+ },
1909
+ "debug:parse-project": {
1910
+ "aliases": [],
1911
+ "args": {},
1912
+ "description": "Parses a Checkly project.",
1913
+ "flags": {
1914
+ "config": {
1915
+ "char": "c",
1916
+ "description": "The Checkly CLI configuration file. If not passed, uses the checkly.config.ts|js file in the current directory.",
1917
+ "env": "CHECKLY_CONFIG_FILE",
1918
+ "name": "config",
1919
+ "hasDynamicHelp": false,
1920
+ "multiple": false,
1921
+ "type": "option"
1922
+ },
1923
+ "default-runtime": {
1924
+ "description": "The default runtime to use if none is specified.",
1925
+ "env": "CHECKLY_DEFAULT_RUNTIME",
1926
+ "name": "default-runtime",
1927
+ "default": "2025.04",
1928
+ "hasDynamicHelp": false,
1929
+ "multiple": false,
1930
+ "type": "option"
1931
+ },
1932
+ "verify-runtime-dependencies": {
1933
+ "description": "[default: true] Return an error if checks import dependencies that are not supported by the selected runtime.",
1934
+ "env": "CHECKLY_VERIFY_RUNTIME_DEPENDENCIES",
1935
+ "name": "verify-runtime-dependencies",
1936
+ "allowNo": true,
1937
+ "type": "boolean"
1938
+ },
1939
+ "emulate-pw-test": {
1940
+ "description": "Pretend to be the pw-test command. Affects validation.",
1941
+ "env": "CHECKLY_EMULATE_PW_TEST",
1942
+ "name": "emulate-pw-test",
1943
+ "allowNo": false,
1944
+ "type": "boolean"
1945
+ },
1946
+ "include": {
1947
+ "description": "File patterns to include when bundling the test project (e.g., \"utils/**/*\").",
1948
+ "name": "include",
1949
+ "default": [],
1950
+ "hasDynamicHelp": false,
1951
+ "multiple": true,
1952
+ "type": "option"
1953
+ },
1954
+ "inject-private-location": {
1955
+ "description": "Pretend that the given private location exists (e.g., \"70c4ded4-2229-45a7-acf4-6b1eb56a86df:my-external-private-location\").",
1956
+ "name": "inject-private-location",
1957
+ "default": [],
1958
+ "delimiter": ",",
1959
+ "hasDynamicHelp": false,
1960
+ "multiple": true,
1961
+ "type": "option"
1962
+ },
1963
+ "stats": {
1964
+ "description": "Print parse/bundle/synthesize timing and heap usage to stderr. Run with NODE_OPTIONS=--expose-gc to also report the retained (post-GC) heap.",
1965
+ "name": "stats",
1966
+ "allowNo": false,
1967
+ "type": "boolean"
1968
+ }
1969
+ },
1970
+ "hasDynamicHelp": false,
1971
+ "hidden": true,
1972
+ "hiddenAliases": [],
1973
+ "id": "debug:parse-project",
1974
+ "pluginAlias": "checkly",
1975
+ "pluginName": "checkly",
1976
+ "pluginType": "core",
1977
+ "strict": true,
1978
+ "enableJsonFlag": false,
1979
+ "isESM": true,
1980
+ "relativePath": [
1981
+ "dist",
1982
+ "commands",
1983
+ "debug",
1984
+ "parse-project.js"
1985
+ ]
1986
+ },
1987
+ "import:apply": {
1988
+ "aliases": [],
1989
+ "args": {},
1990
+ "description": "Attach imported resources into your project in a pending state.",
1991
+ "flags": {
1992
+ "config": {
1993
+ "char": "c",
1994
+ "description": "The Checkly CLI configuration file. If not passed, uses the checkly.config.ts|js file in the current directory.",
1995
+ "name": "config",
1996
+ "hasDynamicHelp": false,
1997
+ "multiple": false,
1998
+ "type": "option"
1999
+ }
2000
+ },
2001
+ "hasDynamicHelp": false,
2002
+ "hidden": false,
2003
+ "hiddenAliases": [],
2004
+ "id": "import:apply",
2005
+ "pluginAlias": "checkly",
2006
+ "pluginName": "checkly",
2007
+ "pluginType": "core",
2008
+ "strict": true,
2009
+ "enableJsonFlag": false,
2010
+ "coreCommand": false,
2011
+ "readOnly": false,
2012
+ "destructive": false,
2013
+ "idempotent": false,
2014
+ "isESM": true,
2015
+ "relativePath": [
2016
+ "dist",
2017
+ "commands",
2018
+ "import",
2019
+ "apply.js"
2020
+ ]
2021
+ },
2022
+ "import:cancel": {
2023
+ "aliases": [],
2024
+ "args": {},
2025
+ "description": "Cancels an ongoing import plan that has not been committed yet.",
2026
+ "flags": {
2027
+ "config": {
2028
+ "char": "c",
2029
+ "description": "The Checkly CLI configuration file. If not passed, uses the checkly.config.ts|js file in the current directory.",
2030
+ "name": "config",
2031
+ "hasDynamicHelp": false,
2032
+ "multiple": false,
2033
+ "type": "option"
2034
+ },
2035
+ "all": {
2036
+ "description": "Cancel all plans.",
2037
+ "name": "all",
2038
+ "allowNo": false,
2039
+ "type": "boolean"
2040
+ }
2041
+ },
2042
+ "hasDynamicHelp": false,
2043
+ "hidden": false,
2044
+ "hiddenAliases": [],
2045
+ "id": "import:cancel",
2046
+ "pluginAlias": "checkly",
2047
+ "pluginName": "checkly",
2048
+ "pluginType": "core",
2049
+ "strict": true,
2050
+ "enableJsonFlag": false,
2051
+ "coreCommand": false,
2052
+ "readOnly": false,
2053
+ "destructive": false,
2054
+ "idempotent": true,
2055
+ "isESM": true,
2056
+ "relativePath": [
2057
+ "dist",
2058
+ "commands",
2059
+ "import",
2060
+ "cancel.js"
2061
+ ]
2062
+ },
2063
+ "import:commit": {
2064
+ "aliases": [],
2065
+ "args": {},
2066
+ "description": "Permanently commit imported resources into your project.",
2067
+ "flags": {
2068
+ "config": {
2069
+ "char": "c",
2070
+ "description": "The Checkly CLI configuration file. If not passed, uses the checkly.config.ts|js file in the current directory.",
2071
+ "name": "config",
2072
+ "hasDynamicHelp": false,
2073
+ "multiple": false,
2074
+ "type": "option"
2075
+ }
2076
+ },
2077
+ "hasDynamicHelp": false,
2078
+ "hidden": false,
2079
+ "hiddenAliases": [],
2080
+ "id": "import:commit",
2081
+ "pluginAlias": "checkly",
2082
+ "pluginName": "checkly",
2083
+ "pluginType": "core",
2084
+ "strict": true,
2085
+ "enableJsonFlag": false,
2086
+ "coreCommand": false,
2087
+ "readOnly": false,
2088
+ "destructive": false,
2089
+ "idempotent": false,
2090
+ "isESM": true,
2091
+ "relativePath": [
2092
+ "dist",
2093
+ "commands",
2094
+ "import",
2095
+ "commit.js"
2096
+ ]
2097
+ },
2098
+ "import:plan": {
2099
+ "aliases": [],
2100
+ "args": {
2101
+ "resource": {
2102
+ "description": "A specific resource to import.",
2103
+ "name": "resource",
2104
+ "required": false
2105
+ }
2106
+ },
2107
+ "description": "Import existing resources from your Checkly account to your project.\n\nBy default, all resources that can be imported will be imported. However, you\nmay fine-tune the process by including or excluding any combination of\nresources.\n\nThe import process consists of three steps:\n\n1. Creating a plan, which generates the appropriate code for your resources\n2. Applying the plan, which links your resources to the generated code\n3. Committing the plan, which finalizes the import session\n\nCREATING A PLAN\n\nCreating a plan carries no risk as no concrete links to your Checkly resources\nare made at this point. However, if you accidentally deploy the generated code\nbefore applying the plan, you will end up with duplicate resources and will\nnot be able to complete the import session without first deleting the\nduplicates.\n\nFor the curious, you may also preview the generated code with the '--preview'\noption. No plan will be created, allowing you to leisurely inspect the\ngenerated code. However keep in mind that you will need to create a plan to\nactually import any resources, at which point the code will be generated\nagain.\n\nYou may cancel any plan you've created without affecting any of the\nunderlying resources.\n\nAPPLYING A PLAN\n\nApplying a plan links your existing resources to the generated code. You\nshould carefully review the generated code to make sure that it contains the\nresources you expect before applying a plan. After a plan has been applied,\nany deployments of those resources will irreversibly modify the underlying\nCheckly resources. However, as a fail safe against concurrent use, any\ndeployments not including the imported resources will not delete the\nunderlying resources (or the links to the resources). This means that there\nis no need to block deployments while working on an import session.\n\nEven after you've applied a plan, you may still cancel it, which will unlink\nthe underlying resources from your project once more. However, keep in mind\nthat any changes to the resources that you've already deployed cannot be\nundone.\n\nCOMMITTING A PLAN\n\nFinally, committing a plan removes all fail safes and permanently links the\nimported resources to your project. Any resources you remove from your code\nwill result in the underlying resources also getting irrevocably deleted on\nthe next deploy. You should only commit your plan once you are sure that all\nfuture deployments include the imported resources.",
2108
+ "flags": {
2109
+ "config": {
2110
+ "char": "c",
2111
+ "description": "The Checkly CLI configuration file. If not passed, uses the checkly.config.ts|js file in the current directory.",
2112
+ "name": "config",
2113
+ "hasDynamicHelp": false,
2114
+ "multiple": false,
2115
+ "type": "option"
2116
+ },
2117
+ "root": {
2118
+ "description": "The root folder in which to write generated code files.",
2119
+ "name": "root",
2120
+ "default": "__checks__",
2121
+ "hasDynamicHelp": false,
2122
+ "multiple": false,
2123
+ "type": "option"
2124
+ },
2125
+ "preview": {
2126
+ "description": "Preview generated code without creating an actual import plan.",
2127
+ "name": "preview",
2128
+ "allowNo": false,
2129
+ "type": "boolean"
2130
+ },
2131
+ "debug-import-plan": {
2132
+ "description": "Output the import plan to a file.",
2133
+ "hidden": true,
2134
+ "name": "debug-import-plan",
2135
+ "allowNo": false,
2136
+ "type": "boolean"
2137
+ },
2138
+ "debug-import-plan-input-file": {
2139
+ "description": "A file to load an import plan from.",
2140
+ "hidden": true,
2141
+ "name": "debug-import-plan-input-file",
1934
2142
  "hasDynamicHelp": false,
1935
2143
  "multiple": false,
1936
- "options": [
1937
- "API",
1938
- "BROWSER",
1939
- "HEARTBEAT",
1940
- "MULTI_STEP",
1941
- "PLAYWRIGHT",
1942
- "TCP",
1943
- "ICMP",
1944
- "DNS",
1945
- "URL",
1946
- "AGENTIC"
1947
- ],
1948
2144
  "type": "option"
1949
2145
  },
1950
- "output": {
1951
- "char": "o",
1952
- "description": "Output format.",
1953
- "name": "output",
1954
- "default": "table",
2146
+ "debug-import-plan-output-file": {
2147
+ "description": "The file to output the import plan to.",
2148
+ "hidden": true,
2149
+ "name": "debug-import-plan-output-file",
2150
+ "default": "./debug-import-plan.json",
1955
2151
  "hasDynamicHelp": false,
1956
2152
  "multiple": false,
1957
- "options": [
1958
- "table",
1959
- "json",
1960
- "md"
1961
- ],
1962
2153
  "type": "option"
1963
2154
  }
1964
2155
  },
1965
2156
  "hasDynamicHelp": false,
1966
2157
  "hidden": false,
1967
- "hiddenAliases": [],
1968
- "id": "checks:stats",
2158
+ "hiddenAliases": [
2159
+ "import"
2160
+ ],
2161
+ "id": "import:plan",
1969
2162
  "pluginAlias": "checkly",
1970
2163
  "pluginName": "checkly",
1971
2164
  "pluginType": "core",
@@ -1979,8 +2172,8 @@
1979
2172
  "relativePath": [
1980
2173
  "dist",
1981
2174
  "commands",
1982
- "checks",
1983
- "stats.js"
2175
+ "import",
2176
+ "plan.js"
1984
2177
  ]
1985
2178
  },
1986
2179
  "env:add": {
@@ -2200,65 +2393,55 @@
2200
2393
  "update.js"
2201
2394
  ]
2202
2395
  },
2203
- "import:apply": {
2396
+ "members:delete": {
2204
2397
  "aliases": [],
2205
- "args": {},
2206
- "description": "Attach imported resources into your project in a pending state.",
2207
- "flags": {
2208
- "config": {
2209
- "char": "c",
2210
- "description": "The Checkly CLI configuration file. If not passed, uses the checkly.config.ts|js file in the current directory.",
2211
- "name": "config",
2212
- "hasDynamicHelp": false,
2213
- "multiple": false,
2214
- "type": "option"
2398
+ "args": {
2399
+ "member": {
2400
+ "description": "The account member email or user ID.",
2401
+ "name": "member",
2402
+ "required": true
2215
2403
  }
2216
2404
  },
2217
- "hasDynamicHelp": false,
2218
- "hidden": false,
2219
- "hiddenAliases": [],
2220
- "id": "import:apply",
2221
- "pluginAlias": "checkly",
2222
- "pluginName": "checkly",
2223
- "pluginType": "core",
2224
- "strict": true,
2225
- "enableJsonFlag": false,
2226
- "coreCommand": false,
2227
- "readOnly": false,
2228
- "destructive": false,
2229
- "idempotent": false,
2230
- "isESM": true,
2231
- "relativePath": [
2232
- "dist",
2233
- "commands",
2234
- "import",
2235
- "apply.js"
2236
- ]
2237
- },
2238
- "import:cancel": {
2239
- "aliases": [],
2240
- "args": {},
2241
- "description": "Cancels an ongoing import plan that has not been committed yet.",
2405
+ "description": "Delete an account member.",
2242
2406
  "flags": {
2243
- "config": {
2244
- "char": "c",
2245
- "description": "The Checkly CLI configuration file. If not passed, uses the checkly.config.ts|js file in the current directory.",
2246
- "name": "config",
2247
- "hasDynamicHelp": false,
2248
- "multiple": false,
2249
- "type": "option"
2407
+ "email": {
2408
+ "description": "Treat the member argument as an email address.",
2409
+ "exclusive": [
2410
+ "id"
2411
+ ],
2412
+ "name": "email",
2413
+ "allowNo": false,
2414
+ "type": "boolean"
2250
2415
  },
2251
- "all": {
2252
- "description": "Cancel all plans.",
2253
- "name": "all",
2416
+ "id": {
2417
+ "description": "Treat the member argument as a user ID.",
2418
+ "exclusive": [
2419
+ "email"
2420
+ ],
2421
+ "name": "id",
2422
+ "allowNo": false,
2423
+ "type": "boolean"
2424
+ },
2425
+ "force": {
2426
+ "char": "f",
2427
+ "description": "Skip confirmation prompt.",
2428
+ "name": "force",
2429
+ "allowNo": false,
2430
+ "type": "boolean"
2431
+ },
2432
+ "dry-run": {
2433
+ "description": "Preview what would happen without executing.",
2434
+ "name": "dry-run",
2254
2435
  "allowNo": false,
2255
2436
  "type": "boolean"
2256
2437
  }
2257
2438
  },
2258
2439
  "hasDynamicHelp": false,
2259
2440
  "hidden": false,
2260
- "hiddenAliases": [],
2261
- "id": "import:cancel",
2441
+ "hiddenAliases": [
2442
+ "account members delete"
2443
+ ],
2444
+ "id": "members:delete",
2262
2445
  "pluginAlias": "checkly",
2263
2446
  "pluginName": "checkly",
2264
2447
  "pluginType": "core",
@@ -2266,130 +2449,103 @@
2266
2449
  "enableJsonFlag": false,
2267
2450
  "coreCommand": false,
2268
2451
  "readOnly": false,
2269
- "destructive": false,
2452
+ "destructive": true,
2270
2453
  "idempotent": true,
2271
2454
  "isESM": true,
2272
2455
  "relativePath": [
2273
2456
  "dist",
2274
2457
  "commands",
2275
- "import",
2276
- "cancel.js"
2277
- ]
2278
- },
2279
- "import:commit": {
2280
- "aliases": [],
2281
- "args": {},
2282
- "description": "Permanently commit imported resources into your project.",
2283
- "flags": {
2284
- "config": {
2285
- "char": "c",
2286
- "description": "The Checkly CLI configuration file. If not passed, uses the checkly.config.ts|js file in the current directory.",
2287
- "name": "config",
2288
- "hasDynamicHelp": false,
2289
- "multiple": false,
2290
- "type": "option"
2291
- }
2292
- },
2293
- "hasDynamicHelp": false,
2294
- "hidden": false,
2295
- "hiddenAliases": [],
2296
- "id": "import:commit",
2297
- "pluginAlias": "checkly",
2298
- "pluginName": "checkly",
2299
- "pluginType": "core",
2300
- "strict": true,
2301
- "enableJsonFlag": false,
2302
- "coreCommand": false,
2303
- "readOnly": false,
2304
- "destructive": false,
2305
- "idempotent": false,
2306
- "isESM": true,
2307
- "relativePath": [
2308
- "dist",
2309
- "commands",
2310
- "import",
2311
- "commit.js"
2458
+ "members",
2459
+ "delete.js"
2312
2460
  ]
2313
2461
  },
2314
- "import:plan": {
2462
+ "members:update": {
2315
2463
  "aliases": [],
2316
2464
  "args": {
2317
- "resource": {
2318
- "description": "A specific resource to import.",
2319
- "name": "resource",
2320
- "required": false
2465
+ "member": {
2466
+ "description": "The account member email or user ID.",
2467
+ "name": "member",
2468
+ "required": true
2321
2469
  }
2322
2470
  },
2323
- "description": "Import existing resources from your Checkly account to your project.\n\nBy default, all resources that can be imported will be imported. However, you\nmay fine-tune the process by including or excluding any combination of\nresources.\n\nThe import process consists of three steps:\n\n1. Creating a plan, which generates the appropriate code for your resources\n2. Applying the plan, which links your resources to the generated code\n3. Committing the plan, which finalizes the import session\n\nCREATING A PLAN\n\nCreating a plan carries no risk as no concrete links to your Checkly resources\nare made at this point. However, if you accidentally deploy the generated code\nbefore applying the plan, you will end up with duplicate resources and will\nnot be able to complete the import session without first deleting the\nduplicates.\n\nFor the curious, you may also preview the generated code with the '--preview'\noption. No plan will be created, allowing you to leisurely inspect the\ngenerated code. However keep in mind that you will need to create a plan to\nactually import any resources, at which point the code will be generated\nagain.\n\nYou may cancel any plan you've created without affecting any of the\nunderlying resources.\n\nAPPLYING A PLAN\n\nApplying a plan links your existing resources to the generated code. You\nshould carefully review the generated code to make sure that it contains the\nresources you expect before applying a plan. After a plan has been applied,\nany deployments of those resources will irreversibly modify the underlying\nCheckly resources. However, as a fail safe against concurrent use, any\ndeployments not including the imported resources will not delete the\nunderlying resources (or the links to the resources). This means that there\nis no need to block deployments while working on an import session.\n\nEven after you've applied a plan, you may still cancel it, which will unlink\nthe underlying resources from your project once more. However, keep in mind\nthat any changes to the resources that you've already deployed cannot be\nundone.\n\nCOMMITTING A PLAN\n\nFinally, committing a plan removes all fail safes and permanently links the\nimported resources to your project. Any resources you remove from your code\nwill result in the underlying resources also getting irrevocably deleted on\nthe next deploy. You should only commit your plan once you are sure that all\nfuture deployments include the imported resources.",
2471
+ "description": "Update an account member role.",
2324
2472
  "flags": {
2325
- "config": {
2326
- "char": "c",
2327
- "description": "The Checkly CLI configuration file. If not passed, uses the checkly.config.ts|js file in the current directory.",
2328
- "name": "config",
2329
- "hasDynamicHelp": false,
2330
- "multiple": false,
2331
- "type": "option"
2332
- },
2333
- "root": {
2334
- "description": "The root folder in which to write generated code files.",
2335
- "name": "root",
2336
- "default": "__checks__",
2473
+ "role": {
2474
+ "char": "r",
2475
+ "description": "New member role: admin, read_write, read_run, read_only.",
2476
+ "name": "role",
2477
+ "required": true,
2337
2478
  "hasDynamicHelp": false,
2338
2479
  "multiple": false,
2339
2480
  "type": "option"
2340
2481
  },
2341
- "preview": {
2342
- "description": "Preview generated code without creating an actual import plan.",
2343
- "name": "preview",
2482
+ "email": {
2483
+ "description": "Treat the member argument as an email address.",
2484
+ "exclusive": [
2485
+ "id"
2486
+ ],
2487
+ "name": "email",
2344
2488
  "allowNo": false,
2345
2489
  "type": "boolean"
2346
2490
  },
2347
- "debug-import-plan": {
2348
- "description": "Output the import plan to a file.",
2349
- "hidden": true,
2350
- "name": "debug-import-plan",
2491
+ "id": {
2492
+ "description": "Treat the member argument as a user ID.",
2493
+ "exclusive": [
2494
+ "email"
2495
+ ],
2496
+ "name": "id",
2351
2497
  "allowNo": false,
2352
2498
  "type": "boolean"
2353
2499
  },
2354
- "debug-import-plan-input-file": {
2355
- "description": "A file to load an import plan from.",
2356
- "hidden": true,
2357
- "name": "debug-import-plan-input-file",
2500
+ "output": {
2501
+ "char": "o",
2502
+ "description": "Output format.",
2503
+ "name": "output",
2504
+ "default": "table",
2358
2505
  "hasDynamicHelp": false,
2359
2506
  "multiple": false,
2507
+ "options": [
2508
+ "table",
2509
+ "json",
2510
+ "md"
2511
+ ],
2360
2512
  "type": "option"
2361
2513
  },
2362
- "debug-import-plan-output-file": {
2363
- "description": "The file to output the import plan to.",
2364
- "hidden": true,
2365
- "name": "debug-import-plan-output-file",
2366
- "default": "./debug-import-plan.json",
2367
- "hasDynamicHelp": false,
2368
- "multiple": false,
2369
- "type": "option"
2514
+ "force": {
2515
+ "char": "f",
2516
+ "description": "Skip confirmation prompt.",
2517
+ "name": "force",
2518
+ "allowNo": false,
2519
+ "type": "boolean"
2520
+ },
2521
+ "dry-run": {
2522
+ "description": "Preview what would happen without executing.",
2523
+ "name": "dry-run",
2524
+ "allowNo": false,
2525
+ "type": "boolean"
2370
2526
  }
2371
2527
  },
2372
2528
  "hasDynamicHelp": false,
2373
2529
  "hidden": false,
2374
2530
  "hiddenAliases": [
2375
- "import"
2531
+ "account members update"
2376
2532
  ],
2377
- "id": "import:plan",
2533
+ "id": "members:update",
2378
2534
  "pluginAlias": "checkly",
2379
2535
  "pluginName": "checkly",
2380
2536
  "pluginType": "core",
2381
- "strict": false,
2537
+ "strict": true,
2382
2538
  "enableJsonFlag": false,
2383
2539
  "coreCommand": false,
2384
- "readOnly": true,
2540
+ "readOnly": false,
2385
2541
  "destructive": false,
2386
2542
  "idempotent": true,
2387
2543
  "isESM": true,
2388
2544
  "relativePath": [
2389
2545
  "dist",
2390
2546
  "commands",
2391
- "import",
2392
- "plan.js"
2547
+ "members",
2548
+ "update.js"
2393
2549
  ]
2394
2550
  },
2395
2551
  "incidents:create": {
@@ -3083,6 +3239,14 @@
3083
3239
  },
3084
3240
  "description": "Get details of a recorded test session, including result error groups for RCA.",
3085
3241
  "flags": {
3242
+ "result": {
3243
+ "char": "r",
3244
+ "description": "Show details for a specific test session result ID.",
3245
+ "name": "result",
3246
+ "hasDynamicHelp": false,
3247
+ "multiple": false,
3248
+ "type": "option"
3249
+ },
3086
3250
  "error-group": {
3087
3251
  "description": "Show details for a test session error group ID from this session.",
3088
3252
  "name": "error-group",
@@ -3272,5 +3436,5 @@
3272
3436
  ]
3273
3437
  }
3274
3438
  },
3275
- "version": "8.6.0"
3439
+ "version": "8.7.0-prerelease-633a7ed"
3276
3440
  }