checkly 8.19.0 → 8.20.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (71) hide show
  1. package/dist/ai-context/context.d.ts +0 -6
  2. package/dist/ai-context/context.js +0 -9
  3. package/dist/ai-context/context.js.map +1 -1
  4. package/dist/ai-context/public-skills/checkly/SKILL.md +2 -2
  5. package/dist/ai-context/skills-command/references/configure-playwright-checks.md +1 -0
  6. package/dist/ai-context/skills-command/references/configure.md +1 -4
  7. package/dist/ai-context/skills-command/references/initialize.md +1 -1
  8. package/dist/ai-context/skills-command/references/investigate-test-sessions.md +1 -1
  9. package/dist/ai-context/skills-command/references/manage-plan.md +1 -1
  10. package/dist/ai-context/skills-command/references/manage.md +3 -3
  11. package/dist/commands/account/plan.d.ts +13 -0
  12. package/dist/commands/account/plan.js +3 -2
  13. package/dist/commands/account/plan.js.map +1 -1
  14. package/dist/commands/debug/parse-project.js +3 -1
  15. package/dist/commands/debug/parse-project.js.map +1 -1
  16. package/dist/commands/deploy.js +3 -1
  17. package/dist/commands/deploy.js.map +1 -1
  18. package/dist/commands/pw-test.js +3 -1
  19. package/dist/commands/pw-test.js.map +1 -1
  20. package/dist/commands/test.js +3 -1
  21. package/dist/commands/test.js.map +1 -1
  22. package/dist/formatters/account-plan.d.ts +2 -2
  23. package/dist/formatters/account-plan.js +6 -6
  24. package/dist/formatters/account-plan.js.map +1 -1
  25. package/dist/rest/account-members.d.ts +3 -3
  26. package/dist/rest/accounts.d.ts +2 -2
  27. package/dist/rest/api.d.ts +1 -1
  28. package/dist/rest/batch-analytics.d.ts +1 -1
  29. package/dist/rest/cancel.d.ts +6 -2
  30. package/dist/rest/check-groups.d.ts +1 -1
  31. package/dist/rest/check-results.d.ts +2 -2
  32. package/dist/rest/check-statuses.d.ts +2 -2
  33. package/dist/rest/checkly-storage.d.ts +5 -3
  34. package/dist/rest/checks.d.ts +3 -3
  35. package/dist/rest/entitlements.d.ts +1 -1
  36. package/dist/rest/environment-variables.d.ts +14 -5
  37. package/dist/rest/error-groups.d.ts +2 -2
  38. package/dist/rest/heartbeat-checks.d.ts +1 -1
  39. package/dist/rest/locations.d.ts +1 -1
  40. package/dist/rest/private-locations.d.ts +1 -1
  41. package/dist/rest/projects.d.ts +11 -11
  42. package/dist/rest/rca.d.ts +3 -3
  43. package/dist/rest/test-session-error-groups.d.ts +1 -1
  44. package/dist/rest/test-sessions.d.ts +9 -9
  45. package/dist/rest/users.d.ts +1 -1
  46. package/dist/services/check-parser/bundler.d.ts +2 -1
  47. package/dist/services/check-parser/bundler.js +112 -17
  48. package/dist/services/check-parser/bundler.js.map +1 -1
  49. package/dist/services/check-parser/cache-hash.d.ts +29 -1
  50. package/dist/services/check-parser/cache-hash.js +30 -1
  51. package/dist/services/check-parser/cache-hash.js.map +1 -1
  52. package/dist/services/check-parser/parser.d.ts +18 -0
  53. package/dist/services/check-parser/parser.js +9 -2
  54. package/dist/services/check-parser/parser.js.map +1 -1
  55. package/dist/services/check-parser/playwright-config-expander.d.ts +10 -1
  56. package/dist/services/check-parser/playwright-config-expander.js +87 -8
  57. package/dist/services/check-parser/playwright-config-expander.js.map +1 -1
  58. package/dist/services/checkly-config-loader.d.ts +28 -0
  59. package/dist/services/checkly-config-loader.js +10 -0
  60. package/dist/services/checkly-config-loader.js.map +1 -1
  61. package/dist/services/playwright-config.d.ts +14 -0
  62. package/dist/services/playwright-config.js +62 -9
  63. package/dist/services/playwright-config.js.map +1 -1
  64. package/dist/services/playwright-project-bundler.js +42 -5
  65. package/dist/services/playwright-project-bundler.js.map +1 -1
  66. package/dist/services/symlink-resolver.d.ts +56 -0
  67. package/dist/services/symlink-resolver.js +860 -0
  68. package/dist/services/symlink-resolver.js.map +1 -0
  69. package/oclif.manifest.json +447 -447
  70. package/package.json +14 -14
  71. package/dist/ai-context/skills-command/references/configure-agentic-checks.md +0 -65
@@ -1693,6 +1693,168 @@
1693
1693
  "list.js"
1694
1694
  ]
1695
1695
  },
1696
+ "debug:parse-file": {
1697
+ "aliases": [],
1698
+ "args": {},
1699
+ "description": "Parses and outputs relevant details of a code file.",
1700
+ "flags": {
1701
+ "file": {
1702
+ "name": "file",
1703
+ "required": true,
1704
+ "hasDynamicHelp": false,
1705
+ "multiple": false,
1706
+ "type": "option"
1707
+ },
1708
+ "restricted": {
1709
+ "name": "restricted",
1710
+ "allowNo": false,
1711
+ "type": "boolean"
1712
+ },
1713
+ "detect-workspace": {
1714
+ "name": "detect-workspace",
1715
+ "allowNo": true,
1716
+ "type": "boolean"
1717
+ },
1718
+ "supported-module": {
1719
+ "name": "supported-module",
1720
+ "default": [],
1721
+ "delimiter": ",",
1722
+ "hasDynamicHelp": false,
1723
+ "multiple": true,
1724
+ "type": "option"
1725
+ },
1726
+ "check-unsupported-modules": {
1727
+ "name": "check-unsupported-modules",
1728
+ "allowNo": false,
1729
+ "type": "boolean"
1730
+ }
1731
+ },
1732
+ "hasDynamicHelp": false,
1733
+ "hidden": true,
1734
+ "hiddenAliases": [],
1735
+ "id": "debug:parse-file",
1736
+ "pluginAlias": "checkly",
1737
+ "pluginName": "checkly",
1738
+ "pluginType": "core",
1739
+ "strict": true,
1740
+ "enableJsonFlag": false,
1741
+ "isESM": true,
1742
+ "relativePath": [
1743
+ "dist",
1744
+ "commands",
1745
+ "debug",
1746
+ "parse-file.js"
1747
+ ]
1748
+ },
1749
+ "debug:parse-playwright-config": {
1750
+ "aliases": [],
1751
+ "args": {},
1752
+ "description": "Parses and outputs relevant details of a Playwright configuration file.",
1753
+ "flags": {
1754
+ "file": {
1755
+ "env": "CHECKLY_PLAYWRIGHT_CONFIG_FILE",
1756
+ "name": "file",
1757
+ "default": "/home/runner/work/checkly-cli/checkly-cli/packages/cli/playwright.config.ts",
1758
+ "hasDynamicHelp": false,
1759
+ "multiple": false,
1760
+ "type": "option"
1761
+ }
1762
+ },
1763
+ "hasDynamicHelp": false,
1764
+ "hidden": true,
1765
+ "hiddenAliases": [],
1766
+ "id": "debug:parse-playwright-config",
1767
+ "pluginAlias": "checkly",
1768
+ "pluginName": "checkly",
1769
+ "pluginType": "core",
1770
+ "strict": true,
1771
+ "enableJsonFlag": false,
1772
+ "isESM": true,
1773
+ "relativePath": [
1774
+ "dist",
1775
+ "commands",
1776
+ "debug",
1777
+ "parse-playwright-config.js"
1778
+ ]
1779
+ },
1780
+ "debug:parse-project": {
1781
+ "aliases": [],
1782
+ "args": {},
1783
+ "description": "Parses a Checkly project.",
1784
+ "flags": {
1785
+ "config": {
1786
+ "char": "c",
1787
+ "description": "The Checkly CLI configuration file. If not passed, uses the checkly.config.ts|js file in the current directory.",
1788
+ "env": "CHECKLY_CONFIG_FILE",
1789
+ "name": "config",
1790
+ "hasDynamicHelp": false,
1791
+ "multiple": false,
1792
+ "type": "option"
1793
+ },
1794
+ "default-runtime": {
1795
+ "description": "The default runtime to use if none is specified.",
1796
+ "env": "CHECKLY_DEFAULT_RUNTIME",
1797
+ "name": "default-runtime",
1798
+ "default": "2025.04",
1799
+ "hasDynamicHelp": false,
1800
+ "multiple": false,
1801
+ "type": "option"
1802
+ },
1803
+ "verify-runtime-dependencies": {
1804
+ "description": "[default: true] Return an error if checks import dependencies that are not supported by the selected runtime.",
1805
+ "env": "CHECKLY_VERIFY_RUNTIME_DEPENDENCIES",
1806
+ "name": "verify-runtime-dependencies",
1807
+ "allowNo": true,
1808
+ "type": "boolean"
1809
+ },
1810
+ "emulate-pw-test": {
1811
+ "description": "Pretend to be the pw-test command. Affects validation.",
1812
+ "env": "CHECKLY_EMULATE_PW_TEST",
1813
+ "name": "emulate-pw-test",
1814
+ "allowNo": false,
1815
+ "type": "boolean"
1816
+ },
1817
+ "include": {
1818
+ "description": "File patterns to include when bundling the test project (e.g., \"utils/**/*\").",
1819
+ "name": "include",
1820
+ "default": [],
1821
+ "hasDynamicHelp": false,
1822
+ "multiple": true,
1823
+ "type": "option"
1824
+ },
1825
+ "inject-private-location": {
1826
+ "description": "Pretend that the given private location exists (e.g., \"70c4ded4-2229-45a7-acf4-6b1eb56a86df:my-external-private-location\").",
1827
+ "name": "inject-private-location",
1828
+ "default": [],
1829
+ "delimiter": ",",
1830
+ "hasDynamicHelp": false,
1831
+ "multiple": true,
1832
+ "type": "option"
1833
+ },
1834
+ "stats": {
1835
+ "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.",
1836
+ "name": "stats",
1837
+ "allowNo": false,
1838
+ "type": "boolean"
1839
+ }
1840
+ },
1841
+ "hasDynamicHelp": false,
1842
+ "hidden": true,
1843
+ "hiddenAliases": [],
1844
+ "id": "debug:parse-project",
1845
+ "pluginAlias": "checkly",
1846
+ "pluginName": "checkly",
1847
+ "pluginType": "core",
1848
+ "strict": true,
1849
+ "enableJsonFlag": false,
1850
+ "isESM": true,
1851
+ "relativePath": [
1852
+ "dist",
1853
+ "commands",
1854
+ "debug",
1855
+ "parse-project.js"
1856
+ ]
1857
+ },
1696
1858
  "checks:delete": {
1697
1859
  "aliases": [],
1698
1860
  "args": {
@@ -2193,166 +2355,249 @@
2193
2355
  "stats.js"
2194
2356
  ]
2195
2357
  },
2196
- "debug:parse-file": {
2358
+ "import:apply": {
2197
2359
  "aliases": [],
2198
2360
  "args": {},
2199
- "description": "Parses and outputs relevant details of a code file.",
2361
+ "description": "Attach imported resources into your project in a pending state.",
2200
2362
  "flags": {
2201
- "file": {
2202
- "name": "file",
2203
- "required": true,
2363
+ "config": {
2364
+ "char": "c",
2365
+ "description": "The Checkly CLI configuration file. If not passed, uses the checkly.config.ts|js file in the current directory.",
2366
+ "name": "config",
2204
2367
  "hasDynamicHelp": false,
2205
2368
  "multiple": false,
2206
2369
  "type": "option"
2207
2370
  },
2208
- "restricted": {
2209
- "name": "restricted",
2210
- "allowNo": false,
2211
- "type": "boolean"
2212
- },
2213
- "detect-workspace": {
2214
- "name": "detect-workspace",
2215
- "allowNo": true,
2216
- "type": "boolean"
2217
- },
2218
- "supported-module": {
2219
- "name": "supported-module",
2220
- "default": [],
2221
- "delimiter": ",",
2371
+ "plan-id": {
2372
+ "description": "Target a specific import plan by ID, skipping interactive plan selection.",
2373
+ "name": "plan-id",
2222
2374
  "hasDynamicHelp": false,
2223
- "multiple": true,
2375
+ "multiple": false,
2224
2376
  "type": "option"
2225
2377
  },
2226
- "check-unsupported-modules": {
2227
- "name": "check-unsupported-modules",
2378
+ "no-commit": {
2379
+ "description": "Apply only. Leave the plan pending and skip the commit prompt.",
2380
+ "name": "no-commit",
2228
2381
  "allowNo": false,
2229
2382
  "type": "boolean"
2230
2383
  }
2231
2384
  },
2232
2385
  "hasDynamicHelp": false,
2233
- "hidden": true,
2386
+ "hidden": false,
2234
2387
  "hiddenAliases": [],
2235
- "id": "debug:parse-file",
2388
+ "id": "import:apply",
2236
2389
  "pluginAlias": "checkly",
2237
2390
  "pluginName": "checkly",
2238
2391
  "pluginType": "core",
2239
2392
  "strict": true,
2240
2393
  "enableJsonFlag": false,
2394
+ "coreCommand": false,
2395
+ "readOnly": false,
2396
+ "destructive": false,
2397
+ "idempotent": false,
2241
2398
  "isESM": true,
2242
2399
  "relativePath": [
2243
2400
  "dist",
2244
2401
  "commands",
2245
- "debug",
2246
- "parse-file.js"
2402
+ "import",
2403
+ "apply.js"
2247
2404
  ]
2248
2405
  },
2249
- "debug:parse-playwright-config": {
2406
+ "import:cancel": {
2250
2407
  "aliases": [],
2251
2408
  "args": {},
2252
- "description": "Parses and outputs relevant details of a Playwright configuration file.",
2409
+ "description": "Cancels an ongoing import plan that has not been committed yet.",
2253
2410
  "flags": {
2254
- "file": {
2255
- "env": "CHECKLY_PLAYWRIGHT_CONFIG_FILE",
2256
- "name": "file",
2257
- "default": "/home/runner/work/checkly-cli/checkly-cli/packages/cli/playwright.config.ts",
2411
+ "config": {
2412
+ "char": "c",
2413
+ "description": "The Checkly CLI configuration file. If not passed, uses the checkly.config.ts|js file in the current directory.",
2414
+ "name": "config",
2415
+ "hasDynamicHelp": false,
2416
+ "multiple": false,
2417
+ "type": "option"
2418
+ },
2419
+ "all": {
2420
+ "description": "Cancel all plans.",
2421
+ "name": "all",
2422
+ "allowNo": false,
2423
+ "type": "boolean"
2424
+ },
2425
+ "plan-id": {
2426
+ "description": "Target a specific import plan by ID, skipping interactive plan selection.",
2427
+ "name": "plan-id",
2258
2428
  "hasDynamicHelp": false,
2259
2429
  "multiple": false,
2260
2430
  "type": "option"
2431
+ },
2432
+ "force": {
2433
+ "char": "f",
2434
+ "description": "Skip confirmation prompt.",
2435
+ "name": "force",
2436
+ "allowNo": false,
2437
+ "type": "boolean"
2438
+ },
2439
+ "dry-run": {
2440
+ "description": "Preview what would happen without executing.",
2441
+ "name": "dry-run",
2442
+ "allowNo": false,
2443
+ "type": "boolean"
2261
2444
  }
2262
2445
  },
2263
2446
  "hasDynamicHelp": false,
2264
- "hidden": true,
2447
+ "hidden": false,
2265
2448
  "hiddenAliases": [],
2266
- "id": "debug:parse-playwright-config",
2449
+ "id": "import:cancel",
2267
2450
  "pluginAlias": "checkly",
2268
2451
  "pluginName": "checkly",
2269
2452
  "pluginType": "core",
2270
2453
  "strict": true,
2271
2454
  "enableJsonFlag": false,
2455
+ "coreCommand": false,
2456
+ "readOnly": false,
2457
+ "destructive": true,
2458
+ "idempotent": true,
2272
2459
  "isESM": true,
2273
2460
  "relativePath": [
2274
2461
  "dist",
2275
2462
  "commands",
2276
- "debug",
2277
- "parse-playwright-config.js"
2463
+ "import",
2464
+ "cancel.js"
2278
2465
  ]
2279
2466
  },
2280
- "debug:parse-project": {
2467
+ "import:commit": {
2281
2468
  "aliases": [],
2282
2469
  "args": {},
2283
- "description": "Parses a Checkly project.",
2470
+ "description": "Permanently commit imported resources into your project.",
2284
2471
  "flags": {
2285
2472
  "config": {
2286
2473
  "char": "c",
2287
2474
  "description": "The Checkly CLI configuration file. If not passed, uses the checkly.config.ts|js file in the current directory.",
2288
- "env": "CHECKLY_CONFIG_FILE",
2289
2475
  "name": "config",
2290
2476
  "hasDynamicHelp": false,
2291
2477
  "multiple": false,
2292
2478
  "type": "option"
2293
2479
  },
2294
- "default-runtime": {
2295
- "description": "The default runtime to use if none is specified.",
2296
- "env": "CHECKLY_DEFAULT_RUNTIME",
2297
- "name": "default-runtime",
2298
- "default": "2025.04",
2480
+ "plan-id": {
2481
+ "description": "Target a specific import plan by ID, skipping interactive plan selection.",
2482
+ "name": "plan-id",
2299
2483
  "hasDynamicHelp": false,
2300
2484
  "multiple": false,
2301
2485
  "type": "option"
2302
2486
  },
2303
- "verify-runtime-dependencies": {
2304
- "description": "[default: true] Return an error if checks import dependencies that are not supported by the selected runtime.",
2305
- "env": "CHECKLY_VERIFY_RUNTIME_DEPENDENCIES",
2306
- "name": "verify-runtime-dependencies",
2307
- "allowNo": true,
2487
+ "force": {
2488
+ "char": "f",
2489
+ "description": "Skip confirmation prompt.",
2490
+ "name": "force",
2491
+ "allowNo": false,
2308
2492
  "type": "boolean"
2309
2493
  },
2310
- "emulate-pw-test": {
2311
- "description": "Pretend to be the pw-test command. Affects validation.",
2312
- "env": "CHECKLY_EMULATE_PW_TEST",
2313
- "name": "emulate-pw-test",
2494
+ "dry-run": {
2495
+ "description": "Preview what would happen without executing.",
2496
+ "name": "dry-run",
2314
2497
  "allowNo": false,
2315
2498
  "type": "boolean"
2316
- },
2317
- "include": {
2318
- "description": "File patterns to include when bundling the test project (e.g., \"utils/**/*\").",
2319
- "name": "include",
2320
- "default": [],
2499
+ }
2500
+ },
2501
+ "hasDynamicHelp": false,
2502
+ "hidden": false,
2503
+ "hiddenAliases": [],
2504
+ "id": "import:commit",
2505
+ "pluginAlias": "checkly",
2506
+ "pluginName": "checkly",
2507
+ "pluginType": "core",
2508
+ "strict": true,
2509
+ "enableJsonFlag": false,
2510
+ "coreCommand": false,
2511
+ "readOnly": false,
2512
+ "destructive": false,
2513
+ "idempotent": false,
2514
+ "isESM": true,
2515
+ "relativePath": [
2516
+ "dist",
2517
+ "commands",
2518
+ "import",
2519
+ "commit.js"
2520
+ ]
2521
+ },
2522
+ "import:plan": {
2523
+ "aliases": [],
2524
+ "args": {
2525
+ "resource": {
2526
+ "description": "A specific resource to import.",
2527
+ "name": "resource",
2528
+ "required": false
2529
+ }
2530
+ },
2531
+ "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.",
2532
+ "flags": {
2533
+ "config": {
2534
+ "char": "c",
2535
+ "description": "The Checkly CLI configuration file. If not passed, uses the checkly.config.ts|js file in the current directory.",
2536
+ "name": "config",
2321
2537
  "hasDynamicHelp": false,
2322
- "multiple": true,
2538
+ "multiple": false,
2323
2539
  "type": "option"
2324
2540
  },
2325
- "inject-private-location": {
2326
- "description": "Pretend that the given private location exists (e.g., \"70c4ded4-2229-45a7-acf4-6b1eb56a86df:my-external-private-location\").",
2327
- "name": "inject-private-location",
2328
- "default": [],
2329
- "delimiter": ",",
2541
+ "root": {
2542
+ "description": "The root folder in which to write generated code files.",
2543
+ "name": "root",
2544
+ "default": "__checks__",
2330
2545
  "hasDynamicHelp": false,
2331
- "multiple": true,
2546
+ "multiple": false,
2332
2547
  "type": "option"
2333
2548
  },
2334
- "stats": {
2335
- "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.",
2336
- "name": "stats",
2549
+ "preview": {
2550
+ "description": "Preview generated code without creating an actual import plan.",
2551
+ "name": "preview",
2337
2552
  "allowNo": false,
2338
2553
  "type": "boolean"
2554
+ },
2555
+ "debug-import-plan": {
2556
+ "description": "Output the import plan to a file.",
2557
+ "hidden": true,
2558
+ "name": "debug-import-plan",
2559
+ "allowNo": false,
2560
+ "type": "boolean"
2561
+ },
2562
+ "debug-import-plan-input-file": {
2563
+ "description": "A file to load an import plan from.",
2564
+ "hidden": true,
2565
+ "name": "debug-import-plan-input-file",
2566
+ "hasDynamicHelp": false,
2567
+ "multiple": false,
2568
+ "type": "option"
2569
+ },
2570
+ "debug-import-plan-output-file": {
2571
+ "description": "The file to output the import plan to.",
2572
+ "hidden": true,
2573
+ "name": "debug-import-plan-output-file",
2574
+ "default": "./debug-import-plan.json",
2575
+ "hasDynamicHelp": false,
2576
+ "multiple": false,
2577
+ "type": "option"
2339
2578
  }
2340
2579
  },
2341
2580
  "hasDynamicHelp": false,
2342
- "hidden": true,
2343
- "hiddenAliases": [],
2344
- "id": "debug:parse-project",
2581
+ "hidden": false,
2582
+ "hiddenAliases": [
2583
+ "import"
2584
+ ],
2585
+ "id": "import:plan",
2345
2586
  "pluginAlias": "checkly",
2346
2587
  "pluginName": "checkly",
2347
2588
  "pluginType": "core",
2348
- "strict": true,
2589
+ "strict": false,
2349
2590
  "enableJsonFlag": false,
2591
+ "coreCommand": false,
2592
+ "readOnly": true,
2593
+ "destructive": false,
2594
+ "idempotent": true,
2350
2595
  "isESM": true,
2351
2596
  "relativePath": [
2352
2597
  "dist",
2353
2598
  "commands",
2354
- "debug",
2355
- "parse-project.js"
2599
+ "import",
2600
+ "plan.js"
2356
2601
  ]
2357
2602
  },
2358
2603
  "env:add": {
@@ -2521,300 +2766,55 @@
2521
2766
  "aliases": [],
2522
2767
  "args": {
2523
2768
  "key": {
2524
- "description": "Environment variable key.",
2525
- "name": "key",
2526
- "required": true
2527
- },
2528
- "value": {
2529
- "description": "Environment variable value.",
2530
- "name": "value",
2531
- "required": false
2532
- }
2533
- },
2534
- "description": "Update environment variable via \"checkly env update <key> <value>\".",
2535
- "flags": {
2536
- "locked": {
2537
- "char": "l",
2538
- "description": "Indicate if environment variable is locked.",
2539
- "name": "locked",
2540
- "allowNo": false,
2541
- "type": "boolean"
2542
- },
2543
- "secret": {
2544
- "char": "s",
2545
- "description": "Indicate if environment variable is secret.",
2546
- "exclusive": [
2547
- "locked"
2548
- ],
2549
- "name": "secret",
2550
- "allowNo": false,
2551
- "type": "boolean"
2552
- }
2553
- },
2554
- "hasDynamicHelp": false,
2555
- "hidden": false,
2556
- "hiddenAliases": [],
2557
- "id": "env:update",
2558
- "pluginAlias": "checkly",
2559
- "pluginName": "checkly",
2560
- "pluginType": "core",
2561
- "strict": true,
2562
- "enableJsonFlag": false,
2563
- "coreCommand": false,
2564
- "readOnly": false,
2565
- "destructive": false,
2566
- "idempotent": true,
2567
- "isESM": true,
2568
- "relativePath": [
2569
- "dist",
2570
- "commands",
2571
- "env",
2572
- "update.js"
2573
- ]
2574
- },
2575
- "import:apply": {
2576
- "aliases": [],
2577
- "args": {},
2578
- "description": "Attach imported resources into your project in a pending state.",
2579
- "flags": {
2580
- "config": {
2581
- "char": "c",
2582
- "description": "The Checkly CLI configuration file. If not passed, uses the checkly.config.ts|js file in the current directory.",
2583
- "name": "config",
2584
- "hasDynamicHelp": false,
2585
- "multiple": false,
2586
- "type": "option"
2587
- },
2588
- "plan-id": {
2589
- "description": "Target a specific import plan by ID, skipping interactive plan selection.",
2590
- "name": "plan-id",
2591
- "hasDynamicHelp": false,
2592
- "multiple": false,
2593
- "type": "option"
2594
- },
2595
- "no-commit": {
2596
- "description": "Apply only. Leave the plan pending and skip the commit prompt.",
2597
- "name": "no-commit",
2598
- "allowNo": false,
2599
- "type": "boolean"
2600
- }
2601
- },
2602
- "hasDynamicHelp": false,
2603
- "hidden": false,
2604
- "hiddenAliases": [],
2605
- "id": "import:apply",
2606
- "pluginAlias": "checkly",
2607
- "pluginName": "checkly",
2608
- "pluginType": "core",
2609
- "strict": true,
2610
- "enableJsonFlag": false,
2611
- "coreCommand": false,
2612
- "readOnly": false,
2613
- "destructive": false,
2614
- "idempotent": false,
2615
- "isESM": true,
2616
- "relativePath": [
2617
- "dist",
2618
- "commands",
2619
- "import",
2620
- "apply.js"
2621
- ]
2622
- },
2623
- "import:cancel": {
2624
- "aliases": [],
2625
- "args": {},
2626
- "description": "Cancels an ongoing import plan that has not been committed yet.",
2627
- "flags": {
2628
- "config": {
2629
- "char": "c",
2630
- "description": "The Checkly CLI configuration file. If not passed, uses the checkly.config.ts|js file in the current directory.",
2631
- "name": "config",
2632
- "hasDynamicHelp": false,
2633
- "multiple": false,
2634
- "type": "option"
2635
- },
2636
- "all": {
2637
- "description": "Cancel all plans.",
2638
- "name": "all",
2639
- "allowNo": false,
2640
- "type": "boolean"
2641
- },
2642
- "plan-id": {
2643
- "description": "Target a specific import plan by ID, skipping interactive plan selection.",
2644
- "name": "plan-id",
2645
- "hasDynamicHelp": false,
2646
- "multiple": false,
2647
- "type": "option"
2648
- },
2649
- "force": {
2650
- "char": "f",
2651
- "description": "Skip confirmation prompt.",
2652
- "name": "force",
2653
- "allowNo": false,
2654
- "type": "boolean"
2655
- },
2656
- "dry-run": {
2657
- "description": "Preview what would happen without executing.",
2658
- "name": "dry-run",
2659
- "allowNo": false,
2660
- "type": "boolean"
2661
- }
2662
- },
2663
- "hasDynamicHelp": false,
2664
- "hidden": false,
2665
- "hiddenAliases": [],
2666
- "id": "import:cancel",
2667
- "pluginAlias": "checkly",
2668
- "pluginName": "checkly",
2669
- "pluginType": "core",
2670
- "strict": true,
2671
- "enableJsonFlag": false,
2672
- "coreCommand": false,
2673
- "readOnly": false,
2674
- "destructive": true,
2675
- "idempotent": true,
2676
- "isESM": true,
2677
- "relativePath": [
2678
- "dist",
2679
- "commands",
2680
- "import",
2681
- "cancel.js"
2682
- ]
2683
- },
2684
- "import:commit": {
2685
- "aliases": [],
2686
- "args": {},
2687
- "description": "Permanently commit imported resources into your project.",
2688
- "flags": {
2689
- "config": {
2690
- "char": "c",
2691
- "description": "The Checkly CLI configuration file. If not passed, uses the checkly.config.ts|js file in the current directory.",
2692
- "name": "config",
2693
- "hasDynamicHelp": false,
2694
- "multiple": false,
2695
- "type": "option"
2696
- },
2697
- "plan-id": {
2698
- "description": "Target a specific import plan by ID, skipping interactive plan selection.",
2699
- "name": "plan-id",
2700
- "hasDynamicHelp": false,
2701
- "multiple": false,
2702
- "type": "option"
2703
- },
2704
- "force": {
2705
- "char": "f",
2706
- "description": "Skip confirmation prompt.",
2707
- "name": "force",
2708
- "allowNo": false,
2709
- "type": "boolean"
2710
- },
2711
- "dry-run": {
2712
- "description": "Preview what would happen without executing.",
2713
- "name": "dry-run",
2714
- "allowNo": false,
2715
- "type": "boolean"
2716
- }
2717
- },
2718
- "hasDynamicHelp": false,
2719
- "hidden": false,
2720
- "hiddenAliases": [],
2721
- "id": "import:commit",
2722
- "pluginAlias": "checkly",
2723
- "pluginName": "checkly",
2724
- "pluginType": "core",
2725
- "strict": true,
2726
- "enableJsonFlag": false,
2727
- "coreCommand": false,
2728
- "readOnly": false,
2729
- "destructive": false,
2730
- "idempotent": false,
2731
- "isESM": true,
2732
- "relativePath": [
2733
- "dist",
2734
- "commands",
2735
- "import",
2736
- "commit.js"
2737
- ]
2738
- },
2739
- "import:plan": {
2740
- "aliases": [],
2741
- "args": {
2742
- "resource": {
2743
- "description": "A specific resource to import.",
2744
- "name": "resource",
2745
- "required": false
2746
- }
2747
- },
2748
- "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.",
2749
- "flags": {
2750
- "config": {
2751
- "char": "c",
2752
- "description": "The Checkly CLI configuration file. If not passed, uses the checkly.config.ts|js file in the current directory.",
2753
- "name": "config",
2754
- "hasDynamicHelp": false,
2755
- "multiple": false,
2756
- "type": "option"
2757
- },
2758
- "root": {
2759
- "description": "The root folder in which to write generated code files.",
2760
- "name": "root",
2761
- "default": "__checks__",
2762
- "hasDynamicHelp": false,
2763
- "multiple": false,
2764
- "type": "option"
2769
+ "description": "Environment variable key.",
2770
+ "name": "key",
2771
+ "required": true
2765
2772
  },
2766
- "preview": {
2767
- "description": "Preview generated code without creating an actual import plan.",
2768
- "name": "preview",
2773
+ "value": {
2774
+ "description": "Environment variable value.",
2775
+ "name": "value",
2776
+ "required": false
2777
+ }
2778
+ },
2779
+ "description": "Update environment variable via \"checkly env update <key> <value>\".",
2780
+ "flags": {
2781
+ "locked": {
2782
+ "char": "l",
2783
+ "description": "Indicate if environment variable is locked.",
2784
+ "name": "locked",
2769
2785
  "allowNo": false,
2770
2786
  "type": "boolean"
2771
2787
  },
2772
- "debug-import-plan": {
2773
- "description": "Output the import plan to a file.",
2774
- "hidden": true,
2775
- "name": "debug-import-plan",
2788
+ "secret": {
2789
+ "char": "s",
2790
+ "description": "Indicate if environment variable is secret.",
2791
+ "exclusive": [
2792
+ "locked"
2793
+ ],
2794
+ "name": "secret",
2776
2795
  "allowNo": false,
2777
2796
  "type": "boolean"
2778
- },
2779
- "debug-import-plan-input-file": {
2780
- "description": "A file to load an import plan from.",
2781
- "hidden": true,
2782
- "name": "debug-import-plan-input-file",
2783
- "hasDynamicHelp": false,
2784
- "multiple": false,
2785
- "type": "option"
2786
- },
2787
- "debug-import-plan-output-file": {
2788
- "description": "The file to output the import plan to.",
2789
- "hidden": true,
2790
- "name": "debug-import-plan-output-file",
2791
- "default": "./debug-import-plan.json",
2792
- "hasDynamicHelp": false,
2793
- "multiple": false,
2794
- "type": "option"
2795
2797
  }
2796
2798
  },
2797
2799
  "hasDynamicHelp": false,
2798
2800
  "hidden": false,
2799
- "hiddenAliases": [
2800
- "import"
2801
- ],
2802
- "id": "import:plan",
2801
+ "hiddenAliases": [],
2802
+ "id": "env:update",
2803
2803
  "pluginAlias": "checkly",
2804
2804
  "pluginName": "checkly",
2805
2805
  "pluginType": "core",
2806
- "strict": false,
2806
+ "strict": true,
2807
2807
  "enableJsonFlag": false,
2808
2808
  "coreCommand": false,
2809
- "readOnly": true,
2809
+ "readOnly": false,
2810
2810
  "destructive": false,
2811
2811
  "idempotent": true,
2812
2812
  "isESM": true,
2813
2813
  "relativePath": [
2814
2814
  "dist",
2815
2815
  "commands",
2816
- "import",
2817
- "plan.js"
2816
+ "env",
2817
+ "update.js"
2818
2818
  ]
2819
2819
  },
2820
2820
  "incidents:create": {
@@ -3449,105 +3449,6 @@
3449
3449
  "run.js"
3450
3450
  ]
3451
3451
  },
3452
- "skills": {
3453
- "aliases": [],
3454
- "args": {
3455
- "action": {
3456
- "description": "Action to open. Available actions are listed below.",
3457
- "name": "action",
3458
- "required": false
3459
- },
3460
- "reference": {
3461
- "description": "Reference to open for the selected action. Available references are listed below.",
3462
- "name": "reference",
3463
- "required": false
3464
- }
3465
- },
3466
- "description": "Show Checkly AI skills, actions and their references.\n\nRun `checkly skills` to print the full catalog, `checkly skills <action>` for an action guide, or `checkly skills <action> <reference>` for a specific reference.\n\nAvailable actions and references:\n checkly skills\n |- initialize\n |- configure\n | |- agentic-checks\n | |- api-checks\n | |- browser-checks\n | |- playwright-checks\n | |- multistep-checks\n | |- tcp-monitors\n | |- url-monitors\n | |- dns-monitors\n | |- icmp-monitors\n | |- grpc-monitors\n | |- ssl-monitors\n | |- traceroute-monitors\n | |- heartbeat-monitors\n | |- check-groups\n | |- alert-channels\n | |- supporting-constructs\n | |- environment\n |- investigate\n | |- checks\n | |- alerting\n | |- test-sessions\n |- communicate\n | |- incidents\n |- manage\n | |- plan\n | |- account-members\n\nUse `checkly skills <action>` or `checkly skills <action> <reference>` to open the detailed guidance.",
3467
- "examples": [
3468
- "checkly skills",
3469
- "checkly skills configure",
3470
- "checkly skills configure api-checks",
3471
- "checkly skills investigate alerting"
3472
- ],
3473
- "flags": {},
3474
- "hasDynamicHelp": false,
3475
- "hidden": false,
3476
- "hiddenAliases": [],
3477
- "id": "skills",
3478
- "pluginAlias": "checkly",
3479
- "pluginName": "checkly",
3480
- "pluginType": "core",
3481
- "strict": true,
3482
- "enableJsonFlag": false,
3483
- "coreCommand": false,
3484
- "readOnly": true,
3485
- "destructive": false,
3486
- "idempotent": true,
3487
- "isESM": true,
3488
- "relativePath": [
3489
- "dist",
3490
- "commands",
3491
- "skills",
3492
- "index.js"
3493
- ]
3494
- },
3495
- "skills:install": {
3496
- "aliases": [],
3497
- "args": {},
3498
- "description": "Install the Checkly agent skill (SKILL.md) into your project.",
3499
- "flags": {
3500
- "target": {
3501
- "char": "t",
3502
- "description": "Platform to install the skill for (amp, claude, cline, codex, continue, cursor, gemini-cli, github-copilot, goose, opencode, roo, windsurf).",
3503
- "exclusive": [
3504
- "path"
3505
- ],
3506
- "name": "target",
3507
- "hasDynamicHelp": false,
3508
- "multiple": false,
3509
- "type": "option"
3510
- },
3511
- "path": {
3512
- "char": "p",
3513
- "description": "Custom target directory to install the skill into.",
3514
- "exclusive": [
3515
- "target"
3516
- ],
3517
- "name": "path",
3518
- "hasDynamicHelp": false,
3519
- "multiple": false,
3520
- "type": "option"
3521
- },
3522
- "force": {
3523
- "char": "f",
3524
- "description": "Overwrite existing SKILL.md without confirmation.",
3525
- "name": "force",
3526
- "allowNo": false,
3527
- "type": "boolean"
3528
- }
3529
- },
3530
- "hasDynamicHelp": false,
3531
- "hidden": false,
3532
- "hiddenAliases": [],
3533
- "id": "skills:install",
3534
- "pluginAlias": "checkly",
3535
- "pluginName": "checkly",
3536
- "pluginType": "core",
3537
- "strict": true,
3538
- "enableJsonFlag": false,
3539
- "coreCommand": false,
3540
- "readOnly": false,
3541
- "destructive": false,
3542
- "idempotent": true,
3543
- "isESM": true,
3544
- "relativePath": [
3545
- "dist",
3546
- "commands",
3547
- "skills",
3548
- "install.js"
3549
- ]
3550
- },
3551
3452
  "status-pages:get": {
3552
3453
  "aliases": [],
3553
3454
  "args": {
@@ -3658,6 +3559,105 @@
3658
3559
  "list.js"
3659
3560
  ]
3660
3561
  },
3562
+ "skills": {
3563
+ "aliases": [],
3564
+ "args": {
3565
+ "action": {
3566
+ "description": "Action to open. Available actions are listed below.",
3567
+ "name": "action",
3568
+ "required": false
3569
+ },
3570
+ "reference": {
3571
+ "description": "Reference to open for the selected action. Available references are listed below.",
3572
+ "name": "reference",
3573
+ "required": false
3574
+ }
3575
+ },
3576
+ "description": "Show Checkly AI skills, actions and their references.\n\nRun `checkly skills` to print the full catalog, `checkly skills <action>` for an action guide, or `checkly skills <action> <reference>` for a specific reference.\n\nAvailable actions and references:\n checkly skills\n |- initialize\n |- configure\n | |- api-checks\n | |- browser-checks\n | |- playwright-checks\n | |- multistep-checks\n | |- tcp-monitors\n | |- url-monitors\n | |- dns-monitors\n | |- icmp-monitors\n | |- grpc-monitors\n | |- ssl-monitors\n | |- traceroute-monitors\n | |- heartbeat-monitors\n | |- check-groups\n | |- alert-channels\n | |- supporting-constructs\n | |- environment\n |- investigate\n | |- checks\n | |- alerting\n | |- test-sessions\n |- communicate\n | |- incidents\n |- manage\n | |- plan\n | |- account-members\n\nUse `checkly skills <action>` or `checkly skills <action> <reference>` to open the detailed guidance.",
3577
+ "examples": [
3578
+ "checkly skills",
3579
+ "checkly skills configure",
3580
+ "checkly skills configure api-checks",
3581
+ "checkly skills investigate alerting"
3582
+ ],
3583
+ "flags": {},
3584
+ "hasDynamicHelp": false,
3585
+ "hidden": false,
3586
+ "hiddenAliases": [],
3587
+ "id": "skills",
3588
+ "pluginAlias": "checkly",
3589
+ "pluginName": "checkly",
3590
+ "pluginType": "core",
3591
+ "strict": true,
3592
+ "enableJsonFlag": false,
3593
+ "coreCommand": false,
3594
+ "readOnly": true,
3595
+ "destructive": false,
3596
+ "idempotent": true,
3597
+ "isESM": true,
3598
+ "relativePath": [
3599
+ "dist",
3600
+ "commands",
3601
+ "skills",
3602
+ "index.js"
3603
+ ]
3604
+ },
3605
+ "skills:install": {
3606
+ "aliases": [],
3607
+ "args": {},
3608
+ "description": "Install the Checkly agent skill (SKILL.md) into your project.",
3609
+ "flags": {
3610
+ "target": {
3611
+ "char": "t",
3612
+ "description": "Platform to install the skill for (amp, claude, cline, codex, continue, cursor, gemini-cli, github-copilot, goose, opencode, roo, windsurf).",
3613
+ "exclusive": [
3614
+ "path"
3615
+ ],
3616
+ "name": "target",
3617
+ "hasDynamicHelp": false,
3618
+ "multiple": false,
3619
+ "type": "option"
3620
+ },
3621
+ "path": {
3622
+ "char": "p",
3623
+ "description": "Custom target directory to install the skill into.",
3624
+ "exclusive": [
3625
+ "target"
3626
+ ],
3627
+ "name": "path",
3628
+ "hasDynamicHelp": false,
3629
+ "multiple": false,
3630
+ "type": "option"
3631
+ },
3632
+ "force": {
3633
+ "char": "f",
3634
+ "description": "Overwrite existing SKILL.md without confirmation.",
3635
+ "name": "force",
3636
+ "allowNo": false,
3637
+ "type": "boolean"
3638
+ }
3639
+ },
3640
+ "hasDynamicHelp": false,
3641
+ "hidden": false,
3642
+ "hiddenAliases": [],
3643
+ "id": "skills:install",
3644
+ "pluginAlias": "checkly",
3645
+ "pluginName": "checkly",
3646
+ "pluginType": "core",
3647
+ "strict": true,
3648
+ "enableJsonFlag": false,
3649
+ "coreCommand": false,
3650
+ "readOnly": false,
3651
+ "destructive": false,
3652
+ "idempotent": true,
3653
+ "isESM": true,
3654
+ "relativePath": [
3655
+ "dist",
3656
+ "commands",
3657
+ "skills",
3658
+ "install.js"
3659
+ ]
3660
+ },
3661
3661
  "test-sessions:get": {
3662
3662
  "aliases": [],
3663
3663
  "args": {
@@ -3866,5 +3866,5 @@
3866
3866
  ]
3867
3867
  }
3868
3868
  },
3869
- "version": "8.19.0"
3869
+ "version": "8.20.0"
3870
3870
  }