checkly 8.17.1-prerelease-14d5b2d → 8.17.1

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 (2) hide show
  1. package/oclif.manifest.json +478 -478
  2. package/package.json +1 -1
@@ -1488,6 +1488,211 @@
1488
1488
  "logs.js"
1489
1489
  ]
1490
1490
  },
1491
+ "assets:download": {
1492
+ "aliases": [],
1493
+ "args": {},
1494
+ "description": "Download result assets.",
1495
+ "flags": {
1496
+ "check-id": {
1497
+ "description": "Check ID for a scheduled check result.",
1498
+ "name": "check-id",
1499
+ "hasDynamicHelp": false,
1500
+ "multiple": false,
1501
+ "type": "option"
1502
+ },
1503
+ "test-session-id": {
1504
+ "description": "Test session ID for a test-session result.",
1505
+ "name": "test-session-id",
1506
+ "hasDynamicHelp": false,
1507
+ "multiple": false,
1508
+ "type": "option"
1509
+ },
1510
+ "result-id": {
1511
+ "description": "Check result ID or test-session result ID.",
1512
+ "name": "result-id",
1513
+ "required": true,
1514
+ "hasDynamicHelp": false,
1515
+ "multiple": false,
1516
+ "type": "option"
1517
+ },
1518
+ "type": {
1519
+ "description": "Select assets by type.",
1520
+ "name": "type",
1521
+ "hasDynamicHelp": false,
1522
+ "multiple": false,
1523
+ "options": [
1524
+ "log",
1525
+ "trace",
1526
+ "video",
1527
+ "screenshot",
1528
+ "pcap",
1529
+ "report",
1530
+ "file",
1531
+ "all"
1532
+ ],
1533
+ "type": "option"
1534
+ },
1535
+ "asset": {
1536
+ "description": "Select an asset by exact Asset/Name value or glob.",
1537
+ "name": "asset",
1538
+ "hasDynamicHelp": false,
1539
+ "multiple": false,
1540
+ "type": "option"
1541
+ },
1542
+ "dir": {
1543
+ "description": "Directory to write assets into.",
1544
+ "name": "dir",
1545
+ "hasDynamicHelp": false,
1546
+ "multiple": false,
1547
+ "type": "option"
1548
+ },
1549
+ "force": {
1550
+ "description": "Overwrite existing files.",
1551
+ "name": "force",
1552
+ "allowNo": false,
1553
+ "type": "boolean"
1554
+ },
1555
+ "skip-existing": {
1556
+ "description": "Skip files that already exist.",
1557
+ "name": "skip-existing",
1558
+ "allowNo": false,
1559
+ "type": "boolean"
1560
+ },
1561
+ "output": {
1562
+ "char": "o",
1563
+ "description": "Output format.",
1564
+ "name": "output",
1565
+ "default": "table",
1566
+ "hasDynamicHelp": false,
1567
+ "multiple": false,
1568
+ "options": [
1569
+ "table",
1570
+ "json"
1571
+ ],
1572
+ "type": "option"
1573
+ }
1574
+ },
1575
+ "hasDynamicHelp": false,
1576
+ "hidden": false,
1577
+ "hiddenAliases": [],
1578
+ "id": "assets:download",
1579
+ "pluginAlias": "checkly",
1580
+ "pluginName": "checkly",
1581
+ "pluginType": "core",
1582
+ "strict": true,
1583
+ "enableJsonFlag": false,
1584
+ "coreCommand": false,
1585
+ "readOnly": true,
1586
+ "destructive": false,
1587
+ "idempotent": true,
1588
+ "isESM": true,
1589
+ "relativePath": [
1590
+ "dist",
1591
+ "commands",
1592
+ "assets",
1593
+ "download.js"
1594
+ ]
1595
+ },
1596
+ "assets:list": {
1597
+ "aliases": [],
1598
+ "args": {},
1599
+ "description": "List result assets.",
1600
+ "flags": {
1601
+ "check-id": {
1602
+ "description": "Check ID for a scheduled check result.",
1603
+ "name": "check-id",
1604
+ "hasDynamicHelp": false,
1605
+ "multiple": false,
1606
+ "type": "option"
1607
+ },
1608
+ "test-session-id": {
1609
+ "description": "Test session ID for a test-session result.",
1610
+ "name": "test-session-id",
1611
+ "hasDynamicHelp": false,
1612
+ "multiple": false,
1613
+ "type": "option"
1614
+ },
1615
+ "result-id": {
1616
+ "description": "Check result ID or test-session result ID.",
1617
+ "name": "result-id",
1618
+ "required": true,
1619
+ "hasDynamicHelp": false,
1620
+ "multiple": false,
1621
+ "type": "option"
1622
+ },
1623
+ "type": {
1624
+ "description": "Filter assets by type.",
1625
+ "name": "type",
1626
+ "default": "all",
1627
+ "hasDynamicHelp": false,
1628
+ "multiple": false,
1629
+ "options": [
1630
+ "log",
1631
+ "trace",
1632
+ "video",
1633
+ "screenshot",
1634
+ "pcap",
1635
+ "report",
1636
+ "file",
1637
+ "all"
1638
+ ],
1639
+ "type": "option"
1640
+ },
1641
+ "asset": {
1642
+ "description": "Filter assets by exact Asset/Name value or glob.",
1643
+ "name": "asset",
1644
+ "hasDynamicHelp": false,
1645
+ "multiple": false,
1646
+ "type": "option"
1647
+ },
1648
+ "view": {
1649
+ "description": "Human output view. Ignored with --output json.",
1650
+ "name": "view",
1651
+ "default": "table",
1652
+ "hasDynamicHelp": false,
1653
+ "multiple": false,
1654
+ "options": [
1655
+ "table",
1656
+ "tree"
1657
+ ],
1658
+ "type": "option"
1659
+ },
1660
+ "output": {
1661
+ "char": "o",
1662
+ "description": "Output format.",
1663
+ "name": "output",
1664
+ "default": "table",
1665
+ "hasDynamicHelp": false,
1666
+ "multiple": false,
1667
+ "options": [
1668
+ "table",
1669
+ "json",
1670
+ "md"
1671
+ ],
1672
+ "type": "option"
1673
+ }
1674
+ },
1675
+ "hasDynamicHelp": false,
1676
+ "hidden": false,
1677
+ "hiddenAliases": [],
1678
+ "id": "assets:list",
1679
+ "pluginAlias": "checkly",
1680
+ "pluginName": "checkly",
1681
+ "pluginType": "core",
1682
+ "strict": true,
1683
+ "enableJsonFlag": false,
1684
+ "coreCommand": false,
1685
+ "readOnly": true,
1686
+ "destructive": false,
1687
+ "idempotent": true,
1688
+ "isESM": true,
1689
+ "relativePath": [
1690
+ "dist",
1691
+ "commands",
1692
+ "assets",
1693
+ "list.js"
1694
+ ]
1695
+ },
1491
1696
  "checks:delete": {
1492
1697
  "aliases": [],
1493
1698
  "args": {
@@ -2066,233 +2271,28 @@
2066
2271
  "parse-project.js"
2067
2272
  ]
2068
2273
  },
2069
- "assets:download": {
2274
+ "env:add": {
2070
2275
  "aliases": [],
2071
- "args": {},
2072
- "description": "Download result assets.",
2073
- "flags": {
2074
- "check-id": {
2075
- "description": "Check ID for a scheduled check result.",
2076
- "name": "check-id",
2077
- "hasDynamicHelp": false,
2078
- "multiple": false,
2079
- "type": "option"
2080
- },
2081
- "test-session-id": {
2082
- "description": "Test session ID for a test-session result.",
2083
- "name": "test-session-id",
2084
- "hasDynamicHelp": false,
2085
- "multiple": false,
2086
- "type": "option"
2276
+ "args": {
2277
+ "key": {
2278
+ "description": "Environment variable key.",
2279
+ "name": "key",
2280
+ "required": true
2087
2281
  },
2088
- "result-id": {
2089
- "description": "Check result ID or test-session result ID.",
2090
- "name": "result-id",
2091
- "required": true,
2092
- "hasDynamicHelp": false,
2093
- "multiple": false,
2094
- "type": "option"
2095
- },
2096
- "type": {
2097
- "description": "Select assets by type.",
2098
- "name": "type",
2099
- "hasDynamicHelp": false,
2100
- "multiple": false,
2101
- "options": [
2102
- "log",
2103
- "trace",
2104
- "video",
2105
- "screenshot",
2106
- "pcap",
2107
- "report",
2108
- "file",
2109
- "all"
2110
- ],
2111
- "type": "option"
2112
- },
2113
- "asset": {
2114
- "description": "Select an asset by exact Asset/Name value or glob.",
2115
- "name": "asset",
2116
- "hasDynamicHelp": false,
2117
- "multiple": false,
2118
- "type": "option"
2119
- },
2120
- "dir": {
2121
- "description": "Directory to write assets into.",
2122
- "name": "dir",
2123
- "hasDynamicHelp": false,
2124
- "multiple": false,
2125
- "type": "option"
2126
- },
2127
- "force": {
2128
- "description": "Overwrite existing files.",
2129
- "name": "force",
2130
- "allowNo": false,
2131
- "type": "boolean"
2132
- },
2133
- "skip-existing": {
2134
- "description": "Skip files that already exist.",
2135
- "name": "skip-existing",
2136
- "allowNo": false,
2137
- "type": "boolean"
2138
- },
2139
- "output": {
2140
- "char": "o",
2141
- "description": "Output format.",
2142
- "name": "output",
2143
- "default": "table",
2144
- "hasDynamicHelp": false,
2145
- "multiple": false,
2146
- "options": [
2147
- "table",
2148
- "json"
2149
- ],
2150
- "type": "option"
2151
- }
2152
- },
2153
- "hasDynamicHelp": false,
2154
- "hidden": false,
2155
- "hiddenAliases": [],
2156
- "id": "assets:download",
2157
- "pluginAlias": "checkly",
2158
- "pluginName": "checkly",
2159
- "pluginType": "core",
2160
- "strict": true,
2161
- "enableJsonFlag": false,
2162
- "coreCommand": false,
2163
- "readOnly": true,
2164
- "destructive": false,
2165
- "idempotent": true,
2166
- "isESM": true,
2167
- "relativePath": [
2168
- "dist",
2169
- "commands",
2170
- "assets",
2171
- "download.js"
2172
- ]
2173
- },
2174
- "assets:list": {
2175
- "aliases": [],
2176
- "args": {},
2177
- "description": "List result assets.",
2178
- "flags": {
2179
- "check-id": {
2180
- "description": "Check ID for a scheduled check result.",
2181
- "name": "check-id",
2182
- "hasDynamicHelp": false,
2183
- "multiple": false,
2184
- "type": "option"
2185
- },
2186
- "test-session-id": {
2187
- "description": "Test session ID for a test-session result.",
2188
- "name": "test-session-id",
2189
- "hasDynamicHelp": false,
2190
- "multiple": false,
2191
- "type": "option"
2192
- },
2193
- "result-id": {
2194
- "description": "Check result ID or test-session result ID.",
2195
- "name": "result-id",
2196
- "required": true,
2197
- "hasDynamicHelp": false,
2198
- "multiple": false,
2199
- "type": "option"
2200
- },
2201
- "type": {
2202
- "description": "Filter assets by type.",
2203
- "name": "type",
2204
- "default": "all",
2205
- "hasDynamicHelp": false,
2206
- "multiple": false,
2207
- "options": [
2208
- "log",
2209
- "trace",
2210
- "video",
2211
- "screenshot",
2212
- "pcap",
2213
- "report",
2214
- "file",
2215
- "all"
2216
- ],
2217
- "type": "option"
2218
- },
2219
- "asset": {
2220
- "description": "Filter assets by exact Asset/Name value or glob.",
2221
- "name": "asset",
2222
- "hasDynamicHelp": false,
2223
- "multiple": false,
2224
- "type": "option"
2225
- },
2226
- "view": {
2227
- "description": "Human output view. Ignored with --output json.",
2228
- "name": "view",
2229
- "default": "table",
2230
- "hasDynamicHelp": false,
2231
- "multiple": false,
2232
- "options": [
2233
- "table",
2234
- "tree"
2235
- ],
2236
- "type": "option"
2237
- },
2238
- "output": {
2239
- "char": "o",
2240
- "description": "Output format.",
2241
- "name": "output",
2242
- "default": "table",
2243
- "hasDynamicHelp": false,
2244
- "multiple": false,
2245
- "options": [
2246
- "table",
2247
- "json",
2248
- "md"
2249
- ],
2250
- "type": "option"
2251
- }
2252
- },
2253
- "hasDynamicHelp": false,
2254
- "hidden": false,
2255
- "hiddenAliases": [],
2256
- "id": "assets:list",
2257
- "pluginAlias": "checkly",
2258
- "pluginName": "checkly",
2259
- "pluginType": "core",
2260
- "strict": true,
2261
- "enableJsonFlag": false,
2262
- "coreCommand": false,
2263
- "readOnly": true,
2264
- "destructive": false,
2265
- "idempotent": true,
2266
- "isESM": true,
2267
- "relativePath": [
2268
- "dist",
2269
- "commands",
2270
- "assets",
2271
- "list.js"
2272
- ]
2273
- },
2274
- "env:add": {
2275
- "aliases": [],
2276
- "args": {
2277
- "key": {
2278
- "description": "Environment variable key.",
2279
- "name": "key",
2280
- "required": true
2281
- },
2282
- "value": {
2283
- "description": "Environment variable value.",
2284
- "name": "value",
2285
- "required": false
2286
- }
2287
- },
2288
- "description": "Add environment variable via \"checkly env add <key> <value>\".",
2289
- "flags": {
2290
- "locked": {
2291
- "char": "l",
2292
- "description": "Indicate that the environment variable will be locked.",
2293
- "name": "locked",
2294
- "allowNo": false,
2295
- "type": "boolean"
2282
+ "value": {
2283
+ "description": "Environment variable value.",
2284
+ "name": "value",
2285
+ "required": false
2286
+ }
2287
+ },
2288
+ "description": "Add environment variable via \"checkly env add <key> <value>\".",
2289
+ "flags": {
2290
+ "locked": {
2291
+ "char": "l",
2292
+ "description": "Indicate that the environment variable will be locked.",
2293
+ "name": "locked",
2294
+ "allowNo": false,
2295
+ "type": "boolean"
2296
2296
  },
2297
2297
  "secret": {
2298
2298
  "char": "s",
@@ -2468,269 +2468,24 @@
2468
2468
  }
2469
2469
  },
2470
2470
  "hasDynamicHelp": false,
2471
- "hidden": false,
2472
- "hiddenAliases": [],
2473
- "id": "env:update",
2474
- "pluginAlias": "checkly",
2475
- "pluginName": "checkly",
2476
- "pluginType": "core",
2477
- "strict": true,
2478
- "enableJsonFlag": false,
2479
- "coreCommand": false,
2480
- "readOnly": false,
2481
- "destructive": false,
2482
- "idempotent": true,
2483
- "isESM": true,
2484
- "relativePath": [
2485
- "dist",
2486
- "commands",
2487
- "env",
2488
- "update.js"
2489
- ]
2490
- },
2491
- "import:apply": {
2492
- "aliases": [],
2493
- "args": {},
2494
- "description": "Attach imported resources into your project in a pending state.",
2495
- "flags": {
2496
- "config": {
2497
- "char": "c",
2498
- "description": "The Checkly CLI configuration file. If not passed, uses the checkly.config.ts|js file in the current directory.",
2499
- "name": "config",
2500
- "hasDynamicHelp": false,
2501
- "multiple": false,
2502
- "type": "option"
2503
- },
2504
- "plan-id": {
2505
- "description": "Target a specific import plan by ID, skipping interactive plan selection.",
2506
- "name": "plan-id",
2507
- "hasDynamicHelp": false,
2508
- "multiple": false,
2509
- "type": "option"
2510
- },
2511
- "no-commit": {
2512
- "description": "Apply only. Leave the plan pending and skip the commit prompt.",
2513
- "name": "no-commit",
2514
- "allowNo": false,
2515
- "type": "boolean"
2516
- }
2517
- },
2518
- "hasDynamicHelp": false,
2519
- "hidden": false,
2520
- "hiddenAliases": [],
2521
- "id": "import:apply",
2522
- "pluginAlias": "checkly",
2523
- "pluginName": "checkly",
2524
- "pluginType": "core",
2525
- "strict": true,
2526
- "enableJsonFlag": false,
2527
- "coreCommand": false,
2528
- "readOnly": false,
2529
- "destructive": false,
2530
- "idempotent": false,
2531
- "isESM": true,
2532
- "relativePath": [
2533
- "dist",
2534
- "commands",
2535
- "import",
2536
- "apply.js"
2537
- ]
2538
- },
2539
- "import:cancel": {
2540
- "aliases": [],
2541
- "args": {},
2542
- "description": "Cancels an ongoing import plan that has not been committed yet.",
2543
- "flags": {
2544
- "config": {
2545
- "char": "c",
2546
- "description": "The Checkly CLI configuration file. If not passed, uses the checkly.config.ts|js file in the current directory.",
2547
- "name": "config",
2548
- "hasDynamicHelp": false,
2549
- "multiple": false,
2550
- "type": "option"
2551
- },
2552
- "all": {
2553
- "description": "Cancel all plans.",
2554
- "name": "all",
2555
- "allowNo": false,
2556
- "type": "boolean"
2557
- },
2558
- "plan-id": {
2559
- "description": "Target a specific import plan by ID, skipping interactive plan selection.",
2560
- "name": "plan-id",
2561
- "hasDynamicHelp": false,
2562
- "multiple": false,
2563
- "type": "option"
2564
- },
2565
- "force": {
2566
- "char": "f",
2567
- "description": "Skip confirmation prompt.",
2568
- "name": "force",
2569
- "allowNo": false,
2570
- "type": "boolean"
2571
- },
2572
- "dry-run": {
2573
- "description": "Preview what would happen without executing.",
2574
- "name": "dry-run",
2575
- "allowNo": false,
2576
- "type": "boolean"
2577
- }
2578
- },
2579
- "hasDynamicHelp": false,
2580
- "hidden": false,
2581
- "hiddenAliases": [],
2582
- "id": "import:cancel",
2583
- "pluginAlias": "checkly",
2584
- "pluginName": "checkly",
2585
- "pluginType": "core",
2586
- "strict": true,
2587
- "enableJsonFlag": false,
2588
- "coreCommand": false,
2589
- "readOnly": false,
2590
- "destructive": true,
2591
- "idempotent": true,
2592
- "isESM": true,
2593
- "relativePath": [
2594
- "dist",
2595
- "commands",
2596
- "import",
2597
- "cancel.js"
2598
- ]
2599
- },
2600
- "import:commit": {
2601
- "aliases": [],
2602
- "args": {},
2603
- "description": "Permanently commit imported resources into your project.",
2604
- "flags": {
2605
- "config": {
2606
- "char": "c",
2607
- "description": "The Checkly CLI configuration file. If not passed, uses the checkly.config.ts|js file in the current directory.",
2608
- "name": "config",
2609
- "hasDynamicHelp": false,
2610
- "multiple": false,
2611
- "type": "option"
2612
- },
2613
- "plan-id": {
2614
- "description": "Target a specific import plan by ID, skipping interactive plan selection.",
2615
- "name": "plan-id",
2616
- "hasDynamicHelp": false,
2617
- "multiple": false,
2618
- "type": "option"
2619
- },
2620
- "force": {
2621
- "char": "f",
2622
- "description": "Skip confirmation prompt.",
2623
- "name": "force",
2624
- "allowNo": false,
2625
- "type": "boolean"
2626
- },
2627
- "dry-run": {
2628
- "description": "Preview what would happen without executing.",
2629
- "name": "dry-run",
2630
- "allowNo": false,
2631
- "type": "boolean"
2632
- }
2633
- },
2634
- "hasDynamicHelp": false,
2635
- "hidden": false,
2636
- "hiddenAliases": [],
2637
- "id": "import:commit",
2638
- "pluginAlias": "checkly",
2639
- "pluginName": "checkly",
2640
- "pluginType": "core",
2641
- "strict": true,
2642
- "enableJsonFlag": false,
2643
- "coreCommand": false,
2644
- "readOnly": false,
2645
- "destructive": false,
2646
- "idempotent": false,
2647
- "isESM": true,
2648
- "relativePath": [
2649
- "dist",
2650
- "commands",
2651
- "import",
2652
- "commit.js"
2653
- ]
2654
- },
2655
- "import:plan": {
2656
- "aliases": [],
2657
- "args": {
2658
- "resource": {
2659
- "description": "A specific resource to import.",
2660
- "name": "resource",
2661
- "required": false
2662
- }
2663
- },
2664
- "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.",
2665
- "flags": {
2666
- "config": {
2667
- "char": "c",
2668
- "description": "The Checkly CLI configuration file. If not passed, uses the checkly.config.ts|js file in the current directory.",
2669
- "name": "config",
2670
- "hasDynamicHelp": false,
2671
- "multiple": false,
2672
- "type": "option"
2673
- },
2674
- "root": {
2675
- "description": "The root folder in which to write generated code files.",
2676
- "name": "root",
2677
- "default": "__checks__",
2678
- "hasDynamicHelp": false,
2679
- "multiple": false,
2680
- "type": "option"
2681
- },
2682
- "preview": {
2683
- "description": "Preview generated code without creating an actual import plan.",
2684
- "name": "preview",
2685
- "allowNo": false,
2686
- "type": "boolean"
2687
- },
2688
- "debug-import-plan": {
2689
- "description": "Output the import plan to a file.",
2690
- "hidden": true,
2691
- "name": "debug-import-plan",
2692
- "allowNo": false,
2693
- "type": "boolean"
2694
- },
2695
- "debug-import-plan-input-file": {
2696
- "description": "A file to load an import plan from.",
2697
- "hidden": true,
2698
- "name": "debug-import-plan-input-file",
2699
- "hasDynamicHelp": false,
2700
- "multiple": false,
2701
- "type": "option"
2702
- },
2703
- "debug-import-plan-output-file": {
2704
- "description": "The file to output the import plan to.",
2705
- "hidden": true,
2706
- "name": "debug-import-plan-output-file",
2707
- "default": "./debug-import-plan.json",
2708
- "hasDynamicHelp": false,
2709
- "multiple": false,
2710
- "type": "option"
2711
- }
2712
- },
2713
- "hasDynamicHelp": false,
2714
- "hidden": false,
2715
- "hiddenAliases": [
2716
- "import"
2717
- ],
2718
- "id": "import:plan",
2471
+ "hidden": false,
2472
+ "hiddenAliases": [],
2473
+ "id": "env:update",
2719
2474
  "pluginAlias": "checkly",
2720
2475
  "pluginName": "checkly",
2721
2476
  "pluginType": "core",
2722
- "strict": false,
2477
+ "strict": true,
2723
2478
  "enableJsonFlag": false,
2724
2479
  "coreCommand": false,
2725
- "readOnly": true,
2480
+ "readOnly": false,
2726
2481
  "destructive": false,
2727
2482
  "idempotent": true,
2728
2483
  "isESM": true,
2729
2484
  "relativePath": [
2730
2485
  "dist",
2731
2486
  "commands",
2732
- "import",
2733
- "plan.js"
2487
+ "env",
2488
+ "update.js"
2734
2489
  ]
2735
2490
  },
2736
2491
  "incidents:create": {
@@ -3464,6 +3219,251 @@
3464
3219
  "install.js"
3465
3220
  ]
3466
3221
  },
3222
+ "import:apply": {
3223
+ "aliases": [],
3224
+ "args": {},
3225
+ "description": "Attach imported resources into your project in a pending state.",
3226
+ "flags": {
3227
+ "config": {
3228
+ "char": "c",
3229
+ "description": "The Checkly CLI configuration file. If not passed, uses the checkly.config.ts|js file in the current directory.",
3230
+ "name": "config",
3231
+ "hasDynamicHelp": false,
3232
+ "multiple": false,
3233
+ "type": "option"
3234
+ },
3235
+ "plan-id": {
3236
+ "description": "Target a specific import plan by ID, skipping interactive plan selection.",
3237
+ "name": "plan-id",
3238
+ "hasDynamicHelp": false,
3239
+ "multiple": false,
3240
+ "type": "option"
3241
+ },
3242
+ "no-commit": {
3243
+ "description": "Apply only. Leave the plan pending and skip the commit prompt.",
3244
+ "name": "no-commit",
3245
+ "allowNo": false,
3246
+ "type": "boolean"
3247
+ }
3248
+ },
3249
+ "hasDynamicHelp": false,
3250
+ "hidden": false,
3251
+ "hiddenAliases": [],
3252
+ "id": "import:apply",
3253
+ "pluginAlias": "checkly",
3254
+ "pluginName": "checkly",
3255
+ "pluginType": "core",
3256
+ "strict": true,
3257
+ "enableJsonFlag": false,
3258
+ "coreCommand": false,
3259
+ "readOnly": false,
3260
+ "destructive": false,
3261
+ "idempotent": false,
3262
+ "isESM": true,
3263
+ "relativePath": [
3264
+ "dist",
3265
+ "commands",
3266
+ "import",
3267
+ "apply.js"
3268
+ ]
3269
+ },
3270
+ "import:cancel": {
3271
+ "aliases": [],
3272
+ "args": {},
3273
+ "description": "Cancels an ongoing import plan that has not been committed yet.",
3274
+ "flags": {
3275
+ "config": {
3276
+ "char": "c",
3277
+ "description": "The Checkly CLI configuration file. If not passed, uses the checkly.config.ts|js file in the current directory.",
3278
+ "name": "config",
3279
+ "hasDynamicHelp": false,
3280
+ "multiple": false,
3281
+ "type": "option"
3282
+ },
3283
+ "all": {
3284
+ "description": "Cancel all plans.",
3285
+ "name": "all",
3286
+ "allowNo": false,
3287
+ "type": "boolean"
3288
+ },
3289
+ "plan-id": {
3290
+ "description": "Target a specific import plan by ID, skipping interactive plan selection.",
3291
+ "name": "plan-id",
3292
+ "hasDynamicHelp": false,
3293
+ "multiple": false,
3294
+ "type": "option"
3295
+ },
3296
+ "force": {
3297
+ "char": "f",
3298
+ "description": "Skip confirmation prompt.",
3299
+ "name": "force",
3300
+ "allowNo": false,
3301
+ "type": "boolean"
3302
+ },
3303
+ "dry-run": {
3304
+ "description": "Preview what would happen without executing.",
3305
+ "name": "dry-run",
3306
+ "allowNo": false,
3307
+ "type": "boolean"
3308
+ }
3309
+ },
3310
+ "hasDynamicHelp": false,
3311
+ "hidden": false,
3312
+ "hiddenAliases": [],
3313
+ "id": "import:cancel",
3314
+ "pluginAlias": "checkly",
3315
+ "pluginName": "checkly",
3316
+ "pluginType": "core",
3317
+ "strict": true,
3318
+ "enableJsonFlag": false,
3319
+ "coreCommand": false,
3320
+ "readOnly": false,
3321
+ "destructive": true,
3322
+ "idempotent": true,
3323
+ "isESM": true,
3324
+ "relativePath": [
3325
+ "dist",
3326
+ "commands",
3327
+ "import",
3328
+ "cancel.js"
3329
+ ]
3330
+ },
3331
+ "import:commit": {
3332
+ "aliases": [],
3333
+ "args": {},
3334
+ "description": "Permanently commit imported resources into your project.",
3335
+ "flags": {
3336
+ "config": {
3337
+ "char": "c",
3338
+ "description": "The Checkly CLI configuration file. If not passed, uses the checkly.config.ts|js file in the current directory.",
3339
+ "name": "config",
3340
+ "hasDynamicHelp": false,
3341
+ "multiple": false,
3342
+ "type": "option"
3343
+ },
3344
+ "plan-id": {
3345
+ "description": "Target a specific import plan by ID, skipping interactive plan selection.",
3346
+ "name": "plan-id",
3347
+ "hasDynamicHelp": false,
3348
+ "multiple": false,
3349
+ "type": "option"
3350
+ },
3351
+ "force": {
3352
+ "char": "f",
3353
+ "description": "Skip confirmation prompt.",
3354
+ "name": "force",
3355
+ "allowNo": false,
3356
+ "type": "boolean"
3357
+ },
3358
+ "dry-run": {
3359
+ "description": "Preview what would happen without executing.",
3360
+ "name": "dry-run",
3361
+ "allowNo": false,
3362
+ "type": "boolean"
3363
+ }
3364
+ },
3365
+ "hasDynamicHelp": false,
3366
+ "hidden": false,
3367
+ "hiddenAliases": [],
3368
+ "id": "import:commit",
3369
+ "pluginAlias": "checkly",
3370
+ "pluginName": "checkly",
3371
+ "pluginType": "core",
3372
+ "strict": true,
3373
+ "enableJsonFlag": false,
3374
+ "coreCommand": false,
3375
+ "readOnly": false,
3376
+ "destructive": false,
3377
+ "idempotent": false,
3378
+ "isESM": true,
3379
+ "relativePath": [
3380
+ "dist",
3381
+ "commands",
3382
+ "import",
3383
+ "commit.js"
3384
+ ]
3385
+ },
3386
+ "import:plan": {
3387
+ "aliases": [],
3388
+ "args": {
3389
+ "resource": {
3390
+ "description": "A specific resource to import.",
3391
+ "name": "resource",
3392
+ "required": false
3393
+ }
3394
+ },
3395
+ "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.",
3396
+ "flags": {
3397
+ "config": {
3398
+ "char": "c",
3399
+ "description": "The Checkly CLI configuration file. If not passed, uses the checkly.config.ts|js file in the current directory.",
3400
+ "name": "config",
3401
+ "hasDynamicHelp": false,
3402
+ "multiple": false,
3403
+ "type": "option"
3404
+ },
3405
+ "root": {
3406
+ "description": "The root folder in which to write generated code files.",
3407
+ "name": "root",
3408
+ "default": "__checks__",
3409
+ "hasDynamicHelp": false,
3410
+ "multiple": false,
3411
+ "type": "option"
3412
+ },
3413
+ "preview": {
3414
+ "description": "Preview generated code without creating an actual import plan.",
3415
+ "name": "preview",
3416
+ "allowNo": false,
3417
+ "type": "boolean"
3418
+ },
3419
+ "debug-import-plan": {
3420
+ "description": "Output the import plan to a file.",
3421
+ "hidden": true,
3422
+ "name": "debug-import-plan",
3423
+ "allowNo": false,
3424
+ "type": "boolean"
3425
+ },
3426
+ "debug-import-plan-input-file": {
3427
+ "description": "A file to load an import plan from.",
3428
+ "hidden": true,
3429
+ "name": "debug-import-plan-input-file",
3430
+ "hasDynamicHelp": false,
3431
+ "multiple": false,
3432
+ "type": "option"
3433
+ },
3434
+ "debug-import-plan-output-file": {
3435
+ "description": "The file to output the import plan to.",
3436
+ "hidden": true,
3437
+ "name": "debug-import-plan-output-file",
3438
+ "default": "./debug-import-plan.json",
3439
+ "hasDynamicHelp": false,
3440
+ "multiple": false,
3441
+ "type": "option"
3442
+ }
3443
+ },
3444
+ "hasDynamicHelp": false,
3445
+ "hidden": false,
3446
+ "hiddenAliases": [
3447
+ "import"
3448
+ ],
3449
+ "id": "import:plan",
3450
+ "pluginAlias": "checkly",
3451
+ "pluginName": "checkly",
3452
+ "pluginType": "core",
3453
+ "strict": false,
3454
+ "enableJsonFlag": false,
3455
+ "coreCommand": false,
3456
+ "readOnly": true,
3457
+ "destructive": false,
3458
+ "idempotent": true,
3459
+ "isESM": true,
3460
+ "relativePath": [
3461
+ "dist",
3462
+ "commands",
3463
+ "import",
3464
+ "plan.js"
3465
+ ]
3466
+ },
3467
3467
  "status-pages:get": {
3468
3468
  "aliases": [],
3469
3469
  "args": {
@@ -3782,5 +3782,5 @@
3782
3782
  ]
3783
3783
  }
3784
3784
  },
3785
- "version": "8.17.1-prerelease-14d5b2d"
3785
+ "version": "8.17.1"
3786
3786
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "checkly",
3
- "version": "8.17.1-prerelease-14d5b2d",
3
+ "version": "8.17.1",
4
4
  "type": "module",
5
5
  "description": "Checkly CLI",
6
6
  "main": "dist/index.js",