checkly 8.20.0 → 8.21.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 (51) hide show
  1. package/dist/ai-context/public-skills/checkly/SKILL.md +22 -2
  2. package/dist/constructs/agentic-check-codegen.js +1 -0
  3. package/dist/constructs/agentic-check-codegen.js.map +1 -1
  4. package/dist/constructs/agentic-check.d.ts +37 -0
  5. package/dist/constructs/api-check-bundle.d.ts +44 -0
  6. package/dist/constructs/api-check.d.ts +40 -0
  7. package/dist/constructs/browser-check-bundle.d.ts +41 -0
  8. package/dist/constructs/browser-check.d.ts +37 -0
  9. package/dist/constructs/check-codegen.d.ts +22 -0
  10. package/dist/constructs/check-codegen.js +20 -0
  11. package/dist/constructs/check-codegen.js.map +1 -1
  12. package/dist/constructs/check.d.ts +151 -1
  13. package/dist/constructs/check.js +112 -0
  14. package/dist/constructs/check.js.map +1 -1
  15. package/dist/constructs/dns-monitor.d.ts +40 -1
  16. package/dist/constructs/dns-monitor.js +7 -0
  17. package/dist/constructs/dns-monitor.js.map +1 -1
  18. package/dist/constructs/grpc-monitor.d.ts +40 -1
  19. package/dist/constructs/grpc-monitor.js +7 -0
  20. package/dist/constructs/grpc-monitor.js.map +1 -1
  21. package/dist/constructs/heartbeat-monitor-codegen.js +3 -1
  22. package/dist/constructs/heartbeat-monitor-codegen.js.map +1 -1
  23. package/dist/constructs/icmp-monitor.d.ts +40 -1
  24. package/dist/constructs/icmp-monitor.js +7 -0
  25. package/dist/constructs/icmp-monitor.js.map +1 -1
  26. package/dist/constructs/monitor.d.ts +32 -0
  27. package/dist/constructs/multi-step-check-bundle.d.ts +39 -0
  28. package/dist/constructs/multi-step-check.d.ts +36 -0
  29. package/dist/constructs/playwright-check-bundle.d.ts +44 -0
  30. package/dist/constructs/playwright-check.d.ts +37 -0
  31. package/dist/constructs/ssl-monitor-codegen.js +3 -1
  32. package/dist/constructs/ssl-monitor-codegen.js.map +1 -1
  33. package/dist/constructs/ssl-monitor.d.ts +50 -0
  34. package/dist/constructs/tcp-monitor.d.ts +40 -1
  35. package/dist/constructs/tcp-monitor.js +7 -0
  36. package/dist/constructs/tcp-monitor.js.map +1 -1
  37. package/dist/constructs/traceroute-monitor-codegen.js +3 -1
  38. package/dist/constructs/traceroute-monitor-codegen.js.map +1 -1
  39. package/dist/constructs/traceroute-monitor.d.ts +36 -0
  40. package/dist/constructs/url-monitor.d.ts +46 -1
  41. package/dist/constructs/url-monitor.js +4 -0
  42. package/dist/constructs/url-monitor.js.map +1 -1
  43. package/dist/helpers/result-assets.js +19 -6
  44. package/dist/helpers/result-assets.js.map +1 -1
  45. package/dist/rest/api.js +5 -0
  46. package/dist/rest/api.js.map +1 -1
  47. package/dist/rest/retry.d.ts +55 -0
  48. package/dist/rest/retry.js +169 -0
  49. package/dist/rest/retry.js.map +1 -0
  50. package/oclif.manifest.json +601 -601
  51. package/package.json +3 -2
@@ -1693,168 +1693,6 @@
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
- },
1858
1696
  "checks:delete": {
1859
1697
  "aliases": [],
1860
1698
  "args": {
@@ -2355,249 +2193,166 @@
2355
2193
  "stats.js"
2356
2194
  ]
2357
2195
  },
2358
- "import:apply": {
2196
+ "debug:parse-file": {
2359
2197
  "aliases": [],
2360
2198
  "args": {},
2361
- "description": "Attach imported resources into your project in a pending state.",
2199
+ "description": "Parses and outputs relevant details of a code file.",
2362
2200
  "flags": {
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",
2201
+ "file": {
2202
+ "name": "file",
2203
+ "required": true,
2367
2204
  "hasDynamicHelp": false,
2368
2205
  "multiple": false,
2369
2206
  "type": "option"
2370
2207
  },
2371
- "plan-id": {
2372
- "description": "Target a specific import plan by ID, skipping interactive plan selection.",
2373
- "name": "plan-id",
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": ",",
2374
2222
  "hasDynamicHelp": false,
2375
- "multiple": false,
2223
+ "multiple": true,
2376
2224
  "type": "option"
2377
2225
  },
2378
- "no-commit": {
2379
- "description": "Apply only. Leave the plan pending and skip the commit prompt.",
2380
- "name": "no-commit",
2226
+ "check-unsupported-modules": {
2227
+ "name": "check-unsupported-modules",
2381
2228
  "allowNo": false,
2382
2229
  "type": "boolean"
2383
2230
  }
2384
2231
  },
2385
2232
  "hasDynamicHelp": false,
2386
- "hidden": false,
2233
+ "hidden": true,
2387
2234
  "hiddenAliases": [],
2388
- "id": "import:apply",
2235
+ "id": "debug:parse-file",
2389
2236
  "pluginAlias": "checkly",
2390
2237
  "pluginName": "checkly",
2391
2238
  "pluginType": "core",
2392
2239
  "strict": true,
2393
2240
  "enableJsonFlag": false,
2394
- "coreCommand": false,
2395
- "readOnly": false,
2396
- "destructive": false,
2397
- "idempotent": false,
2398
2241
  "isESM": true,
2399
2242
  "relativePath": [
2400
2243
  "dist",
2401
2244
  "commands",
2402
- "import",
2403
- "apply.js"
2245
+ "debug",
2246
+ "parse-file.js"
2404
2247
  ]
2405
2248
  },
2406
- "import:cancel": {
2249
+ "debug:parse-playwright-config": {
2407
2250
  "aliases": [],
2408
2251
  "args": {},
2409
- "description": "Cancels an ongoing import plan that has not been committed yet.",
2252
+ "description": "Parses and outputs relevant details of a Playwright configuration file.",
2410
2253
  "flags": {
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",
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",
2428
2258
  "hasDynamicHelp": false,
2429
2259
  "multiple": false,
2430
2260
  "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"
2444
2261
  }
2445
2262
  },
2446
2263
  "hasDynamicHelp": false,
2447
- "hidden": false,
2264
+ "hidden": true,
2448
2265
  "hiddenAliases": [],
2449
- "id": "import:cancel",
2266
+ "id": "debug:parse-playwright-config",
2450
2267
  "pluginAlias": "checkly",
2451
2268
  "pluginName": "checkly",
2452
2269
  "pluginType": "core",
2453
2270
  "strict": true,
2454
2271
  "enableJsonFlag": false,
2455
- "coreCommand": false,
2456
- "readOnly": false,
2457
- "destructive": true,
2458
- "idempotent": true,
2459
2272
  "isESM": true,
2460
2273
  "relativePath": [
2461
2274
  "dist",
2462
2275
  "commands",
2463
- "import",
2464
- "cancel.js"
2276
+ "debug",
2277
+ "parse-playwright-config.js"
2465
2278
  ]
2466
2279
  },
2467
- "import:commit": {
2280
+ "debug:parse-project": {
2468
2281
  "aliases": [],
2469
2282
  "args": {},
2470
- "description": "Permanently commit imported resources into your project.",
2283
+ "description": "Parses a Checkly project.",
2471
2284
  "flags": {
2472
2285
  "config": {
2473
2286
  "char": "c",
2474
2287
  "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",
2475
2289
  "name": "config",
2476
2290
  "hasDynamicHelp": false,
2477
2291
  "multiple": false,
2478
2292
  "type": "option"
2479
2293
  },
2480
- "plan-id": {
2481
- "description": "Target a specific import plan by ID, skipping interactive plan selection.",
2482
- "name": "plan-id",
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",
2483
2299
  "hasDynamicHelp": false,
2484
2300
  "multiple": false,
2485
2301
  "type": "option"
2486
2302
  },
2487
- "force": {
2488
- "char": "f",
2489
- "description": "Skip confirmation prompt.",
2490
- "name": "force",
2491
- "allowNo": false,
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,
2492
2308
  "type": "boolean"
2493
2309
  },
2494
- "dry-run": {
2495
- "description": "Preview what would happen without executing.",
2496
- "name": "dry-run",
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",
2497
2314
  "allowNo": false,
2498
2315
  "type": "boolean"
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",
2316
+ },
2317
+ "include": {
2318
+ "description": "File patterns to include when bundling the test project (e.g., \"utils/**/*\").",
2319
+ "name": "include",
2320
+ "default": [],
2537
2321
  "hasDynamicHelp": false,
2538
- "multiple": false,
2322
+ "multiple": true,
2539
2323
  "type": "option"
2540
2324
  },
2541
- "root": {
2542
- "description": "The root folder in which to write generated code files.",
2543
- "name": "root",
2544
- "default": "__checks__",
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": ",",
2545
2330
  "hasDynamicHelp": false,
2546
- "multiple": false,
2331
+ "multiple": true,
2547
2332
  "type": "option"
2548
2333
  },
2549
- "preview": {
2550
- "description": "Preview generated code without creating an actual import plan.",
2551
- "name": "preview",
2552
- "allowNo": false,
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",
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",
2559
2337
  "allowNo": false,
2560
2338
  "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"
2578
2339
  }
2579
2340
  },
2580
2341
  "hasDynamicHelp": false,
2581
- "hidden": false,
2582
- "hiddenAliases": [
2583
- "import"
2584
- ],
2585
- "id": "import:plan",
2342
+ "hidden": true,
2343
+ "hiddenAliases": [],
2344
+ "id": "debug:parse-project",
2586
2345
  "pluginAlias": "checkly",
2587
2346
  "pluginName": "checkly",
2588
2347
  "pluginType": "core",
2589
- "strict": false,
2348
+ "strict": true,
2590
2349
  "enableJsonFlag": false,
2591
- "coreCommand": false,
2592
- "readOnly": true,
2593
- "destructive": false,
2594
- "idempotent": true,
2595
2350
  "isESM": true,
2596
2351
  "relativePath": [
2597
2352
  "dist",
2598
2353
  "commands",
2599
- "import",
2600
- "plan.js"
2354
+ "debug",
2355
+ "parse-project.js"
2601
2356
  ]
2602
2357
  },
2603
2358
  "env:add": {
@@ -2817,74 +2572,78 @@
2817
2572
  "update.js"
2818
2573
  ]
2819
2574
  },
2820
- "incidents:create": {
2575
+ "import:apply": {
2821
2576
  "aliases": [],
2822
2577
  "args": {},
2823
- "description": "Declare a new incident on a status page.",
2578
+ "description": "Attach imported resources into your project in a pending state.",
2824
2579
  "flags": {
2825
- "status-page-id": {
2826
- "description": "Target status page ID.",
2827
- "name": "status-page-id",
2828
- "required": true,
2829
- "hasDynamicHelp": false,
2830
- "multiple": false,
2831
- "type": "option"
2832
- },
2833
- "title": {
2834
- "description": "Incident title.",
2835
- "name": "title",
2836
- "required": true,
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",
2837
2584
  "hasDynamicHelp": false,
2838
2585
  "multiple": false,
2839
2586
  "type": "option"
2840
2587
  },
2841
- "services": {
2842
- "description": "Affected service IDs. Repeat the flag for multiple services.",
2843
- "name": "services",
2844
- "delimiter": ",",
2845
- "hasDynamicHelp": false,
2846
- "multiple": true,
2847
- "type": "option"
2848
- },
2849
- "severity": {
2850
- "description": "Incident severity.",
2851
- "name": "severity",
2852
- "default": "minor",
2588
+ "plan-id": {
2589
+ "description": "Target a specific import plan by ID, skipping interactive plan selection.",
2590
+ "name": "plan-id",
2853
2591
  "hasDynamicHelp": false,
2854
2592
  "multiple": false,
2855
- "options": [
2856
- "minor",
2857
- "medium",
2858
- "major",
2859
- "critical"
2860
- ],
2861
2593
  "type": "option"
2862
2594
  },
2863
- "message": {
2864
- "description": "Initial incident update message.",
2865
- "name": "message",
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",
2866
2632
  "hasDynamicHelp": false,
2867
2633
  "multiple": false,
2868
2634
  "type": "option"
2869
2635
  },
2870
- "notify-subscribers": {
2871
- "description": "Notify status page subscribers about this incident update.",
2872
- "name": "notify-subscribers",
2873
- "allowNo": true,
2636
+ "all": {
2637
+ "description": "Cancel all plans.",
2638
+ "name": "all",
2639
+ "allowNo": false,
2874
2640
  "type": "boolean"
2875
2641
  },
2876
- "output": {
2877
- "char": "o",
2878
- "description": "Output format.",
2879
- "name": "output",
2880
- "default": "table",
2642
+ "plan-id": {
2643
+ "description": "Target a specific import plan by ID, skipping interactive plan selection.",
2644
+ "name": "plan-id",
2881
2645
  "hasDynamicHelp": false,
2882
2646
  "multiple": false,
2883
- "options": [
2884
- "table",
2885
- "json",
2886
- "md"
2887
- ],
2888
2647
  "type": "option"
2889
2648
  },
2890
2649
  "force": {
@@ -2904,7 +2663,7 @@
2904
2663
  "hasDynamicHelp": false,
2905
2664
  "hidden": false,
2906
2665
  "hiddenAliases": [],
2907
- "id": "incidents:create",
2666
+ "id": "import:cancel",
2908
2667
  "pluginAlias": "checkly",
2909
2668
  "pluginName": "checkly",
2910
2669
  "pluginType": "core",
@@ -2912,73 +2671,139 @@
2912
2671
  "enableJsonFlag": false,
2913
2672
  "coreCommand": false,
2914
2673
  "readOnly": false,
2915
- "destructive": false,
2916
- "idempotent": false,
2674
+ "destructive": true,
2675
+ "idempotent": true,
2917
2676
  "isESM": true,
2918
2677
  "relativePath": [
2919
2678
  "dist",
2920
2679
  "commands",
2921
- "incidents",
2922
- "create.js"
2680
+ "import",
2681
+ "cancel.js"
2923
2682
  ]
2924
2683
  },
2925
- "incidents:list": {
2684
+ "import:commit": {
2926
2685
  "aliases": [],
2927
2686
  "args": {},
2928
- "description": "List incidents, optionally filtered by status page or status.",
2687
+ "description": "Permanently commit imported resources into your project.",
2929
2688
  "flags": {
2930
- "limit": {
2931
- "char": "l",
2932
- "description": "Number of incidents to return (1-100).",
2933
- "name": "limit",
2934
- "default": 25,
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",
2935
2693
  "hasDynamicHelp": false,
2936
2694
  "multiple": false,
2937
2695
  "type": "option"
2938
2696
  },
2939
- "status-page-id": {
2940
- "description": "Filter incidents by status page ID.",
2941
- "name": "status-page-id",
2697
+ "plan-id": {
2698
+ "description": "Target a specific import plan by ID, skipping interactive plan selection.",
2699
+ "name": "plan-id",
2942
2700
  "hasDynamicHelp": false,
2943
2701
  "multiple": false,
2944
2702
  "type": "option"
2945
2703
  },
2946
- "status": {
2947
- "description": "Filter by incident status.",
2948
- "name": "status",
2949
- "default": "open",
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",
2950
2754
  "hasDynamicHelp": false,
2951
2755
  "multiple": false,
2952
- "options": [
2953
- "open",
2954
- "resolved",
2955
- "all"
2956
- ],
2957
2756
  "type": "option"
2958
2757
  },
2959
- "output": {
2960
- "char": "o",
2961
- "description": "Output format.",
2962
- "name": "output",
2963
- "default": "table",
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"
2765
+ },
2766
+ "preview": {
2767
+ "description": "Preview generated code without creating an actual import plan.",
2768
+ "name": "preview",
2769
+ "allowNo": false,
2770
+ "type": "boolean"
2771
+ },
2772
+ "debug-import-plan": {
2773
+ "description": "Output the import plan to a file.",
2774
+ "hidden": true,
2775
+ "name": "debug-import-plan",
2776
+ "allowNo": false,
2777
+ "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",
2964
2792
  "hasDynamicHelp": false,
2965
2793
  "multiple": false,
2966
- "options": [
2967
- "table",
2968
- "json",
2969
- "md"
2970
- ],
2971
2794
  "type": "option"
2972
2795
  }
2973
2796
  },
2974
2797
  "hasDynamicHelp": false,
2975
2798
  "hidden": false,
2976
- "hiddenAliases": [],
2977
- "id": "incidents:list",
2799
+ "hiddenAliases": [
2800
+ "import"
2801
+ ],
2802
+ "id": "import:plan",
2978
2803
  "pluginAlias": "checkly",
2979
2804
  "pluginName": "checkly",
2980
2805
  "pluginType": "core",
2981
- "strict": true,
2806
+ "strict": false,
2982
2807
  "enableJsonFlag": false,
2983
2808
  "coreCommand": false,
2984
2809
  "readOnly": true,
@@ -2988,32 +2813,112 @@
2988
2813
  "relativePath": [
2989
2814
  "dist",
2990
2815
  "commands",
2991
- "incidents",
2992
- "list.js"
2816
+ "import",
2817
+ "plan.js"
2993
2818
  ]
2994
2819
  },
2995
- "incidents:resolve": {
2820
+ "members:delete": {
2996
2821
  "aliases": [],
2997
2822
  "args": {
2823
+ "member": {
2824
+ "description": "The account member email or user ID.",
2825
+ "name": "member",
2826
+ "required": true
2827
+ }
2828
+ },
2829
+ "description": "Delete an account member.",
2830
+ "flags": {
2831
+ "email": {
2832
+ "description": "Treat the member argument as an email address.",
2833
+ "exclusive": [
2834
+ "id"
2835
+ ],
2836
+ "name": "email",
2837
+ "allowNo": false,
2838
+ "type": "boolean"
2839
+ },
2998
2840
  "id": {
2999
- "description": "The incident ID.",
2841
+ "description": "Treat the member argument as a user ID.",
2842
+ "exclusive": [
2843
+ "email"
2844
+ ],
3000
2845
  "name": "id",
2846
+ "allowNo": false,
2847
+ "type": "boolean"
2848
+ },
2849
+ "force": {
2850
+ "char": "f",
2851
+ "description": "Skip confirmation prompt.",
2852
+ "name": "force",
2853
+ "allowNo": false,
2854
+ "type": "boolean"
2855
+ },
2856
+ "dry-run": {
2857
+ "description": "Preview what would happen without executing.",
2858
+ "name": "dry-run",
2859
+ "allowNo": false,
2860
+ "type": "boolean"
2861
+ }
2862
+ },
2863
+ "hasDynamicHelp": false,
2864
+ "hidden": false,
2865
+ "hiddenAliases": [
2866
+ "account members delete"
2867
+ ],
2868
+ "id": "members:delete",
2869
+ "pluginAlias": "checkly",
2870
+ "pluginName": "checkly",
2871
+ "pluginType": "core",
2872
+ "strict": true,
2873
+ "enableJsonFlag": false,
2874
+ "coreCommand": false,
2875
+ "readOnly": false,
2876
+ "destructive": true,
2877
+ "idempotent": true,
2878
+ "isESM": true,
2879
+ "relativePath": [
2880
+ "dist",
2881
+ "commands",
2882
+ "members",
2883
+ "delete.js"
2884
+ ]
2885
+ },
2886
+ "members:update": {
2887
+ "aliases": [],
2888
+ "args": {
2889
+ "member": {
2890
+ "description": "The account member email or user ID.",
2891
+ "name": "member",
3001
2892
  "required": true
3002
2893
  }
3003
2894
  },
3004
- "description": "Resolve an incident.",
2895
+ "description": "Update an account member role.",
3005
2896
  "flags": {
3006
- "message": {
3007
- "description": "Optional closing note.",
3008
- "name": "message",
2897
+ "role": {
2898
+ "char": "r",
2899
+ "description": "New member role: admin, read_write, read_run, read_only.",
2900
+ "name": "role",
2901
+ "required": true,
3009
2902
  "hasDynamicHelp": false,
3010
2903
  "multiple": false,
3011
2904
  "type": "option"
3012
2905
  },
3013
- "notify-subscribers": {
3014
- "description": "Notify status page subscribers about this incident update.",
3015
- "name": "notify-subscribers",
3016
- "allowNo": true,
2906
+ "email": {
2907
+ "description": "Treat the member argument as an email address.",
2908
+ "exclusive": [
2909
+ "id"
2910
+ ],
2911
+ "name": "email",
2912
+ "allowNo": false,
2913
+ "type": "boolean"
2914
+ },
2915
+ "id": {
2916
+ "description": "Treat the member argument as a user ID.",
2917
+ "exclusive": [
2918
+ "email"
2919
+ ],
2920
+ "name": "id",
2921
+ "allowNo": false,
3017
2922
  "type": "boolean"
3018
2923
  },
3019
2924
  "output": {
@@ -3046,8 +2951,10 @@
3046
2951
  },
3047
2952
  "hasDynamicHelp": false,
3048
2953
  "hidden": false,
3049
- "hiddenAliases": [],
3050
- "id": "incidents:resolve",
2954
+ "hiddenAliases": [
2955
+ "account members update"
2956
+ ],
2957
+ "id": "members:update",
3051
2958
  "pluginAlias": "checkly",
3052
2959
  "pluginName": "checkly",
3053
2960
  "pluginType": "core",
@@ -3056,50 +2963,48 @@
3056
2963
  "coreCommand": false,
3057
2964
  "readOnly": false,
3058
2965
  "destructive": false,
3059
- "idempotent": false,
2966
+ "idempotent": true,
3060
2967
  "isESM": true,
3061
2968
  "relativePath": [
3062
2969
  "dist",
3063
2970
  "commands",
3064
- "incidents",
3065
- "resolve.js"
2971
+ "members",
2972
+ "update.js"
3066
2973
  ]
3067
2974
  },
3068
- "incidents:update": {
2975
+ "incidents:create": {
3069
2976
  "aliases": [],
3070
- "args": {
3071
- "id": {
3072
- "description": "The incident ID.",
3073
- "name": "id",
3074
- "required": true
3075
- }
3076
- },
3077
- "description": "Post a progress update to an incident.",
2977
+ "args": {},
2978
+ "description": "Declare a new incident on a status page.",
3078
2979
  "flags": {
3079
- "message": {
3080
- "description": "Update message.",
3081
- "name": "message",
2980
+ "status-page-id": {
2981
+ "description": "Target status page ID.",
2982
+ "name": "status-page-id",
3082
2983
  "required": true,
3083
2984
  "hasDynamicHelp": false,
3084
2985
  "multiple": false,
3085
2986
  "type": "option"
3086
2987
  },
3087
- "status": {
3088
- "description": "Incident progress status.",
3089
- "name": "status",
3090
- "default": "investigating",
2988
+ "title": {
2989
+ "description": "Incident title.",
2990
+ "name": "title",
2991
+ "required": true,
3091
2992
  "hasDynamicHelp": false,
3092
2993
  "multiple": false,
3093
- "options": [
3094
- "investigating",
3095
- "identified",
3096
- "monitoring"
3097
- ],
2994
+ "type": "option"
2995
+ },
2996
+ "services": {
2997
+ "description": "Affected service IDs. Repeat the flag for multiple services.",
2998
+ "name": "services",
2999
+ "delimiter": ",",
3000
+ "hasDynamicHelp": false,
3001
+ "multiple": true,
3098
3002
  "type": "option"
3099
3003
  },
3100
3004
  "severity": {
3101
- "description": "Update the overall incident severity.",
3005
+ "description": "Incident severity.",
3102
3006
  "name": "severity",
3007
+ "default": "minor",
3103
3008
  "hasDynamicHelp": false,
3104
3009
  "multiple": false,
3105
3010
  "options": [
@@ -3110,6 +3015,13 @@
3110
3015
  ],
3111
3016
  "type": "option"
3112
3017
  },
3018
+ "message": {
3019
+ "description": "Initial incident update message.",
3020
+ "name": "message",
3021
+ "hasDynamicHelp": false,
3022
+ "multiple": false,
3023
+ "type": "option"
3024
+ },
3113
3025
  "notify-subscribers": {
3114
3026
  "description": "Notify status page subscribers about this incident update.",
3115
3027
  "name": "notify-subscribers",
@@ -3147,7 +3059,7 @@
3147
3059
  "hasDynamicHelp": false,
3148
3060
  "hidden": false,
3149
3061
  "hiddenAliases": [],
3150
- "id": "incidents:update",
3062
+ "id": "incidents:create",
3151
3063
  "pluginAlias": "checkly",
3152
3064
  "pluginName": "checkly",
3153
3065
  "pluginType": "core",
@@ -3162,37 +3074,116 @@
3162
3074
  "dist",
3163
3075
  "commands",
3164
3076
  "incidents",
3165
- "update.js"
3077
+ "create.js"
3166
3078
  ]
3167
3079
  },
3168
- "members:delete": {
3080
+ "incidents:list": {
3081
+ "aliases": [],
3082
+ "args": {},
3083
+ "description": "List incidents, optionally filtered by status page or status.",
3084
+ "flags": {
3085
+ "limit": {
3086
+ "char": "l",
3087
+ "description": "Number of incidents to return (1-100).",
3088
+ "name": "limit",
3089
+ "default": 25,
3090
+ "hasDynamicHelp": false,
3091
+ "multiple": false,
3092
+ "type": "option"
3093
+ },
3094
+ "status-page-id": {
3095
+ "description": "Filter incidents by status page ID.",
3096
+ "name": "status-page-id",
3097
+ "hasDynamicHelp": false,
3098
+ "multiple": false,
3099
+ "type": "option"
3100
+ },
3101
+ "status": {
3102
+ "description": "Filter by incident status.",
3103
+ "name": "status",
3104
+ "default": "open",
3105
+ "hasDynamicHelp": false,
3106
+ "multiple": false,
3107
+ "options": [
3108
+ "open",
3109
+ "resolved",
3110
+ "all"
3111
+ ],
3112
+ "type": "option"
3113
+ },
3114
+ "output": {
3115
+ "char": "o",
3116
+ "description": "Output format.",
3117
+ "name": "output",
3118
+ "default": "table",
3119
+ "hasDynamicHelp": false,
3120
+ "multiple": false,
3121
+ "options": [
3122
+ "table",
3123
+ "json",
3124
+ "md"
3125
+ ],
3126
+ "type": "option"
3127
+ }
3128
+ },
3129
+ "hasDynamicHelp": false,
3130
+ "hidden": false,
3131
+ "hiddenAliases": [],
3132
+ "id": "incidents:list",
3133
+ "pluginAlias": "checkly",
3134
+ "pluginName": "checkly",
3135
+ "pluginType": "core",
3136
+ "strict": true,
3137
+ "enableJsonFlag": false,
3138
+ "coreCommand": false,
3139
+ "readOnly": true,
3140
+ "destructive": false,
3141
+ "idempotent": true,
3142
+ "isESM": true,
3143
+ "relativePath": [
3144
+ "dist",
3145
+ "commands",
3146
+ "incidents",
3147
+ "list.js"
3148
+ ]
3149
+ },
3150
+ "incidents:resolve": {
3169
3151
  "aliases": [],
3170
3152
  "args": {
3171
- "member": {
3172
- "description": "The account member email or user ID.",
3173
- "name": "member",
3153
+ "id": {
3154
+ "description": "The incident ID.",
3155
+ "name": "id",
3174
3156
  "required": true
3175
3157
  }
3176
3158
  },
3177
- "description": "Delete an account member.",
3159
+ "description": "Resolve an incident.",
3178
3160
  "flags": {
3179
- "email": {
3180
- "description": "Treat the member argument as an email address.",
3181
- "exclusive": [
3182
- "id"
3183
- ],
3184
- "name": "email",
3185
- "allowNo": false,
3161
+ "message": {
3162
+ "description": "Optional closing note.",
3163
+ "name": "message",
3164
+ "hasDynamicHelp": false,
3165
+ "multiple": false,
3166
+ "type": "option"
3167
+ },
3168
+ "notify-subscribers": {
3169
+ "description": "Notify status page subscribers about this incident update.",
3170
+ "name": "notify-subscribers",
3171
+ "allowNo": true,
3186
3172
  "type": "boolean"
3187
3173
  },
3188
- "id": {
3189
- "description": "Treat the member argument as a user ID.",
3190
- "exclusive": [
3191
- "email"
3174
+ "output": {
3175
+ "char": "o",
3176
+ "description": "Output format.",
3177
+ "name": "output",
3178
+ "default": "table",
3179
+ "hasDynamicHelp": false,
3180
+ "multiple": false,
3181
+ "options": [
3182
+ "table",
3183
+ "json",
3184
+ "md"
3192
3185
  ],
3193
- "name": "id",
3194
- "allowNo": false,
3195
- "type": "boolean"
3186
+ "type": "option"
3196
3187
  },
3197
3188
  "force": {
3198
3189
  "char": "f",
@@ -3210,10 +3201,8 @@
3210
3201
  },
3211
3202
  "hasDynamicHelp": false,
3212
3203
  "hidden": false,
3213
- "hiddenAliases": [
3214
- "account members delete"
3215
- ],
3216
- "id": "members:delete",
3204
+ "hiddenAliases": [],
3205
+ "id": "incidents:resolve",
3217
3206
  "pluginAlias": "checkly",
3218
3207
  "pluginName": "checkly",
3219
3208
  "pluginType": "core",
@@ -3221,52 +3210,65 @@
3221
3210
  "enableJsonFlag": false,
3222
3211
  "coreCommand": false,
3223
3212
  "readOnly": false,
3224
- "destructive": true,
3225
- "idempotent": true,
3213
+ "destructive": false,
3214
+ "idempotent": false,
3226
3215
  "isESM": true,
3227
3216
  "relativePath": [
3228
3217
  "dist",
3229
3218
  "commands",
3230
- "members",
3231
- "delete.js"
3219
+ "incidents",
3220
+ "resolve.js"
3232
3221
  ]
3233
3222
  },
3234
- "members:update": {
3223
+ "incidents:update": {
3235
3224
  "aliases": [],
3236
3225
  "args": {
3237
- "member": {
3238
- "description": "The account member email or user ID.",
3239
- "name": "member",
3226
+ "id": {
3227
+ "description": "The incident ID.",
3228
+ "name": "id",
3240
3229
  "required": true
3241
3230
  }
3242
3231
  },
3243
- "description": "Update an account member role.",
3232
+ "description": "Post a progress update to an incident.",
3244
3233
  "flags": {
3245
- "role": {
3246
- "char": "r",
3247
- "description": "New member role: admin, read_write, read_run, read_only.",
3248
- "name": "role",
3234
+ "message": {
3235
+ "description": "Update message.",
3236
+ "name": "message",
3249
3237
  "required": true,
3250
3238
  "hasDynamicHelp": false,
3251
3239
  "multiple": false,
3252
3240
  "type": "option"
3253
3241
  },
3254
- "email": {
3255
- "description": "Treat the member argument as an email address.",
3256
- "exclusive": [
3257
- "id"
3242
+ "status": {
3243
+ "description": "Incident progress status.",
3244
+ "name": "status",
3245
+ "default": "investigating",
3246
+ "hasDynamicHelp": false,
3247
+ "multiple": false,
3248
+ "options": [
3249
+ "investigating",
3250
+ "identified",
3251
+ "monitoring"
3258
3252
  ],
3259
- "name": "email",
3260
- "allowNo": false,
3261
- "type": "boolean"
3253
+ "type": "option"
3262
3254
  },
3263
- "id": {
3264
- "description": "Treat the member argument as a user ID.",
3265
- "exclusive": [
3266
- "email"
3255
+ "severity": {
3256
+ "description": "Update the overall incident severity.",
3257
+ "name": "severity",
3258
+ "hasDynamicHelp": false,
3259
+ "multiple": false,
3260
+ "options": [
3261
+ "minor",
3262
+ "medium",
3263
+ "major",
3264
+ "critical"
3267
3265
  ],
3268
- "name": "id",
3269
- "allowNo": false,
3266
+ "type": "option"
3267
+ },
3268
+ "notify-subscribers": {
3269
+ "description": "Notify status page subscribers about this incident update.",
3270
+ "name": "notify-subscribers",
3271
+ "allowNo": true,
3270
3272
  "type": "boolean"
3271
3273
  },
3272
3274
  "output": {
@@ -3299,10 +3301,8 @@
3299
3301
  },
3300
3302
  "hasDynamicHelp": false,
3301
3303
  "hidden": false,
3302
- "hiddenAliases": [
3303
- "account members update"
3304
- ],
3305
- "id": "members:update",
3304
+ "hiddenAliases": [],
3305
+ "id": "incidents:update",
3306
3306
  "pluginAlias": "checkly",
3307
3307
  "pluginName": "checkly",
3308
3308
  "pluginType": "core",
@@ -3311,12 +3311,12 @@
3311
3311
  "coreCommand": false,
3312
3312
  "readOnly": false,
3313
3313
  "destructive": false,
3314
- "idempotent": true,
3314
+ "idempotent": false,
3315
3315
  "isESM": true,
3316
3316
  "relativePath": [
3317
3317
  "dist",
3318
3318
  "commands",
3319
- "members",
3319
+ "incidents",
3320
3320
  "update.js"
3321
3321
  ]
3322
3322
  },
@@ -3449,6 +3449,105 @@
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 | |- 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
+ },
3452
3551
  "status-pages:get": {
3453
3552
  "aliases": [],
3454
3553
  "args": {
@@ -3559,105 +3658,6 @@
3559
3658
  "list.js"
3560
3659
  ]
3561
3660
  },
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.20.0"
3869
+ "version": "8.21.0"
3870
3870
  }