@compozy/client 0.3.0-beta.36 → 0.3.0-beta.38

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.
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  // This file is auto-generated by @hey-api/openapi-ts
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.Compozy = exports.worktrees = exports.loops = exports.workspaces = exports.vault = exports.toolsets = exports.tools = exports.support = exports.skills = exports.sessions = exports.tasks = exports.roles = exports.resources = exports.profiles = exports.openai = exports.onboarding = exports.observe = exports.notifications = exports.providers = exports.settings = exports.marketplace = exports.logs = exports.hooks = exports.gateway = exports.filesystem = exports.extensions = exports.diagnostics = exports.cmdPalette = exports.automation = exports.appTokens = exports.agents = exports.agent = void 0;
4
+ exports.Compozy = exports.worktrees = exports.vault = exports.toolsets = exports.tools = exports.workspaces = exports.support = exports.skills = exports.sessions = exports.tasks = exports.roles = exports.resources = exports.profiles = exports.openai = exports.onboarding = exports.observe = exports.notifications = exports.providers = exports.settings = exports.marketplace = exports.loops = exports.logs = exports.hooks = exports.gateway = exports.filesystem = exports.extensions = exports.diagnostics = exports.cmdPalette = exports.automation = exports.appTokens = exports.agents = exports.agent = void 0;
5
5
  const client_gen_js_1 = require("./client.gen.js");
6
6
  const index_js_1 = require("./client/index.js");
7
7
  class HeyApiClient {
@@ -218,6 +218,16 @@ class agents extends HeyApiClient {
218
218
  },
219
219
  });
220
220
  }
221
+ /**
222
+ * List a filtered agent fleet with exact session metrics
223
+ */
224
+ listAgentsAggregate(options) {
225
+ return (options?.client ?? this.client).get({
226
+ responseStyle: "data",
227
+ url: "/api/agents/aggregate",
228
+ ...options,
229
+ });
230
+ }
221
231
  /**
222
232
  * List a filtered agent fleet with exact session metrics
223
233
  */
@@ -612,6 +622,16 @@ class automation extends HeyApiClient {
612
622
  ...options,
613
623
  });
614
624
  }
625
+ /**
626
+ * List consent-first automation suggestions for one workspace
627
+ */
628
+ listAutomationSuggestionsAggregate(options) {
629
+ return (options?.client ?? this.client).get({
630
+ responseStyle: "data",
631
+ url: "/api/automation/suggestions",
632
+ ...options,
633
+ });
634
+ }
615
635
  /**
616
636
  * List automation triggers
617
637
  */
@@ -1389,165 +1409,156 @@ class logs extends HeyApiClient {
1389
1409
  }
1390
1410
  }
1391
1411
  exports.logs = logs;
1392
- class marketplace extends HeyApiClient {
1412
+ class loops extends HeyApiClient {
1393
1413
  /**
1394
- * List the extension catalog with source state and a content revision
1414
+ * List Loop human requests
1395
1415
  */
1396
- listMarketplace(options) {
1416
+ listLoopRequestsAggregate(options) {
1397
1417
  return (options?.client ?? this.client).get({
1398
1418
  responseStyle: "data",
1399
- url: "/api/marketplace",
1419
+ url: "/api/loop-requests",
1400
1420
  ...options,
1401
1421
  });
1402
1422
  }
1403
1423
  /**
1404
- * Get a catalog entry or an explicitly selected installed extension
1424
+ * List Loop runs
1405
1425
  */
1406
- getMarketplaceCatalogEntry(options) {
1407
- return (options.client ?? this.client).get({
1426
+ listLoopRunsAggregate(options) {
1427
+ return (options?.client ?? this.client).get({
1408
1428
  responseStyle: "data",
1409
- url: "/api/marketplace/entries/{entry_id}",
1429
+ url: "/api/loop-runs",
1410
1430
  ...options,
1411
1431
  });
1412
1432
  }
1413
1433
  /**
1414
- * Refresh the extension catalog
1434
+ * List Loop catalog entries
1415
1435
  */
1416
- refreshMarketplaceCatalog(options) {
1417
- return (options?.client ?? this.client).post({
1436
+ listLoopsAggregate(options) {
1437
+ return (options?.client ?? this.client).get({
1418
1438
  responseStyle: "data",
1419
- url: "/api/marketplace/refresh",
1439
+ url: "/api/loops",
1420
1440
  ...options,
1421
1441
  });
1422
1442
  }
1423
1443
  /**
1424
- * List global plugin marketplace sources
1425
- *
1426
- * @stability experimental
1444
+ * List workspace Loop node state
1427
1445
  */
1428
- listMarketplaceSources(options) {
1429
- return (options?.client ?? this.client).get({
1446
+ listLoopNodes(options) {
1447
+ return (options.client ?? this.client).get({
1430
1448
  responseStyle: "data",
1431
- url: "/api/marketplace/sources",
1449
+ url: "/api/workspaces/{workspace_id}/loop-nodes",
1432
1450
  ...options,
1433
1451
  });
1434
1452
  }
1435
1453
  /**
1436
- * Validate or register a plugin marketplace source
1437
- *
1438
- * @stability experimental
1454
+ * List Loop human requests
1439
1455
  */
1440
- addMarketplaceSource(options) {
1441
- return (options.client ?? this.client).post({
1456
+ listLoopRequests(options) {
1457
+ return (options.client ?? this.client).get({
1442
1458
  responseStyle: "data",
1443
- url: "/api/marketplace/sources",
1459
+ url: "/api/workspaces/{workspace_id}/loop-requests",
1444
1460
  ...options,
1445
- headers: {
1446
- "Content-Type": "application/json",
1447
- ...options.headers,
1448
- },
1449
1461
  });
1450
1462
  }
1451
1463
  /**
1452
- * Remove a custom source without removing installed extensions
1453
- *
1454
- * @stability experimental
1464
+ * List Loop runs
1455
1465
  */
1456
- removeMarketplaceSource(options) {
1457
- return (options.client ?? this.client).delete({
1466
+ listLoopRuns(options) {
1467
+ return (options.client ?? this.client).get({
1458
1468
  responseStyle: "data",
1459
- url: "/api/marketplace/sources/{name}",
1469
+ url: "/api/workspaces/{workspace_id}/loop-runs",
1460
1470
  ...options,
1461
1471
  });
1462
1472
  }
1463
1473
  /**
1464
- * Enable or disable a plugin marketplace source
1465
- *
1466
- * @stability experimental
1474
+ * Get one Loop run
1467
1475
  */
1468
- updateMarketplaceSource(options) {
1469
- return (options.client ?? this.client).patch({
1476
+ getLoopRun(options) {
1477
+ return (options.client ?? this.client).get({
1470
1478
  responseStyle: "data",
1471
- url: "/api/marketplace/sources/{name}",
1479
+ url: "/api/workspaces/{workspace_id}/loop-runs/{run_id}",
1472
1480
  ...options,
1473
- headers: {
1474
- "Content-Type": "application/json",
1475
- ...options.headers,
1476
- },
1477
1481
  });
1478
1482
  }
1479
1483
  /**
1480
- * Refresh one enabled marketplace source
1481
- *
1482
- * @stability experimental
1484
+ * Approve one Loop gate
1483
1485
  */
1484
- refreshMarketplaceSource(options) {
1486
+ approveLoopRun(options) {
1485
1487
  return (options.client ?? this.client).post({
1486
1488
  responseStyle: "data",
1487
- url: "/api/marketplace/sources/{name}/refresh",
1489
+ url: "/api/workspaces/{workspace_id}/loop-runs/{run_id}/approve",
1488
1490
  ...options,
1491
+ headers: {
1492
+ "Content-Type": "application/json",
1493
+ ...options.headers,
1494
+ },
1489
1495
  });
1490
1496
  }
1491
- }
1492
- exports.marketplace = marketplace;
1493
- class settings extends HeyApiClient {
1494
1497
  /**
1495
- * Complete a loopback MCP OAuth browser redirect
1498
+ * Explain the current Loop run state
1496
1499
  */
1497
- completeMCPAuthCallback(options) {
1500
+ getLoopRunBriefing(options) {
1498
1501
  return (options.client ?? this.client).get({
1499
1502
  responseStyle: "data",
1500
- url: "/api/mcp/oauth/callback",
1503
+ url: "/api/workspaces/{workspace_id}/loop-runs/{run_id}/briefing",
1501
1504
  ...options,
1502
1505
  });
1503
1506
  }
1504
1507
  /**
1505
- * Trigger a daemon restart using the persisted relaunch helper flow
1508
+ * Cancel one Loop run
1506
1509
  */
1507
- triggerSettingsRestart(options) {
1508
- return (options?.client ?? this.client).post({
1510
+ cancelLoopRun(options) {
1511
+ return (options.client ?? this.client).post({
1509
1512
  responseStyle: "data",
1510
- url: "/api/settings/actions/restart",
1513
+ url: "/api/workspaces/{workspace_id}/loop-runs/{run_id}/cancel",
1511
1514
  ...options,
1515
+ headers: {
1516
+ "Content-Type": "application/json",
1517
+ ...options.headers,
1518
+ },
1512
1519
  });
1513
1520
  }
1514
1521
  /**
1515
- * Get the persisted status for one daemon restart operation
1522
+ * Compare Loop generations or runs
1516
1523
  */
1517
- getSettingsRestartStatus(options) {
1524
+ diffLoopRun(options) {
1518
1525
  return (options.client ?? this.client).get({
1519
1526
  responseStyle: "data",
1520
- url: "/api/settings/actions/restart/{operation_id}",
1527
+ url: "/api/workspaces/{workspace_id}/loop-runs/{run_id}/diff",
1521
1528
  ...options,
1522
1529
  });
1523
1530
  }
1524
1531
  /**
1525
- * List config apply records for desired and active generation reconciliation
1532
+ * Fork a linked Loop run from history
1526
1533
  */
1527
- listSettingsApplyRecords(options) {
1528
- return (options?.client ?? this.client).get({
1534
+ forkLoopRun(options) {
1535
+ return (options.client ?? this.client).post({
1529
1536
  responseStyle: "data",
1530
- url: "/api/settings/apply",
1537
+ url: "/api/workspaces/{workspace_id}/loop-runs/{run_id}/fork",
1531
1538
  ...options,
1539
+ headers: {
1540
+ "Content-Type": "application/json",
1541
+ ...options.headers,
1542
+ },
1532
1543
  });
1533
1544
  }
1534
1545
  /**
1535
- * Read the operator attention settings section
1546
+ * Get the computed Loop run node roster
1536
1547
  */
1537
- getSettingsAttention(options) {
1538
- return (options?.client ?? this.client).get({
1548
+ getLoopRunNodes(options) {
1549
+ return (options.client ?? this.client).get({
1539
1550
  responseStyle: "data",
1540
- url: "/api/settings/attention",
1551
+ url: "/api/workspaces/{workspace_id}/loop-runs/{run_id}/nodes",
1541
1552
  ...options,
1542
1553
  });
1543
1554
  }
1544
1555
  /**
1545
- * Update the operator attention settings section
1556
+ * Amend one parked Loop node output
1546
1557
  */
1547
- updateSettingsAttention(options) {
1548
- return (options.client ?? this.client).patch({
1558
+ amendLoopNode(options) {
1559
+ return (options.client ?? this.client).post({
1549
1560
  responseStyle: "data",
1550
- url: "/api/settings/attention",
1561
+ url: "/api/workspaces/{workspace_id}/loop-runs/{run_id}/nodes/{node_id}/amend",
1551
1562
  ...options,
1552
1563
  headers: {
1553
1564
  "Content-Type": "application/json",
@@ -1556,22 +1567,26 @@ class settings extends HeyApiClient {
1556
1567
  });
1557
1568
  }
1558
1569
  /**
1559
- * Read the automation settings section
1570
+ * Cancel one Loop node
1560
1571
  */
1561
- getSettingsAutomation(options) {
1562
- return (options?.client ?? this.client).get({
1572
+ cancelLoopNode(options) {
1573
+ return (options.client ?? this.client).post({
1563
1574
  responseStyle: "data",
1564
- url: "/api/settings/automation",
1575
+ url: "/api/workspaces/{workspace_id}/loop-runs/{run_id}/nodes/{node_id}/cancel",
1565
1576
  ...options,
1577
+ headers: {
1578
+ "Content-Type": "application/json",
1579
+ ...options.headers,
1580
+ },
1566
1581
  });
1567
1582
  }
1568
1583
  /**
1569
- * Update the automation settings section
1584
+ * Pause one Loop node
1570
1585
  */
1571
- updateSettingsAutomation(options) {
1572
- return (options.client ?? this.client).patch({
1586
+ pauseLoopNode(options) {
1587
+ return (options.client ?? this.client).post({
1573
1588
  responseStyle: "data",
1574
- url: "/api/settings/automation",
1589
+ url: "/api/workspaces/{workspace_id}/loop-runs/{run_id}/nodes/{node_id}/pause",
1575
1590
  ...options,
1576
1591
  headers: {
1577
1592
  "Content-Type": "application/json",
@@ -1580,22 +1595,22 @@ class settings extends HeyApiClient {
1580
1595
  });
1581
1596
  }
1582
1597
  /**
1583
- * Read command-palette settings
1598
+ * Get one Loop human request
1584
1599
  */
1585
- getSettingsCmdPalette(options) {
1586
- return (options?.client ?? this.client).get({
1600
+ getLoopRequest(options) {
1601
+ return (options.client ?? this.client).get({
1587
1602
  responseStyle: "data",
1588
- url: "/api/settings/cmd-palette",
1603
+ url: "/api/workspaces/{workspace_id}/loop-runs/{run_id}/nodes/{node_id}/request",
1589
1604
  ...options,
1590
1605
  });
1591
1606
  }
1592
1607
  /**
1593
- * Update command-palette settings
1608
+ * Requeue one Loop node
1594
1609
  */
1595
- updateSettingsCmdPalette(options) {
1596
- return (options.client ?? this.client).patch({
1610
+ requeueLoopNode(options) {
1611
+ return (options.client ?? this.client).post({
1597
1612
  responseStyle: "data",
1598
- url: "/api/settings/cmd-palette",
1613
+ url: "/api/workspaces/{workspace_id}/loop-runs/{run_id}/nodes/{node_id}/requeue",
1599
1614
  ...options,
1600
1615
  headers: {
1601
1616
  "Content-Type": "application/json",
@@ -1604,22 +1619,26 @@ class settings extends HeyApiClient {
1604
1619
  });
1605
1620
  }
1606
1621
  /**
1607
- * Read the general settings section
1622
+ * Answer one Loop human request
1608
1623
  */
1609
- getSettingsGeneral(options) {
1610
- return (options?.client ?? this.client).get({
1624
+ respondLoopRequest(options) {
1625
+ return (options.client ?? this.client).post({
1611
1626
  responseStyle: "data",
1612
- url: "/api/settings/general",
1627
+ url: "/api/workspaces/{workspace_id}/loop-runs/{run_id}/nodes/{node_id}/respond",
1613
1628
  ...options,
1629
+ headers: {
1630
+ "Content-Type": "application/json",
1631
+ ...options.headers,
1632
+ },
1614
1633
  });
1615
1634
  }
1616
1635
  /**
1617
- * Update the general settings section
1636
+ * Resume one Loop node
1618
1637
  */
1619
- updateSettingsGeneral(options) {
1620
- return (options.client ?? this.client).patch({
1638
+ resumeLoopNode(options) {
1639
+ return (options.client ?? this.client).post({
1621
1640
  responseStyle: "data",
1622
- url: "/api/settings/general",
1641
+ url: "/api/workspaces/{workspace_id}/loop-runs/{run_id}/nodes/{node_id}/resume",
1623
1642
  ...options,
1624
1643
  headers: {
1625
1644
  "Content-Type": "application/json",
@@ -1628,32 +1647,40 @@ class settings extends HeyApiClient {
1628
1647
  });
1629
1648
  }
1630
1649
  /**
1631
- * List settings-backed hook declarations
1650
+ * Pause one Loop run
1632
1651
  */
1633
- listSettingsHooks(options) {
1634
- return (options?.client ?? this.client).get({
1652
+ pauseLoopRun(options) {
1653
+ return (options.client ?? this.client).post({
1635
1654
  responseStyle: "data",
1636
- url: "/api/settings/hooks",
1655
+ url: "/api/workspaces/{workspace_id}/loop-runs/{run_id}/pause",
1637
1656
  ...options,
1657
+ headers: {
1658
+ "Content-Type": "application/json",
1659
+ ...options.headers,
1660
+ },
1638
1661
  });
1639
1662
  }
1640
1663
  /**
1641
- * Read the hooks and extensions settings section
1664
+ * Rerun a Loop from one settled node
1642
1665
  */
1643
- getSettingsHooksExtensions(options) {
1644
- return (options?.client ?? this.client).get({
1666
+ rerunLoopRun(options) {
1667
+ return (options.client ?? this.client).post({
1645
1668
  responseStyle: "data",
1646
- url: "/api/settings/hooks-extensions",
1669
+ url: "/api/workspaces/{workspace_id}/loop-runs/{run_id}/rerun",
1647
1670
  ...options,
1671
+ headers: {
1672
+ "Content-Type": "application/json",
1673
+ ...options.headers,
1674
+ },
1648
1675
  });
1649
1676
  }
1650
1677
  /**
1651
- * Update the hooks and extensions settings section
1678
+ * Resume one Loop run
1652
1679
  */
1653
- updateSettingsHooksExtensions(options) {
1654
- return (options.client ?? this.client).patch({
1680
+ resumeLoopRun(options) {
1681
+ return (options.client ?? this.client).post({
1655
1682
  responseStyle: "data",
1656
- url: "/api/settings/hooks-extensions",
1683
+ url: "/api/workspaces/{workspace_id}/loop-runs/{run_id}/resume",
1657
1684
  ...options,
1658
1685
  headers: {
1659
1686
  "Content-Type": "application/json",
@@ -1662,26 +1689,536 @@ class settings extends HeyApiClient {
1662
1689
  });
1663
1690
  }
1664
1691
  /**
1665
- * Delete one settings-backed hook declaration
1692
+ * Read the durable Loop run timeline
1666
1693
  */
1667
- deleteSettingsHook(options) {
1668
- return (options.client ?? this.client).delete({
1694
+ getLoopRunTimeline(options) {
1695
+ return (options.client ?? this.client).get({
1669
1696
  responseStyle: "data",
1670
- url: "/api/settings/hooks/{name}",
1697
+ url: "/api/workspaces/{workspace_id}/loop-runs/{run_id}/timeline",
1671
1698
  ...options,
1672
1699
  });
1673
1700
  }
1674
1701
  /**
1675
- * Create or replace one settings-backed hook declaration
1702
+ * List Goal turns in run-wide sequence order
1676
1703
  */
1677
- putSettingsHook(options) {
1678
- return (options.client ?? this.client).put({
1704
+ listGoalTurns(options) {
1705
+ return (options.client ?? this.client).get({
1679
1706
  responseStyle: "data",
1680
- url: "/api/settings/hooks/{name}",
1707
+ url: "/api/workspaces/{workspace_id}/loop-runs/{run_id}/turns",
1681
1708
  ...options,
1682
- headers: {
1683
- "Content-Type": "application/json",
1684
- ...options.headers,
1709
+ });
1710
+ }
1711
+ /**
1712
+ * List Loop catalog entries
1713
+ */
1714
+ listLoops(options) {
1715
+ return (options.client ?? this.client).get({
1716
+ responseStyle: "data",
1717
+ url: "/api/workspaces/{workspace_id}/loops",
1718
+ ...options,
1719
+ });
1720
+ }
1721
+ /**
1722
+ * Create or fork a Loop definition
1723
+ */
1724
+ createLoop(options) {
1725
+ return (options.client ?? this.client).post({
1726
+ responseStyle: "data",
1727
+ url: "/api/workspaces/{workspace_id}/loops",
1728
+ ...options,
1729
+ headers: {
1730
+ "Content-Type": "application/json",
1731
+ ...options.headers,
1732
+ },
1733
+ });
1734
+ }
1735
+ /**
1736
+ * Delete one writable Loop definition
1737
+ */
1738
+ deleteLoop(options) {
1739
+ return (options.client ?? this.client).delete({
1740
+ responseStyle: "data",
1741
+ url: "/api/workspaces/{workspace_id}/loops/{name}",
1742
+ ...options,
1743
+ });
1744
+ }
1745
+ /**
1746
+ * Inspect one Loop definition
1747
+ */
1748
+ getLoop(options) {
1749
+ return (options.client ?? this.client).get({
1750
+ responseStyle: "data",
1751
+ url: "/api/workspaces/{workspace_id}/loops/{name}",
1752
+ ...options,
1753
+ });
1754
+ }
1755
+ /**
1756
+ * Publish one Loop definition with optimistic concurrency
1757
+ */
1758
+ patchLoop(options) {
1759
+ return (options.client ?? this.client).patch({
1760
+ responseStyle: "data",
1761
+ url: "/api/workspaces/{workspace_id}/loops/{name}",
1762
+ ...options,
1763
+ headers: {
1764
+ "Content-Type": "application/json",
1765
+ ...options.headers,
1766
+ },
1767
+ });
1768
+ }
1769
+ /**
1770
+ * Get Loop editor annotations
1771
+ */
1772
+ getLoopAnnotations(options) {
1773
+ return (options.client ?? this.client).get({
1774
+ responseStyle: "data",
1775
+ url: "/api/workspaces/{workspace_id}/loops/{name}/annotations",
1776
+ ...options,
1777
+ });
1778
+ }
1779
+ /**
1780
+ * Replace Loop editor annotations
1781
+ */
1782
+ putLoopAnnotations(options) {
1783
+ return (options.client ?? this.client).put({
1784
+ responseStyle: "data",
1785
+ url: "/api/workspaces/{workspace_id}/loops/{name}/annotations",
1786
+ ...options,
1787
+ headers: {
1788
+ "Content-Type": "application/json",
1789
+ ...options.headers,
1790
+ },
1791
+ });
1792
+ }
1793
+ /**
1794
+ * Get Loop config override
1795
+ */
1796
+ getLoopConfig(options) {
1797
+ return (options.client ?? this.client).get({
1798
+ responseStyle: "data",
1799
+ url: "/api/workspaces/{workspace_id}/loops/{name}/config",
1800
+ ...options,
1801
+ });
1802
+ }
1803
+ /**
1804
+ * Replace Loop config override
1805
+ */
1806
+ putLoopConfig(options) {
1807
+ return (options.client ?? this.client).put({
1808
+ responseStyle: "data",
1809
+ url: "/api/workspaces/{workspace_id}/loops/{name}/config",
1810
+ ...options,
1811
+ headers: {
1812
+ "Content-Type": "application/json",
1813
+ ...options.headers,
1814
+ },
1815
+ });
1816
+ }
1817
+ /**
1818
+ * Get one scoped Loop input-default table
1819
+ */
1820
+ getLoopInputDefaults(options) {
1821
+ return (options.client ?? this.client).get({
1822
+ responseStyle: "data",
1823
+ url: "/api/workspaces/{workspace_id}/loops/{name}/input-defaults",
1824
+ ...options,
1825
+ });
1826
+ }
1827
+ /**
1828
+ * Replace one scoped Loop input-default table
1829
+ */
1830
+ putLoopInputDefaults(options) {
1831
+ return (options.client ?? this.client).put({
1832
+ responseStyle: "data",
1833
+ url: "/api/workspaces/{workspace_id}/loops/{name}/input-defaults",
1834
+ ...options,
1835
+ headers: {
1836
+ "Content-Type": "application/json",
1837
+ ...options.headers,
1838
+ },
1839
+ });
1840
+ }
1841
+ /**
1842
+ * Delete one scoped Loop input default
1843
+ */
1844
+ deleteLoopInputDefault(options) {
1845
+ return (options.client ?? this.client).delete({
1846
+ responseStyle: "data",
1847
+ url: "/api/workspaces/{workspace_id}/loops/{name}/input-defaults/{key}",
1848
+ ...options,
1849
+ });
1850
+ }
1851
+ /**
1852
+ * Get one scoped Loop input default
1853
+ */
1854
+ getLoopInputDefault(options) {
1855
+ return (options.client ?? this.client).get({
1856
+ responseStyle: "data",
1857
+ url: "/api/workspaces/{workspace_id}/loops/{name}/input-defaults/{key}",
1858
+ ...options,
1859
+ });
1860
+ }
1861
+ /**
1862
+ * Set one scoped Loop input default
1863
+ */
1864
+ putLoopInputDefault(options) {
1865
+ return (options.client ?? this.client).put({
1866
+ responseStyle: "data",
1867
+ url: "/api/workspaces/{workspace_id}/loops/{name}/input-defaults/{key}",
1868
+ ...options,
1869
+ headers: {
1870
+ "Content-Type": "application/json",
1871
+ ...options.headers,
1872
+ },
1873
+ });
1874
+ }
1875
+ /**
1876
+ * Start or dry-run one Loop
1877
+ */
1878
+ runLoop(options) {
1879
+ return (options.client ?? this.client).post({
1880
+ responseStyle: "data",
1881
+ url: "/api/workspaces/{workspace_id}/loops/{name}/run",
1882
+ ...options,
1883
+ headers: {
1884
+ "Content-Type": "application/json",
1885
+ ...options.headers,
1886
+ },
1887
+ });
1888
+ }
1889
+ /**
1890
+ * Validate one Loop definition without saving
1891
+ */
1892
+ validateLoop(options) {
1893
+ return (options.client ?? this.client).post({
1894
+ responseStyle: "data",
1895
+ url: "/api/workspaces/{workspace_id}/loops/{name}/validate",
1896
+ ...options,
1897
+ headers: {
1898
+ "Content-Type": "application/json",
1899
+ ...options.headers,
1900
+ },
1901
+ });
1902
+ }
1903
+ /**
1904
+ * Get the newest visible session Goal
1905
+ */
1906
+ getSessionGoal(options) {
1907
+ return (options.client ?? this.client).get({
1908
+ responseStyle: "data",
1909
+ url: "/api/workspaces/{workspace_id}/sessions/{session_id}/goal",
1910
+ ...options,
1911
+ });
1912
+ }
1913
+ /**
1914
+ * Set or control the authenticated session Goal
1915
+ */
1916
+ mutateSessionGoal(options) {
1917
+ return (options.client ?? this.client).post({
1918
+ responseStyle: "data",
1919
+ url: "/api/workspaces/{workspace_id}/sessions/{session_id}/goal",
1920
+ ...options,
1921
+ headers: {
1922
+ "Content-Type": "application/json",
1923
+ ...options.headers,
1924
+ },
1925
+ });
1926
+ }
1927
+ }
1928
+ exports.loops = loops;
1929
+ class marketplace extends HeyApiClient {
1930
+ /**
1931
+ * List the extension catalog with source state and a content revision
1932
+ */
1933
+ listMarketplace(options) {
1934
+ return (options?.client ?? this.client).get({
1935
+ responseStyle: "data",
1936
+ url: "/api/marketplace",
1937
+ ...options,
1938
+ });
1939
+ }
1940
+ /**
1941
+ * Get a catalog entry or an explicitly selected installed extension
1942
+ */
1943
+ getMarketplaceCatalogEntry(options) {
1944
+ return (options.client ?? this.client).get({
1945
+ responseStyle: "data",
1946
+ url: "/api/marketplace/entries/{entry_id}",
1947
+ ...options,
1948
+ });
1949
+ }
1950
+ /**
1951
+ * Refresh the extension catalog
1952
+ */
1953
+ refreshMarketplaceCatalog(options) {
1954
+ return (options?.client ?? this.client).post({
1955
+ responseStyle: "data",
1956
+ url: "/api/marketplace/refresh",
1957
+ ...options,
1958
+ });
1959
+ }
1960
+ /**
1961
+ * List global plugin marketplace sources
1962
+ *
1963
+ * @stability experimental
1964
+ */
1965
+ listMarketplaceSources(options) {
1966
+ return (options?.client ?? this.client).get({
1967
+ responseStyle: "data",
1968
+ url: "/api/marketplace/sources",
1969
+ ...options,
1970
+ });
1971
+ }
1972
+ /**
1973
+ * Validate or register a plugin marketplace source
1974
+ *
1975
+ * @stability experimental
1976
+ */
1977
+ addMarketplaceSource(options) {
1978
+ return (options.client ?? this.client).post({
1979
+ responseStyle: "data",
1980
+ url: "/api/marketplace/sources",
1981
+ ...options,
1982
+ headers: {
1983
+ "Content-Type": "application/json",
1984
+ ...options.headers,
1985
+ },
1986
+ });
1987
+ }
1988
+ /**
1989
+ * Remove a custom source without removing installed extensions
1990
+ *
1991
+ * @stability experimental
1992
+ */
1993
+ removeMarketplaceSource(options) {
1994
+ return (options.client ?? this.client).delete({
1995
+ responseStyle: "data",
1996
+ url: "/api/marketplace/sources/{name}",
1997
+ ...options,
1998
+ });
1999
+ }
2000
+ /**
2001
+ * Enable or disable a plugin marketplace source
2002
+ *
2003
+ * @stability experimental
2004
+ */
2005
+ updateMarketplaceSource(options) {
2006
+ return (options.client ?? this.client).patch({
2007
+ responseStyle: "data",
2008
+ url: "/api/marketplace/sources/{name}",
2009
+ ...options,
2010
+ headers: {
2011
+ "Content-Type": "application/json",
2012
+ ...options.headers,
2013
+ },
2014
+ });
2015
+ }
2016
+ /**
2017
+ * Refresh one enabled marketplace source
2018
+ *
2019
+ * @stability experimental
2020
+ */
2021
+ refreshMarketplaceSource(options) {
2022
+ return (options.client ?? this.client).post({
2023
+ responseStyle: "data",
2024
+ url: "/api/marketplace/sources/{name}/refresh",
2025
+ ...options,
2026
+ });
2027
+ }
2028
+ }
2029
+ exports.marketplace = marketplace;
2030
+ class settings extends HeyApiClient {
2031
+ /**
2032
+ * Complete a loopback MCP OAuth browser redirect
2033
+ */
2034
+ completeMCPAuthCallback(options) {
2035
+ return (options.client ?? this.client).get({
2036
+ responseStyle: "data",
2037
+ url: "/api/mcp/oauth/callback",
2038
+ ...options,
2039
+ });
2040
+ }
2041
+ /**
2042
+ * Trigger a daemon restart using the persisted relaunch helper flow
2043
+ */
2044
+ triggerSettingsRestart(options) {
2045
+ return (options?.client ?? this.client).post({
2046
+ responseStyle: "data",
2047
+ url: "/api/settings/actions/restart",
2048
+ ...options,
2049
+ });
2050
+ }
2051
+ /**
2052
+ * Get the persisted status for one daemon restart operation
2053
+ */
2054
+ getSettingsRestartStatus(options) {
2055
+ return (options.client ?? this.client).get({
2056
+ responseStyle: "data",
2057
+ url: "/api/settings/actions/restart/{operation_id}",
2058
+ ...options,
2059
+ });
2060
+ }
2061
+ /**
2062
+ * List config apply records for desired and active generation reconciliation
2063
+ */
2064
+ listSettingsApplyRecords(options) {
2065
+ return (options?.client ?? this.client).get({
2066
+ responseStyle: "data",
2067
+ url: "/api/settings/apply",
2068
+ ...options,
2069
+ });
2070
+ }
2071
+ /**
2072
+ * Read the operator attention settings section
2073
+ */
2074
+ getSettingsAttention(options) {
2075
+ return (options?.client ?? this.client).get({
2076
+ responseStyle: "data",
2077
+ url: "/api/settings/attention",
2078
+ ...options,
2079
+ });
2080
+ }
2081
+ /**
2082
+ * Update the operator attention settings section
2083
+ */
2084
+ updateSettingsAttention(options) {
2085
+ return (options.client ?? this.client).patch({
2086
+ responseStyle: "data",
2087
+ url: "/api/settings/attention",
2088
+ ...options,
2089
+ headers: {
2090
+ "Content-Type": "application/json",
2091
+ ...options.headers,
2092
+ },
2093
+ });
2094
+ }
2095
+ /**
2096
+ * Read the automation settings section
2097
+ */
2098
+ getSettingsAutomation(options) {
2099
+ return (options?.client ?? this.client).get({
2100
+ responseStyle: "data",
2101
+ url: "/api/settings/automation",
2102
+ ...options,
2103
+ });
2104
+ }
2105
+ /**
2106
+ * Update the automation settings section
2107
+ */
2108
+ updateSettingsAutomation(options) {
2109
+ return (options.client ?? this.client).patch({
2110
+ responseStyle: "data",
2111
+ url: "/api/settings/automation",
2112
+ ...options,
2113
+ headers: {
2114
+ "Content-Type": "application/json",
2115
+ ...options.headers,
2116
+ },
2117
+ });
2118
+ }
2119
+ /**
2120
+ * Read command-palette settings
2121
+ */
2122
+ getSettingsCmdPalette(options) {
2123
+ return (options?.client ?? this.client).get({
2124
+ responseStyle: "data",
2125
+ url: "/api/settings/cmd-palette",
2126
+ ...options,
2127
+ });
2128
+ }
2129
+ /**
2130
+ * Update command-palette settings
2131
+ */
2132
+ updateSettingsCmdPalette(options) {
2133
+ return (options.client ?? this.client).patch({
2134
+ responseStyle: "data",
2135
+ url: "/api/settings/cmd-palette",
2136
+ ...options,
2137
+ headers: {
2138
+ "Content-Type": "application/json",
2139
+ ...options.headers,
2140
+ },
2141
+ });
2142
+ }
2143
+ /**
2144
+ * Read the general settings section
2145
+ */
2146
+ getSettingsGeneral(options) {
2147
+ return (options?.client ?? this.client).get({
2148
+ responseStyle: "data",
2149
+ url: "/api/settings/general",
2150
+ ...options,
2151
+ });
2152
+ }
2153
+ /**
2154
+ * Update the general settings section
2155
+ */
2156
+ updateSettingsGeneral(options) {
2157
+ return (options.client ?? this.client).patch({
2158
+ responseStyle: "data",
2159
+ url: "/api/settings/general",
2160
+ ...options,
2161
+ headers: {
2162
+ "Content-Type": "application/json",
2163
+ ...options.headers,
2164
+ },
2165
+ });
2166
+ }
2167
+ /**
2168
+ * List settings-backed hook declarations
2169
+ */
2170
+ listSettingsHooks(options) {
2171
+ return (options?.client ?? this.client).get({
2172
+ responseStyle: "data",
2173
+ url: "/api/settings/hooks",
2174
+ ...options,
2175
+ });
2176
+ }
2177
+ /**
2178
+ * Read the hooks and extensions settings section
2179
+ */
2180
+ getSettingsHooksExtensions(options) {
2181
+ return (options?.client ?? this.client).get({
2182
+ responseStyle: "data",
2183
+ url: "/api/settings/hooks-extensions",
2184
+ ...options,
2185
+ });
2186
+ }
2187
+ /**
2188
+ * Update the hooks and extensions settings section
2189
+ */
2190
+ updateSettingsHooksExtensions(options) {
2191
+ return (options.client ?? this.client).patch({
2192
+ responseStyle: "data",
2193
+ url: "/api/settings/hooks-extensions",
2194
+ ...options,
2195
+ headers: {
2196
+ "Content-Type": "application/json",
2197
+ ...options.headers,
2198
+ },
2199
+ });
2200
+ }
2201
+ /**
2202
+ * Delete one settings-backed hook declaration
2203
+ */
2204
+ deleteSettingsHook(options) {
2205
+ return (options.client ?? this.client).delete({
2206
+ responseStyle: "data",
2207
+ url: "/api/settings/hooks/{name}",
2208
+ ...options,
2209
+ });
2210
+ }
2211
+ /**
2212
+ * Create or replace one settings-backed hook declaration
2213
+ */
2214
+ putSettingsHook(options) {
2215
+ return (options.client ?? this.client).put({
2216
+ responseStyle: "data",
2217
+ url: "/api/settings/hooks/{name}",
2218
+ ...options,
2219
+ headers: {
2220
+ "Content-Type": "application/json",
2221
+ ...options.headers,
1685
2222
  },
1686
2223
  });
1687
2224
  }
@@ -1828,20 +2365,44 @@ class settings extends HeyApiClient {
1828
2365
  /**
1829
2366
  * Read profile-layerable persona defaults
1830
2367
  */
1831
- getSettingsPersona(options) {
2368
+ getSettingsPersona(options) {
2369
+ return (options?.client ?? this.client).get({
2370
+ responseStyle: "data",
2371
+ url: "/api/settings/persona",
2372
+ ...options,
2373
+ });
2374
+ }
2375
+ /**
2376
+ * Update profile-layerable persona defaults
2377
+ */
2378
+ updateSettingsPersona(options) {
2379
+ return (options.client ?? this.client).patch({
2380
+ responseStyle: "data",
2381
+ url: "/api/settings/persona",
2382
+ ...options,
2383
+ headers: {
2384
+ "Content-Type": "application/json",
2385
+ ...options.headers,
2386
+ },
2387
+ });
2388
+ }
2389
+ /**
2390
+ * Read the provider usage settings section
2391
+ */
2392
+ getSettingsProviderUsage(options) {
1832
2393
  return (options?.client ?? this.client).get({
1833
2394
  responseStyle: "data",
1834
- url: "/api/settings/persona",
2395
+ url: "/api/settings/provider-usage",
1835
2396
  ...options,
1836
2397
  });
1837
2398
  }
1838
2399
  /**
1839
- * Update profile-layerable persona defaults
2400
+ * Update the provider usage settings section
1840
2401
  */
1841
- updateSettingsPersona(options) {
2402
+ updateSettingsProviderUsage(options) {
1842
2403
  return (options.client ?? this.client).patch({
1843
2404
  responseStyle: "data",
1844
- url: "/api/settings/persona",
2405
+ url: "/api/settings/provider-usage",
1845
2406
  ...options,
1846
2407
  headers: {
1847
2408
  "Content-Type": "application/json",
@@ -2128,6 +2689,46 @@ class providers extends HeyApiClient {
2128
2689
  ...options,
2129
2690
  });
2130
2691
  }
2692
+ /**
2693
+ * Read cached provider usage (experimental)
2694
+ *
2695
+ * @stability experimental
2696
+ */
2697
+ listProviderUsage(options) {
2698
+ return (options?.client ?? this.client).get({
2699
+ responseStyle: "data",
2700
+ url: "/api/provider-usage",
2701
+ ...options,
2702
+ });
2703
+ }
2704
+ /**
2705
+ * Read cached provider usage (experimental)
2706
+ *
2707
+ * @stability experimental
2708
+ */
2709
+ getProviderUsage(options) {
2710
+ return (options.client ?? this.client).get({
2711
+ responseStyle: "data",
2712
+ url: "/api/provider-usage/providers/{provider_id}",
2713
+ ...options,
2714
+ });
2715
+ }
2716
+ /**
2717
+ * Refresh provider usage (experimental)
2718
+ *
2719
+ * @stability experimental
2720
+ */
2721
+ refreshProviderUsage(options) {
2722
+ return (options?.client ?? this.client).post({
2723
+ responseStyle: "data",
2724
+ url: "/api/provider-usage/refresh",
2725
+ ...options,
2726
+ headers: {
2727
+ "Content-Type": "application/json",
2728
+ ...options?.headers,
2729
+ },
2730
+ });
2731
+ }
2131
2732
  /**
2132
2733
  * List providers and declared auth status
2133
2734
  */
@@ -3698,6 +4299,26 @@ class sessions extends HeyApiClient {
3698
4299
  ...options,
3699
4300
  });
3700
4301
  }
4302
+ /**
4303
+ * List a session's monitors
4304
+ */
4305
+ listSessionMonitors(options) {
4306
+ return (options.client ?? this.client).get({
4307
+ responseStyle: "data",
4308
+ url: "/api/workspaces/{workspace_id}/sessions/{session_id}/monitors",
4309
+ ...options,
4310
+ });
4311
+ }
4312
+ /**
4313
+ * Cancel a session monitor without waking the session
4314
+ */
4315
+ cancelSessionMonitor(options) {
4316
+ return (options.client ?? this.client).post({
4317
+ responseStyle: "data",
4318
+ url: "/api/workspaces/{workspace_id}/sessions/{session_id}/monitors/{monitor_id}/cancel",
4319
+ ...options,
4320
+ });
4321
+ }
3701
4322
  /**
3702
4323
  * Move a session into a folder or back to the workspace root
3703
4324
  */
@@ -4180,220 +4801,17 @@ class support extends HeyApiClient {
4180
4801
  }
4181
4802
  }
4182
4803
  exports.support = support;
4183
- class tools extends HeyApiClient {
4184
- /**
4185
- * List remembered native-tool approval decisions for one workspace
4186
- */
4187
- listToolApprovalGrants(options) {
4188
- return (options.client ?? this.client).get({
4189
- responseStyle: "data",
4190
- url: "/api/tool-approval-grants",
4191
- ...options,
4192
- });
4193
- }
4194
- /**
4195
- * Set an explicit agent-wide or tool-wide native-tool approval decision
4196
- */
4197
- setToolApprovalGrant(options) {
4198
- return (options.client ?? this.client).put({
4199
- responseStyle: "data",
4200
- url: "/api/tool-approval-grants",
4201
- ...options,
4202
- headers: {
4203
- "Content-Type": "application/json",
4204
- ...options.headers,
4205
- },
4206
- });
4207
- }
4208
- /**
4209
- * Revoke one remembered native-tool approval decision in one workspace
4210
- */
4211
- revokeToolApprovalGrant(options) {
4212
- return (options.client ?? this.client).delete({
4213
- responseStyle: "data",
4214
- url: "/api/tool-approval-grants/{id}",
4215
- ...options,
4216
- });
4217
- }
4218
- /**
4219
- * List operator-visible registry tools
4220
- */
4221
- listTools(options) {
4222
- return (options?.client ?? this.client).get({
4223
- responseStyle: "data",
4224
- url: "/api/tools",
4225
- ...options,
4226
- });
4227
- }
4228
- /**
4229
- * Get one pending tool approval lifecycle
4230
- */
4231
- getPendingToolApproval(options) {
4232
- return (options.client ?? this.client).get({
4233
- responseStyle: "data",
4234
- url: "/api/tools/approvals/{id}",
4235
- ...options,
4236
- });
4237
- }
4238
- /**
4239
- * Cancel one pending tool approval
4240
- */
4241
- cancelPendingToolApproval(options) {
4242
- return (options.client ?? this.client).post({
4243
- responseStyle: "data",
4244
- url: "/api/tools/approvals/{id}/cancel",
4245
- ...options,
4246
- });
4247
- }
4248
- /**
4249
- * Approve or deny one pending tool approval
4250
- */
4251
- resolvePendingToolApproval(options) {
4252
- return (options.client ?? this.client).post({
4253
- responseStyle: "data",
4254
- url: "/api/tools/approvals/{id}/resolve",
4255
- ...options,
4256
- headers: {
4257
- "Content-Type": "application/json",
4258
- ...options.headers,
4259
- },
4260
- });
4261
- }
4262
- /**
4263
- * Search operator-visible registry tools
4264
- */
4265
- searchTools(options) {
4266
- return (options.client ?? this.client).post({
4267
- responseStyle: "data",
4268
- url: "/api/tools/search",
4269
- ...options,
4270
- headers: {
4271
- "Content-Type": "application/json",
4272
- ...options.headers,
4273
- },
4274
- });
4275
- }
4276
- /**
4277
- * Get one operator-visible registry tool
4278
- */
4279
- getTool(options) {
4280
- return (options.client ?? this.client).get({
4281
- responseStyle: "data",
4282
- url: "/api/tools/{id}",
4283
- ...options,
4284
- });
4285
- }
4286
- /**
4287
- * Mint a local single-use approval token for one tool invocation
4288
- */
4289
- createToolApproval(options) {
4290
- return (options.client ?? this.client).post({
4291
- responseStyle: "data",
4292
- url: "/api/tools/{id}/approvals",
4293
- ...options,
4294
- headers: {
4295
- "Content-Type": "application/json",
4296
- ...options.headers,
4297
- },
4298
- });
4299
- }
4300
- /**
4301
- * Invoke a registry tool through executable dispatch
4302
- */
4303
- invokeTool(options) {
4304
- return (options.client ?? this.client).post({
4305
- responseStyle: "data",
4306
- url: "/api/tools/{id}/invoke",
4307
- ...options,
4308
- headers: {
4309
- "Content-Type": "application/json",
4310
- ...options.headers,
4311
- },
4312
- });
4313
- }
4314
- /**
4315
- * Read one retained oversized tool-result page
4316
- */
4317
- readToolArtifact(options) {
4318
- return (options.client ?? this.client).get({
4319
- responseStyle: "data",
4320
- url: "/api/workspaces/{workspace_id}/tool-artifacts/{artifact_id}",
4321
- ...options,
4322
- });
4323
- }
4324
- }
4325
- exports.tools = tools;
4326
- class toolsets extends HeyApiClient {
4327
- /**
4328
- * List named toolsets and expansion status
4329
- */
4330
- listToolsets(options) {
4331
- return (options?.client ?? this.client).get({
4332
- responseStyle: "data",
4333
- url: "/api/toolsets",
4334
- ...options,
4335
- });
4336
- }
4337
- /**
4338
- * Inspect one named toolset expansion
4339
- */
4340
- getToolset(options) {
4341
- return (options.client ?? this.client).get({
4342
- responseStyle: "data",
4343
- url: "/api/toolsets/{id}",
4344
- ...options,
4345
- });
4346
- }
4347
- }
4348
- exports.toolsets = toolsets;
4349
- class vault extends HeyApiClient {
4350
- /**
4351
- * Delete one vault secret
4352
- */
4353
- deleteVaultSecret(options) {
4354
- return (options.client ?? this.client).delete({
4355
- responseStyle: "data",
4356
- url: "/api/vault/secrets",
4357
- ...options,
4358
- });
4359
- }
4360
- /**
4361
- * List redacted vault secret metadata
4362
- */
4363
- listVaultSecrets(options) {
4364
- return (options?.client ?? this.client).get({
4365
- responseStyle: "data",
4366
- url: "/api/vault/secrets",
4367
- ...options,
4368
- });
4369
- }
4370
- /**
4371
- * Create or update one write-only vault secret
4372
- */
4373
- putVaultSecret(options) {
4374
- return (options.client ?? this.client).put({
4375
- responseStyle: "data",
4376
- url: "/api/vault/secrets",
4377
- ...options,
4378
- headers: {
4379
- "Content-Type": "application/json",
4380
- ...options.headers,
4381
- },
4382
- });
4383
- }
4804
+ class workspaces extends HeyApiClient {
4384
4805
  /**
4385
- * Read redacted vault secret metadata
4806
+ * List workspace terminals
4386
4807
  */
4387
- getVaultSecretMetadata(options) {
4388
- return (options.client ?? this.client).get({
4808
+ listTerminalsAggregate(options) {
4809
+ return (options?.client ?? this.client).get({
4389
4810
  responseStyle: "data",
4390
- url: "/api/vault/secrets/metadata",
4811
+ url: "/api/terminals",
4391
4812
  ...options,
4392
4813
  });
4393
4814
  }
4394
- }
4395
- exports.vault = vault;
4396
- class workspaces extends HeyApiClient {
4397
4815
  /**
4398
4816
  * List registered workspaces
4399
4817
  */
@@ -4757,261 +5175,10 @@ class workspaces extends HeyApiClient {
4757
5175
  /**
4758
5176
  * Delete one workspace-visible layout profile
4759
5177
  */
4760
- deleteWindowManagerLayoutProfile(options) {
4761
- return (options.client ?? this.client).delete({
4762
- responseStyle: "data",
4763
- url: "/api/workspaces/{workspace_id}/window-manager/layout-profiles/{profile_id}",
4764
- ...options,
4765
- headers: {
4766
- "Content-Type": "application/json",
4767
- ...options.headers,
4768
- },
4769
- });
4770
- }
4771
- /**
4772
- * Create or replace one workspace-visible layout profile
4773
- */
4774
- putWindowManagerLayoutProfile(options) {
4775
- return (options.client ?? this.client).put({
4776
- responseStyle: "data",
4777
- url: "/api/workspaces/{workspace_id}/window-manager/layout-profiles/{profile_id}",
4778
- ...options,
4779
- headers: {
4780
- "Content-Type": "application/json",
4781
- ...options.headers,
4782
- },
4783
- });
4784
- }
4785
- /**
4786
- * Validate one declarative window layout
4787
- */
4788
- validateWindowManagerLayout(options) {
4789
- return (options.client ?? this.client).post({
4790
- responseStyle: "data",
4791
- url: "/api/workspaces/{workspace_id}/window-manager/layout/validate",
4792
- ...options,
4793
- headers: {
4794
- "Content-Type": "application/json",
4795
- ...options.headers,
4796
- },
4797
- });
4798
- }
4799
- /**
4800
- * Preview one semantic window-manager command
4801
- */
4802
- previewWindowManagerCommand(options) {
4803
- return (options.client ?? this.client).post({
4804
- responseStyle: "data",
4805
- url: "/api/workspaces/{workspace_id}/window-manager/preview",
4806
- ...options,
4807
- headers: {
4808
- "Content-Type": "application/json",
4809
- ...options.headers,
4810
- },
4811
- });
4812
- }
4813
- }
4814
- exports.workspaces = workspaces;
4815
- class loops extends HeyApiClient {
4816
- /**
4817
- * List workspace Loop node state
4818
- */
4819
- listLoopNodes(options) {
4820
- return (options.client ?? this.client).get({
4821
- responseStyle: "data",
4822
- url: "/api/workspaces/{workspace_id}/loop-nodes",
4823
- ...options,
4824
- });
4825
- }
4826
- /**
4827
- * List Loop human requests
4828
- */
4829
- listLoopRequests(options) {
4830
- return (options.client ?? this.client).get({
4831
- responseStyle: "data",
4832
- url: "/api/workspaces/{workspace_id}/loop-requests",
4833
- ...options,
4834
- });
4835
- }
4836
- /**
4837
- * List Loop runs
4838
- */
4839
- listLoopRuns(options) {
4840
- return (options.client ?? this.client).get({
4841
- responseStyle: "data",
4842
- url: "/api/workspaces/{workspace_id}/loop-runs",
4843
- ...options,
4844
- });
4845
- }
4846
- /**
4847
- * Get one Loop run
4848
- */
4849
- getLoopRun(options) {
4850
- return (options.client ?? this.client).get({
4851
- responseStyle: "data",
4852
- url: "/api/workspaces/{workspace_id}/loop-runs/{run_id}",
4853
- ...options,
4854
- });
4855
- }
4856
- /**
4857
- * Approve one Loop gate
4858
- */
4859
- approveLoopRun(options) {
4860
- return (options.client ?? this.client).post({
4861
- responseStyle: "data",
4862
- url: "/api/workspaces/{workspace_id}/loop-runs/{run_id}/approve",
4863
- ...options,
4864
- headers: {
4865
- "Content-Type": "application/json",
4866
- ...options.headers,
4867
- },
4868
- });
4869
- }
4870
- /**
4871
- * Explain the current Loop run state
4872
- */
4873
- getLoopRunBriefing(options) {
4874
- return (options.client ?? this.client).get({
4875
- responseStyle: "data",
4876
- url: "/api/workspaces/{workspace_id}/loop-runs/{run_id}/briefing",
4877
- ...options,
4878
- });
4879
- }
4880
- /**
4881
- * Cancel one Loop run
4882
- */
4883
- cancelLoopRun(options) {
4884
- return (options.client ?? this.client).post({
4885
- responseStyle: "data",
4886
- url: "/api/workspaces/{workspace_id}/loop-runs/{run_id}/cancel",
4887
- ...options,
4888
- headers: {
4889
- "Content-Type": "application/json",
4890
- ...options.headers,
4891
- },
4892
- });
4893
- }
4894
- /**
4895
- * Compare Loop generations or runs
4896
- */
4897
- diffLoopRun(options) {
4898
- return (options.client ?? this.client).get({
4899
- responseStyle: "data",
4900
- url: "/api/workspaces/{workspace_id}/loop-runs/{run_id}/diff",
4901
- ...options,
4902
- });
4903
- }
4904
- /**
4905
- * Fork a linked Loop run from history
4906
- */
4907
- forkLoopRun(options) {
4908
- return (options.client ?? this.client).post({
4909
- responseStyle: "data",
4910
- url: "/api/workspaces/{workspace_id}/loop-runs/{run_id}/fork",
4911
- ...options,
4912
- headers: {
4913
- "Content-Type": "application/json",
4914
- ...options.headers,
4915
- },
4916
- });
4917
- }
4918
- /**
4919
- * Get the computed Loop run node roster
4920
- */
4921
- getLoopRunNodes(options) {
4922
- return (options.client ?? this.client).get({
4923
- responseStyle: "data",
4924
- url: "/api/workspaces/{workspace_id}/loop-runs/{run_id}/nodes",
4925
- ...options,
4926
- });
4927
- }
4928
- /**
4929
- * Amend one parked Loop node output
4930
- */
4931
- amendLoopNode(options) {
4932
- return (options.client ?? this.client).post({
4933
- responseStyle: "data",
4934
- url: "/api/workspaces/{workspace_id}/loop-runs/{run_id}/nodes/{node_id}/amend",
4935
- ...options,
4936
- headers: {
4937
- "Content-Type": "application/json",
4938
- ...options.headers,
4939
- },
4940
- });
4941
- }
4942
- /**
4943
- * Cancel one Loop node
4944
- */
4945
- cancelLoopNode(options) {
4946
- return (options.client ?? this.client).post({
4947
- responseStyle: "data",
4948
- url: "/api/workspaces/{workspace_id}/loop-runs/{run_id}/nodes/{node_id}/cancel",
4949
- ...options,
4950
- headers: {
4951
- "Content-Type": "application/json",
4952
- ...options.headers,
4953
- },
4954
- });
4955
- }
4956
- /**
4957
- * Pause one Loop node
4958
- */
4959
- pauseLoopNode(options) {
4960
- return (options.client ?? this.client).post({
4961
- responseStyle: "data",
4962
- url: "/api/workspaces/{workspace_id}/loop-runs/{run_id}/nodes/{node_id}/pause",
4963
- ...options,
4964
- headers: {
4965
- "Content-Type": "application/json",
4966
- ...options.headers,
4967
- },
4968
- });
4969
- }
4970
- /**
4971
- * Get one Loop human request
4972
- */
4973
- getLoopRequest(options) {
4974
- return (options.client ?? this.client).get({
4975
- responseStyle: "data",
4976
- url: "/api/workspaces/{workspace_id}/loop-runs/{run_id}/nodes/{node_id}/request",
4977
- ...options,
4978
- });
4979
- }
4980
- /**
4981
- * Requeue one Loop node
4982
- */
4983
- requeueLoopNode(options) {
4984
- return (options.client ?? this.client).post({
4985
- responseStyle: "data",
4986
- url: "/api/workspaces/{workspace_id}/loop-runs/{run_id}/nodes/{node_id}/requeue",
4987
- ...options,
4988
- headers: {
4989
- "Content-Type": "application/json",
4990
- ...options.headers,
4991
- },
4992
- });
4993
- }
4994
- /**
4995
- * Answer one Loop human request
4996
- */
4997
- respondLoopRequest(options) {
4998
- return (options.client ?? this.client).post({
4999
- responseStyle: "data",
5000
- url: "/api/workspaces/{workspace_id}/loop-runs/{run_id}/nodes/{node_id}/respond",
5001
- ...options,
5002
- headers: {
5003
- "Content-Type": "application/json",
5004
- ...options.headers,
5005
- },
5006
- });
5007
- }
5008
- /**
5009
- * Resume one Loop node
5010
- */
5011
- resumeLoopNode(options) {
5012
- return (options.client ?? this.client).post({
5178
+ deleteWindowManagerLayoutProfile(options) {
5179
+ return (options.client ?? this.client).delete({
5013
5180
  responseStyle: "data",
5014
- url: "/api/workspaces/{workspace_id}/loop-runs/{run_id}/nodes/{node_id}/resume",
5181
+ url: "/api/workspaces/{workspace_id}/window-manager/layout-profiles/{profile_id}",
5015
5182
  ...options,
5016
5183
  headers: {
5017
5184
  "Content-Type": "application/json",
@@ -5020,12 +5187,12 @@ class loops extends HeyApiClient {
5020
5187
  });
5021
5188
  }
5022
5189
  /**
5023
- * Pause one Loop run
5190
+ * Create or replace one workspace-visible layout profile
5024
5191
  */
5025
- pauseLoopRun(options) {
5026
- return (options.client ?? this.client).post({
5192
+ putWindowManagerLayoutProfile(options) {
5193
+ return (options.client ?? this.client).put({
5027
5194
  responseStyle: "data",
5028
- url: "/api/workspaces/{workspace_id}/loop-runs/{run_id}/pause",
5195
+ url: "/api/workspaces/{workspace_id}/window-manager/layout-profiles/{profile_id}",
5029
5196
  ...options,
5030
5197
  headers: {
5031
5198
  "Content-Type": "application/json",
@@ -5034,12 +5201,12 @@ class loops extends HeyApiClient {
5034
5201
  });
5035
5202
  }
5036
5203
  /**
5037
- * Rerun a Loop from one settled node
5204
+ * Validate one declarative window layout
5038
5205
  */
5039
- rerunLoopRun(options) {
5206
+ validateWindowManagerLayout(options) {
5040
5207
  return (options.client ?? this.client).post({
5041
5208
  responseStyle: "data",
5042
- url: "/api/workspaces/{workspace_id}/loop-runs/{run_id}/rerun",
5209
+ url: "/api/workspaces/{workspace_id}/window-manager/layout/validate",
5043
5210
  ...options,
5044
5211
  headers: {
5045
5212
  "Content-Type": "application/json",
@@ -5048,12 +5215,12 @@ class loops extends HeyApiClient {
5048
5215
  });
5049
5216
  }
5050
5217
  /**
5051
- * Resume one Loop run
5218
+ * Preview one semantic window-manager command
5052
5219
  */
5053
- resumeLoopRun(options) {
5220
+ previewWindowManagerCommand(options) {
5054
5221
  return (options.client ?? this.client).post({
5055
5222
  responseStyle: "data",
5056
- url: "/api/workspaces/{workspace_id}/loop-runs/{run_id}/resume",
5223
+ url: "/api/workspaces/{workspace_id}/window-manager/preview",
5057
5224
  ...options,
5058
5225
  headers: {
5059
5226
  "Content-Type": "application/json",
@@ -5061,77 +5228,80 @@ class loops extends HeyApiClient {
5061
5228
  },
5062
5229
  });
5063
5230
  }
5231
+ }
5232
+ exports.workspaces = workspaces;
5233
+ class tools extends HeyApiClient {
5064
5234
  /**
5065
- * Read the durable Loop run timeline
5235
+ * List remembered native-tool approval decisions for one workspace
5066
5236
  */
5067
- getLoopRunTimeline(options) {
5237
+ listToolApprovalGrants(options) {
5068
5238
  return (options.client ?? this.client).get({
5069
5239
  responseStyle: "data",
5070
- url: "/api/workspaces/{workspace_id}/loop-runs/{run_id}/timeline",
5240
+ url: "/api/tool-approval-grants",
5071
5241
  ...options,
5072
5242
  });
5073
5243
  }
5074
5244
  /**
5075
- * List Goal turns in run-wide sequence order
5245
+ * Set an explicit agent-wide or tool-wide native-tool approval decision
5076
5246
  */
5077
- listGoalTurns(options) {
5078
- return (options.client ?? this.client).get({
5247
+ setToolApprovalGrant(options) {
5248
+ return (options.client ?? this.client).put({
5079
5249
  responseStyle: "data",
5080
- url: "/api/workspaces/{workspace_id}/loop-runs/{run_id}/turns",
5250
+ url: "/api/tool-approval-grants",
5081
5251
  ...options,
5252
+ headers: {
5253
+ "Content-Type": "application/json",
5254
+ ...options.headers,
5255
+ },
5082
5256
  });
5083
5257
  }
5084
5258
  /**
5085
- * List Loop catalog entries
5259
+ * Revoke one remembered native-tool approval decision in one workspace
5086
5260
  */
5087
- listLoops(options) {
5088
- return (options.client ?? this.client).get({
5261
+ revokeToolApprovalGrant(options) {
5262
+ return (options.client ?? this.client).delete({
5089
5263
  responseStyle: "data",
5090
- url: "/api/workspaces/{workspace_id}/loops",
5264
+ url: "/api/tool-approval-grants/{id}",
5091
5265
  ...options,
5092
5266
  });
5093
5267
  }
5094
5268
  /**
5095
- * Create or fork a Loop definition
5269
+ * List operator-visible registry tools
5096
5270
  */
5097
- createLoop(options) {
5098
- return (options.client ?? this.client).post({
5271
+ listTools(options) {
5272
+ return (options?.client ?? this.client).get({
5099
5273
  responseStyle: "data",
5100
- url: "/api/workspaces/{workspace_id}/loops",
5274
+ url: "/api/tools",
5101
5275
  ...options,
5102
- headers: {
5103
- "Content-Type": "application/json",
5104
- ...options.headers,
5105
- },
5106
5276
  });
5107
5277
  }
5108
5278
  /**
5109
- * Delete one writable Loop definition
5279
+ * Get one pending tool approval lifecycle
5110
5280
  */
5111
- deleteLoop(options) {
5112
- return (options.client ?? this.client).delete({
5281
+ getPendingToolApproval(options) {
5282
+ return (options.client ?? this.client).get({
5113
5283
  responseStyle: "data",
5114
- url: "/api/workspaces/{workspace_id}/loops/{name}",
5284
+ url: "/api/tools/approvals/{id}",
5115
5285
  ...options,
5116
5286
  });
5117
5287
  }
5118
5288
  /**
5119
- * Inspect one Loop definition
5289
+ * Cancel one pending tool approval
5120
5290
  */
5121
- getLoop(options) {
5122
- return (options.client ?? this.client).get({
5291
+ cancelPendingToolApproval(options) {
5292
+ return (options.client ?? this.client).post({
5123
5293
  responseStyle: "data",
5124
- url: "/api/workspaces/{workspace_id}/loops/{name}",
5294
+ url: "/api/tools/approvals/{id}/cancel",
5125
5295
  ...options,
5126
5296
  });
5127
5297
  }
5128
5298
  /**
5129
- * Publish one Loop definition with optimistic concurrency
5299
+ * Approve or deny one pending tool approval
5130
5300
  */
5131
- patchLoop(options) {
5132
- return (options.client ?? this.client).patch({
5301
+ resolvePendingToolApproval(options) {
5302
+ return (options.client ?? this.client).post({
5133
5303
  responseStyle: "data",
5134
- url: "/api/workspaces/{workspace_id}/loops/{name}",
5304
+ url: "/api/tools/approvals/{id}/resolve",
5135
5305
  ...options,
5136
5306
  headers: {
5137
5307
  "Content-Type": "application/json",
@@ -5140,22 +5310,12 @@ class loops extends HeyApiClient {
5140
5310
  });
5141
5311
  }
5142
5312
  /**
5143
- * Get Loop editor annotations
5144
- */
5145
- getLoopAnnotations(options) {
5146
- return (options.client ?? this.client).get({
5147
- responseStyle: "data",
5148
- url: "/api/workspaces/{workspace_id}/loops/{name}/annotations",
5149
- ...options,
5150
- });
5151
- }
5152
- /**
5153
- * Replace Loop editor annotations
5313
+ * Search operator-visible registry tools
5154
5314
  */
5155
- putLoopAnnotations(options) {
5156
- return (options.client ?? this.client).put({
5315
+ searchTools(options) {
5316
+ return (options.client ?? this.client).post({
5157
5317
  responseStyle: "data",
5158
- url: "/api/workspaces/{workspace_id}/loops/{name}/annotations",
5318
+ url: "/api/tools/search",
5159
5319
  ...options,
5160
5320
  headers: {
5161
5321
  "Content-Type": "application/json",
@@ -5164,22 +5324,22 @@ class loops extends HeyApiClient {
5164
5324
  });
5165
5325
  }
5166
5326
  /**
5167
- * Get Loop config override
5327
+ * Get one operator-visible registry tool
5168
5328
  */
5169
- getLoopConfig(options) {
5329
+ getTool(options) {
5170
5330
  return (options.client ?? this.client).get({
5171
5331
  responseStyle: "data",
5172
- url: "/api/workspaces/{workspace_id}/loops/{name}/config",
5332
+ url: "/api/tools/{id}",
5173
5333
  ...options,
5174
5334
  });
5175
5335
  }
5176
5336
  /**
5177
- * Replace Loop config override
5337
+ * Mint a local single-use approval token for one tool invocation
5178
5338
  */
5179
- putLoopConfig(options) {
5180
- return (options.client ?? this.client).put({
5339
+ createToolApproval(options) {
5340
+ return (options.client ?? this.client).post({
5181
5341
  responseStyle: "data",
5182
- url: "/api/workspaces/{workspace_id}/loops/{name}/config",
5342
+ url: "/api/tools/{id}/approvals",
5183
5343
  ...options,
5184
5344
  headers: {
5185
5345
  "Content-Type": "application/json",
@@ -5188,84 +5348,82 @@ class loops extends HeyApiClient {
5188
5348
  });
5189
5349
  }
5190
5350
  /**
5191
- * Get one scoped Loop input-default table
5351
+ * Invoke a registry tool through executable dispatch
5192
5352
  */
5193
- getLoopInputDefaults(options) {
5194
- return (options.client ?? this.client).get({
5353
+ invokeTool(options) {
5354
+ return (options.client ?? this.client).post({
5195
5355
  responseStyle: "data",
5196
- url: "/api/workspaces/{workspace_id}/loops/{name}/input-defaults",
5356
+ url: "/api/tools/{id}/invoke",
5197
5357
  ...options,
5358
+ headers: {
5359
+ "Content-Type": "application/json",
5360
+ ...options.headers,
5361
+ },
5198
5362
  });
5199
5363
  }
5200
5364
  /**
5201
- * Replace one scoped Loop input-default table
5365
+ * Read one retained oversized tool-result page
5202
5366
  */
5203
- putLoopInputDefaults(options) {
5204
- return (options.client ?? this.client).put({
5367
+ readToolArtifact(options) {
5368
+ return (options.client ?? this.client).get({
5205
5369
  responseStyle: "data",
5206
- url: "/api/workspaces/{workspace_id}/loops/{name}/input-defaults",
5370
+ url: "/api/workspaces/{workspace_id}/tool-artifacts/{artifact_id}",
5207
5371
  ...options,
5208
- headers: {
5209
- "Content-Type": "application/json",
5210
- ...options.headers,
5211
- },
5212
5372
  });
5213
5373
  }
5374
+ }
5375
+ exports.tools = tools;
5376
+ class toolsets extends HeyApiClient {
5214
5377
  /**
5215
- * Delete one scoped Loop input default
5378
+ * List named toolsets and expansion status
5216
5379
  */
5217
- deleteLoopInputDefault(options) {
5218
- return (options.client ?? this.client).delete({
5380
+ listToolsets(options) {
5381
+ return (options?.client ?? this.client).get({
5219
5382
  responseStyle: "data",
5220
- url: "/api/workspaces/{workspace_id}/loops/{name}/input-defaults/{key}",
5383
+ url: "/api/toolsets",
5221
5384
  ...options,
5222
5385
  });
5223
5386
  }
5224
5387
  /**
5225
- * Get one scoped Loop input default
5388
+ * Inspect one named toolset expansion
5226
5389
  */
5227
- getLoopInputDefault(options) {
5390
+ getToolset(options) {
5228
5391
  return (options.client ?? this.client).get({
5229
5392
  responseStyle: "data",
5230
- url: "/api/workspaces/{workspace_id}/loops/{name}/input-defaults/{key}",
5393
+ url: "/api/toolsets/{id}",
5231
5394
  ...options,
5232
5395
  });
5233
5396
  }
5397
+ }
5398
+ exports.toolsets = toolsets;
5399
+ class vault extends HeyApiClient {
5234
5400
  /**
5235
- * Set one scoped Loop input default
5401
+ * Delete one vault secret
5236
5402
  */
5237
- putLoopInputDefault(options) {
5238
- return (options.client ?? this.client).put({
5403
+ deleteVaultSecret(options) {
5404
+ return (options.client ?? this.client).delete({
5239
5405
  responseStyle: "data",
5240
- url: "/api/workspaces/{workspace_id}/loops/{name}/input-defaults/{key}",
5406
+ url: "/api/vault/secrets",
5241
5407
  ...options,
5242
- headers: {
5243
- "Content-Type": "application/json",
5244
- ...options.headers,
5245
- },
5246
5408
  });
5247
5409
  }
5248
5410
  /**
5249
- * Start or dry-run one Loop
5411
+ * List redacted vault secret metadata
5250
5412
  */
5251
- runLoop(options) {
5252
- return (options.client ?? this.client).post({
5413
+ listVaultSecrets(options) {
5414
+ return (options?.client ?? this.client).get({
5253
5415
  responseStyle: "data",
5254
- url: "/api/workspaces/{workspace_id}/loops/{name}/run",
5416
+ url: "/api/vault/secrets",
5255
5417
  ...options,
5256
- headers: {
5257
- "Content-Type": "application/json",
5258
- ...options.headers,
5259
- },
5260
5418
  });
5261
5419
  }
5262
5420
  /**
5263
- * Validate one Loop definition without saving
5421
+ * Create or update one write-only vault secret
5264
5422
  */
5265
- validateLoop(options) {
5266
- return (options.client ?? this.client).post({
5423
+ putVaultSecret(options) {
5424
+ return (options.client ?? this.client).put({
5267
5425
  responseStyle: "data",
5268
- url: "/api/workspaces/{workspace_id}/loops/{name}/validate",
5426
+ url: "/api/vault/secrets",
5269
5427
  ...options,
5270
5428
  headers: {
5271
5429
  "Content-Type": "application/json",
@@ -5274,31 +5432,17 @@ class loops extends HeyApiClient {
5274
5432
  });
5275
5433
  }
5276
5434
  /**
5277
- * Get the newest visible session Goal
5435
+ * Read redacted vault secret metadata
5278
5436
  */
5279
- getSessionGoal(options) {
5437
+ getVaultSecretMetadata(options) {
5280
5438
  return (options.client ?? this.client).get({
5281
5439
  responseStyle: "data",
5282
- url: "/api/workspaces/{workspace_id}/sessions/{session_id}/goal",
5283
- ...options,
5284
- });
5285
- }
5286
- /**
5287
- * Set or control the authenticated session Goal
5288
- */
5289
- mutateSessionGoal(options) {
5290
- return (options.client ?? this.client).post({
5291
- responseStyle: "data",
5292
- url: "/api/workspaces/{workspace_id}/sessions/{session_id}/goal",
5440
+ url: "/api/vault/secrets/metadata",
5293
5441
  ...options,
5294
- headers: {
5295
- "Content-Type": "application/json",
5296
- ...options.headers,
5297
- },
5298
5442
  });
5299
5443
  }
5300
5444
  }
5301
- exports.loops = loops;
5445
+ exports.vault = vault;
5302
5446
  class worktrees extends HeyApiClient {
5303
5447
  /**
5304
5448
  * List registered and discovered worktrees
@@ -5338,6 +5482,20 @@ class worktrees extends HeyApiClient {
5338
5482
  },
5339
5483
  });
5340
5484
  }
5485
+ /**
5486
+ * Remove a discovered worktree
5487
+ */
5488
+ removeDiscoveredWorktree(options) {
5489
+ return (options.client ?? this.client).post({
5490
+ responseStyle: "data",
5491
+ url: "/api/workspaces/{workspace_id}/worktrees/discovered/remove",
5492
+ ...options,
5493
+ headers: {
5494
+ "Content-Type": "application/json",
5495
+ ...options.headers,
5496
+ },
5497
+ });
5498
+ }
5341
5499
  /**
5342
5500
  * Remove a worktree
5343
5501
  */
@@ -5426,6 +5584,16 @@ class worktrees extends HeyApiClient {
5426
5584
  ...options,
5427
5585
  });
5428
5586
  }
5587
+ /**
5588
+ * List registered and discovered worktrees
5589
+ */
5590
+ listWorktreesAggregate(options) {
5591
+ return (options?.client ?? this.client).get({
5592
+ responseStyle: "data",
5593
+ url: "/api/worktrees",
5594
+ ...options,
5595
+ });
5596
+ }
5429
5597
  }
5430
5598
  exports.worktrees = worktrees;
5431
5599
  class Compozy extends HeyApiClient {
@@ -5478,6 +5646,10 @@ class Compozy extends HeyApiClient {
5478
5646
  get logs() {
5479
5647
  return (this._logs ??= new logs({ client: this.client }));
5480
5648
  }
5649
+ _loops;
5650
+ get loops() {
5651
+ return (this._loops ??= new loops({ client: this.client }));
5652
+ }
5481
5653
  _marketplace;
5482
5654
  get marketplace() {
5483
5655
  return (this._marketplace ??= new marketplace({ client: this.client }));
@@ -5534,6 +5706,10 @@ class Compozy extends HeyApiClient {
5534
5706
  get support() {
5535
5707
  return (this._support ??= new support({ client: this.client }));
5536
5708
  }
5709
+ _workspaces;
5710
+ get workspaces() {
5711
+ return (this._workspaces ??= new workspaces({ client: this.client }));
5712
+ }
5537
5713
  _tools;
5538
5714
  get tools() {
5539
5715
  return (this._tools ??= new tools({ client: this.client }));
@@ -5546,14 +5722,6 @@ class Compozy extends HeyApiClient {
5546
5722
  get vault() {
5547
5723
  return (this._vault ??= new vault({ client: this.client }));
5548
5724
  }
5549
- _workspaces;
5550
- get workspaces() {
5551
- return (this._workspaces ??= new workspaces({ client: this.client }));
5552
- }
5553
- _loops;
5554
- get loops() {
5555
- return (this._loops ??= new loops({ client: this.client }));
5556
- }
5557
5725
  _worktrees;
5558
5726
  get worktrees() {
5559
5727
  return (this._worktrees ??= new worktrees({ client: this.client }));