checkly 8.5.0 → 8.6.0-prerelease-e89e39a

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 (92) hide show
  1. package/dist/ai-context/skills-command/references/investigate-test-sessions.md +11 -8
  2. package/dist/commands/debug/parse-playwright-config.js +1 -1
  3. package/dist/commands/debug/parse-project.d.ts +1 -0
  4. package/dist/commands/debug/parse-project.js +62 -2
  5. package/dist/commands/debug/parse-project.js.map +1 -1
  6. package/dist/commands/import/plan.js +1 -1
  7. package/dist/commands/import/plan.js.map +1 -1
  8. package/dist/commands/pw-test.js +5 -2
  9. package/dist/commands/pw-test.js.map +1 -1
  10. package/dist/commands/test.js +5 -2
  11. package/dist/commands/test.js.map +1 -1
  12. package/dist/commands/trigger.js +5 -1
  13. package/dist/commands/trigger.js.map +1 -1
  14. package/dist/constants.d.ts +1 -0
  15. package/dist/constants.js +10 -0
  16. package/dist/constants.js.map +1 -1
  17. package/dist/constructs/agentic-check.js +1 -1
  18. package/dist/constructs/alert-channel-subscription.js +1 -1
  19. package/dist/constructs/alert-channel.js +1 -1
  20. package/dist/constructs/api-check-bundle.d.ts +1 -1
  21. package/dist/constructs/api-check.js +1 -1
  22. package/dist/constructs/browser-check-bundle.d.ts +1 -1
  23. package/dist/constructs/browser-check.js +1 -1
  24. package/dist/constructs/check-group-ref.js +1 -1
  25. package/dist/constructs/check-group-v1.js +1 -1
  26. package/dist/constructs/check.js +10 -3
  27. package/dist/constructs/check.js.map +1 -1
  28. package/dist/constructs/construct.js +1 -1
  29. package/dist/constructs/dashboard.js +1 -1
  30. package/dist/constructs/dns-monitor.js +1 -1
  31. package/dist/constructs/email-alert-channel.js +1 -1
  32. package/dist/constructs/heartbeat-monitor.js +1 -1
  33. package/dist/constructs/icmp-monitor.js +1 -1
  34. package/dist/constructs/index.d.ts +1 -0
  35. package/dist/constructs/index.js +1 -0
  36. package/dist/constructs/index.js.map +1 -1
  37. package/dist/constructs/internal/codegen/context.d.ts +1 -1
  38. package/dist/constructs/maintenance-window.js +1 -1
  39. package/dist/constructs/multi-step-check-bundle.d.ts +1 -1
  40. package/dist/constructs/multi-step-check.js +1 -1
  41. package/dist/constructs/opsgenie-alert-channel.js +1 -1
  42. package/dist/constructs/pagerduty-alert-channel.js +1 -1
  43. package/dist/constructs/phone-call-alert-channel.js +1 -1
  44. package/dist/constructs/playwright-check.js +2 -3
  45. package/dist/constructs/playwright-check.js.map +1 -1
  46. package/dist/constructs/private-location-check-assignment.js +1 -1
  47. package/dist/constructs/private-location-group-assignment.js +1 -1
  48. package/dist/constructs/private-location.js +1 -1
  49. package/dist/constructs/project-bundle.d.ts +1 -1
  50. package/dist/constructs/project.d.ts +1 -62
  51. package/dist/constructs/project.js +19 -198
  52. package/dist/constructs/project.js.map +1 -1
  53. package/dist/constructs/session.d.ts +67 -0
  54. package/dist/constructs/session.js +197 -0
  55. package/dist/constructs/session.js.map +1 -0
  56. package/dist/constructs/slack-alert-channel.js +1 -1
  57. package/dist/constructs/slack-app-alert-channel.js +1 -1
  58. package/dist/constructs/sms-alert-channel.js +1 -1
  59. package/dist/constructs/status-page-service.js +1 -1
  60. package/dist/constructs/status-page.js +1 -1
  61. package/dist/constructs/tcp-monitor.js +1 -1
  62. package/dist/constructs/url-monitor.js +1 -1
  63. package/dist/constructs/webhook-alert-channel.js +1 -1
  64. package/dist/helpers/onboarding/boilerplate.js +1 -3
  65. package/dist/helpers/onboarding/boilerplate.js.map +1 -1
  66. package/dist/helpers/test-helper.d.ts +1 -0
  67. package/dist/helpers/test-helper.js +9 -0
  68. package/dist/helpers/test-helper.js.map +1 -1
  69. package/dist/playwright/playwright-config-loader.js +1 -1
  70. package/dist/reporters/abstract-list.d.ts +3 -0
  71. package/dist/reporters/abstract-list.js +33 -1
  72. package/dist/reporters/abstract-list.js.map +1 -1
  73. package/dist/services/abstract-check-runner.js +10 -6
  74. package/dist/services/abstract-check-runner.js.map +1 -1
  75. package/dist/services/check-parser/package-files/loader.d.ts +1 -1
  76. package/dist/services/check-parser/package-files/loader.js +13 -5
  77. package/dist/services/check-parser/package-files/loader.js.map +1 -1
  78. package/dist/services/check-parser/package-files/package-manager.d.ts +45 -7
  79. package/dist/services/check-parser/package-files/package-manager.js +137 -64
  80. package/dist/services/check-parser/package-files/package-manager.js.map +1 -1
  81. package/dist/services/check-parser/parser.js +29 -17
  82. package/dist/services/check-parser/parser.js.map +1 -1
  83. package/dist/services/check-parser/playwright-config-expander.js +9 -5
  84. package/dist/services/check-parser/playwright-config-expander.js.map +1 -1
  85. package/dist/services/playwright-project-bundler.d.ts +17 -0
  86. package/dist/services/playwright-project-bundler.js +127 -0
  87. package/dist/services/playwright-project-bundler.js.map +1 -0
  88. package/dist/services/util.d.ts +0 -12
  89. package/dist/services/util.js +0 -102
  90. package/dist/services/util.js.map +1 -1
  91. package/oclif.manifest.json +166 -160
  92. package/package.json +4 -4
@@ -560,7 +560,7 @@
560
560
  },
561
561
  "detach": {
562
562
  "char": "d",
563
- "description": "Keep checks running in the cloud after cancelling the CLI process.",
563
+ "description": "Start checks in the cloud and exit after printing the test session ID.",
564
564
  "name": "detach",
565
565
  "allowNo": false,
566
566
  "type": "boolean"
@@ -853,7 +853,7 @@
853
853
  },
854
854
  "detach": {
855
855
  "char": "d",
856
- "description": "Keep checks running in the cloud after cancelling the CLI process.",
856
+ "description": "Start checks in the cloud and exit after printing the test session ID.",
857
857
  "name": "detach",
858
858
  "allowNo": false,
859
859
  "type": "boolean"
@@ -1016,7 +1016,7 @@
1016
1016
  },
1017
1017
  "detach": {
1018
1018
  "char": "d",
1019
- "description": "Keep checks running in the cloud after cancelling the CLI process.",
1019
+ "description": "Start checks in the cloud and exit after printing the test session ID.",
1020
1020
  "name": "detach",
1021
1021
  "allowNo": false,
1022
1022
  "type": "boolean"
@@ -1468,162 +1468,6 @@
1468
1468
  "logs.js"
1469
1469
  ]
1470
1470
  },
1471
- "debug:parse-file": {
1472
- "aliases": [],
1473
- "args": {},
1474
- "description": "Parses and outputs relevant details of a code file.",
1475
- "flags": {
1476
- "file": {
1477
- "name": "file",
1478
- "required": true,
1479
- "hasDynamicHelp": false,
1480
- "multiple": false,
1481
- "type": "option"
1482
- },
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": ",",
1497
- "hasDynamicHelp": false,
1498
- "multiple": true,
1499
- "type": "option"
1500
- },
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
- },
1610
- "hasDynamicHelp": false,
1611
- "hidden": true,
1612
- "hiddenAliases": [],
1613
- "id": "debug:parse-project",
1614
- "pluginAlias": "checkly",
1615
- "pluginName": "checkly",
1616
- "pluginType": "core",
1617
- "strict": true,
1618
- "enableJsonFlag": false,
1619
- "isESM": true,
1620
- "relativePath": [
1621
- "dist",
1622
- "commands",
1623
- "debug",
1624
- "parse-project.js"
1625
- ]
1626
- },
1627
1471
  "checks:get": {
1628
1472
  "aliases": [],
1629
1473
  "args": {
@@ -2956,6 +2800,168 @@
2956
2800
  "install.js"
2957
2801
  ]
2958
2802
  },
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
+ },
2959
2965
  "status-pages:get": {
2960
2966
  "aliases": [],
2961
2967
  "args": {
@@ -3266,5 +3272,5 @@
3266
3272
  ]
3267
3273
  }
3268
3274
  },
3269
- "version": "8.5.0"
3275
+ "version": "8.6.0-prerelease-e89e39a"
3270
3276
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "checkly",
3
- "version": "8.5.0",
3
+ "version": "8.6.0-prerelease-e89e39a",
4
4
  "type": "module",
5
5
  "description": "Checkly CLI",
6
6
  "main": "dist/index.js",
@@ -90,10 +90,10 @@
90
90
  },
91
91
  "homepage": "https://github.com/checkly/checkly-cli#readme",
92
92
  "dependencies": {
93
- "@oclif/core": "^4.11.3",
93
+ "@oclif/core": "^4.11.4",
94
94
  "@oclif/plugin-help": "^6.2.49",
95
95
  "@oclif/plugin-warn-if-update-available": "^3.1.65",
96
- "@typescript-eslint/typescript-estree": "^8.59.4",
96
+ "@typescript-eslint/typescript-estree": "^8.60.0",
97
97
  "acorn": "^8.16.0",
98
98
  "acorn-walk": "^8.3.5",
99
99
  "archiver": "^8.0.0",
@@ -139,7 +139,7 @@
139
139
  "config": "^4.4.1",
140
140
  "cross-env": "^10.1.0",
141
141
  "nanoid": "^5.1.11",
142
- "oclif": "^4.23.7",
142
+ "oclif": "^4.23.8",
143
143
  "rimraf": "^6.1.3",
144
144
  "tar": "^7.5.15",
145
145
  "typescript": "^6.0.3",