checkly 8.13.0 → 8.14.1-prerelease-522049f

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.
@@ -179,6 +179,12 @@
179
179
  "allowNo": true,
180
180
  "type": "boolean"
181
181
  },
182
+ "preserve-resources": {
183
+ "description": "Detach resources removed from code (keep them and their run history) instead of deleting them.",
184
+ "name": "preserve-resources",
185
+ "allowNo": false,
186
+ "type": "boolean"
187
+ },
182
188
  "force": {
183
189
  "char": "f",
184
190
  "description": "Skip confirmation prompt.",
@@ -1687,168 +1693,6 @@
1687
1693
  "list.js"
1688
1694
  ]
1689
1695
  },
1690
- "debug:parse-file": {
1691
- "aliases": [],
1692
- "args": {},
1693
- "description": "Parses and outputs relevant details of a code file.",
1694
- "flags": {
1695
- "file": {
1696
- "name": "file",
1697
- "required": true,
1698
- "hasDynamicHelp": false,
1699
- "multiple": false,
1700
- "type": "option"
1701
- },
1702
- "restricted": {
1703
- "name": "restricted",
1704
- "allowNo": false,
1705
- "type": "boolean"
1706
- },
1707
- "detect-workspace": {
1708
- "name": "detect-workspace",
1709
- "allowNo": true,
1710
- "type": "boolean"
1711
- },
1712
- "supported-module": {
1713
- "name": "supported-module",
1714
- "default": [],
1715
- "delimiter": ",",
1716
- "hasDynamicHelp": false,
1717
- "multiple": true,
1718
- "type": "option"
1719
- },
1720
- "check-unsupported-modules": {
1721
- "name": "check-unsupported-modules",
1722
- "allowNo": false,
1723
- "type": "boolean"
1724
- }
1725
- },
1726
- "hasDynamicHelp": false,
1727
- "hidden": true,
1728
- "hiddenAliases": [],
1729
- "id": "debug:parse-file",
1730
- "pluginAlias": "checkly",
1731
- "pluginName": "checkly",
1732
- "pluginType": "core",
1733
- "strict": true,
1734
- "enableJsonFlag": false,
1735
- "isESM": true,
1736
- "relativePath": [
1737
- "dist",
1738
- "commands",
1739
- "debug",
1740
- "parse-file.js"
1741
- ]
1742
- },
1743
- "debug:parse-playwright-config": {
1744
- "aliases": [],
1745
- "args": {},
1746
- "description": "Parses and outputs relevant details of a Playwright configuration file.",
1747
- "flags": {
1748
- "file": {
1749
- "env": "CHECKLY_PLAYWRIGHT_CONFIG_FILE",
1750
- "name": "file",
1751
- "default": "/home/runner/work/checkly-cli/checkly-cli/packages/cli/playwright.config.ts",
1752
- "hasDynamicHelp": false,
1753
- "multiple": false,
1754
- "type": "option"
1755
- }
1756
- },
1757
- "hasDynamicHelp": false,
1758
- "hidden": true,
1759
- "hiddenAliases": [],
1760
- "id": "debug:parse-playwright-config",
1761
- "pluginAlias": "checkly",
1762
- "pluginName": "checkly",
1763
- "pluginType": "core",
1764
- "strict": true,
1765
- "enableJsonFlag": false,
1766
- "isESM": true,
1767
- "relativePath": [
1768
- "dist",
1769
- "commands",
1770
- "debug",
1771
- "parse-playwright-config.js"
1772
- ]
1773
- },
1774
- "debug:parse-project": {
1775
- "aliases": [],
1776
- "args": {},
1777
- "description": "Parses a Checkly project.",
1778
- "flags": {
1779
- "config": {
1780
- "char": "c",
1781
- "description": "The Checkly CLI configuration file. If not passed, uses the checkly.config.ts|js file in the current directory.",
1782
- "env": "CHECKLY_CONFIG_FILE",
1783
- "name": "config",
1784
- "hasDynamicHelp": false,
1785
- "multiple": false,
1786
- "type": "option"
1787
- },
1788
- "default-runtime": {
1789
- "description": "The default runtime to use if none is specified.",
1790
- "env": "CHECKLY_DEFAULT_RUNTIME",
1791
- "name": "default-runtime",
1792
- "default": "2025.04",
1793
- "hasDynamicHelp": false,
1794
- "multiple": false,
1795
- "type": "option"
1796
- },
1797
- "verify-runtime-dependencies": {
1798
- "description": "[default: true] Return an error if checks import dependencies that are not supported by the selected runtime.",
1799
- "env": "CHECKLY_VERIFY_RUNTIME_DEPENDENCIES",
1800
- "name": "verify-runtime-dependencies",
1801
- "allowNo": true,
1802
- "type": "boolean"
1803
- },
1804
- "emulate-pw-test": {
1805
- "description": "Pretend to be the pw-test command. Affects validation.",
1806
- "env": "CHECKLY_EMULATE_PW_TEST",
1807
- "name": "emulate-pw-test",
1808
- "allowNo": false,
1809
- "type": "boolean"
1810
- },
1811
- "include": {
1812
- "description": "File patterns to include when bundling the test project (e.g., \"utils/**/*\").",
1813
- "name": "include",
1814
- "default": [],
1815
- "hasDynamicHelp": false,
1816
- "multiple": true,
1817
- "type": "option"
1818
- },
1819
- "inject-private-location": {
1820
- "description": "Pretend that the given private location exists (e.g., \"70c4ded4-2229-45a7-acf4-6b1eb56a86df:my-external-private-location\").",
1821
- "name": "inject-private-location",
1822
- "default": [],
1823
- "delimiter": ",",
1824
- "hasDynamicHelp": false,
1825
- "multiple": true,
1826
- "type": "option"
1827
- },
1828
- "stats": {
1829
- "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.",
1830
- "name": "stats",
1831
- "allowNo": false,
1832
- "type": "boolean"
1833
- }
1834
- },
1835
- "hasDynamicHelp": false,
1836
- "hidden": true,
1837
- "hiddenAliases": [],
1838
- "id": "debug:parse-project",
1839
- "pluginAlias": "checkly",
1840
- "pluginName": "checkly",
1841
- "pluginType": "core",
1842
- "strict": true,
1843
- "enableJsonFlag": false,
1844
- "isESM": true,
1845
- "relativePath": [
1846
- "dist",
1847
- "commands",
1848
- "debug",
1849
- "parse-project.js"
1850
- ]
1851
- },
1852
1696
  "checks:delete": {
1853
1697
  "aliases": [],
1854
1698
  "args": {
@@ -2259,169 +2103,169 @@
2259
2103
  "stats.js"
2260
2104
  ]
2261
2105
  },
2262
- "env:add": {
2106
+ "debug:parse-file": {
2263
2107
  "aliases": [],
2264
- "args": {
2265
- "key": {
2266
- "description": "Environment variable key.",
2267
- "name": "key",
2268
- "required": true
2269
- },
2270
- "value": {
2271
- "description": "Environment variable value.",
2272
- "name": "value",
2273
- "required": false
2274
- }
2275
- },
2276
- "description": "Add environment variable via \"checkly env add <key> <value>\".",
2108
+ "args": {},
2109
+ "description": "Parses and outputs relevant details of a code file.",
2277
2110
  "flags": {
2278
- "locked": {
2279
- "char": "l",
2280
- "description": "Indicate that the environment variable will be locked.",
2281
- "name": "locked",
2111
+ "file": {
2112
+ "name": "file",
2113
+ "required": true,
2114
+ "hasDynamicHelp": false,
2115
+ "multiple": false,
2116
+ "type": "option"
2117
+ },
2118
+ "restricted": {
2119
+ "name": "restricted",
2282
2120
  "allowNo": false,
2283
2121
  "type": "boolean"
2284
2122
  },
2285
- "secret": {
2286
- "char": "s",
2287
- "description": "Indicate that the environment variable will be secret.",
2288
- "exclusive": [
2289
- "locked"
2290
- ],
2291
- "name": "secret",
2123
+ "detect-workspace": {
2124
+ "name": "detect-workspace",
2125
+ "allowNo": true,
2126
+ "type": "boolean"
2127
+ },
2128
+ "supported-module": {
2129
+ "name": "supported-module",
2130
+ "default": [],
2131
+ "delimiter": ",",
2132
+ "hasDynamicHelp": false,
2133
+ "multiple": true,
2134
+ "type": "option"
2135
+ },
2136
+ "check-unsupported-modules": {
2137
+ "name": "check-unsupported-modules",
2292
2138
  "allowNo": false,
2293
2139
  "type": "boolean"
2294
2140
  }
2295
2141
  },
2296
2142
  "hasDynamicHelp": false,
2297
- "hidden": false,
2143
+ "hidden": true,
2298
2144
  "hiddenAliases": [],
2299
- "id": "env:add",
2145
+ "id": "debug:parse-file",
2300
2146
  "pluginAlias": "checkly",
2301
2147
  "pluginName": "checkly",
2302
2148
  "pluginType": "core",
2303
2149
  "strict": true,
2304
2150
  "enableJsonFlag": false,
2305
- "coreCommand": false,
2306
- "readOnly": false,
2307
- "destructive": false,
2308
- "idempotent": false,
2309
2151
  "isESM": true,
2310
2152
  "relativePath": [
2311
2153
  "dist",
2312
2154
  "commands",
2313
- "env",
2314
- "add.js"
2155
+ "debug",
2156
+ "parse-file.js"
2315
2157
  ]
2316
2158
  },
2317
- "env:ls": {
2159
+ "debug:parse-playwright-config": {
2318
2160
  "aliases": [],
2319
2161
  "args": {},
2320
- "description": "List all Checkly environment variables via \"checkly env ls\".",
2321
- "flags": {},
2162
+ "description": "Parses and outputs relevant details of a Playwright configuration file.",
2163
+ "flags": {
2164
+ "file": {
2165
+ "env": "CHECKLY_PLAYWRIGHT_CONFIG_FILE",
2166
+ "name": "file",
2167
+ "default": "/home/runner/work/checkly-cli/checkly-cli/packages/cli/playwright.config.ts",
2168
+ "hasDynamicHelp": false,
2169
+ "multiple": false,
2170
+ "type": "option"
2171
+ }
2172
+ },
2322
2173
  "hasDynamicHelp": false,
2323
- "hidden": false,
2174
+ "hidden": true,
2324
2175
  "hiddenAliases": [],
2325
- "id": "env:ls",
2176
+ "id": "debug:parse-playwright-config",
2326
2177
  "pluginAlias": "checkly",
2327
2178
  "pluginName": "checkly",
2328
2179
  "pluginType": "core",
2329
2180
  "strict": true,
2330
2181
  "enableJsonFlag": false,
2331
- "coreCommand": false,
2332
- "readOnly": true,
2333
- "destructive": false,
2334
- "idempotent": true,
2335
2182
  "isESM": true,
2336
2183
  "relativePath": [
2337
2184
  "dist",
2338
2185
  "commands",
2339
- "env",
2340
- "ls.js"
2186
+ "debug",
2187
+ "parse-playwright-config.js"
2341
2188
  ]
2342
2189
  },
2343
- "env:pull": {
2190
+ "debug:parse-project": {
2344
2191
  "aliases": [],
2345
- "args": {
2346
- "filename": {
2347
- "default": ".env",
2348
- "description": "Filename of the generated file.",
2349
- "name": "filename",
2350
- "required": false
2351
- }
2352
- },
2353
- "description": "Pull Checkly environment variables via \"checkly env pull <filename>\".",
2192
+ "args": {},
2193
+ "description": "Parses a Checkly project.",
2354
2194
  "flags": {
2355
- "force": {
2356
- "char": "f",
2357
- "description": "Force to overwrite existing file.",
2358
- "name": "force",
2195
+ "config": {
2196
+ "char": "c",
2197
+ "description": "The Checkly CLI configuration file. If not passed, uses the checkly.config.ts|js file in the current directory.",
2198
+ "env": "CHECKLY_CONFIG_FILE",
2199
+ "name": "config",
2200
+ "hasDynamicHelp": false,
2201
+ "multiple": false,
2202
+ "type": "option"
2203
+ },
2204
+ "default-runtime": {
2205
+ "description": "The default runtime to use if none is specified.",
2206
+ "env": "CHECKLY_DEFAULT_RUNTIME",
2207
+ "name": "default-runtime",
2208
+ "default": "2025.04",
2209
+ "hasDynamicHelp": false,
2210
+ "multiple": false,
2211
+ "type": "option"
2212
+ },
2213
+ "verify-runtime-dependencies": {
2214
+ "description": "[default: true] Return an error if checks import dependencies that are not supported by the selected runtime.",
2215
+ "env": "CHECKLY_VERIFY_RUNTIME_DEPENDENCIES",
2216
+ "name": "verify-runtime-dependencies",
2217
+ "allowNo": true,
2218
+ "type": "boolean"
2219
+ },
2220
+ "emulate-pw-test": {
2221
+ "description": "Pretend to be the pw-test command. Affects validation.",
2222
+ "env": "CHECKLY_EMULATE_PW_TEST",
2223
+ "name": "emulate-pw-test",
2359
2224
  "allowNo": false,
2360
2225
  "type": "boolean"
2361
- }
2362
- },
2363
- "hasDynamicHelp": false,
2364
- "hidden": false,
2365
- "hiddenAliases": [],
2366
- "id": "env:pull",
2367
- "pluginAlias": "checkly",
2368
- "pluginName": "checkly",
2369
- "pluginType": "core",
2370
- "strict": true,
2371
- "enableJsonFlag": false,
2372
- "coreCommand": false,
2373
- "readOnly": true,
2374
- "destructive": false,
2375
- "idempotent": true,
2376
- "isESM": true,
2377
- "relativePath": [
2378
- "dist",
2379
- "commands",
2380
- "env",
2381
- "pull.js"
2382
- ]
2383
- },
2384
- "env:rm": {
2385
- "aliases": [],
2386
- "args": {
2387
- "key": {
2388
- "description": "Environment variable key to remove.",
2389
- "name": "key",
2390
- "required": true
2391
- }
2392
- },
2393
- "description": "Remove environment variable via \"checkly env rm <key>\".",
2394
- "flags": {
2395
- "force": {
2396
- "char": "f",
2397
- "description": "Skip confirmation prompt.",
2398
- "name": "force",
2226
+ },
2227
+ "include": {
2228
+ "description": "File patterns to include when bundling the test project (e.g., \"utils/**/*\").",
2229
+ "name": "include",
2230
+ "default": [],
2231
+ "hasDynamicHelp": false,
2232
+ "multiple": true,
2233
+ "type": "option"
2234
+ },
2235
+ "inject-private-location": {
2236
+ "description": "Pretend that the given private location exists (e.g., \"70c4ded4-2229-45a7-acf4-6b1eb56a86df:my-external-private-location\").",
2237
+ "name": "inject-private-location",
2238
+ "default": [],
2239
+ "delimiter": ",",
2240
+ "hasDynamicHelp": false,
2241
+ "multiple": true,
2242
+ "type": "option"
2243
+ },
2244
+ "stats": {
2245
+ "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.",
2246
+ "name": "stats",
2399
2247
  "allowNo": false,
2400
2248
  "type": "boolean"
2401
2249
  }
2402
2250
  },
2403
2251
  "hasDynamicHelp": false,
2404
- "hidden": false,
2252
+ "hidden": true,
2405
2253
  "hiddenAliases": [],
2406
- "id": "env:rm",
2254
+ "id": "debug:parse-project",
2407
2255
  "pluginAlias": "checkly",
2408
2256
  "pluginName": "checkly",
2409
2257
  "pluginType": "core",
2410
2258
  "strict": true,
2411
2259
  "enableJsonFlag": false,
2412
- "coreCommand": false,
2413
- "readOnly": false,
2414
- "destructive": true,
2415
- "idempotent": false,
2416
2260
  "isESM": true,
2417
2261
  "relativePath": [
2418
2262
  "dist",
2419
2263
  "commands",
2420
- "env",
2421
- "rm.js"
2264
+ "debug",
2265
+ "parse-project.js"
2422
2266
  ]
2423
2267
  },
2424
- "env:update": {
2268
+ "env:add": {
2425
2269
  "aliases": [],
2426
2270
  "args": {
2427
2271
  "key": {
@@ -2435,18 +2279,18 @@
2435
2279
  "required": false
2436
2280
  }
2437
2281
  },
2438
- "description": "Update environment variable via \"checkly env update <key> <value>\".",
2282
+ "description": "Add environment variable via \"checkly env add <key> <value>\".",
2439
2283
  "flags": {
2440
2284
  "locked": {
2441
2285
  "char": "l",
2442
- "description": "Indicate if environment variable is locked.",
2286
+ "description": "Indicate that the environment variable will be locked.",
2443
2287
  "name": "locked",
2444
2288
  "allowNo": false,
2445
2289
  "type": "boolean"
2446
2290
  },
2447
2291
  "secret": {
2448
2292
  "char": "s",
2449
- "description": "Indicate if environment variable is secret.",
2293
+ "description": "Indicate that the environment variable will be secret.",
2450
2294
  "exclusive": [
2451
2295
  "locked"
2452
2296
  ],
@@ -2458,7 +2302,7 @@
2458
2302
  "hasDynamicHelp": false,
2459
2303
  "hidden": false,
2460
2304
  "hiddenAliases": [],
2461
- "id": "env:update",
2305
+ "id": "env:add",
2462
2306
  "pluginAlias": "checkly",
2463
2307
  "pluginName": "checkly",
2464
2308
  "pluginType": "core",
@@ -2467,66 +2311,57 @@
2467
2311
  "coreCommand": false,
2468
2312
  "readOnly": false,
2469
2313
  "destructive": false,
2470
- "idempotent": true,
2314
+ "idempotent": false,
2471
2315
  "isESM": true,
2472
2316
  "relativePath": [
2473
2317
  "dist",
2474
2318
  "commands",
2475
2319
  "env",
2476
- "update.js"
2320
+ "add.js"
2477
2321
  ]
2478
2322
  },
2479
- "import:apply": {
2323
+ "env:ls": {
2480
2324
  "aliases": [],
2481
2325
  "args": {},
2482
- "description": "Attach imported resources into your project in a pending state.",
2483
- "flags": {
2484
- "config": {
2485
- "char": "c",
2486
- "description": "The Checkly CLI configuration file. If not passed, uses the checkly.config.ts|js file in the current directory.",
2487
- "name": "config",
2488
- "hasDynamicHelp": false,
2489
- "multiple": false,
2490
- "type": "option"
2491
- }
2492
- },
2326
+ "description": "List all Checkly environment variables via \"checkly env ls\".",
2327
+ "flags": {},
2493
2328
  "hasDynamicHelp": false,
2494
2329
  "hidden": false,
2495
2330
  "hiddenAliases": [],
2496
- "id": "import:apply",
2331
+ "id": "env:ls",
2497
2332
  "pluginAlias": "checkly",
2498
2333
  "pluginName": "checkly",
2499
2334
  "pluginType": "core",
2500
2335
  "strict": true,
2501
2336
  "enableJsonFlag": false,
2502
2337
  "coreCommand": false,
2503
- "readOnly": false,
2338
+ "readOnly": true,
2504
2339
  "destructive": false,
2505
- "idempotent": false,
2340
+ "idempotent": true,
2506
2341
  "isESM": true,
2507
2342
  "relativePath": [
2508
2343
  "dist",
2509
2344
  "commands",
2510
- "import",
2511
- "apply.js"
2345
+ "env",
2346
+ "ls.js"
2512
2347
  ]
2513
2348
  },
2514
- "import:cancel": {
2349
+ "env:pull": {
2515
2350
  "aliases": [],
2516
- "args": {},
2517
- "description": "Cancels an ongoing import plan that has not been committed yet.",
2351
+ "args": {
2352
+ "filename": {
2353
+ "default": ".env",
2354
+ "description": "Filename of the generated file.",
2355
+ "name": "filename",
2356
+ "required": false
2357
+ }
2358
+ },
2359
+ "description": "Pull Checkly environment variables via \"checkly env pull <filename>\".",
2518
2360
  "flags": {
2519
- "config": {
2520
- "char": "c",
2521
- "description": "The Checkly CLI configuration file. If not passed, uses the checkly.config.ts|js file in the current directory.",
2522
- "name": "config",
2523
- "hasDynamicHelp": false,
2524
- "multiple": false,
2525
- "type": "option"
2526
- },
2527
- "all": {
2528
- "description": "Cancel all plans.",
2529
- "name": "all",
2361
+ "force": {
2362
+ "char": "f",
2363
+ "description": "Force to overwrite existing file.",
2364
+ "name": "force",
2530
2365
  "allowNo": false,
2531
2366
  "type": "boolean"
2532
2367
  }
@@ -2534,42 +2369,47 @@
2534
2369
  "hasDynamicHelp": false,
2535
2370
  "hidden": false,
2536
2371
  "hiddenAliases": [],
2537
- "id": "import:cancel",
2372
+ "id": "env:pull",
2538
2373
  "pluginAlias": "checkly",
2539
2374
  "pluginName": "checkly",
2540
2375
  "pluginType": "core",
2541
2376
  "strict": true,
2542
2377
  "enableJsonFlag": false,
2543
2378
  "coreCommand": false,
2544
- "readOnly": false,
2379
+ "readOnly": true,
2545
2380
  "destructive": false,
2546
2381
  "idempotent": true,
2547
2382
  "isESM": true,
2548
2383
  "relativePath": [
2549
2384
  "dist",
2550
2385
  "commands",
2551
- "import",
2552
- "cancel.js"
2386
+ "env",
2387
+ "pull.js"
2553
2388
  ]
2554
2389
  },
2555
- "import:commit": {
2390
+ "env:rm": {
2556
2391
  "aliases": [],
2557
- "args": {},
2558
- "description": "Permanently commit imported resources into your project.",
2392
+ "args": {
2393
+ "key": {
2394
+ "description": "Environment variable key to remove.",
2395
+ "name": "key",
2396
+ "required": true
2397
+ }
2398
+ },
2399
+ "description": "Remove environment variable via \"checkly env rm <key>\".",
2559
2400
  "flags": {
2560
- "config": {
2561
- "char": "c",
2562
- "description": "The Checkly CLI configuration file. If not passed, uses the checkly.config.ts|js file in the current directory.",
2563
- "name": "config",
2564
- "hasDynamicHelp": false,
2565
- "multiple": false,
2566
- "type": "option"
2401
+ "force": {
2402
+ "char": "f",
2403
+ "description": "Skip confirmation prompt.",
2404
+ "name": "force",
2405
+ "allowNo": false,
2406
+ "type": "boolean"
2567
2407
  }
2568
2408
  },
2569
2409
  "hasDynamicHelp": false,
2570
2410
  "hidden": false,
2571
2411
  "hiddenAliases": [],
2572
- "id": "import:commit",
2412
+ "id": "env:rm",
2573
2413
  "pluginAlias": "checkly",
2574
2414
  "pluginName": "checkly",
2575
2415
  "pluginType": "core",
@@ -2577,95 +2417,69 @@
2577
2417
  "enableJsonFlag": false,
2578
2418
  "coreCommand": false,
2579
2419
  "readOnly": false,
2580
- "destructive": false,
2420
+ "destructive": true,
2581
2421
  "idempotent": false,
2582
2422
  "isESM": true,
2583
2423
  "relativePath": [
2584
2424
  "dist",
2585
2425
  "commands",
2586
- "import",
2587
- "commit.js"
2426
+ "env",
2427
+ "rm.js"
2588
2428
  ]
2589
2429
  },
2590
- "import:plan": {
2430
+ "env:update": {
2591
2431
  "aliases": [],
2592
2432
  "args": {
2593
- "resource": {
2594
- "description": "A specific resource to import.",
2595
- "name": "resource",
2433
+ "key": {
2434
+ "description": "Environment variable key.",
2435
+ "name": "key",
2436
+ "required": true
2437
+ },
2438
+ "value": {
2439
+ "description": "Environment variable value.",
2440
+ "name": "value",
2596
2441
  "required": false
2597
2442
  }
2598
2443
  },
2599
- "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.",
2444
+ "description": "Update environment variable via \"checkly env update <key> <value>\".",
2600
2445
  "flags": {
2601
- "config": {
2602
- "char": "c",
2603
- "description": "The Checkly CLI configuration file. If not passed, uses the checkly.config.ts|js file in the current directory.",
2604
- "name": "config",
2605
- "hasDynamicHelp": false,
2606
- "multiple": false,
2607
- "type": "option"
2608
- },
2609
- "root": {
2610
- "description": "The root folder in which to write generated code files.",
2611
- "name": "root",
2612
- "default": "__checks__",
2613
- "hasDynamicHelp": false,
2614
- "multiple": false,
2615
- "type": "option"
2616
- },
2617
- "preview": {
2618
- "description": "Preview generated code without creating an actual import plan.",
2619
- "name": "preview",
2446
+ "locked": {
2447
+ "char": "l",
2448
+ "description": "Indicate if environment variable is locked.",
2449
+ "name": "locked",
2620
2450
  "allowNo": false,
2621
2451
  "type": "boolean"
2622
2452
  },
2623
- "debug-import-plan": {
2624
- "description": "Output the import plan to a file.",
2625
- "hidden": true,
2626
- "name": "debug-import-plan",
2453
+ "secret": {
2454
+ "char": "s",
2455
+ "description": "Indicate if environment variable is secret.",
2456
+ "exclusive": [
2457
+ "locked"
2458
+ ],
2459
+ "name": "secret",
2627
2460
  "allowNo": false,
2628
2461
  "type": "boolean"
2629
- },
2630
- "debug-import-plan-input-file": {
2631
- "description": "A file to load an import plan from.",
2632
- "hidden": true,
2633
- "name": "debug-import-plan-input-file",
2634
- "hasDynamicHelp": false,
2635
- "multiple": false,
2636
- "type": "option"
2637
- },
2638
- "debug-import-plan-output-file": {
2639
- "description": "The file to output the import plan to.",
2640
- "hidden": true,
2641
- "name": "debug-import-plan-output-file",
2642
- "default": "./debug-import-plan.json",
2643
- "hasDynamicHelp": false,
2644
- "multiple": false,
2645
- "type": "option"
2646
2462
  }
2647
2463
  },
2648
2464
  "hasDynamicHelp": false,
2649
2465
  "hidden": false,
2650
- "hiddenAliases": [
2651
- "import"
2652
- ],
2653
- "id": "import:plan",
2466
+ "hiddenAliases": [],
2467
+ "id": "env:update",
2654
2468
  "pluginAlias": "checkly",
2655
2469
  "pluginName": "checkly",
2656
2470
  "pluginType": "core",
2657
- "strict": false,
2471
+ "strict": true,
2658
2472
  "enableJsonFlag": false,
2659
2473
  "coreCommand": false,
2660
- "readOnly": true,
2474
+ "readOnly": false,
2661
2475
  "destructive": false,
2662
2476
  "idempotent": true,
2663
2477
  "isESM": true,
2664
2478
  "relativePath": [
2665
2479
  "dist",
2666
2480
  "commands",
2667
- "import",
2668
- "plan.js"
2481
+ "env",
2482
+ "update.js"
2669
2483
  ]
2670
2484
  },
2671
2485
  "incidents:create": {
@@ -3171,6 +2985,198 @@
3171
2985
  "update.js"
3172
2986
  ]
3173
2987
  },
2988
+ "import:apply": {
2989
+ "aliases": [],
2990
+ "args": {},
2991
+ "description": "Attach imported resources into your project in a pending state.",
2992
+ "flags": {
2993
+ "config": {
2994
+ "char": "c",
2995
+ "description": "The Checkly CLI configuration file. If not passed, uses the checkly.config.ts|js file in the current directory.",
2996
+ "name": "config",
2997
+ "hasDynamicHelp": false,
2998
+ "multiple": false,
2999
+ "type": "option"
3000
+ }
3001
+ },
3002
+ "hasDynamicHelp": false,
3003
+ "hidden": false,
3004
+ "hiddenAliases": [],
3005
+ "id": "import:apply",
3006
+ "pluginAlias": "checkly",
3007
+ "pluginName": "checkly",
3008
+ "pluginType": "core",
3009
+ "strict": true,
3010
+ "enableJsonFlag": false,
3011
+ "coreCommand": false,
3012
+ "readOnly": false,
3013
+ "destructive": false,
3014
+ "idempotent": false,
3015
+ "isESM": true,
3016
+ "relativePath": [
3017
+ "dist",
3018
+ "commands",
3019
+ "import",
3020
+ "apply.js"
3021
+ ]
3022
+ },
3023
+ "import:cancel": {
3024
+ "aliases": [],
3025
+ "args": {},
3026
+ "description": "Cancels an ongoing import plan that has not been committed yet.",
3027
+ "flags": {
3028
+ "config": {
3029
+ "char": "c",
3030
+ "description": "The Checkly CLI configuration file. If not passed, uses the checkly.config.ts|js file in the current directory.",
3031
+ "name": "config",
3032
+ "hasDynamicHelp": false,
3033
+ "multiple": false,
3034
+ "type": "option"
3035
+ },
3036
+ "all": {
3037
+ "description": "Cancel all plans.",
3038
+ "name": "all",
3039
+ "allowNo": false,
3040
+ "type": "boolean"
3041
+ }
3042
+ },
3043
+ "hasDynamicHelp": false,
3044
+ "hidden": false,
3045
+ "hiddenAliases": [],
3046
+ "id": "import:cancel",
3047
+ "pluginAlias": "checkly",
3048
+ "pluginName": "checkly",
3049
+ "pluginType": "core",
3050
+ "strict": true,
3051
+ "enableJsonFlag": false,
3052
+ "coreCommand": false,
3053
+ "readOnly": false,
3054
+ "destructive": false,
3055
+ "idempotent": true,
3056
+ "isESM": true,
3057
+ "relativePath": [
3058
+ "dist",
3059
+ "commands",
3060
+ "import",
3061
+ "cancel.js"
3062
+ ]
3063
+ },
3064
+ "import:commit": {
3065
+ "aliases": [],
3066
+ "args": {},
3067
+ "description": "Permanently commit imported resources into your project.",
3068
+ "flags": {
3069
+ "config": {
3070
+ "char": "c",
3071
+ "description": "The Checkly CLI configuration file. If not passed, uses the checkly.config.ts|js file in the current directory.",
3072
+ "name": "config",
3073
+ "hasDynamicHelp": false,
3074
+ "multiple": false,
3075
+ "type": "option"
3076
+ }
3077
+ },
3078
+ "hasDynamicHelp": false,
3079
+ "hidden": false,
3080
+ "hiddenAliases": [],
3081
+ "id": "import:commit",
3082
+ "pluginAlias": "checkly",
3083
+ "pluginName": "checkly",
3084
+ "pluginType": "core",
3085
+ "strict": true,
3086
+ "enableJsonFlag": false,
3087
+ "coreCommand": false,
3088
+ "readOnly": false,
3089
+ "destructive": false,
3090
+ "idempotent": false,
3091
+ "isESM": true,
3092
+ "relativePath": [
3093
+ "dist",
3094
+ "commands",
3095
+ "import",
3096
+ "commit.js"
3097
+ ]
3098
+ },
3099
+ "import:plan": {
3100
+ "aliases": [],
3101
+ "args": {
3102
+ "resource": {
3103
+ "description": "A specific resource to import.",
3104
+ "name": "resource",
3105
+ "required": false
3106
+ }
3107
+ },
3108
+ "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.",
3109
+ "flags": {
3110
+ "config": {
3111
+ "char": "c",
3112
+ "description": "The Checkly CLI configuration file. If not passed, uses the checkly.config.ts|js file in the current directory.",
3113
+ "name": "config",
3114
+ "hasDynamicHelp": false,
3115
+ "multiple": false,
3116
+ "type": "option"
3117
+ },
3118
+ "root": {
3119
+ "description": "The root folder in which to write generated code files.",
3120
+ "name": "root",
3121
+ "default": "__checks__",
3122
+ "hasDynamicHelp": false,
3123
+ "multiple": false,
3124
+ "type": "option"
3125
+ },
3126
+ "preview": {
3127
+ "description": "Preview generated code without creating an actual import plan.",
3128
+ "name": "preview",
3129
+ "allowNo": false,
3130
+ "type": "boolean"
3131
+ },
3132
+ "debug-import-plan": {
3133
+ "description": "Output the import plan to a file.",
3134
+ "hidden": true,
3135
+ "name": "debug-import-plan",
3136
+ "allowNo": false,
3137
+ "type": "boolean"
3138
+ },
3139
+ "debug-import-plan-input-file": {
3140
+ "description": "A file to load an import plan from.",
3141
+ "hidden": true,
3142
+ "name": "debug-import-plan-input-file",
3143
+ "hasDynamicHelp": false,
3144
+ "multiple": false,
3145
+ "type": "option"
3146
+ },
3147
+ "debug-import-plan-output-file": {
3148
+ "description": "The file to output the import plan to.",
3149
+ "hidden": true,
3150
+ "name": "debug-import-plan-output-file",
3151
+ "default": "./debug-import-plan.json",
3152
+ "hasDynamicHelp": false,
3153
+ "multiple": false,
3154
+ "type": "option"
3155
+ }
3156
+ },
3157
+ "hasDynamicHelp": false,
3158
+ "hidden": false,
3159
+ "hiddenAliases": [
3160
+ "import"
3161
+ ],
3162
+ "id": "import:plan",
3163
+ "pluginAlias": "checkly",
3164
+ "pluginName": "checkly",
3165
+ "pluginType": "core",
3166
+ "strict": false,
3167
+ "enableJsonFlag": false,
3168
+ "coreCommand": false,
3169
+ "readOnly": true,
3170
+ "destructive": false,
3171
+ "idempotent": true,
3172
+ "isESM": true,
3173
+ "relativePath": [
3174
+ "dist",
3175
+ "commands",
3176
+ "import",
3177
+ "plan.js"
3178
+ ]
3179
+ },
3174
3180
  "rca:get": {
3175
3181
  "aliases": [],
3176
3182
  "args": {
@@ -3717,5 +3723,5 @@
3717
3723
  ]
3718
3724
  }
3719
3725
  },
3720
- "version": "8.13.0"
3726
+ "version": "8.14.1-prerelease-522049f"
3721
3727
  }