checkly 8.7.0 → 8.8.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 (47) hide show
  1. package/dist/ai-context/context.d.ts +5 -5
  2. package/dist/ai-context/context.js +3 -3
  3. package/dist/ai-context/context.js.map +1 -1
  4. package/dist/ai-context/public-skills/checkly/SKILL.md +1 -1
  5. package/dist/ai-context/skills-command/references/investigate-checks.md +69 -0
  6. package/dist/ai-context/skills-command/references/investigate-test-sessions.md +42 -5
  7. package/dist/ai-context/skills-command/references/investigate.md +2 -2
  8. package/dist/commands/assets/download.d.ts +19 -0
  9. package/dist/commands/assets/download.js +170 -0
  10. package/dist/commands/assets/download.js.map +1 -0
  11. package/dist/commands/assets/list.d.ts +17 -0
  12. package/dist/commands/assets/list.js +107 -0
  13. package/dist/commands/assets/list.js.map +1 -0
  14. package/dist/commands/checks/delete.d.ts +15 -0
  15. package/dist/commands/checks/delete.js +65 -0
  16. package/dist/commands/checks/delete.js.map +1 -0
  17. package/dist/commands/checks/get.d.ts +6 -0
  18. package/dist/commands/checks/get.js +118 -8
  19. package/dist/commands/checks/get.js.map +1 -1
  20. package/dist/formatters/assets.d.ts +22 -0
  21. package/dist/formatters/assets.js +280 -0
  22. package/dist/formatters/assets.js.map +1 -0
  23. package/dist/formatters/check-result-detail.d.ts +8 -1
  24. package/dist/formatters/check-result-detail.js +103 -8
  25. package/dist/formatters/check-result-detail.js.map +1 -1
  26. package/dist/formatters/render.d.ts +1 -0
  27. package/dist/formatters/render.js +6 -0
  28. package/dist/formatters/render.js.map +1 -1
  29. package/dist/helpers/command-style.d.ts +1 -0
  30. package/dist/helpers/command-style.js +5 -0
  31. package/dist/helpers/command-style.js.map +1 -1
  32. package/dist/helpers/result-assets.d.ts +54 -0
  33. package/dist/helpers/result-assets.js +305 -0
  34. package/dist/helpers/result-assets.js.map +1 -0
  35. package/dist/rest/api.d.ts +2 -0
  36. package/dist/rest/api.js +2 -0
  37. package/dist/rest/api.js.map +1 -1
  38. package/dist/rest/asset-manifests.d.ts +30 -0
  39. package/dist/rest/asset-manifests.js +29 -0
  40. package/dist/rest/asset-manifests.js.map +1 -0
  41. package/dist/rest/check-results.d.ts +2 -1
  42. package/dist/rest/check-results.js.map +1 -1
  43. package/dist/rest/checks.d.ts +1 -0
  44. package/dist/rest/checks.js +3 -0
  45. package/dist/rest/checks.js.map +1 -1
  46. package/oclif.manifest.json +264 -2
  47. package/package.json +13 -10
@@ -1469,6 +1469,257 @@
1469
1469
  "logs.js"
1470
1470
  ]
1471
1471
  },
1472
+ "assets:download": {
1473
+ "aliases": [],
1474
+ "args": {},
1475
+ "description": "Download result assets.",
1476
+ "flags": {
1477
+ "check-id": {
1478
+ "description": "Check ID for a scheduled check result.",
1479
+ "name": "check-id",
1480
+ "hasDynamicHelp": false,
1481
+ "multiple": false,
1482
+ "type": "option"
1483
+ },
1484
+ "test-session-id": {
1485
+ "description": "Test session ID for a test-session result.",
1486
+ "name": "test-session-id",
1487
+ "hasDynamicHelp": false,
1488
+ "multiple": false,
1489
+ "type": "option"
1490
+ },
1491
+ "result-id": {
1492
+ "description": "Check result ID or test-session result ID.",
1493
+ "name": "result-id",
1494
+ "required": true,
1495
+ "hasDynamicHelp": false,
1496
+ "multiple": false,
1497
+ "type": "option"
1498
+ },
1499
+ "type": {
1500
+ "description": "Select assets by type.",
1501
+ "name": "type",
1502
+ "hasDynamicHelp": false,
1503
+ "multiple": false,
1504
+ "options": [
1505
+ "log",
1506
+ "trace",
1507
+ "video",
1508
+ "screenshot",
1509
+ "pcap",
1510
+ "report",
1511
+ "file",
1512
+ "all"
1513
+ ],
1514
+ "type": "option"
1515
+ },
1516
+ "asset": {
1517
+ "description": "Select an asset by exact Asset/Name value or glob.",
1518
+ "name": "asset",
1519
+ "hasDynamicHelp": false,
1520
+ "multiple": false,
1521
+ "type": "option"
1522
+ },
1523
+ "dir": {
1524
+ "description": "Directory to write assets into.",
1525
+ "name": "dir",
1526
+ "hasDynamicHelp": false,
1527
+ "multiple": false,
1528
+ "type": "option"
1529
+ },
1530
+ "force": {
1531
+ "description": "Overwrite existing files.",
1532
+ "name": "force",
1533
+ "allowNo": false,
1534
+ "type": "boolean"
1535
+ },
1536
+ "skip-existing": {
1537
+ "description": "Skip files that already exist.",
1538
+ "name": "skip-existing",
1539
+ "allowNo": false,
1540
+ "type": "boolean"
1541
+ },
1542
+ "output": {
1543
+ "char": "o",
1544
+ "description": "Output format.",
1545
+ "name": "output",
1546
+ "default": "table",
1547
+ "hasDynamicHelp": false,
1548
+ "multiple": false,
1549
+ "options": [
1550
+ "table",
1551
+ "json"
1552
+ ],
1553
+ "type": "option"
1554
+ }
1555
+ },
1556
+ "hasDynamicHelp": false,
1557
+ "hidden": false,
1558
+ "hiddenAliases": [],
1559
+ "id": "assets:download",
1560
+ "pluginAlias": "checkly",
1561
+ "pluginName": "checkly",
1562
+ "pluginType": "core",
1563
+ "strict": true,
1564
+ "enableJsonFlag": false,
1565
+ "coreCommand": false,
1566
+ "readOnly": true,
1567
+ "destructive": false,
1568
+ "idempotent": true,
1569
+ "isESM": true,
1570
+ "relativePath": [
1571
+ "dist",
1572
+ "commands",
1573
+ "assets",
1574
+ "download.js"
1575
+ ]
1576
+ },
1577
+ "assets:list": {
1578
+ "aliases": [],
1579
+ "args": {},
1580
+ "description": "List result assets.",
1581
+ "flags": {
1582
+ "check-id": {
1583
+ "description": "Check ID for a scheduled check result.",
1584
+ "name": "check-id",
1585
+ "hasDynamicHelp": false,
1586
+ "multiple": false,
1587
+ "type": "option"
1588
+ },
1589
+ "test-session-id": {
1590
+ "description": "Test session ID for a test-session result.",
1591
+ "name": "test-session-id",
1592
+ "hasDynamicHelp": false,
1593
+ "multiple": false,
1594
+ "type": "option"
1595
+ },
1596
+ "result-id": {
1597
+ "description": "Check result ID or test-session result ID.",
1598
+ "name": "result-id",
1599
+ "required": true,
1600
+ "hasDynamicHelp": false,
1601
+ "multiple": false,
1602
+ "type": "option"
1603
+ },
1604
+ "type": {
1605
+ "description": "Filter assets by type.",
1606
+ "name": "type",
1607
+ "default": "all",
1608
+ "hasDynamicHelp": false,
1609
+ "multiple": false,
1610
+ "options": [
1611
+ "log",
1612
+ "trace",
1613
+ "video",
1614
+ "screenshot",
1615
+ "pcap",
1616
+ "report",
1617
+ "file",
1618
+ "all"
1619
+ ],
1620
+ "type": "option"
1621
+ },
1622
+ "asset": {
1623
+ "description": "Filter assets by exact Asset/Name value or glob.",
1624
+ "name": "asset",
1625
+ "hasDynamicHelp": false,
1626
+ "multiple": false,
1627
+ "type": "option"
1628
+ },
1629
+ "view": {
1630
+ "description": "Human output view. Ignored with --output json.",
1631
+ "name": "view",
1632
+ "default": "table",
1633
+ "hasDynamicHelp": false,
1634
+ "multiple": false,
1635
+ "options": [
1636
+ "table",
1637
+ "tree"
1638
+ ],
1639
+ "type": "option"
1640
+ },
1641
+ "output": {
1642
+ "char": "o",
1643
+ "description": "Output format.",
1644
+ "name": "output",
1645
+ "default": "table",
1646
+ "hasDynamicHelp": false,
1647
+ "multiple": false,
1648
+ "options": [
1649
+ "table",
1650
+ "json",
1651
+ "md"
1652
+ ],
1653
+ "type": "option"
1654
+ }
1655
+ },
1656
+ "hasDynamicHelp": false,
1657
+ "hidden": false,
1658
+ "hiddenAliases": [],
1659
+ "id": "assets:list",
1660
+ "pluginAlias": "checkly",
1661
+ "pluginName": "checkly",
1662
+ "pluginType": "core",
1663
+ "strict": true,
1664
+ "enableJsonFlag": false,
1665
+ "coreCommand": false,
1666
+ "readOnly": true,
1667
+ "destructive": false,
1668
+ "idempotent": true,
1669
+ "isESM": true,
1670
+ "relativePath": [
1671
+ "dist",
1672
+ "commands",
1673
+ "assets",
1674
+ "list.js"
1675
+ ]
1676
+ },
1677
+ "checks:delete": {
1678
+ "aliases": [],
1679
+ "args": {
1680
+ "id": {
1681
+ "description": "The ID of the check to delete.",
1682
+ "name": "id",
1683
+ "required": true
1684
+ }
1685
+ },
1686
+ "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.",
1687
+ "flags": {
1688
+ "force": {
1689
+ "char": "f",
1690
+ "description": "Skip confirmation prompt.",
1691
+ "name": "force",
1692
+ "allowNo": false,
1693
+ "type": "boolean"
1694
+ },
1695
+ "dry-run": {
1696
+ "description": "Preview what would happen without executing.",
1697
+ "name": "dry-run",
1698
+ "allowNo": false,
1699
+ "type": "boolean"
1700
+ }
1701
+ },
1702
+ "hasDynamicHelp": false,
1703
+ "hidden": false,
1704
+ "hiddenAliases": [],
1705
+ "id": "checks:delete",
1706
+ "pluginAlias": "checkly",
1707
+ "pluginName": "checkly",
1708
+ "pluginType": "core",
1709
+ "strict": true,
1710
+ "enableJsonFlag": false,
1711
+ "coreCommand": false,
1712
+ "readOnly": false,
1713
+ "destructive": true,
1714
+ "idempotent": true,
1715
+ "isESM": true,
1716
+ "relativePath": [
1717
+ "dist",
1718
+ "commands",
1719
+ "checks",
1720
+ "delete.js"
1721
+ ]
1722
+ },
1472
1723
  "checks:get": {
1473
1724
  "aliases": [],
1474
1725
  "args": {
@@ -1488,6 +1739,15 @@
1488
1739
  "multiple": false,
1489
1740
  "type": "option"
1490
1741
  },
1742
+ "include-attempts": {
1743
+ "dependsOn": [
1744
+ "result"
1745
+ ],
1746
+ "description": "Show individual retry attempts for the result (use with --result).",
1747
+ "name": "include-attempts",
1748
+ "allowNo": false,
1749
+ "type": "boolean"
1750
+ },
1491
1751
  "error-group": {
1492
1752
  "char": "e",
1493
1753
  "description": "Show full details for a specific error group ID.",
@@ -1591,7 +1851,9 @@
1591
1851
  "commands",
1592
1852
  "checks",
1593
1853
  "get.js"
1594
- ]
1854
+ ],
1855
+ "MAX_SEQUENCE_SPAN_SECONDS": 1800,
1856
+ "MAX_RESULT_PAGES": 15
1595
1857
  },
1596
1858
  "checks:list": {
1597
1859
  "aliases": [],
@@ -3436,5 +3698,5 @@
3436
3698
  ]
3437
3699
  }
3438
3700
  },
3439
- "version": "8.7.0"
3701
+ "version": "8.8.0"
3440
3702
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "checkly",
3
- "version": "8.7.0",
3
+ "version": "8.8.0",
4
4
  "type": "module",
5
5
  "description": "Checkly CLI",
6
6
  "main": "dist/index.js",
@@ -61,6 +61,9 @@
61
61
  "alert-channels": {
62
62
  "description": "List and inspect alert channels in your Checkly account."
63
63
  },
64
+ "assets": {
65
+ "description": "List and download result assets."
66
+ },
64
67
  "checks": {
65
68
  "description": "List and inspect checks in your Checkly account."
66
69
  },
@@ -94,14 +97,14 @@
94
97
  "homepage": "https://github.com/checkly/checkly-cli#readme",
95
98
  "dependencies": {
96
99
  "@oclif/core": "^4.11.4",
97
- "@oclif/plugin-help": "^6.2.49",
100
+ "@oclif/plugin-help": "^6.2.50",
98
101
  "@oclif/plugin-warn-if-update-available": "^3.1.65",
99
- "@typescript-eslint/typescript-estree": "^8.60.0",
100
- "acorn": "^8.16.0",
102
+ "@typescript-eslint/typescript-estree": "^8.61.0",
103
+ "acorn": "^8.17.0",
101
104
  "acorn-walk": "^8.3.5",
102
105
  "archiver": "^8.0.0",
103
106
  "ast-types": "^0.16.1",
104
- "axios": "^1.16.1",
107
+ "axios": "^1.17.0",
105
108
  "chalk": "^5.6.2",
106
109
  "ci-info": "^4.4.0",
107
110
  "conf": "^15.1.0",
@@ -124,7 +127,7 @@
124
127
  "prompts": "^2.4.2",
125
128
  "proxy-from-env": "^2.1.0",
126
129
  "recast": "^0.23.11",
127
- "semver": "^7.8.1",
130
+ "semver": "^7.8.4",
128
131
  "string-width": "^8.2.1",
129
132
  "tunnel": "^0.0.6",
130
133
  "uuid": "^14.0.0",
@@ -132,7 +135,7 @@
132
135
  },
133
136
  "devDependencies": {
134
137
  "@playwright/test": "^1.60.0",
135
- "@types/archiver": "^7.0.0",
138
+ "@types/archiver": "^8.0.0",
136
139
  "@types/debug": "^4.1.13",
137
140
  "@types/luxon": "^3.7.1",
138
141
  "@types/node": "^22.19.17",
@@ -143,11 +146,11 @@
143
146
  "config": "^4.4.1",
144
147
  "cross-env": "^10.1.0",
145
148
  "nanoid": "^5.1.11",
146
- "oclif": "^4.23.8",
149
+ "oclif": "^4.23.14",
147
150
  "rimraf": "^6.1.3",
148
- "tar": "^7.5.15",
151
+ "tar": "^7.5.16",
149
152
  "typescript": "^6.0.3",
150
- "vitest": "^3.2.4"
153
+ "vitest": "^3.2.6"
151
154
  },
152
155
  "scripts": {
153
156
  "clean:dist": "rimraf ./dist ./tsconfig.tsbuildinfo",