checkly 8.6.0-prerelease-e89e39a → 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 +594 -430
  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": {
@@ -1821,76 +1822,430 @@
1821
1822
  "stats.js"
1822
1823
  ]
1823
1824
  },
1824
- "env:add": {
1825
+ "debug:parse-file": {
1825
1826
  "aliases": [],
1826
- "args": {
1827
- "key": {
1828
- "description": "Environment variable key.",
1829
- "name": "key",
1830
- "required": true
1831
- },
1832
- "value": {
1833
- "description": "Environment variable value.",
1834
- "name": "value",
1835
- "required": false
1836
- }
1837
- },
1838
- "description": "Add environment variable via \"checkly env add <key> <value>\".",
1827
+ "args": {},
1828
+ "description": "Parses and outputs relevant details of a code file.",
1839
1829
  "flags": {
1840
- "locked": {
1841
- "char": "l",
1842
- "description": "Indicate that the environment variable will be locked.",
1843
- "name": "locked",
1830
+ "file": {
1831
+ "name": "file",
1832
+ "required": true,
1833
+ "hasDynamicHelp": false,
1834
+ "multiple": false,
1835
+ "type": "option"
1836
+ },
1837
+ "restricted": {
1838
+ "name": "restricted",
1844
1839
  "allowNo": false,
1845
1840
  "type": "boolean"
1846
1841
  },
1847
- "secret": {
1848
- "char": "s",
1849
- "description": "Indicate that the environment variable will be secret.",
1850
- "exclusive": [
1851
- "locked"
1852
- ],
1853
- "name": "secret",
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",
1854
1857
  "allowNo": false,
1855
1858
  "type": "boolean"
1856
1859
  }
1857
1860
  },
1858
1861
  "hasDynamicHelp": false,
1859
- "hidden": false,
1862
+ "hidden": true,
1860
1863
  "hiddenAliases": [],
1861
- "id": "env:add",
1864
+ "id": "debug:parse-file",
1862
1865
  "pluginAlias": "checkly",
1863
1866
  "pluginName": "checkly",
1864
1867
  "pluginType": "core",
1865
1868
  "strict": true,
1866
1869
  "enableJsonFlag": false,
1867
- "coreCommand": false,
1868
- "readOnly": false,
1869
- "destructive": false,
1870
- "idempotent": false,
1871
1870
  "isESM": true,
1872
1871
  "relativePath": [
1873
1872
  "dist",
1874
1873
  "commands",
1875
- "env",
1876
- "add.js"
1874
+ "debug",
1875
+ "parse-file.js"
1877
1876
  ]
1878
1877
  },
1879
- "env:ls": {
1878
+ "debug:parse-playwright-config": {
1880
1879
  "aliases": [],
1881
1880
  "args": {},
1882
- "description": "List all Checkly environment variables via \"checkly env ls\".",
1883
- "flags": {},
1884
- "hasDynamicHelp": false,
1885
- "hidden": false,
1886
- "hiddenAliases": [],
1887
- "id": "env:ls",
1888
- "pluginAlias": "checkly",
1889
- "pluginName": "checkly",
1890
- "pluginType": "core",
1891
- "strict": true,
1892
- "enableJsonFlag": false,
1893
- "coreCommand": false,
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",
2142
+ "hasDynamicHelp": false,
2143
+ "multiple": false,
2144
+ "type": "option"
2145
+ },
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",
2151
+ "hasDynamicHelp": false,
2152
+ "multiple": false,
2153
+ "type": "option"
2154
+ }
2155
+ },
2156
+ "hasDynamicHelp": false,
2157
+ "hidden": false,
2158
+ "hiddenAliases": [
2159
+ "import"
2160
+ ],
2161
+ "id": "import:plan",
2162
+ "pluginAlias": "checkly",
2163
+ "pluginName": "checkly",
2164
+ "pluginType": "core",
2165
+ "strict": false,
2166
+ "enableJsonFlag": false,
2167
+ "coreCommand": false,
2168
+ "readOnly": true,
2169
+ "destructive": false,
2170
+ "idempotent": true,
2171
+ "isESM": true,
2172
+ "relativePath": [
2173
+ "dist",
2174
+ "commands",
2175
+ "import",
2176
+ "plan.js"
2177
+ ]
2178
+ },
2179
+ "env:add": {
2180
+ "aliases": [],
2181
+ "args": {
2182
+ "key": {
2183
+ "description": "Environment variable key.",
2184
+ "name": "key",
2185
+ "required": true
2186
+ },
2187
+ "value": {
2188
+ "description": "Environment variable value.",
2189
+ "name": "value",
2190
+ "required": false
2191
+ }
2192
+ },
2193
+ "description": "Add environment variable via \"checkly env add <key> <value>\".",
2194
+ "flags": {
2195
+ "locked": {
2196
+ "char": "l",
2197
+ "description": "Indicate that the environment variable will be locked.",
2198
+ "name": "locked",
2199
+ "allowNo": false,
2200
+ "type": "boolean"
2201
+ },
2202
+ "secret": {
2203
+ "char": "s",
2204
+ "description": "Indicate that the environment variable will be secret.",
2205
+ "exclusive": [
2206
+ "locked"
2207
+ ],
2208
+ "name": "secret",
2209
+ "allowNo": false,
2210
+ "type": "boolean"
2211
+ }
2212
+ },
2213
+ "hasDynamicHelp": false,
2214
+ "hidden": false,
2215
+ "hiddenAliases": [],
2216
+ "id": "env:add",
2217
+ "pluginAlias": "checkly",
2218
+ "pluginName": "checkly",
2219
+ "pluginType": "core",
2220
+ "strict": true,
2221
+ "enableJsonFlag": false,
2222
+ "coreCommand": false,
2223
+ "readOnly": false,
2224
+ "destructive": false,
2225
+ "idempotent": false,
2226
+ "isESM": true,
2227
+ "relativePath": [
2228
+ "dist",
2229
+ "commands",
2230
+ "env",
2231
+ "add.js"
2232
+ ]
2233
+ },
2234
+ "env:ls": {
2235
+ "aliases": [],
2236
+ "args": {},
2237
+ "description": "List all Checkly environment variables via \"checkly env ls\".",
2238
+ "flags": {},
2239
+ "hasDynamicHelp": false,
2240
+ "hidden": false,
2241
+ "hiddenAliases": [],
2242
+ "id": "env:ls",
2243
+ "pluginAlias": "checkly",
2244
+ "pluginName": "checkly",
2245
+ "pluginType": "core",
2246
+ "strict": true,
2247
+ "enableJsonFlag": false,
2248
+ "coreCommand": false,
1894
2249
  "readOnly": true,
1895
2250
  "destructive": false,
1896
2251
  "idempotent": true,
@@ -2038,100 +2393,55 @@
2038
2393
  "update.js"
2039
2394
  ]
2040
2395
  },
2041
- "import:apply": {
2396
+ "members:delete": {
2042
2397
  "aliases": [],
2043
- "args": {},
2044
- "description": "Attach imported resources into your project in a pending state.",
2045
- "flags": {
2046
- "config": {
2047
- "char": "c",
2048
- "description": "The Checkly CLI configuration file. If not passed, uses the checkly.config.ts|js file in the current directory.",
2049
- "name": "config",
2050
- "hasDynamicHelp": false,
2051
- "multiple": false,
2052
- "type": "option"
2398
+ "args": {
2399
+ "member": {
2400
+ "description": "The account member email or user ID.",
2401
+ "name": "member",
2402
+ "required": true
2053
2403
  }
2054
2404
  },
2055
- "hasDynamicHelp": false,
2056
- "hidden": false,
2057
- "hiddenAliases": [],
2058
- "id": "import:apply",
2059
- "pluginAlias": "checkly",
2060
- "pluginName": "checkly",
2061
- "pluginType": "core",
2062
- "strict": true,
2063
- "enableJsonFlag": false,
2064
- "coreCommand": false,
2065
- "readOnly": false,
2066
- "destructive": false,
2067
- "idempotent": false,
2068
- "isESM": true,
2069
- "relativePath": [
2070
- "dist",
2071
- "commands",
2072
- "import",
2073
- "apply.js"
2074
- ]
2075
- },
2076
- "import:cancel": {
2077
- "aliases": [],
2078
- "args": {},
2079
- "description": "Cancels an ongoing import plan that has not been committed yet.",
2405
+ "description": "Delete an account member.",
2080
2406
  "flags": {
2081
- "config": {
2082
- "char": "c",
2083
- "description": "The Checkly CLI configuration file. If not passed, uses the checkly.config.ts|js file in the current directory.",
2084
- "name": "config",
2085
- "hasDynamicHelp": false,
2086
- "multiple": false,
2087
- "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"
2088
2415
  },
2089
- "all": {
2090
- "description": "Cancel all plans.",
2091
- "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",
2092
2435
  "allowNo": false,
2093
2436
  "type": "boolean"
2094
2437
  }
2095
2438
  },
2096
2439
  "hasDynamicHelp": false,
2097
2440
  "hidden": false,
2098
- "hiddenAliases": [],
2099
- "id": "import:cancel",
2100
- "pluginAlias": "checkly",
2101
- "pluginName": "checkly",
2102
- "pluginType": "core",
2103
- "strict": true,
2104
- "enableJsonFlag": false,
2105
- "coreCommand": false,
2106
- "readOnly": false,
2107
- "destructive": false,
2108
- "idempotent": true,
2109
- "isESM": true,
2110
- "relativePath": [
2111
- "dist",
2112
- "commands",
2113
- "import",
2114
- "cancel.js"
2115
- ]
2116
- },
2117
- "import:commit": {
2118
- "aliases": [],
2119
- "args": {},
2120
- "description": "Permanently commit imported resources into your project.",
2121
- "flags": {
2122
- "config": {
2123
- "char": "c",
2124
- "description": "The Checkly CLI configuration file. If not passed, uses the checkly.config.ts|js file in the current directory.",
2125
- "name": "config",
2126
- "hasDynamicHelp": false,
2127
- "multiple": false,
2128
- "type": "option"
2129
- }
2130
- },
2131
- "hasDynamicHelp": false,
2132
- "hidden": false,
2133
- "hiddenAliases": [],
2134
- "id": "import:commit",
2441
+ "hiddenAliases": [
2442
+ "account members delete"
2443
+ ],
2444
+ "id": "members:delete",
2135
2445
  "pluginAlias": "checkly",
2136
2446
  "pluginName": "checkly",
2137
2447
  "pluginType": "core",
@@ -2139,95 +2449,103 @@
2139
2449
  "enableJsonFlag": false,
2140
2450
  "coreCommand": false,
2141
2451
  "readOnly": false,
2142
- "destructive": false,
2143
- "idempotent": false,
2452
+ "destructive": true,
2453
+ "idempotent": true,
2144
2454
  "isESM": true,
2145
2455
  "relativePath": [
2146
2456
  "dist",
2147
2457
  "commands",
2148
- "import",
2149
- "commit.js"
2458
+ "members",
2459
+ "delete.js"
2150
2460
  ]
2151
2461
  },
2152
- "import:plan": {
2462
+ "members:update": {
2153
2463
  "aliases": [],
2154
2464
  "args": {
2155
- "resource": {
2156
- "description": "A specific resource to import.",
2157
- "name": "resource",
2158
- "required": false
2465
+ "member": {
2466
+ "description": "The account member email or user ID.",
2467
+ "name": "member",
2468
+ "required": true
2159
2469
  }
2160
2470
  },
2161
- "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.",
2162
2472
  "flags": {
2163
- "config": {
2164
- "char": "c",
2165
- "description": "The Checkly CLI configuration file. If not passed, uses the checkly.config.ts|js file in the current directory.",
2166
- "name": "config",
2167
- "hasDynamicHelp": false,
2168
- "multiple": false,
2169
- "type": "option"
2170
- },
2171
- "root": {
2172
- "description": "The root folder in which to write generated code files.",
2173
- "name": "root",
2174
- "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,
2175
2478
  "hasDynamicHelp": false,
2176
2479
  "multiple": false,
2177
2480
  "type": "option"
2178
2481
  },
2179
- "preview": {
2180
- "description": "Preview generated code without creating an actual import plan.",
2181
- "name": "preview",
2482
+ "email": {
2483
+ "description": "Treat the member argument as an email address.",
2484
+ "exclusive": [
2485
+ "id"
2486
+ ],
2487
+ "name": "email",
2182
2488
  "allowNo": false,
2183
2489
  "type": "boolean"
2184
2490
  },
2185
- "debug-import-plan": {
2186
- "description": "Output the import plan to a file.",
2187
- "hidden": true,
2188
- "name": "debug-import-plan",
2491
+ "id": {
2492
+ "description": "Treat the member argument as a user ID.",
2493
+ "exclusive": [
2494
+ "email"
2495
+ ],
2496
+ "name": "id",
2189
2497
  "allowNo": false,
2190
2498
  "type": "boolean"
2191
2499
  },
2192
- "debug-import-plan-input-file": {
2193
- "description": "A file to load an import plan from.",
2194
- "hidden": true,
2195
- "name": "debug-import-plan-input-file",
2500
+ "output": {
2501
+ "char": "o",
2502
+ "description": "Output format.",
2503
+ "name": "output",
2504
+ "default": "table",
2196
2505
  "hasDynamicHelp": false,
2197
2506
  "multiple": false,
2507
+ "options": [
2508
+ "table",
2509
+ "json",
2510
+ "md"
2511
+ ],
2198
2512
  "type": "option"
2199
2513
  },
2200
- "debug-import-plan-output-file": {
2201
- "description": "The file to output the import plan to.",
2202
- "hidden": true,
2203
- "name": "debug-import-plan-output-file",
2204
- "default": "./debug-import-plan.json",
2205
- "hasDynamicHelp": false,
2206
- "multiple": false,
2207
- "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"
2208
2526
  }
2209
2527
  },
2210
2528
  "hasDynamicHelp": false,
2211
2529
  "hidden": false,
2212
2530
  "hiddenAliases": [
2213
- "import"
2531
+ "account members update"
2214
2532
  ],
2215
- "id": "import:plan",
2533
+ "id": "members:update",
2216
2534
  "pluginAlias": "checkly",
2217
2535
  "pluginName": "checkly",
2218
2536
  "pluginType": "core",
2219
- "strict": false,
2537
+ "strict": true,
2220
2538
  "enableJsonFlag": false,
2221
2539
  "coreCommand": false,
2222
- "readOnly": true,
2540
+ "readOnly": false,
2223
2541
  "destructive": false,
2224
2542
  "idempotent": true,
2225
2543
  "isESM": true,
2226
2544
  "relativePath": [
2227
2545
  "dist",
2228
2546
  "commands",
2229
- "import",
2230
- "plan.js"
2547
+ "members",
2548
+ "update.js"
2231
2549
  ]
2232
2550
  },
2233
2551
  "incidents:create": {
@@ -2800,168 +3118,6 @@
2800
3118
  "install.js"
2801
3119
  ]
2802
3120
  },
2803
- "debug:parse-file": {
2804
- "aliases": [],
2805
- "args": {},
2806
- "description": "Parses and outputs relevant details of a code file.",
2807
- "flags": {
2808
- "file": {
2809
- "name": "file",
2810
- "required": true,
2811
- "hasDynamicHelp": false,
2812
- "multiple": false,
2813
- "type": "option"
2814
- },
2815
- "restricted": {
2816
- "name": "restricted",
2817
- "allowNo": false,
2818
- "type": "boolean"
2819
- },
2820
- "detect-workspace": {
2821
- "name": "detect-workspace",
2822
- "allowNo": true,
2823
- "type": "boolean"
2824
- },
2825
- "supported-module": {
2826
- "name": "supported-module",
2827
- "default": [],
2828
- "delimiter": ",",
2829
- "hasDynamicHelp": false,
2830
- "multiple": true,
2831
- "type": "option"
2832
- },
2833
- "check-unsupported-modules": {
2834
- "name": "check-unsupported-modules",
2835
- "allowNo": false,
2836
- "type": "boolean"
2837
- }
2838
- },
2839
- "hasDynamicHelp": false,
2840
- "hidden": true,
2841
- "hiddenAliases": [],
2842
- "id": "debug:parse-file",
2843
- "pluginAlias": "checkly",
2844
- "pluginName": "checkly",
2845
- "pluginType": "core",
2846
- "strict": true,
2847
- "enableJsonFlag": false,
2848
- "isESM": true,
2849
- "relativePath": [
2850
- "dist",
2851
- "commands",
2852
- "debug",
2853
- "parse-file.js"
2854
- ]
2855
- },
2856
- "debug:parse-playwright-config": {
2857
- "aliases": [],
2858
- "args": {},
2859
- "description": "Parses and outputs relevant details of a Playwright configuration file.",
2860
- "flags": {
2861
- "file": {
2862
- "env": "CHECKLY_PLAYWRIGHT_CONFIG_FILE",
2863
- "name": "file",
2864
- "default": "/home/runner/work/checkly-cli/checkly-cli/packages/cli/playwright.config.ts",
2865
- "hasDynamicHelp": false,
2866
- "multiple": false,
2867
- "type": "option"
2868
- }
2869
- },
2870
- "hasDynamicHelp": false,
2871
- "hidden": true,
2872
- "hiddenAliases": [],
2873
- "id": "debug:parse-playwright-config",
2874
- "pluginAlias": "checkly",
2875
- "pluginName": "checkly",
2876
- "pluginType": "core",
2877
- "strict": true,
2878
- "enableJsonFlag": false,
2879
- "isESM": true,
2880
- "relativePath": [
2881
- "dist",
2882
- "commands",
2883
- "debug",
2884
- "parse-playwright-config.js"
2885
- ]
2886
- },
2887
- "debug:parse-project": {
2888
- "aliases": [],
2889
- "args": {},
2890
- "description": "Parses a Checkly project.",
2891
- "flags": {
2892
- "config": {
2893
- "char": "c",
2894
- "description": "The Checkly CLI configuration file. If not passed, uses the checkly.config.ts|js file in the current directory.",
2895
- "env": "CHECKLY_CONFIG_FILE",
2896
- "name": "config",
2897
- "hasDynamicHelp": false,
2898
- "multiple": false,
2899
- "type": "option"
2900
- },
2901
- "default-runtime": {
2902
- "description": "The default runtime to use if none is specified.",
2903
- "env": "CHECKLY_DEFAULT_RUNTIME",
2904
- "name": "default-runtime",
2905
- "default": "2025.04",
2906
- "hasDynamicHelp": false,
2907
- "multiple": false,
2908
- "type": "option"
2909
- },
2910
- "verify-runtime-dependencies": {
2911
- "description": "[default: true] Return an error if checks import dependencies that are not supported by the selected runtime.",
2912
- "env": "CHECKLY_VERIFY_RUNTIME_DEPENDENCIES",
2913
- "name": "verify-runtime-dependencies",
2914
- "allowNo": true,
2915
- "type": "boolean"
2916
- },
2917
- "emulate-pw-test": {
2918
- "description": "Pretend to be the pw-test command. Affects validation.",
2919
- "env": "CHECKLY_EMULATE_PW_TEST",
2920
- "name": "emulate-pw-test",
2921
- "allowNo": false,
2922
- "type": "boolean"
2923
- },
2924
- "include": {
2925
- "description": "File patterns to include when bundling the test project (e.g., \"utils/**/*\").",
2926
- "name": "include",
2927
- "default": [],
2928
- "hasDynamicHelp": false,
2929
- "multiple": true,
2930
- "type": "option"
2931
- },
2932
- "inject-private-location": {
2933
- "description": "Pretend that the given private location exists (e.g., \"70c4ded4-2229-45a7-acf4-6b1eb56a86df:my-external-private-location\").",
2934
- "name": "inject-private-location",
2935
- "default": [],
2936
- "delimiter": ",",
2937
- "hasDynamicHelp": false,
2938
- "multiple": true,
2939
- "type": "option"
2940
- },
2941
- "stats": {
2942
- "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.",
2943
- "name": "stats",
2944
- "allowNo": false,
2945
- "type": "boolean"
2946
- }
2947
- },
2948
- "hasDynamicHelp": false,
2949
- "hidden": true,
2950
- "hiddenAliases": [],
2951
- "id": "debug:parse-project",
2952
- "pluginAlias": "checkly",
2953
- "pluginName": "checkly",
2954
- "pluginType": "core",
2955
- "strict": true,
2956
- "enableJsonFlag": false,
2957
- "isESM": true,
2958
- "relativePath": [
2959
- "dist",
2960
- "commands",
2961
- "debug",
2962
- "parse-project.js"
2963
- ]
2964
- },
2965
3121
  "status-pages:get": {
2966
3122
  "aliases": [],
2967
3123
  "args": {
@@ -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-prerelease-e89e39a"
3439
+ "version": "8.7.0-prerelease-633a7ed"
3276
3440
  }