checkly 8.20.0-prerelease-798ff59 → 8.20.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/oclif.manifest.json +874 -874
  2. package/package.json +1 -1
@@ -1488,146 +1488,172 @@
1488
1488
  "logs.js"
1489
1489
  ]
1490
1490
  },
1491
- "checks:delete": {
1491
+ "assets:download": {
1492
1492
  "aliases": [],
1493
- "args": {
1494
- "id": {
1495
- "description": "The ID of the check to delete.",
1496
- "name": "id",
1497
- "required": true
1498
- }
1499
- },
1500
- "description": "Delete a check by ID. Checks managed by a CLI project are recreated on the next deploy — remove those from your project code instead.",
1493
+ "args": {},
1494
+ "description": "Download result assets.",
1501
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
+ },
1502
1549
  "force": {
1503
- "char": "f",
1504
- "description": "Skip confirmation prompt.",
1550
+ "description": "Overwrite existing files.",
1505
1551
  "name": "force",
1506
1552
  "allowNo": false,
1507
1553
  "type": "boolean"
1508
1554
  },
1509
- "dry-run": {
1510
- "description": "Preview what would happen without executing.",
1511
- "name": "dry-run",
1555
+ "skip-existing": {
1556
+ "description": "Skip files that already exist.",
1557
+ "name": "skip-existing",
1512
1558
  "allowNo": false,
1513
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"
1514
1573
  }
1515
1574
  },
1516
1575
  "hasDynamicHelp": false,
1517
1576
  "hidden": false,
1518
1577
  "hiddenAliases": [],
1519
- "id": "checks:delete",
1578
+ "id": "assets:download",
1520
1579
  "pluginAlias": "checkly",
1521
1580
  "pluginName": "checkly",
1522
1581
  "pluginType": "core",
1523
1582
  "strict": true,
1524
1583
  "enableJsonFlag": false,
1525
1584
  "coreCommand": false,
1526
- "readOnly": false,
1527
- "destructive": true,
1585
+ "readOnly": true,
1586
+ "destructive": false,
1528
1587
  "idempotent": true,
1529
1588
  "isESM": true,
1530
1589
  "relativePath": [
1531
1590
  "dist",
1532
1591
  "commands",
1533
- "checks",
1534
- "delete.js"
1592
+ "assets",
1593
+ "download.js"
1535
1594
  ]
1536
1595
  },
1537
- "checks:get": {
1596
+ "assets:list": {
1538
1597
  "aliases": [],
1539
- "args": {
1540
- "id": {
1541
- "description": "The ID of the check to retrieve.",
1542
- "name": "id",
1543
- "required": true
1544
- }
1545
- },
1546
- "description": "Get details of a specific check, including recent results. Use --result to drill into a specific result.",
1598
+ "args": {},
1599
+ "description": "List result assets.",
1547
1600
  "flags": {
1548
- "result": {
1549
- "char": "r",
1550
- "description": "Show details for a specific result ID.",
1551
- "name": "result",
1552
- "hasDynamicHelp": false,
1553
- "multiple": false,
1554
- "type": "option"
1555
- },
1556
- "include-attempts": {
1557
- "dependsOn": [
1558
- "result"
1559
- ],
1560
- "description": "Show individual retry attempts for the result (use with --result).",
1561
- "name": "include-attempts",
1562
- "allowNo": false,
1563
- "type": "boolean"
1564
- },
1565
- "error-group": {
1566
- "char": "e",
1567
- "description": "Show full details for a specific error group ID.",
1568
- "name": "error-group",
1569
- "hasDynamicHelp": false,
1570
- "multiple": false,
1571
- "type": "option"
1572
- },
1573
- "results-limit": {
1574
- "description": "Number of recent results to show.",
1575
- "name": "results-limit",
1576
- "default": 10,
1601
+ "check-id": {
1602
+ "description": "Check ID for a scheduled check result.",
1603
+ "name": "check-id",
1577
1604
  "hasDynamicHelp": false,
1578
1605
  "multiple": false,
1579
1606
  "type": "option"
1580
1607
  },
1581
- "results-cursor": {
1582
- "description": "Cursor for results pagination (from previous output).",
1583
- "name": "results-cursor",
1608
+ "test-session-id": {
1609
+ "description": "Test session ID for a test-session result.",
1610
+ "name": "test-session-id",
1584
1611
  "hasDynamicHelp": false,
1585
1612
  "multiple": false,
1586
1613
  "type": "option"
1587
1614
  },
1588
- "stats-range": {
1589
- "description": "Time range for stats.",
1590
- "name": "stats-range",
1591
- "default": "last24Hours",
1615
+ "result-id": {
1616
+ "description": "Check result ID or test-session result ID.",
1617
+ "name": "result-id",
1618
+ "required": true,
1592
1619
  "hasDynamicHelp": false,
1593
1620
  "multiple": false,
1594
- "options": [
1595
- "last24Hours",
1596
- "last7Days",
1597
- "last30Days",
1598
- "thisWeek",
1599
- "thisMonth",
1600
- "lastWeek",
1601
- "lastMonth"
1602
- ],
1603
1621
  "type": "option"
1604
1622
  },
1605
- "group-by": {
1606
- "description": "Group stats by dimension.",
1607
- "name": "group-by",
1623
+ "type": {
1624
+ "description": "Filter assets by type.",
1625
+ "name": "type",
1626
+ "default": "all",
1608
1627
  "hasDynamicHelp": false,
1609
1628
  "multiple": false,
1610
1629
  "options": [
1611
- "location",
1612
- "statusCode"
1630
+ "log",
1631
+ "trace",
1632
+ "video",
1633
+ "screenshot",
1634
+ "pcap",
1635
+ "report",
1636
+ "file",
1637
+ "all"
1613
1638
  ],
1614
1639
  "type": "option"
1615
1640
  },
1616
- "metrics": {
1617
- "description": "Comma-separated list of metrics to show (overrides defaults).",
1618
- "name": "metrics",
1641
+ "asset": {
1642
+ "description": "Filter assets by exact Asset/Name value or glob.",
1643
+ "name": "asset",
1619
1644
  "hasDynamicHelp": false,
1620
1645
  "multiple": false,
1621
1646
  "type": "option"
1622
1647
  },
1623
- "filter-status": {
1624
- "description": "Only include runs with this status in stats.",
1625
- "name": "filter-status",
1648
+ "view": {
1649
+ "description": "Human output view. Ignored with --output json.",
1650
+ "name": "view",
1651
+ "default": "table",
1626
1652
  "hasDynamicHelp": false,
1627
1653
  "multiple": false,
1628
1654
  "options": [
1629
- "success",
1630
- "failure"
1655
+ "table",
1656
+ "tree"
1631
1657
  ],
1632
1658
  "type": "option"
1633
1659
  },
@@ -1635,11 +1661,11 @@
1635
1661
  "char": "o",
1636
1662
  "description": "Output format.",
1637
1663
  "name": "output",
1638
- "default": "detail",
1664
+ "default": "table",
1639
1665
  "hasDynamicHelp": false,
1640
1666
  "multiple": false,
1641
1667
  "options": [
1642
- "detail",
1668
+ "table",
1643
1669
  "json",
1644
1670
  "md"
1645
1671
  ],
@@ -1649,7 +1675,7 @@
1649
1675
  "hasDynamicHelp": false,
1650
1676
  "hidden": false,
1651
1677
  "hiddenAliases": [],
1652
- "id": "checks:get",
1678
+ "id": "assets:list",
1653
1679
  "pluginAlias": "checkly",
1654
1680
  "pluginName": "checkly",
1655
1681
  "pluginType": "core",
@@ -1663,195 +1689,201 @@
1663
1689
  "relativePath": [
1664
1690
  "dist",
1665
1691
  "commands",
1666
- "checks",
1667
- "get.js"
1668
- ],
1669
- "MAX_SEQUENCE_SPAN_SECONDS": 1800,
1670
- "MAX_RESULT_PAGES": 15
1692
+ "assets",
1693
+ "list.js"
1694
+ ]
1671
1695
  },
1672
- "checks:list": {
1696
+ "debug:parse-file": {
1673
1697
  "aliases": [],
1674
1698
  "args": {},
1675
- "description": "List all checks in your account.",
1699
+ "description": "Parses and outputs relevant details of a code file.",
1676
1700
  "flags": {
1677
- "limit": {
1678
- "char": "l",
1679
- "description": "Number of checks to return (1-100).",
1680
- "name": "limit",
1681
- "default": 25,
1701
+ "file": {
1702
+ "name": "file",
1703
+ "required": true,
1682
1704
  "hasDynamicHelp": false,
1683
1705
  "multiple": false,
1684
1706
  "type": "option"
1685
1707
  },
1686
- "page": {
1687
- "char": "p",
1688
- "description": "Page number.",
1689
- "name": "page",
1690
- "default": 1,
1691
- "hasDynamicHelp": false,
1692
- "multiple": false,
1693
- "type": "option"
1708
+ "restricted": {
1709
+ "name": "restricted",
1710
+ "allowNo": false,
1711
+ "type": "boolean"
1694
1712
  },
1695
- "tag": {
1696
- "char": "t",
1697
- "description": "Filter by tag. Can be specified multiple times.",
1698
- "name": "tag",
1713
+ "detect-workspace": {
1714
+ "name": "detect-workspace",
1715
+ "allowNo": true,
1716
+ "type": "boolean"
1717
+ },
1718
+ "supported-module": {
1719
+ "name": "supported-module",
1720
+ "default": [],
1699
1721
  "delimiter": ",",
1700
1722
  "hasDynamicHelp": false,
1701
1723
  "multiple": true,
1702
1724
  "type": "option"
1703
1725
  },
1704
- "search": {
1705
- "char": "s",
1706
- "description": "Filter checks by name (case-insensitive).",
1707
- "name": "search",
1708
- "hasDynamicHelp": false,
1709
- "multiple": false,
1710
- "type": "option"
1711
- },
1712
- "type": {
1713
- "description": "Filter by check type.",
1714
- "name": "type",
1715
- "hasDynamicHelp": false,
1716
- "multiple": false,
1717
- "options": [
1718
- "API",
1719
- "BROWSER",
1720
- "HEARTBEAT",
1721
- "MULTI_STEP",
1722
- "PLAYWRIGHT",
1723
- "TCP",
1724
- "ICMP",
1725
- "DNS",
1726
- "URL",
1727
- "GRPC",
1728
- "SSL",
1729
- "TRACEROUTE",
1730
- "AGENTIC"
1731
- ],
1732
- "type": "option"
1733
- },
1734
- "status": {
1735
- "description": "Filter by check status.",
1736
- "name": "status",
1737
- "hasDynamicHelp": false,
1738
- "multiple": false,
1739
- "options": [
1740
- "passing",
1741
- "failing",
1742
- "degraded"
1743
- ],
1744
- "type": "option"
1745
- },
1746
- "hide-id": {
1747
- "description": "Hide check IDs in table output.",
1748
- "name": "hide-id",
1726
+ "check-unsupported-modules": {
1727
+ "name": "check-unsupported-modules",
1749
1728
  "allowNo": false,
1750
1729
  "type": "boolean"
1751
- },
1752
- "output": {
1753
- "char": "o",
1754
- "description": "Output format.",
1755
- "name": "output",
1756
- "default": "table",
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",
1757
1758
  "hasDynamicHelp": false,
1758
1759
  "multiple": false,
1759
- "options": [
1760
- "table",
1761
- "json",
1762
- "md"
1763
- ],
1764
1760
  "type": "option"
1765
1761
  }
1766
1762
  },
1767
1763
  "hasDynamicHelp": false,
1768
- "hidden": false,
1764
+ "hidden": true,
1769
1765
  "hiddenAliases": [],
1770
- "id": "checks:list",
1766
+ "id": "debug:parse-playwright-config",
1771
1767
  "pluginAlias": "checkly",
1772
1768
  "pluginName": "checkly",
1773
1769
  "pluginType": "core",
1774
1770
  "strict": true,
1775
1771
  "enableJsonFlag": false,
1776
- "coreCommand": false,
1777
- "readOnly": true,
1778
- "destructive": false,
1779
- "idempotent": true,
1780
1772
  "isESM": true,
1781
1773
  "relativePath": [
1782
1774
  "dist",
1783
1775
  "commands",
1784
- "checks",
1785
- "list.js"
1776
+ "debug",
1777
+ "parse-playwright-config.js"
1786
1778
  ]
1787
1779
  },
1788
- "checks:run": {
1780
+ "debug:parse-project": {
1789
1781
  "aliases": [],
1790
1782
  "args": {},
1791
- "description": "Run deployed checks now using their configured locations and alerting rules.",
1783
+ "description": "Parses a Checkly project.",
1792
1784
  "flags": {
1793
- "tags": {
1794
- "char": "t",
1795
- "description": "Select checks using a comma-separated list of tags. Checks must contain all tags in one --tags filter. Repeat --tags to match any of multiple filters.",
1796
- "name": "tags",
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",
1797
1790
  "hasDynamicHelp": false,
1798
- "multiple": true,
1791
+ "multiple": false,
1799
1792
  "type": "option"
1800
1793
  },
1801
- "check-id": {
1802
- "description": "Run specific checks by ID. Accepts comma-separated values and can be repeated.",
1803
- "name": "check-id",
1804
- "delimiter": ",",
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",
1805
1799
  "hasDynamicHelp": false,
1806
- "multiple": true,
1800
+ "multiple": false,
1807
1801
  "type": "option"
1808
1802
  },
1809
- "refresh-cache": {
1810
- "description": "Refresh the selected checks cache before running.",
1811
- "name": "refresh-cache",
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",
1812
1814
  "allowNo": false,
1813
1815
  "type": "boolean"
1814
1816
  },
1815
- "timeout": {
1816
- "description": "A timeout (in seconds) to wait for all check sessions to complete.",
1817
- "name": "timeout",
1818
- "default": 600,
1817
+ "include": {
1818
+ "description": "File patterns to include when bundling the test project (e.g., \"utils/**/*\").",
1819
+ "name": "include",
1820
+ "default": [],
1819
1821
  "hasDynamicHelp": false,
1820
- "multiple": false,
1822
+ "multiple": true,
1821
1823
  "type": "option"
1822
1824
  },
1823
- "detach": {
1824
- "char": "d",
1825
- "description": "Start the check sessions and exit without waiting for results.",
1826
- "name": "detach",
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",
1827
1837
  "allowNo": false,
1828
1838
  "type": "boolean"
1829
- },
1830
- "fail-on-no-matching": {
1831
- "description": "Exit with a failing status code when there are no matching checks. Enabled by default.",
1832
- "name": "fail-on-no-matching",
1833
- "allowNo": true,
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
+ "checks:delete": {
1859
+ "aliases": [],
1860
+ "args": {
1861
+ "id": {
1862
+ "description": "The ID of the check to delete.",
1863
+ "name": "id",
1864
+ "required": true
1865
+ }
1866
+ },
1867
+ "description": "Delete a check by ID. Checks managed by a CLI project are recreated on the next deploy — remove those from your project code instead.",
1868
+ "flags": {
1869
+ "force": {
1870
+ "char": "f",
1871
+ "description": "Skip confirmation prompt.",
1872
+ "name": "force",
1873
+ "allowNo": false,
1834
1874
  "type": "boolean"
1835
1875
  },
1836
- "output": {
1837
- "char": "o",
1838
- "description": "Output format.",
1839
- "name": "output",
1840
- "default": "table",
1841
- "hasDynamicHelp": false,
1842
- "multiple": false,
1843
- "options": [
1844
- "table",
1845
- "json",
1846
- "md"
1847
- ],
1848
- "type": "option"
1876
+ "dry-run": {
1877
+ "description": "Preview what would happen without executing.",
1878
+ "name": "dry-run",
1879
+ "allowNo": false,
1880
+ "type": "boolean"
1849
1881
  }
1850
1882
  },
1851
1883
  "hasDynamicHelp": false,
1852
1884
  "hidden": false,
1853
1885
  "hiddenAliases": [],
1854
- "id": "checks:run",
1886
+ "id": "checks:delete",
1855
1887
  "pluginAlias": "checkly",
1856
1888
  "pluginName": "checkly",
1857
1889
  "pluginType": "core",
@@ -1859,51 +1891,164 @@
1859
1891
  "enableJsonFlag": false,
1860
1892
  "coreCommand": false,
1861
1893
  "readOnly": false,
1862
- "destructive": false,
1863
- "idempotent": false,
1894
+ "destructive": true,
1895
+ "idempotent": true,
1864
1896
  "isESM": true,
1865
1897
  "relativePath": [
1866
1898
  "dist",
1867
1899
  "commands",
1868
1900
  "checks",
1869
- "run.js"
1901
+ "delete.js"
1870
1902
  ]
1871
1903
  },
1872
- "checks:stats": {
1904
+ "checks:get": {
1873
1905
  "aliases": [],
1874
1906
  "args": {
1875
- "checkIds": {
1876
- "description": "One or more check IDs to get stats for.",
1877
- "name": "checkIds",
1878
- "required": false
1907
+ "id": {
1908
+ "description": "The ID of the check to retrieve.",
1909
+ "name": "id",
1910
+ "required": true
1879
1911
  }
1880
1912
  },
1881
- "description": "Show analytics stats for your checks.",
1913
+ "description": "Get details of a specific check, including recent results. Use --result to drill into a specific result.",
1882
1914
  "flags": {
1883
- "range": {
1915
+ "result": {
1884
1916
  "char": "r",
1885
- "description": "Time range for stats.",
1886
- "name": "range",
1887
- "default": "last24Hours",
1917
+ "description": "Show details for a specific result ID.",
1918
+ "name": "result",
1888
1919
  "hasDynamicHelp": false,
1889
1920
  "multiple": false,
1890
- "options": [
1891
- "last24Hours",
1892
- "last7Days",
1893
- "thisWeek",
1894
- "lastWeek",
1895
- "lastMonth"
1896
- ],
1897
1921
  "type": "option"
1898
1922
  },
1899
- "limit": {
1900
- "char": "l",
1901
- "description": "Number of checks to return (1-100).",
1902
- "name": "limit",
1903
- "default": 25,
1904
- "hasDynamicHelp": false,
1905
- "multiple": false,
1906
- "type": "option"
1923
+ "include-attempts": {
1924
+ "dependsOn": [
1925
+ "result"
1926
+ ],
1927
+ "description": "Show individual retry attempts for the result (use with --result).",
1928
+ "name": "include-attempts",
1929
+ "allowNo": false,
1930
+ "type": "boolean"
1931
+ },
1932
+ "error-group": {
1933
+ "char": "e",
1934
+ "description": "Show full details for a specific error group ID.",
1935
+ "name": "error-group",
1936
+ "hasDynamicHelp": false,
1937
+ "multiple": false,
1938
+ "type": "option"
1939
+ },
1940
+ "results-limit": {
1941
+ "description": "Number of recent results to show.",
1942
+ "name": "results-limit",
1943
+ "default": 10,
1944
+ "hasDynamicHelp": false,
1945
+ "multiple": false,
1946
+ "type": "option"
1947
+ },
1948
+ "results-cursor": {
1949
+ "description": "Cursor for results pagination (from previous output).",
1950
+ "name": "results-cursor",
1951
+ "hasDynamicHelp": false,
1952
+ "multiple": false,
1953
+ "type": "option"
1954
+ },
1955
+ "stats-range": {
1956
+ "description": "Time range for stats.",
1957
+ "name": "stats-range",
1958
+ "default": "last24Hours",
1959
+ "hasDynamicHelp": false,
1960
+ "multiple": false,
1961
+ "options": [
1962
+ "last24Hours",
1963
+ "last7Days",
1964
+ "last30Days",
1965
+ "thisWeek",
1966
+ "thisMonth",
1967
+ "lastWeek",
1968
+ "lastMonth"
1969
+ ],
1970
+ "type": "option"
1971
+ },
1972
+ "group-by": {
1973
+ "description": "Group stats by dimension.",
1974
+ "name": "group-by",
1975
+ "hasDynamicHelp": false,
1976
+ "multiple": false,
1977
+ "options": [
1978
+ "location",
1979
+ "statusCode"
1980
+ ],
1981
+ "type": "option"
1982
+ },
1983
+ "metrics": {
1984
+ "description": "Comma-separated list of metrics to show (overrides defaults).",
1985
+ "name": "metrics",
1986
+ "hasDynamicHelp": false,
1987
+ "multiple": false,
1988
+ "type": "option"
1989
+ },
1990
+ "filter-status": {
1991
+ "description": "Only include runs with this status in stats.",
1992
+ "name": "filter-status",
1993
+ "hasDynamicHelp": false,
1994
+ "multiple": false,
1995
+ "options": [
1996
+ "success",
1997
+ "failure"
1998
+ ],
1999
+ "type": "option"
2000
+ },
2001
+ "output": {
2002
+ "char": "o",
2003
+ "description": "Output format.",
2004
+ "name": "output",
2005
+ "default": "detail",
2006
+ "hasDynamicHelp": false,
2007
+ "multiple": false,
2008
+ "options": [
2009
+ "detail",
2010
+ "json",
2011
+ "md"
2012
+ ],
2013
+ "type": "option"
2014
+ }
2015
+ },
2016
+ "hasDynamicHelp": false,
2017
+ "hidden": false,
2018
+ "hiddenAliases": [],
2019
+ "id": "checks:get",
2020
+ "pluginAlias": "checkly",
2021
+ "pluginName": "checkly",
2022
+ "pluginType": "core",
2023
+ "strict": true,
2024
+ "enableJsonFlag": false,
2025
+ "coreCommand": false,
2026
+ "readOnly": true,
2027
+ "destructive": false,
2028
+ "idempotent": true,
2029
+ "isESM": true,
2030
+ "relativePath": [
2031
+ "dist",
2032
+ "commands",
2033
+ "checks",
2034
+ "get.js"
2035
+ ],
2036
+ "MAX_SEQUENCE_SPAN_SECONDS": 1800,
2037
+ "MAX_RESULT_PAGES": 15
2038
+ },
2039
+ "checks:list": {
2040
+ "aliases": [],
2041
+ "args": {},
2042
+ "description": "List all checks in your account.",
2043
+ "flags": {
2044
+ "limit": {
2045
+ "char": "l",
2046
+ "description": "Number of checks to return (1-100).",
2047
+ "name": "limit",
2048
+ "default": 25,
2049
+ "hasDynamicHelp": false,
2050
+ "multiple": false,
2051
+ "type": "option"
1907
2052
  },
1908
2053
  "page": {
1909
2054
  "char": "p",
@@ -1918,6 +2063,7 @@
1918
2063
  "char": "t",
1919
2064
  "description": "Filter by tag. Can be specified multiple times.",
1920
2065
  "name": "tag",
2066
+ "delimiter": ",",
1921
2067
  "hasDynamicHelp": false,
1922
2068
  "multiple": true,
1923
2069
  "type": "option"
@@ -1952,6 +2098,24 @@
1952
2098
  ],
1953
2099
  "type": "option"
1954
2100
  },
2101
+ "status": {
2102
+ "description": "Filter by check status.",
2103
+ "name": "status",
2104
+ "hasDynamicHelp": false,
2105
+ "multiple": false,
2106
+ "options": [
2107
+ "passing",
2108
+ "failing",
2109
+ "degraded"
2110
+ ],
2111
+ "type": "option"
2112
+ },
2113
+ "hide-id": {
2114
+ "description": "Hide check IDs in table output.",
2115
+ "name": "hide-id",
2116
+ "allowNo": false,
2117
+ "type": "boolean"
2118
+ },
1955
2119
  "output": {
1956
2120
  "char": "o",
1957
2121
  "description": "Output format.",
@@ -1970,11 +2134,11 @@
1970
2134
  "hasDynamicHelp": false,
1971
2135
  "hidden": false,
1972
2136
  "hiddenAliases": [],
1973
- "id": "checks:stats",
2137
+ "id": "checks:list",
1974
2138
  "pluginAlias": "checkly",
1975
2139
  "pluginName": "checkly",
1976
2140
  "pluginType": "core",
1977
- "strict": false,
2141
+ "strict": true,
1978
2142
  "enableJsonFlag": false,
1979
2143
  "coreCommand": false,
1980
2144
  "readOnly": true,
@@ -1985,77 +2149,55 @@
1985
2149
  "dist",
1986
2150
  "commands",
1987
2151
  "checks",
1988
- "stats.js"
2152
+ "list.js"
1989
2153
  ]
1990
2154
  },
1991
- "assets:download": {
2155
+ "checks:run": {
1992
2156
  "aliases": [],
1993
2157
  "args": {},
1994
- "description": "Download result assets.",
2158
+ "description": "Run deployed checks now using their configured locations and alerting rules.",
1995
2159
  "flags": {
1996
- "check-id": {
1997
- "description": "Check ID for a scheduled check result.",
1998
- "name": "check-id",
1999
- "hasDynamicHelp": false,
2000
- "multiple": false,
2001
- "type": "option"
2002
- },
2003
- "test-session-id": {
2004
- "description": "Test session ID for a test-session result.",
2005
- "name": "test-session-id",
2006
- "hasDynamicHelp": false,
2007
- "multiple": false,
2008
- "type": "option"
2009
- },
2010
- "result-id": {
2011
- "description": "Check result ID or test-session result ID.",
2012
- "name": "result-id",
2013
- "required": true,
2160
+ "tags": {
2161
+ "char": "t",
2162
+ "description": "Select checks using a comma-separated list of tags. Checks must contain all tags in one --tags filter. Repeat --tags to match any of multiple filters.",
2163
+ "name": "tags",
2014
2164
  "hasDynamicHelp": false,
2015
- "multiple": false,
2165
+ "multiple": true,
2016
2166
  "type": "option"
2017
2167
  },
2018
- "type": {
2019
- "description": "Select assets by type.",
2020
- "name": "type",
2168
+ "check-id": {
2169
+ "description": "Run specific checks by ID. Accepts comma-separated values and can be repeated.",
2170
+ "name": "check-id",
2171
+ "delimiter": ",",
2021
2172
  "hasDynamicHelp": false,
2022
- "multiple": false,
2023
- "options": [
2024
- "log",
2025
- "trace",
2026
- "video",
2027
- "screenshot",
2028
- "pcap",
2029
- "report",
2030
- "file",
2031
- "all"
2032
- ],
2173
+ "multiple": true,
2033
2174
  "type": "option"
2034
2175
  },
2035
- "asset": {
2036
- "description": "Select an asset by exact Asset/Name value or glob.",
2037
- "name": "asset",
2038
- "hasDynamicHelp": false,
2039
- "multiple": false,
2040
- "type": "option"
2176
+ "refresh-cache": {
2177
+ "description": "Refresh the selected checks cache before running.",
2178
+ "name": "refresh-cache",
2179
+ "allowNo": false,
2180
+ "type": "boolean"
2041
2181
  },
2042
- "dir": {
2043
- "description": "Directory to write assets into.",
2044
- "name": "dir",
2182
+ "timeout": {
2183
+ "description": "A timeout (in seconds) to wait for all check sessions to complete.",
2184
+ "name": "timeout",
2185
+ "default": 600,
2045
2186
  "hasDynamicHelp": false,
2046
2187
  "multiple": false,
2047
2188
  "type": "option"
2048
2189
  },
2049
- "force": {
2050
- "description": "Overwrite existing files.",
2051
- "name": "force",
2190
+ "detach": {
2191
+ "char": "d",
2192
+ "description": "Start the check sessions and exit without waiting for results.",
2193
+ "name": "detach",
2052
2194
  "allowNo": false,
2053
2195
  "type": "boolean"
2054
2196
  },
2055
- "skip-existing": {
2056
- "description": "Skip files that already exist.",
2057
- "name": "skip-existing",
2058
- "allowNo": false,
2197
+ "fail-on-no-matching": {
2198
+ "description": "Exit with a failing status code when there are no matching checks. Enabled by default.",
2199
+ "name": "fail-on-no-matching",
2200
+ "allowNo": true,
2059
2201
  "type": "boolean"
2060
2202
  },
2061
2203
  "output": {
@@ -2067,7 +2209,8 @@
2067
2209
  "multiple": false,
2068
2210
  "options": [
2069
2211
  "table",
2070
- "json"
2212
+ "json",
2213
+ "md"
2071
2214
  ],
2072
2215
  "type": "option"
2073
2216
  }
@@ -2075,501 +2218,141 @@
2075
2218
  "hasDynamicHelp": false,
2076
2219
  "hidden": false,
2077
2220
  "hiddenAliases": [],
2078
- "id": "assets:download",
2221
+ "id": "checks:run",
2079
2222
  "pluginAlias": "checkly",
2080
2223
  "pluginName": "checkly",
2081
2224
  "pluginType": "core",
2082
2225
  "strict": true,
2083
2226
  "enableJsonFlag": false,
2084
2227
  "coreCommand": false,
2085
- "readOnly": true,
2228
+ "readOnly": false,
2086
2229
  "destructive": false,
2087
- "idempotent": true,
2230
+ "idempotent": false,
2088
2231
  "isESM": true,
2089
2232
  "relativePath": [
2090
2233
  "dist",
2091
2234
  "commands",
2092
- "assets",
2093
- "download.js"
2235
+ "checks",
2236
+ "run.js"
2094
2237
  ]
2095
2238
  },
2096
- "assets:list": {
2239
+ "checks:stats": {
2097
2240
  "aliases": [],
2098
- "args": {},
2099
- "description": "List result assets.",
2100
- "flags": {
2101
- "check-id": {
2102
- "description": "Check ID for a scheduled check result.",
2103
- "name": "check-id",
2104
- "hasDynamicHelp": false,
2105
- "multiple": false,
2106
- "type": "option"
2107
- },
2108
- "test-session-id": {
2109
- "description": "Test session ID for a test-session result.",
2110
- "name": "test-session-id",
2111
- "hasDynamicHelp": false,
2112
- "multiple": false,
2113
- "type": "option"
2114
- },
2115
- "result-id": {
2116
- "description": "Check result ID or test-session result ID.",
2117
- "name": "result-id",
2118
- "required": true,
2119
- "hasDynamicHelp": false,
2120
- "multiple": false,
2121
- "type": "option"
2122
- },
2123
- "type": {
2124
- "description": "Filter assets by type.",
2125
- "name": "type",
2126
- "default": "all",
2241
+ "args": {
2242
+ "checkIds": {
2243
+ "description": "One or more check IDs to get stats for.",
2244
+ "name": "checkIds",
2245
+ "required": false
2246
+ }
2247
+ },
2248
+ "description": "Show analytics stats for your checks.",
2249
+ "flags": {
2250
+ "range": {
2251
+ "char": "r",
2252
+ "description": "Time range for stats.",
2253
+ "name": "range",
2254
+ "default": "last24Hours",
2127
2255
  "hasDynamicHelp": false,
2128
2256
  "multiple": false,
2129
2257
  "options": [
2130
- "log",
2131
- "trace",
2132
- "video",
2133
- "screenshot",
2134
- "pcap",
2135
- "report",
2136
- "file",
2137
- "all"
2258
+ "last24Hours",
2259
+ "last7Days",
2260
+ "thisWeek",
2261
+ "lastWeek",
2262
+ "lastMonth"
2138
2263
  ],
2139
2264
  "type": "option"
2140
2265
  },
2141
- "asset": {
2142
- "description": "Filter assets by exact Asset/Name value or glob.",
2143
- "name": "asset",
2144
- "hasDynamicHelp": false,
2145
- "multiple": false,
2146
- "type": "option"
2147
- },
2148
- "view": {
2149
- "description": "Human output view. Ignored with --output json.",
2150
- "name": "view",
2151
- "default": "table",
2266
+ "limit": {
2267
+ "char": "l",
2268
+ "description": "Number of checks to return (1-100).",
2269
+ "name": "limit",
2270
+ "default": 25,
2152
2271
  "hasDynamicHelp": false,
2153
2272
  "multiple": false,
2154
- "options": [
2155
- "table",
2156
- "tree"
2157
- ],
2158
2273
  "type": "option"
2159
2274
  },
2160
- "output": {
2161
- "char": "o",
2162
- "description": "Output format.",
2163
- "name": "output",
2164
- "default": "table",
2165
- "hasDynamicHelp": false,
2166
- "multiple": false,
2167
- "options": [
2168
- "table",
2169
- "json",
2170
- "md"
2171
- ],
2172
- "type": "option"
2173
- }
2174
- },
2175
- "hasDynamicHelp": false,
2176
- "hidden": false,
2177
- "hiddenAliases": [],
2178
- "id": "assets:list",
2179
- "pluginAlias": "checkly",
2180
- "pluginName": "checkly",
2181
- "pluginType": "core",
2182
- "strict": true,
2183
- "enableJsonFlag": false,
2184
- "coreCommand": false,
2185
- "readOnly": true,
2186
- "destructive": false,
2187
- "idempotent": true,
2188
- "isESM": true,
2189
- "relativePath": [
2190
- "dist",
2191
- "commands",
2192
- "assets",
2193
- "list.js"
2194
- ]
2195
- },
2196
- "debug:parse-file": {
2197
- "aliases": [],
2198
- "args": {},
2199
- "description": "Parses and outputs relevant details of a code file.",
2200
- "flags": {
2201
- "file": {
2202
- "name": "file",
2203
- "required": true,
2275
+ "page": {
2276
+ "char": "p",
2277
+ "description": "Page number.",
2278
+ "name": "page",
2279
+ "default": 1,
2204
2280
  "hasDynamicHelp": false,
2205
2281
  "multiple": false,
2206
2282
  "type": "option"
2207
2283
  },
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": ",",
2284
+ "tag": {
2285
+ "char": "t",
2286
+ "description": "Filter by tag. Can be specified multiple times.",
2287
+ "name": "tag",
2222
2288
  "hasDynamicHelp": false,
2223
2289
  "multiple": true,
2224
2290
  "type": "option"
2225
2291
  },
2226
- "check-unsupported-modules": {
2227
- "name": "check-unsupported-modules",
2228
- "allowNo": false,
2229
- "type": "boolean"
2230
- }
2231
- },
2232
- "hasDynamicHelp": false,
2233
- "hidden": true,
2234
- "hiddenAliases": [],
2235
- "id": "debug:parse-file",
2236
- "pluginAlias": "checkly",
2237
- "pluginName": "checkly",
2238
- "pluginType": "core",
2239
- "strict": true,
2240
- "enableJsonFlag": false,
2241
- "isESM": true,
2242
- "relativePath": [
2243
- "dist",
2244
- "commands",
2245
- "debug",
2246
- "parse-file.js"
2247
- ]
2248
- },
2249
- "debug:parse-playwright-config": {
2250
- "aliases": [],
2251
- "args": {},
2252
- "description": "Parses and outputs relevant details of a Playwright configuration file.",
2253
- "flags": {
2254
- "file": {
2255
- "env": "CHECKLY_PLAYWRIGHT_CONFIG_FILE",
2256
- "name": "file",
2257
- "default": "/home/runner/work/checkly-cli/checkly-cli/packages/cli/playwright.config.ts",
2258
- "hasDynamicHelp": false,
2259
- "multiple": false,
2260
- "type": "option"
2261
- }
2262
- },
2263
- "hasDynamicHelp": false,
2264
- "hidden": true,
2265
- "hiddenAliases": [],
2266
- "id": "debug:parse-playwright-config",
2267
- "pluginAlias": "checkly",
2268
- "pluginName": "checkly",
2269
- "pluginType": "core",
2270
- "strict": true,
2271
- "enableJsonFlag": false,
2272
- "isESM": true,
2273
- "relativePath": [
2274
- "dist",
2275
- "commands",
2276
- "debug",
2277
- "parse-playwright-config.js"
2278
- ]
2279
- },
2280
- "debug:parse-project": {
2281
- "aliases": [],
2282
- "args": {},
2283
- "description": "Parses a Checkly project.",
2284
- "flags": {
2285
- "config": {
2286
- "char": "c",
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",
2289
- "name": "config",
2292
+ "search": {
2293
+ "char": "s",
2294
+ "description": "Filter checks by name (case-insensitive).",
2295
+ "name": "search",
2290
2296
  "hasDynamicHelp": false,
2291
2297
  "multiple": false,
2292
2298
  "type": "option"
2293
2299
  },
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",
2300
+ "type": {
2301
+ "description": "Filter by check type.",
2302
+ "name": "type",
2299
2303
  "hasDynamicHelp": false,
2300
2304
  "multiple": false,
2301
- "type": "option"
2302
- },
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,
2308
- "type": "boolean"
2309
- },
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",
2314
- "allowNo": false,
2315
- "type": "boolean"
2316
- },
2317
- "include": {
2318
- "description": "File patterns to include when bundling the test project (e.g., \"utils/**/*\").",
2319
- "name": "include",
2320
- "default": [],
2321
- "hasDynamicHelp": false,
2322
- "multiple": true,
2323
- "type": "option"
2324
- },
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": ",",
2330
- "hasDynamicHelp": false,
2331
- "multiple": true,
2332
- "type": "option"
2333
- },
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",
2337
- "allowNo": false,
2338
- "type": "boolean"
2339
- }
2340
- },
2341
- "hasDynamicHelp": false,
2342
- "hidden": true,
2343
- "hiddenAliases": [],
2344
- "id": "debug:parse-project",
2345
- "pluginAlias": "checkly",
2346
- "pluginName": "checkly",
2347
- "pluginType": "core",
2348
- "strict": true,
2349
- "enableJsonFlag": false,
2350
- "isESM": true,
2351
- "relativePath": [
2352
- "dist",
2353
- "commands",
2354
- "debug",
2355
- "parse-project.js"
2356
- ]
2357
- },
2358
- "env:add": {
2359
- "aliases": [],
2360
- "args": {
2361
- "key": {
2362
- "description": "Environment variable key.",
2363
- "name": "key",
2364
- "required": true
2365
- },
2366
- "value": {
2367
- "description": "Environment variable value.",
2368
- "name": "value",
2369
- "required": false
2370
- }
2371
- },
2372
- "description": "Add environment variable via \"checkly env add <key> <value>\".",
2373
- "flags": {
2374
- "locked": {
2375
- "char": "l",
2376
- "description": "Indicate that the environment variable will be locked.",
2377
- "name": "locked",
2378
- "allowNo": false,
2379
- "type": "boolean"
2380
- },
2381
- "secret": {
2382
- "char": "s",
2383
- "description": "Indicate that the environment variable will be secret.",
2384
- "exclusive": [
2385
- "locked"
2386
- ],
2387
- "name": "secret",
2388
- "allowNo": false,
2389
- "type": "boolean"
2390
- }
2391
- },
2392
- "hasDynamicHelp": false,
2393
- "hidden": false,
2394
- "hiddenAliases": [],
2395
- "id": "env:add",
2396
- "pluginAlias": "checkly",
2397
- "pluginName": "checkly",
2398
- "pluginType": "core",
2399
- "strict": true,
2400
- "enableJsonFlag": false,
2401
- "coreCommand": false,
2402
- "readOnly": false,
2403
- "destructive": false,
2404
- "idempotent": false,
2405
- "isESM": true,
2406
- "relativePath": [
2407
- "dist",
2408
- "commands",
2409
- "env",
2410
- "add.js"
2411
- ]
2412
- },
2413
- "env:ls": {
2414
- "aliases": [],
2415
- "args": {},
2416
- "description": "List all Checkly environment variables via \"checkly env ls\".",
2417
- "flags": {},
2418
- "hasDynamicHelp": false,
2419
- "hidden": false,
2420
- "hiddenAliases": [],
2421
- "id": "env:ls",
2422
- "pluginAlias": "checkly",
2423
- "pluginName": "checkly",
2424
- "pluginType": "core",
2425
- "strict": true,
2426
- "enableJsonFlag": false,
2427
- "coreCommand": false,
2428
- "readOnly": true,
2429
- "destructive": false,
2430
- "idempotent": true,
2431
- "isESM": true,
2432
- "relativePath": [
2433
- "dist",
2434
- "commands",
2435
- "env",
2436
- "ls.js"
2437
- ]
2438
- },
2439
- "env:pull": {
2440
- "aliases": [],
2441
- "args": {
2442
- "filename": {
2443
- "default": ".env",
2444
- "description": "Filename of the generated file.",
2445
- "name": "filename",
2446
- "required": false
2447
- }
2448
- },
2449
- "description": "Pull Checkly environment variables via \"checkly env pull <filename>\".",
2450
- "flags": {
2451
- "force": {
2452
- "char": "f",
2453
- "description": "Force to overwrite existing file.",
2454
- "name": "force",
2455
- "allowNo": false,
2456
- "type": "boolean"
2457
- }
2458
- },
2459
- "hasDynamicHelp": false,
2460
- "hidden": false,
2461
- "hiddenAliases": [],
2462
- "id": "env:pull",
2463
- "pluginAlias": "checkly",
2464
- "pluginName": "checkly",
2465
- "pluginType": "core",
2466
- "strict": true,
2467
- "enableJsonFlag": false,
2468
- "coreCommand": false,
2469
- "readOnly": true,
2470
- "destructive": false,
2471
- "idempotent": true,
2472
- "isESM": true,
2473
- "relativePath": [
2474
- "dist",
2475
- "commands",
2476
- "env",
2477
- "pull.js"
2478
- ]
2479
- },
2480
- "env:rm": {
2481
- "aliases": [],
2482
- "args": {
2483
- "key": {
2484
- "description": "Environment variable key to remove.",
2485
- "name": "key",
2486
- "required": true
2487
- }
2488
- },
2489
- "description": "Remove environment variable via \"checkly env rm <key>\".",
2490
- "flags": {
2491
- "force": {
2492
- "char": "f",
2493
- "description": "Skip confirmation prompt.",
2494
- "name": "force",
2495
- "allowNo": false,
2496
- "type": "boolean"
2497
- }
2498
- },
2499
- "hasDynamicHelp": false,
2500
- "hidden": false,
2501
- "hiddenAliases": [],
2502
- "id": "env:rm",
2503
- "pluginAlias": "checkly",
2504
- "pluginName": "checkly",
2505
- "pluginType": "core",
2506
- "strict": true,
2507
- "enableJsonFlag": false,
2508
- "coreCommand": false,
2509
- "readOnly": false,
2510
- "destructive": true,
2511
- "idempotent": false,
2512
- "isESM": true,
2513
- "relativePath": [
2514
- "dist",
2515
- "commands",
2516
- "env",
2517
- "rm.js"
2518
- ]
2519
- },
2520
- "env:update": {
2521
- "aliases": [],
2522
- "args": {
2523
- "key": {
2524
- "description": "Environment variable key.",
2525
- "name": "key",
2526
- "required": true
2527
- },
2528
- "value": {
2529
- "description": "Environment variable value.",
2530
- "name": "value",
2531
- "required": false
2532
- }
2533
- },
2534
- "description": "Update environment variable via \"checkly env update <key> <value>\".",
2535
- "flags": {
2536
- "locked": {
2537
- "char": "l",
2538
- "description": "Indicate if environment variable is locked.",
2539
- "name": "locked",
2540
- "allowNo": false,
2541
- "type": "boolean"
2305
+ "options": [
2306
+ "API",
2307
+ "BROWSER",
2308
+ "HEARTBEAT",
2309
+ "MULTI_STEP",
2310
+ "PLAYWRIGHT",
2311
+ "TCP",
2312
+ "ICMP",
2313
+ "DNS",
2314
+ "URL",
2315
+ "GRPC",
2316
+ "SSL",
2317
+ "TRACEROUTE",
2318
+ "AGENTIC"
2319
+ ],
2320
+ "type": "option"
2542
2321
  },
2543
- "secret": {
2544
- "char": "s",
2545
- "description": "Indicate if environment variable is secret.",
2546
- "exclusive": [
2547
- "locked"
2322
+ "output": {
2323
+ "char": "o",
2324
+ "description": "Output format.",
2325
+ "name": "output",
2326
+ "default": "table",
2327
+ "hasDynamicHelp": false,
2328
+ "multiple": false,
2329
+ "options": [
2330
+ "table",
2331
+ "json",
2332
+ "md"
2548
2333
  ],
2549
- "name": "secret",
2550
- "allowNo": false,
2551
- "type": "boolean"
2334
+ "type": "option"
2552
2335
  }
2553
2336
  },
2554
2337
  "hasDynamicHelp": false,
2555
2338
  "hidden": false,
2556
2339
  "hiddenAliases": [],
2557
- "id": "env:update",
2340
+ "id": "checks:stats",
2558
2341
  "pluginAlias": "checkly",
2559
2342
  "pluginName": "checkly",
2560
2343
  "pluginType": "core",
2561
- "strict": true,
2344
+ "strict": false,
2562
2345
  "enableJsonFlag": false,
2563
2346
  "coreCommand": false,
2564
- "readOnly": false,
2347
+ "readOnly": true,
2565
2348
  "destructive": false,
2566
2349
  "idempotent": true,
2567
2350
  "isESM": true,
2568
2351
  "relativePath": [
2569
2352
  "dist",
2570
2353
  "commands",
2571
- "env",
2572
- "update.js"
2354
+ "checks",
2355
+ "stats.js"
2573
2356
  ]
2574
2357
  },
2575
2358
  "import:apply": {
@@ -2763,58 +2546,275 @@
2763
2546
  "multiple": false,
2764
2547
  "type": "option"
2765
2548
  },
2766
- "preview": {
2767
- "description": "Preview generated code without creating an actual import plan.",
2768
- "name": "preview",
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",
2559
+ "allowNo": false,
2560
+ "type": "boolean"
2561
+ },
2562
+ "debug-import-plan-input-file": {
2563
+ "description": "A file to load an import plan from.",
2564
+ "hidden": true,
2565
+ "name": "debug-import-plan-input-file",
2566
+ "hasDynamicHelp": false,
2567
+ "multiple": false,
2568
+ "type": "option"
2569
+ },
2570
+ "debug-import-plan-output-file": {
2571
+ "description": "The file to output the import plan to.",
2572
+ "hidden": true,
2573
+ "name": "debug-import-plan-output-file",
2574
+ "default": "./debug-import-plan.json",
2575
+ "hasDynamicHelp": false,
2576
+ "multiple": false,
2577
+ "type": "option"
2578
+ }
2579
+ },
2580
+ "hasDynamicHelp": false,
2581
+ "hidden": false,
2582
+ "hiddenAliases": [
2583
+ "import"
2584
+ ],
2585
+ "id": "import:plan",
2586
+ "pluginAlias": "checkly",
2587
+ "pluginName": "checkly",
2588
+ "pluginType": "core",
2589
+ "strict": false,
2590
+ "enableJsonFlag": false,
2591
+ "coreCommand": false,
2592
+ "readOnly": true,
2593
+ "destructive": false,
2594
+ "idempotent": true,
2595
+ "isESM": true,
2596
+ "relativePath": [
2597
+ "dist",
2598
+ "commands",
2599
+ "import",
2600
+ "plan.js"
2601
+ ]
2602
+ },
2603
+ "env:add": {
2604
+ "aliases": [],
2605
+ "args": {
2606
+ "key": {
2607
+ "description": "Environment variable key.",
2608
+ "name": "key",
2609
+ "required": true
2610
+ },
2611
+ "value": {
2612
+ "description": "Environment variable value.",
2613
+ "name": "value",
2614
+ "required": false
2615
+ }
2616
+ },
2617
+ "description": "Add environment variable via \"checkly env add <key> <value>\".",
2618
+ "flags": {
2619
+ "locked": {
2620
+ "char": "l",
2621
+ "description": "Indicate that the environment variable will be locked.",
2622
+ "name": "locked",
2623
+ "allowNo": false,
2624
+ "type": "boolean"
2625
+ },
2626
+ "secret": {
2627
+ "char": "s",
2628
+ "description": "Indicate that the environment variable will be secret.",
2629
+ "exclusive": [
2630
+ "locked"
2631
+ ],
2632
+ "name": "secret",
2633
+ "allowNo": false,
2634
+ "type": "boolean"
2635
+ }
2636
+ },
2637
+ "hasDynamicHelp": false,
2638
+ "hidden": false,
2639
+ "hiddenAliases": [],
2640
+ "id": "env:add",
2641
+ "pluginAlias": "checkly",
2642
+ "pluginName": "checkly",
2643
+ "pluginType": "core",
2644
+ "strict": true,
2645
+ "enableJsonFlag": false,
2646
+ "coreCommand": false,
2647
+ "readOnly": false,
2648
+ "destructive": false,
2649
+ "idempotent": false,
2650
+ "isESM": true,
2651
+ "relativePath": [
2652
+ "dist",
2653
+ "commands",
2654
+ "env",
2655
+ "add.js"
2656
+ ]
2657
+ },
2658
+ "env:ls": {
2659
+ "aliases": [],
2660
+ "args": {},
2661
+ "description": "List all Checkly environment variables via \"checkly env ls\".",
2662
+ "flags": {},
2663
+ "hasDynamicHelp": false,
2664
+ "hidden": false,
2665
+ "hiddenAliases": [],
2666
+ "id": "env:ls",
2667
+ "pluginAlias": "checkly",
2668
+ "pluginName": "checkly",
2669
+ "pluginType": "core",
2670
+ "strict": true,
2671
+ "enableJsonFlag": false,
2672
+ "coreCommand": false,
2673
+ "readOnly": true,
2674
+ "destructive": false,
2675
+ "idempotent": true,
2676
+ "isESM": true,
2677
+ "relativePath": [
2678
+ "dist",
2679
+ "commands",
2680
+ "env",
2681
+ "ls.js"
2682
+ ]
2683
+ },
2684
+ "env:pull": {
2685
+ "aliases": [],
2686
+ "args": {
2687
+ "filename": {
2688
+ "default": ".env",
2689
+ "description": "Filename of the generated file.",
2690
+ "name": "filename",
2691
+ "required": false
2692
+ }
2693
+ },
2694
+ "description": "Pull Checkly environment variables via \"checkly env pull <filename>\".",
2695
+ "flags": {
2696
+ "force": {
2697
+ "char": "f",
2698
+ "description": "Force to overwrite existing file.",
2699
+ "name": "force",
2700
+ "allowNo": false,
2701
+ "type": "boolean"
2702
+ }
2703
+ },
2704
+ "hasDynamicHelp": false,
2705
+ "hidden": false,
2706
+ "hiddenAliases": [],
2707
+ "id": "env:pull",
2708
+ "pluginAlias": "checkly",
2709
+ "pluginName": "checkly",
2710
+ "pluginType": "core",
2711
+ "strict": true,
2712
+ "enableJsonFlag": false,
2713
+ "coreCommand": false,
2714
+ "readOnly": true,
2715
+ "destructive": false,
2716
+ "idempotent": true,
2717
+ "isESM": true,
2718
+ "relativePath": [
2719
+ "dist",
2720
+ "commands",
2721
+ "env",
2722
+ "pull.js"
2723
+ ]
2724
+ },
2725
+ "env:rm": {
2726
+ "aliases": [],
2727
+ "args": {
2728
+ "key": {
2729
+ "description": "Environment variable key to remove.",
2730
+ "name": "key",
2731
+ "required": true
2732
+ }
2733
+ },
2734
+ "description": "Remove environment variable via \"checkly env rm <key>\".",
2735
+ "flags": {
2736
+ "force": {
2737
+ "char": "f",
2738
+ "description": "Skip confirmation prompt.",
2739
+ "name": "force",
2740
+ "allowNo": false,
2741
+ "type": "boolean"
2742
+ }
2743
+ },
2744
+ "hasDynamicHelp": false,
2745
+ "hidden": false,
2746
+ "hiddenAliases": [],
2747
+ "id": "env:rm",
2748
+ "pluginAlias": "checkly",
2749
+ "pluginName": "checkly",
2750
+ "pluginType": "core",
2751
+ "strict": true,
2752
+ "enableJsonFlag": false,
2753
+ "coreCommand": false,
2754
+ "readOnly": false,
2755
+ "destructive": true,
2756
+ "idempotent": false,
2757
+ "isESM": true,
2758
+ "relativePath": [
2759
+ "dist",
2760
+ "commands",
2761
+ "env",
2762
+ "rm.js"
2763
+ ]
2764
+ },
2765
+ "env:update": {
2766
+ "aliases": [],
2767
+ "args": {
2768
+ "key": {
2769
+ "description": "Environment variable key.",
2770
+ "name": "key",
2771
+ "required": true
2772
+ },
2773
+ "value": {
2774
+ "description": "Environment variable value.",
2775
+ "name": "value",
2776
+ "required": false
2777
+ }
2778
+ },
2779
+ "description": "Update environment variable via \"checkly env update <key> <value>\".",
2780
+ "flags": {
2781
+ "locked": {
2782
+ "char": "l",
2783
+ "description": "Indicate if environment variable is locked.",
2784
+ "name": "locked",
2769
2785
  "allowNo": false,
2770
2786
  "type": "boolean"
2771
2787
  },
2772
- "debug-import-plan": {
2773
- "description": "Output the import plan to a file.",
2774
- "hidden": true,
2775
- "name": "debug-import-plan",
2788
+ "secret": {
2789
+ "char": "s",
2790
+ "description": "Indicate if environment variable is secret.",
2791
+ "exclusive": [
2792
+ "locked"
2793
+ ],
2794
+ "name": "secret",
2776
2795
  "allowNo": false,
2777
2796
  "type": "boolean"
2778
- },
2779
- "debug-import-plan-input-file": {
2780
- "description": "A file to load an import plan from.",
2781
- "hidden": true,
2782
- "name": "debug-import-plan-input-file",
2783
- "hasDynamicHelp": false,
2784
- "multiple": false,
2785
- "type": "option"
2786
- },
2787
- "debug-import-plan-output-file": {
2788
- "description": "The file to output the import plan to.",
2789
- "hidden": true,
2790
- "name": "debug-import-plan-output-file",
2791
- "default": "./debug-import-plan.json",
2792
- "hasDynamicHelp": false,
2793
- "multiple": false,
2794
- "type": "option"
2795
2797
  }
2796
2798
  },
2797
2799
  "hasDynamicHelp": false,
2798
2800
  "hidden": false,
2799
- "hiddenAliases": [
2800
- "import"
2801
- ],
2802
- "id": "import:plan",
2801
+ "hiddenAliases": [],
2802
+ "id": "env:update",
2803
2803
  "pluginAlias": "checkly",
2804
2804
  "pluginName": "checkly",
2805
2805
  "pluginType": "core",
2806
- "strict": false,
2806
+ "strict": true,
2807
2807
  "enableJsonFlag": false,
2808
2808
  "coreCommand": false,
2809
- "readOnly": true,
2809
+ "readOnly": false,
2810
2810
  "destructive": false,
2811
2811
  "idempotent": true,
2812
2812
  "isESM": true,
2813
2813
  "relativePath": [
2814
2814
  "dist",
2815
2815
  "commands",
2816
- "import",
2817
- "plan.js"
2816
+ "env",
2817
+ "update.js"
2818
2818
  ]
2819
2819
  },
2820
2820
  "incidents:create": {
@@ -3449,105 +3449,6 @@
3449
3449
  "run.js"
3450
3450
  ]
3451
3451
  },
3452
- "skills": {
3453
- "aliases": [],
3454
- "args": {
3455
- "action": {
3456
- "description": "Action to open. Available actions are listed below.",
3457
- "name": "action",
3458
- "required": false
3459
- },
3460
- "reference": {
3461
- "description": "Reference to open for the selected action. Available references are listed below.",
3462
- "name": "reference",
3463
- "required": false
3464
- }
3465
- },
3466
- "description": "Show Checkly AI skills, actions and their references.\n\nRun `checkly skills` to print the full catalog, `checkly skills <action>` for an action guide, or `checkly skills <action> <reference>` for a specific reference.\n\nAvailable actions and references:\n checkly skills\n |- initialize\n |- configure\n | |- api-checks\n | |- browser-checks\n | |- playwright-checks\n | |- multistep-checks\n | |- tcp-monitors\n | |- url-monitors\n | |- dns-monitors\n | |- icmp-monitors\n | |- grpc-monitors\n | |- ssl-monitors\n | |- traceroute-monitors\n | |- heartbeat-monitors\n | |- check-groups\n | |- alert-channels\n | |- supporting-constructs\n | |- environment\n |- investigate\n | |- checks\n | |- alerting\n | |- test-sessions\n |- communicate\n | |- incidents\n |- manage\n | |- plan\n | |- account-members\n\nUse `checkly skills <action>` or `checkly skills <action> <reference>` to open the detailed guidance.",
3467
- "examples": [
3468
- "checkly skills",
3469
- "checkly skills configure",
3470
- "checkly skills configure api-checks",
3471
- "checkly skills investigate alerting"
3472
- ],
3473
- "flags": {},
3474
- "hasDynamicHelp": false,
3475
- "hidden": false,
3476
- "hiddenAliases": [],
3477
- "id": "skills",
3478
- "pluginAlias": "checkly",
3479
- "pluginName": "checkly",
3480
- "pluginType": "core",
3481
- "strict": true,
3482
- "enableJsonFlag": false,
3483
- "coreCommand": false,
3484
- "readOnly": true,
3485
- "destructive": false,
3486
- "idempotent": true,
3487
- "isESM": true,
3488
- "relativePath": [
3489
- "dist",
3490
- "commands",
3491
- "skills",
3492
- "index.js"
3493
- ]
3494
- },
3495
- "skills:install": {
3496
- "aliases": [],
3497
- "args": {},
3498
- "description": "Install the Checkly agent skill (SKILL.md) into your project.",
3499
- "flags": {
3500
- "target": {
3501
- "char": "t",
3502
- "description": "Platform to install the skill for (amp, claude, cline, codex, continue, cursor, gemini-cli, github-copilot, goose, opencode, roo, windsurf).",
3503
- "exclusive": [
3504
- "path"
3505
- ],
3506
- "name": "target",
3507
- "hasDynamicHelp": false,
3508
- "multiple": false,
3509
- "type": "option"
3510
- },
3511
- "path": {
3512
- "char": "p",
3513
- "description": "Custom target directory to install the skill into.",
3514
- "exclusive": [
3515
- "target"
3516
- ],
3517
- "name": "path",
3518
- "hasDynamicHelp": false,
3519
- "multiple": false,
3520
- "type": "option"
3521
- },
3522
- "force": {
3523
- "char": "f",
3524
- "description": "Overwrite existing SKILL.md without confirmation.",
3525
- "name": "force",
3526
- "allowNo": false,
3527
- "type": "boolean"
3528
- }
3529
- },
3530
- "hasDynamicHelp": false,
3531
- "hidden": false,
3532
- "hiddenAliases": [],
3533
- "id": "skills:install",
3534
- "pluginAlias": "checkly",
3535
- "pluginName": "checkly",
3536
- "pluginType": "core",
3537
- "strict": true,
3538
- "enableJsonFlag": false,
3539
- "coreCommand": false,
3540
- "readOnly": false,
3541
- "destructive": false,
3542
- "idempotent": true,
3543
- "isESM": true,
3544
- "relativePath": [
3545
- "dist",
3546
- "commands",
3547
- "skills",
3548
- "install.js"
3549
- ]
3550
- },
3551
3452
  "status-pages:get": {
3552
3453
  "aliases": [],
3553
3454
  "args": {
@@ -3658,6 +3559,105 @@
3658
3559
  "list.js"
3659
3560
  ]
3660
3561
  },
3562
+ "skills": {
3563
+ "aliases": [],
3564
+ "args": {
3565
+ "action": {
3566
+ "description": "Action to open. Available actions are listed below.",
3567
+ "name": "action",
3568
+ "required": false
3569
+ },
3570
+ "reference": {
3571
+ "description": "Reference to open for the selected action. Available references are listed below.",
3572
+ "name": "reference",
3573
+ "required": false
3574
+ }
3575
+ },
3576
+ "description": "Show Checkly AI skills, actions and their references.\n\nRun `checkly skills` to print the full catalog, `checkly skills <action>` for an action guide, or `checkly skills <action> <reference>` for a specific reference.\n\nAvailable actions and references:\n checkly skills\n |- initialize\n |- configure\n | |- api-checks\n | |- browser-checks\n | |- playwright-checks\n | |- multistep-checks\n | |- tcp-monitors\n | |- url-monitors\n | |- dns-monitors\n | |- icmp-monitors\n | |- grpc-monitors\n | |- ssl-monitors\n | |- traceroute-monitors\n | |- heartbeat-monitors\n | |- check-groups\n | |- alert-channels\n | |- supporting-constructs\n | |- environment\n |- investigate\n | |- checks\n | |- alerting\n | |- test-sessions\n |- communicate\n | |- incidents\n |- manage\n | |- plan\n | |- account-members\n\nUse `checkly skills <action>` or `checkly skills <action> <reference>` to open the detailed guidance.",
3577
+ "examples": [
3578
+ "checkly skills",
3579
+ "checkly skills configure",
3580
+ "checkly skills configure api-checks",
3581
+ "checkly skills investigate alerting"
3582
+ ],
3583
+ "flags": {},
3584
+ "hasDynamicHelp": false,
3585
+ "hidden": false,
3586
+ "hiddenAliases": [],
3587
+ "id": "skills",
3588
+ "pluginAlias": "checkly",
3589
+ "pluginName": "checkly",
3590
+ "pluginType": "core",
3591
+ "strict": true,
3592
+ "enableJsonFlag": false,
3593
+ "coreCommand": false,
3594
+ "readOnly": true,
3595
+ "destructive": false,
3596
+ "idempotent": true,
3597
+ "isESM": true,
3598
+ "relativePath": [
3599
+ "dist",
3600
+ "commands",
3601
+ "skills",
3602
+ "index.js"
3603
+ ]
3604
+ },
3605
+ "skills:install": {
3606
+ "aliases": [],
3607
+ "args": {},
3608
+ "description": "Install the Checkly agent skill (SKILL.md) into your project.",
3609
+ "flags": {
3610
+ "target": {
3611
+ "char": "t",
3612
+ "description": "Platform to install the skill for (amp, claude, cline, codex, continue, cursor, gemini-cli, github-copilot, goose, opencode, roo, windsurf).",
3613
+ "exclusive": [
3614
+ "path"
3615
+ ],
3616
+ "name": "target",
3617
+ "hasDynamicHelp": false,
3618
+ "multiple": false,
3619
+ "type": "option"
3620
+ },
3621
+ "path": {
3622
+ "char": "p",
3623
+ "description": "Custom target directory to install the skill into.",
3624
+ "exclusive": [
3625
+ "target"
3626
+ ],
3627
+ "name": "path",
3628
+ "hasDynamicHelp": false,
3629
+ "multiple": false,
3630
+ "type": "option"
3631
+ },
3632
+ "force": {
3633
+ "char": "f",
3634
+ "description": "Overwrite existing SKILL.md without confirmation.",
3635
+ "name": "force",
3636
+ "allowNo": false,
3637
+ "type": "boolean"
3638
+ }
3639
+ },
3640
+ "hasDynamicHelp": false,
3641
+ "hidden": false,
3642
+ "hiddenAliases": [],
3643
+ "id": "skills:install",
3644
+ "pluginAlias": "checkly",
3645
+ "pluginName": "checkly",
3646
+ "pluginType": "core",
3647
+ "strict": true,
3648
+ "enableJsonFlag": false,
3649
+ "coreCommand": false,
3650
+ "readOnly": false,
3651
+ "destructive": false,
3652
+ "idempotent": true,
3653
+ "isESM": true,
3654
+ "relativePath": [
3655
+ "dist",
3656
+ "commands",
3657
+ "skills",
3658
+ "install.js"
3659
+ ]
3660
+ },
3661
3661
  "test-sessions:get": {
3662
3662
  "aliases": [],
3663
3663
  "args": {
@@ -3866,5 +3866,5 @@
3866
3866
  ]
3867
3867
  }
3868
3868
  },
3869
- "version": "8.20.0-prerelease-798ff59"
3869
+ "version": "8.20.0"
3870
3870
  }