@compozy/client 0.7.7 → 0.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 (33) hide show
  1. package/dist/cjs/generated/sdk/index.js +6 -2
  2. package/dist/cjs/generated/sdk/index.js.map +1 -1
  3. package/dist/cjs/generated/sdk/sdk.gen.js +729 -209
  4. package/dist/cjs/generated/sdk/sdk.gen.js.map +1 -1
  5. package/dist/cjs/generated/sse/index.js +4 -1
  6. package/dist/cjs/generated/sse/index.js.map +1 -1
  7. package/dist/cjs/generated/sse/sdk.gen.js +28 -1
  8. package/dist/cjs/generated/sse/sdk.gen.js.map +1 -1
  9. package/dist/cjs/version.js +1 -1
  10. package/dist/esm/generated/sdk/index.js +1 -1
  11. package/dist/esm/generated/sdk/index.js.map +1 -1
  12. package/dist/esm/generated/sdk/sdk.gen.js +720 -204
  13. package/dist/esm/generated/sdk/sdk.gen.js.map +1 -1
  14. package/dist/esm/generated/sse/index.js +1 -1
  15. package/dist/esm/generated/sse/index.js.map +1 -1
  16. package/dist/esm/generated/sse/sdk.gen.js +24 -0
  17. package/dist/esm/generated/sse/sdk.gen.js.map +1 -1
  18. package/dist/esm/version.js +1 -1
  19. package/dist/types/generated/openapi/compozy-openapi.d.ts +11495 -5855
  20. package/dist/types/generated/sdk/index.d.ts +2 -2
  21. package/dist/types/generated/sdk/index.d.ts.map +1 -1
  22. package/dist/types/generated/sdk/sdk.gen.d.ts +245 -61
  23. package/dist/types/generated/sdk/sdk.gen.d.ts.map +1 -1
  24. package/dist/types/generated/sdk/types.gen.d.ts +6197 -3362
  25. package/dist/types/generated/sdk/types.gen.d.ts.map +1 -1
  26. package/dist/types/generated/sse/index.d.ts +2 -2
  27. package/dist/types/generated/sse/index.d.ts.map +1 -1
  28. package/dist/types/generated/sse/sdk.gen.d.ts +13 -1
  29. package/dist/types/generated/sse/sdk.gen.d.ts.map +1 -1
  30. package/dist/types/generated/sse/types.gen.d.ts +245 -0
  31. package/dist/types/generated/sse/types.gen.d.ts.map +1 -1
  32. package/dist/types/version.d.ts +1 -1
  33. package/package.json +1 -1
@@ -21,6 +21,220 @@ class HeyApiRegistry {
21
21
  this.instances.set(key ?? this.defaultKey, value);
22
22
  }
23
23
  }
24
+ export class account extends HeyApiClient {
25
+ /**
26
+ * Start account deletion and sign out
27
+ */
28
+ deleteAccount(options) {
29
+ return (options.client ?? this.client).delete({
30
+ responseStyle: "data",
31
+ url: "/api/account",
32
+ ...options,
33
+ headers: {
34
+ "Content-Type": "application/json",
35
+ ...options.headers,
36
+ },
37
+ });
38
+ }
39
+ /**
40
+ * Read the installation account
41
+ */
42
+ getAccount(options) {
43
+ return (options?.client ?? this.client).get({
44
+ responseStyle: "data",
45
+ url: "/api/account",
46
+ ...options,
47
+ });
48
+ }
49
+ /**
50
+ * Update the product news preference
51
+ */
52
+ patchAccountEmail(options) {
53
+ return (options.client ?? this.client).patch({
54
+ responseStyle: "data",
55
+ url: "/api/account",
56
+ ...options,
57
+ headers: {
58
+ "Content-Type": "application/json",
59
+ ...options.headers,
60
+ },
61
+ });
62
+ }
63
+ /**
64
+ * List pending and recently decided approvals
65
+ */
66
+ listAccountApprovals(options) {
67
+ return (options?.client ?? this.client).get({
68
+ responseStyle: "data",
69
+ url: "/api/account/approvals",
70
+ ...options,
71
+ });
72
+ }
73
+ /**
74
+ * Read an approval and its applied result
75
+ */
76
+ getAccountApproval(options) {
77
+ return (options.client ?? this.client).get({
78
+ responseStyle: "data",
79
+ url: "/api/account/approvals/{id}",
80
+ ...options,
81
+ });
82
+ }
83
+ /**
84
+ * Deliver an approval decision
85
+ */
86
+ decideAccountApproval(options) {
87
+ return (options.client ?? this.client).post({
88
+ responseStyle: "data",
89
+ url: "/api/account/approvals/{id}/decision",
90
+ ...options,
91
+ headers: {
92
+ "Content-Type": "application/json",
93
+ ...options.headers,
94
+ },
95
+ });
96
+ }
97
+ /**
98
+ * Open account billing
99
+ */
100
+ accountBillingPortal(options) {
101
+ return (options?.client ?? this.client).post({
102
+ responseStyle: "data",
103
+ url: "/api/account/billing-portal",
104
+ ...options,
105
+ });
106
+ }
107
+ /**
108
+ * Start a Pro checkout
109
+ */
110
+ checkoutAccount(options) {
111
+ return (options.client ?? this.client).post({
112
+ responseStyle: "data",
113
+ url: "/api/account/checkout",
114
+ ...options,
115
+ headers: {
116
+ "Content-Type": "application/json",
117
+ ...options.headers,
118
+ },
119
+ });
120
+ }
121
+ /**
122
+ * List the account's devices
123
+ */
124
+ listAccountDevices(options) {
125
+ return (options?.client ?? this.client).get({
126
+ responseStyle: "data",
127
+ url: "/api/account/devices",
128
+ ...options,
129
+ });
130
+ }
131
+ /**
132
+ * Revoke a device on this account
133
+ */
134
+ revokeAccountDevice(options) {
135
+ return (options.client ?? this.client).delete({
136
+ responseStyle: "data",
137
+ url: "/api/account/devices/{id}",
138
+ ...options,
139
+ });
140
+ }
141
+ /**
142
+ * Update a device on this account
143
+ */
144
+ patchAccountDevice(options) {
145
+ return (options.client ?? this.client).patch({
146
+ responseStyle: "data",
147
+ url: "/api/account/devices/{id}",
148
+ ...options,
149
+ headers: {
150
+ "Content-Type": "application/json",
151
+ ...options.headers,
152
+ },
153
+ });
154
+ }
155
+ /**
156
+ * Cancel account sign-in
157
+ */
158
+ cancelAccountLogin(options) {
159
+ return (options?.client ?? this.client).delete({
160
+ responseStyle: "data",
161
+ url: "/api/account/login",
162
+ ...options,
163
+ });
164
+ }
165
+ /**
166
+ * Start account sign-in
167
+ */
168
+ startAccountLogin(options) {
169
+ return (options?.client ?? this.client).post({
170
+ responseStyle: "data",
171
+ url: "/api/account/login",
172
+ ...options,
173
+ headers: {
174
+ "Content-Type": "application/json",
175
+ ...options?.headers,
176
+ },
177
+ });
178
+ }
179
+ /**
180
+ * Sign out this installation
181
+ */
182
+ logoutAccount(options) {
183
+ return (options?.client ?? this.client).post({
184
+ responseStyle: "data",
185
+ url: "/api/account/logout",
186
+ ...options,
187
+ headers: {
188
+ "Content-Type": "application/json",
189
+ ...options?.headers,
190
+ },
191
+ });
192
+ }
193
+ /**
194
+ * Dismiss sign-in notices on this installation
195
+ */
196
+ dismissAccountSignInNotices(options) {
197
+ return (options?.client ?? this.client).post({
198
+ responseStyle: "data",
199
+ url: "/api/account/sign-in-notices/dismiss",
200
+ ...options,
201
+ });
202
+ }
203
+ /**
204
+ * List account tokens
205
+ */
206
+ listAccountTokens(options) {
207
+ return (options?.client ?? this.client).get({
208
+ responseStyle: "data",
209
+ url: "/api/account/tokens",
210
+ ...options,
211
+ });
212
+ }
213
+ /**
214
+ * Create an account token for local use
215
+ */
216
+ createAccountToken(options) {
217
+ return (options.client ?? this.client).post({
218
+ responseStyle: "data",
219
+ url: "/api/account/tokens",
220
+ ...options,
221
+ headers: {
222
+ "Content-Type": "application/json",
223
+ ...options.headers,
224
+ },
225
+ });
226
+ }
227
+ /**
228
+ * Revoke an account token
229
+ */
230
+ revokeAccountToken(options) {
231
+ return (options.client ?? this.client).delete({
232
+ responseStyle: "data",
233
+ url: "/api/account/tokens/{id}",
234
+ ...options,
235
+ });
236
+ }
237
+ }
24
238
  export class agents extends HeyApiClient {
25
239
  /**
26
240
  * List agent instances
@@ -202,6 +416,30 @@ export class agents extends HeyApiClient {
202
416
  ...options,
203
417
  });
204
418
  }
419
+ /**
420
+ * List skills left with two versions by an external edit (experimental)
421
+ */
422
+ listAgentSkillInstallConflicts(options) {
423
+ return (options?.client ?? this.client).get({
424
+ responseStyle: "data",
425
+ url: "/api/agent-skill-install-conflicts",
426
+ ...options,
427
+ });
428
+ }
429
+ /**
430
+ * Keep the current or previous version of a conflicted skill as the operator (experimental)
431
+ */
432
+ resolveAgentSkillInstallConflict(options) {
433
+ return (options.client ?? this.client).post({
434
+ responseStyle: "data",
435
+ url: "/api/agent-skill-install-conflicts/{op_id}/resolve",
436
+ ...options,
437
+ headers: {
438
+ "Content-Type": "application/json",
439
+ ...options.headers,
440
+ },
441
+ });
442
+ }
205
443
  /**
206
444
  * List agent skill reviews (experimental)
207
445
  */
@@ -250,6 +488,20 @@ export class agents extends HeyApiClient {
250
488
  },
251
489
  });
252
490
  }
491
+ /**
492
+ * Decide a skill review as the operator (experimental)
493
+ */
494
+ revertAgentSkillReview(options) {
495
+ return (options.client ?? this.client).post({
496
+ responseStyle: "data",
497
+ url: "/api/agent-skill-reviews/{id}/revert",
498
+ ...options,
499
+ headers: {
500
+ "Content-Type": "application/json",
501
+ ...options.headers,
502
+ },
503
+ });
504
+ }
253
505
  /**
254
506
  * List all readable agent definitions, optionally resolved for a workspace
255
507
  */
@@ -1381,98 +1633,96 @@ export class cmdPalette extends HeyApiClient {
1381
1633
  });
1382
1634
  }
1383
1635
  }
1384
- export class diagnostics extends HeyApiClient {
1636
+ export class computers extends HeyApiClient {
1385
1637
  /**
1386
- * Capture a runtime profile over the local socket
1387
- *
1388
- * @stability experimental
1638
+ * List computers added to this controller
1389
1639
  */
1390
- captureDaemonProfile(options) {
1391
- return (options.client ?? this.client).get({
1392
- responseStyle: "data",
1393
- url: "/api/daemon/profile/{kind}",
1394
- ...options,
1395
- });
1396
- }
1397
- /**
1398
- * Run runtime diagnostics
1399
- */
1400
- getDoctor(options) {
1640
+ listComputers(options) {
1401
1641
  return (options?.client ?? this.client).get({
1402
1642
  responseStyle: "data",
1403
- url: "/api/doctor",
1643
+ url: "/api/computers",
1404
1644
  ...options,
1405
1645
  });
1406
1646
  }
1407
1647
  /**
1408
- * Stop admitting new work
1648
+ * Add a linked account computer or start SSH setup
1409
1649
  */
1410
- drainDaemon(options) {
1411
- return (options?.client ?? this.client).post({
1650
+ addAccountComputer(options) {
1651
+ return (options.client ?? this.client).post({
1412
1652
  responseStyle: "data",
1413
- url: "/api/drain",
1653
+ url: "/api/computers",
1414
1654
  ...options,
1655
+ headers: {
1656
+ "Content-Type": "application/json",
1657
+ ...options.headers,
1658
+ },
1415
1659
  });
1416
1660
  }
1417
1661
  /**
1418
- * Get the running daemon's OpenAPI document
1662
+ * List linked computers available to add
1419
1663
  */
1420
- getOpenAPIDocument(options) {
1664
+ listAvailableComputers(options) {
1421
1665
  return (options?.client ?? this.client).get({
1422
1666
  responseStyle: "data",
1423
- url: "/api/openapi.json",
1667
+ url: "/api/computers/available",
1424
1668
  ...options,
1425
1669
  });
1426
1670
  }
1427
1671
  /**
1428
- * Get the runtime status snapshot
1672
+ * Update local execution and load balancing
1429
1673
  */
1430
- getStatus(options) {
1431
- return (options?.client ?? this.client).get({
1674
+ patchLocalComputer(options) {
1675
+ return (options.client ?? this.client).patch({
1432
1676
  responseStyle: "data",
1433
- url: "/api/status",
1677
+ url: "/api/computers/local",
1434
1678
  ...options,
1679
+ headers: {
1680
+ "Content-Type": "application/json",
1681
+ ...options.headers,
1682
+ },
1435
1683
  });
1436
1684
  }
1437
1685
  /**
1438
- * Get the bounded runtime identity
1686
+ * Resolve Auto placement for a project
1439
1687
  */
1440
- getRuntimeIdentity(options) {
1441
- return (options?.client ?? this.client).get({
1688
+ previewComputerPlacement(options) {
1689
+ return (options.client ?? this.client).post({
1442
1690
  responseStyle: "data",
1443
- url: "/api/status/identity",
1691
+ url: "/api/computers/placement",
1444
1692
  ...options,
1693
+ headers: {
1694
+ "Content-Type": "application/json",
1695
+ ...options.headers,
1696
+ },
1445
1697
  });
1446
1698
  }
1447
1699
  /**
1448
- * Resume admission of new work
1700
+ * Cancel an unlinked SSH setup
1449
1701
  */
1450
- undrainDaemon(options) {
1451
- return (options?.client ?? this.client).post({
1702
+ cancelComputerSetup(options) {
1703
+ return (options.client ?? this.client).delete({
1452
1704
  responseStyle: "data",
1453
- url: "/api/undrain",
1705
+ url: "/api/computers/setups/{setup_id}",
1454
1706
  ...options,
1455
1707
  });
1456
1708
  }
1457
- }
1458
- export class extensions extends HeyApiClient {
1459
1709
  /**
1460
- * List installed extensions
1710
+ * Read or wait for SSH setup progress
1461
1711
  */
1462
- listExtensions(options) {
1463
- return (options?.client ?? this.client).get({
1712
+ getComputerSetup(options) {
1713
+ return (options.client ?? this.client).get({
1464
1714
  responseStyle: "data",
1465
- url: "/api/extensions",
1715
+ url: "/api/computers/setups/{setup_id}",
1466
1716
  ...options,
1467
1717
  });
1468
1718
  }
1469
1719
  /**
1470
- * Install a local or marketplace extension
1720
+ * Answer an SSH setup prompt
1471
1721
  */
1472
- installExtension(options) {
1722
+ answerComputerSetup(options) {
1473
1723
  return (options.client ?? this.client).post({
1474
1724
  responseStyle: "data",
1475
- url: "/api/extensions",
1725
+ url: "/api/computers/setups/{setup_id}/answer",
1476
1726
  ...options,
1477
1727
  headers: {
1478
1728
  "Content-Type": "application/json",
@@ -1481,36 +1731,42 @@ export class extensions extends HeyApiClient {
1481
1731
  });
1482
1732
  }
1483
1733
  /**
1484
- * List active extension-contributed commands
1734
+ * Discover SSH hosts on the controller
1485
1735
  */
1486
- listExtensionCommands(options) {
1736
+ listComputerSSHHosts(options) {
1487
1737
  return (options?.client ?? this.client).get({
1488
1738
  responseStyle: "data",
1489
- url: "/api/extensions/commands",
1739
+ url: "/api/computers/ssh-hosts",
1490
1740
  ...options,
1491
1741
  });
1492
1742
  }
1493
1743
  /**
1494
- * Link an immutable extension generation to the resolved workspace
1744
+ * Remove a computer from this controller
1495
1745
  */
1496
- devExtension(options) {
1497
- return (options.client ?? this.client).post({
1746
+ removeComputer(options) {
1747
+ return (options.client ?? this.client).delete({
1498
1748
  responseStyle: "data",
1499
- url: "/api/extensions/dev",
1749
+ url: "/api/computers/{id}",
1500
1750
  ...options,
1501
- headers: {
1502
- "Content-Type": "application/json",
1503
- ...options.headers,
1504
- },
1505
1751
  });
1506
1752
  }
1507
1753
  /**
1508
- * Preview an extension install without changing state
1754
+ * Inspect a computer and its routes
1509
1755
  */
1510
- previewExtensionInstall(options) {
1511
- return (options.client ?? this.client).post({
1756
+ getComputer(options) {
1757
+ return (options.client ?? this.client).get({
1512
1758
  responseStyle: "data",
1513
- url: "/api/extensions/preview-install",
1759
+ url: "/api/computers/{id}",
1760
+ ...options,
1761
+ });
1762
+ }
1763
+ /**
1764
+ * Update a computer in this controller
1765
+ */
1766
+ patchComputer(options) {
1767
+ return (options.client ?? this.client).patch({
1768
+ responseStyle: "data",
1769
+ url: "/api/computers/{id}",
1514
1770
  ...options,
1515
1771
  headers: {
1516
1772
  "Content-Type": "application/json",
@@ -1519,134 +1775,128 @@ export class extensions extends HeyApiClient {
1519
1775
  });
1520
1776
  }
1521
1777
  /**
1522
- * List permanently removed built-in extensions
1778
+ * Remove a learned route
1523
1779
  */
1524
- listRemovedBuiltinExtensions(options) {
1525
- return (options?.client ?? this.client).get({
1780
+ removeComputerRoute(options) {
1781
+ return (options.client ?? this.client).delete({
1526
1782
  responseStyle: "data",
1527
- url: "/api/extensions/removed-builtins",
1783
+ url: "/api/computers/{id}/routes/{route_id}",
1528
1784
  ...options,
1529
1785
  });
1530
1786
  }
1531
1787
  /**
1532
- * Update installed extensions and report each outcome
1788
+ * Start an SSH computer update
1533
1789
  */
1534
- updateExtensions(options) {
1790
+ startComputerUpdate(options) {
1535
1791
  return (options.client ?? this.client).post({
1536
1792
  responseStyle: "data",
1537
- url: "/api/extensions/update",
1793
+ url: "/api/computers/{id}/update",
1538
1794
  ...options,
1539
- headers: {
1540
- "Content-Type": "application/json",
1541
- ...options.headers,
1542
- },
1543
1795
  });
1544
1796
  }
1797
+ }
1798
+ export class diagnostics extends HeyApiClient {
1545
1799
  /**
1546
- * Remove one managed extension
1800
+ * Capture a runtime profile over the local socket
1801
+ *
1802
+ * @stability experimental
1547
1803
  */
1548
- removeExtension(options) {
1549
- return (options.client ?? this.client).delete({
1804
+ captureDaemonProfile(options) {
1805
+ return (options.client ?? this.client).get({
1550
1806
  responseStyle: "data",
1551
- url: "/api/extensions/{name}",
1807
+ url: "/api/daemon/profile/{kind}",
1552
1808
  ...options,
1553
1809
  });
1554
1810
  }
1555
1811
  /**
1556
- * Get one installed extension
1812
+ * Run runtime diagnostics
1557
1813
  */
1558
- getExtension(options) {
1559
- return (options.client ?? this.client).get({
1814
+ getDoctor(options) {
1815
+ return (options?.client ?? this.client).get({
1560
1816
  responseStyle: "data",
1561
- url: "/api/extensions/{name}",
1817
+ url: "/api/doctor",
1562
1818
  ...options,
1563
1819
  });
1564
1820
  }
1565
1821
  /**
1566
- * Update one marketplace-installed extension
1822
+ * Stop admitting new work
1567
1823
  */
1568
- updateExtension(options) {
1569
- return (options.client ?? this.client).put({
1824
+ drainDaemon(options) {
1825
+ return (options?.client ?? this.client).post({
1570
1826
  responseStyle: "data",
1571
- url: "/api/extensions/{name}",
1827
+ url: "/api/drain",
1572
1828
  ...options,
1573
- headers: {
1574
- "Content-Type": "application/json",
1575
- ...options.headers,
1576
- },
1577
1829
  });
1578
1830
  }
1579
1831
  /**
1580
- * List one extension's effective state for every profile
1832
+ * Get the latest host resource sample
1581
1833
  */
1582
- listExtensionEnablement(options) {
1583
- return (options.client ?? this.client).get({
1834
+ getHostResources(options) {
1835
+ return (options?.client ?? this.client).get({
1584
1836
  responseStyle: "data",
1585
- url: "/api/extensions/{name}/enablement",
1837
+ url: "/api/host/resources",
1586
1838
  ...options,
1587
1839
  });
1588
1840
  }
1589
1841
  /**
1590
- * Set one extension's effective state for a profile
1842
+ * Get the running daemon's OpenAPI document
1591
1843
  */
1592
- setExtensionEnablement(options) {
1593
- return (options.client ?? this.client).put({
1844
+ getOpenAPIDocument(options) {
1845
+ return (options?.client ?? this.client).get({
1594
1846
  responseStyle: "data",
1595
- url: "/api/extensions/{name}/enablement",
1847
+ url: "/api/openapi.json",
1596
1848
  ...options,
1597
- headers: {
1598
- "Content-Type": "application/json",
1599
- ...options.headers,
1600
- },
1601
1849
  });
1602
1850
  }
1603
1851
  /**
1604
- * List shipped and live resources for one extension
1852
+ * Get the runtime status snapshot
1605
1853
  */
1606
- getExtensionInventory(options) {
1607
- return (options.client ?? this.client).get({
1854
+ getStatus(options) {
1855
+ return (options?.client ?? this.client).get({
1608
1856
  responseStyle: "data",
1609
- url: "/api/extensions/{name}/inventory",
1857
+ url: "/api/status",
1610
1858
  ...options,
1611
1859
  });
1612
1860
  }
1613
1861
  /**
1614
- * Read or follow redacted extension logs
1862
+ * Get the bounded runtime identity
1615
1863
  */
1616
- getExtensionLogs(options) {
1617
- return (options.client ?? this.client).get({
1864
+ getRuntimeIdentity(options) {
1865
+ return (options?.client ?? this.client).get({
1618
1866
  responseStyle: "data",
1619
- url: "/api/extensions/{name}/logs",
1867
+ url: "/api/status/identity",
1620
1868
  ...options,
1621
1869
  });
1622
1870
  }
1623
1871
  /**
1624
- * Preview one extension enablement change
1872
+ * Resume admission of new work
1625
1873
  */
1626
- previewExtensionEnable(options) {
1627
- return (options.client ?? this.client).get({
1874
+ undrainDaemon(options) {
1875
+ return (options?.client ?? this.client).post({
1628
1876
  responseStyle: "data",
1629
- url: "/api/extensions/{name}/preview",
1877
+ url: "/api/undrain",
1630
1878
  ...options,
1631
1879
  });
1632
1880
  }
1881
+ }
1882
+ export class extensions extends HeyApiClient {
1633
1883
  /**
1634
- * Get extension provenance and trust evidence
1884
+ * List installed extensions
1635
1885
  */
1636
- getExtensionProvenance(options) {
1637
- return (options.client ?? this.client).get({
1886
+ listExtensions(options) {
1887
+ return (options?.client ?? this.client).get({
1638
1888
  responseStyle: "data",
1639
- url: "/api/extensions/{name}/provenance",
1889
+ url: "/api/extensions",
1640
1890
  ...options,
1641
1891
  });
1642
1892
  }
1643
1893
  /**
1644
- * Reload a workspace extension from an immutable generation
1894
+ * Install a local or marketplace extension
1645
1895
  */
1646
- reloadDevExtension(options) {
1896
+ installExtension(options) {
1647
1897
  return (options.client ?? this.client).post({
1648
1898
  responseStyle: "data",
1649
- url: "/api/extensions/{name}/reload",
1899
+ url: "/api/extensions",
1650
1900
  ...options,
1651
1901
  headers: {
1652
1902
  "Content-Type": "application/json",
@@ -1655,32 +1905,36 @@ export class extensions extends HeyApiClient {
1655
1905
  });
1656
1906
  }
1657
1907
  /**
1658
- * Restore one permanently removed built-in extension
1908
+ * List active extension-contributed commands
1659
1909
  */
1660
- restoreExtension(options) {
1661
- return (options.client ?? this.client).post({
1910
+ listExtensionCommands(options) {
1911
+ return (options?.client ?? this.client).get({
1662
1912
  responseStyle: "data",
1663
- url: "/api/extensions/{name}/restore",
1913
+ url: "/api/extensions/commands",
1664
1914
  ...options,
1665
1915
  });
1666
1916
  }
1667
1917
  /**
1668
- * List declared and bound extension environment names
1918
+ * Link an immutable extension generation to the resolved workspace
1669
1919
  */
1670
- listExtensionSecrets(options) {
1671
- return (options.client ?? this.client).get({
1920
+ devExtension(options) {
1921
+ return (options.client ?? this.client).post({
1672
1922
  responseStyle: "data",
1673
- url: "/api/extensions/{name}/secrets",
1923
+ url: "/api/extensions/dev",
1674
1924
  ...options,
1925
+ headers: {
1926
+ "Content-Type": "application/json",
1927
+ ...options.headers,
1928
+ },
1675
1929
  });
1676
1930
  }
1677
1931
  /**
1678
- * Set or bind extension environment secrets
1932
+ * Preview an extension install without changing state
1679
1933
  */
1680
- setExtensionSecrets(options) {
1681
- return (options.client ?? this.client).put({
1934
+ previewExtensionInstall(options) {
1935
+ return (options.client ?? this.client).post({
1682
1936
  responseStyle: "data",
1683
- url: "/api/extensions/{name}/secrets",
1937
+ url: "/api/extensions/preview-install",
1684
1938
  ...options,
1685
1939
  headers: {
1686
1940
  "Content-Type": "application/json",
@@ -1689,66 +1943,80 @@ export class extensions extends HeyApiClient {
1689
1943
  });
1690
1944
  }
1691
1945
  /**
1692
- * Remove one extension environment secret binding
1946
+ * List permanently removed built-in extensions
1693
1947
  */
1694
- deleteExtensionSecret(options) {
1695
- return (options.client ?? this.client).delete({
1948
+ listRemovedBuiltinExtensions(options) {
1949
+ return (options?.client ?? this.client).get({
1696
1950
  responseStyle: "data",
1697
- url: "/api/extensions/{name}/secrets/{env_name}",
1951
+ url: "/api/extensions/removed-builtins",
1698
1952
  ...options,
1699
1953
  });
1700
1954
  }
1701
- }
1702
- export class filesystem extends HeyApiClient {
1703
1955
  /**
1704
- * List directory entries and filesystem roots for the workspace folder picker
1956
+ * Update installed extensions and report each outcome
1705
1957
  */
1706
- browseDirectory(options) {
1707
- return (options?.client ?? this.client).get({
1958
+ updateExtensions(options) {
1959
+ return (options.client ?? this.client).post({
1708
1960
  responseStyle: "data",
1709
- url: "/api/fs/browse",
1961
+ url: "/api/extensions/update",
1710
1962
  ...options,
1963
+ headers: {
1964
+ "Content-Type": "application/json",
1965
+ ...options.headers,
1966
+ },
1711
1967
  });
1712
1968
  }
1713
- }
1714
- export class gateway extends HeyApiClient {
1715
1969
  /**
1716
- * Audit the current gateway security posture
1970
+ * Remove one managed extension
1717
1971
  */
1718
- getGatewayAudit(options) {
1719
- return (options?.client ?? this.client).get({
1972
+ removeExtension(options) {
1973
+ return (options.client ?? this.client).delete({
1974
+ responseStyle: "data",
1975
+ url: "/api/extensions/{name}",
1976
+ ...options,
1977
+ });
1978
+ }
1979
+ /**
1980
+ * Get one installed extension
1981
+ */
1982
+ getExtension(options) {
1983
+ return (options.client ?? this.client).get({
1720
1984
  responseStyle: "data",
1721
- url: "/api/gateway/audit",
1985
+ url: "/api/extensions/{name}",
1722
1986
  ...options,
1723
1987
  });
1724
1988
  }
1725
1989
  /**
1726
- * List the operator-global paired device inventory
1990
+ * Update one marketplace-installed extension
1727
1991
  */
1728
- listGatewayDevices(options) {
1729
- return (options?.client ?? this.client).get({
1992
+ updateExtension(options) {
1993
+ return (options.client ?? this.client).put({
1730
1994
  responseStyle: "data",
1731
- url: "/api/gateway/devices",
1995
+ url: "/api/extensions/{name}",
1732
1996
  ...options,
1997
+ headers: {
1998
+ "Content-Type": "application/json",
1999
+ ...options.headers,
2000
+ },
1733
2001
  });
1734
2002
  }
1735
2003
  /**
1736
- * Revoke one paired gateway device and its live streams
2004
+ * List one extension's effective state for every profile
1737
2005
  */
1738
- revokeGatewayDevice(options) {
1739
- return (options.client ?? this.client).delete({
2006
+ listExtensionEnablement(options) {
2007
+ return (options.client ?? this.client).get({
1740
2008
  responseStyle: "data",
1741
- url: "/api/gateway/devices/{id}",
2009
+ url: "/api/extensions/{name}/enablement",
1742
2010
  ...options,
1743
2011
  });
1744
2012
  }
1745
2013
  /**
1746
- * Rename one paired gateway device
2014
+ * Set one extension's effective state for a profile
1747
2015
  */
1748
- renameGatewayDevice(options) {
1749
- return (options.client ?? this.client).patch({
2016
+ setExtensionEnablement(options) {
2017
+ return (options.client ?? this.client).put({
1750
2018
  responseStyle: "data",
1751
- url: "/api/gateway/devices/{id}",
2019
+ url: "/api/extensions/{name}/enablement",
1752
2020
  ...options,
1753
2021
  headers: {
1754
2022
  "Content-Type": "application/json",
@@ -1757,22 +2025,22 @@ export class gateway extends HeyApiClient {
1757
2025
  });
1758
2026
  }
1759
2027
  /**
1760
- * Remove one paired gateway device record
2028
+ * Read declared extension inputs and their setup state without values
1761
2029
  */
1762
- removeGatewayDevice(options) {
1763
- return (options.client ?? this.client).delete({
2030
+ getExtensionInputs(options) {
2031
+ return (options.client ?? this.client).get({
1764
2032
  responseStyle: "data",
1765
- url: "/api/gateway/devices/{id}/record",
2033
+ url: "/api/extensions/{name}/inputs",
1766
2034
  ...options,
1767
2035
  });
1768
2036
  }
1769
2037
  /**
1770
- * Confirm one subject against the verified public endpoint
2038
+ * Write extension input values for one installed instance
1771
2039
  */
1772
- bindGatewayIngress(options) {
1773
- return (options.client ?? this.client).post({
2040
+ setExtensionInputs(options) {
2041
+ return (options.client ?? this.client).put({
1774
2042
  responseStyle: "data",
1775
- url: "/api/gateway/ingress-bindings",
2043
+ url: "/api/extensions/{name}/inputs",
1776
2044
  ...options,
1777
2045
  headers: {
1778
2046
  "Content-Type": "application/json",
@@ -1781,56 +2049,52 @@ export class gateway extends HeyApiClient {
1781
2049
  });
1782
2050
  }
1783
2051
  /**
1784
- * Remove one public ingress confirmation
2052
+ * List shipped and live resources for one extension
1785
2053
  */
1786
- unbindGatewayIngress(options) {
1787
- return (options.client ?? this.client).delete({
2054
+ getExtensionInventory(options) {
2055
+ return (options.client ?? this.client).get({
1788
2056
  responseStyle: "data",
1789
- url: "/api/gateway/ingress-bindings/{subject_kind}/{subject_id}",
2057
+ url: "/api/extensions/{name}/inventory",
1790
2058
  ...options,
1791
2059
  });
1792
2060
  }
1793
2061
  /**
1794
- * Mint a bounded one-time gateway pairing artifact
2062
+ * Read or follow redacted extension logs
1795
2063
  */
1796
- mintGatewayPairing(options) {
1797
- return (options?.client ?? this.client).post({
2064
+ getExtensionLogs(options) {
2065
+ return (options.client ?? this.client).get({
1798
2066
  responseStyle: "data",
1799
- url: "/api/gateway/pairings",
2067
+ url: "/api/extensions/{name}/logs",
1800
2068
  ...options,
1801
2069
  });
1802
2070
  }
1803
2071
  /**
1804
- * Redeem a one-time gateway pairing artifact
2072
+ * Preview one extension enablement change
1805
2073
  */
1806
- redeemGatewayPairing(options) {
1807
- return (options.client ?? this.client).post({
2074
+ previewExtensionEnable(options) {
2075
+ return (options.client ?? this.client).get({
1808
2076
  responseStyle: "data",
1809
- url: "/api/gateway/pairings/redeem",
2077
+ url: "/api/extensions/{name}/preview",
1810
2078
  ...options,
1811
- headers: {
1812
- "Content-Type": "application/json",
1813
- ...options.headers,
1814
- },
1815
2079
  });
1816
2080
  }
1817
2081
  /**
1818
- * Disable one named connectivity provider for a gateway tier
2082
+ * Get extension provenance and trust evidence
1819
2083
  */
1820
- disableGatewayProvider(options) {
1821
- return (options.client ?? this.client).post({
2084
+ getExtensionProvenance(options) {
2085
+ return (options.client ?? this.client).get({
1822
2086
  responseStyle: "data",
1823
- url: "/api/gateway/providers/{name}/disable",
2087
+ url: "/api/extensions/{name}/provenance",
1824
2088
  ...options,
1825
2089
  });
1826
2090
  }
1827
2091
  /**
1828
- * Enable one connectivity provider for a gateway tier
2092
+ * Reload a workspace extension from an immutable generation
1829
2093
  */
1830
- enableGatewayProvider(options) {
2094
+ reloadDevExtension(options) {
1831
2095
  return (options.client ?? this.client).post({
1832
2096
  responseStyle: "data",
1833
- url: "/api/gateway/providers/{name}/enable",
2097
+ url: "/api/extensions/{name}/reload",
1834
2098
  ...options,
1835
2099
  headers: {
1836
2100
  "Content-Type": "application/json",
@@ -1839,32 +2103,32 @@ export class gateway extends HeyApiClient {
1839
2103
  });
1840
2104
  }
1841
2105
  /**
1842
- * Get the operator-global gateway posture
2106
+ * Restore one permanently removed built-in extension
1843
2107
  */
1844
- getGatewayStatus(options) {
1845
- return (options?.client ?? this.client).get({
2108
+ restoreExtension(options) {
2109
+ return (options.client ?? this.client).post({
1846
2110
  responseStyle: "data",
1847
- url: "/api/gateway/status",
2111
+ url: "/api/extensions/{name}/restore",
1848
2112
  ...options,
1849
2113
  });
1850
2114
  }
1851
2115
  /**
1852
- * Mint a short-lived single-use stream ticket
2116
+ * List declared and bound extension environment names
1853
2117
  */
1854
- mintGatewayStreamTicket(options) {
1855
- return (options?.client ?? this.client).post({
2118
+ listExtensionSecrets(options) {
2119
+ return (options.client ?? this.client).get({
1856
2120
  responseStyle: "data",
1857
- url: "/api/gateway/stream-tickets",
2121
+ url: "/api/extensions/{name}/secrets",
1858
2122
  ...options,
1859
2123
  });
1860
2124
  }
1861
2125
  /**
1862
- * Set durable exposure for one gateway surface
2126
+ * Set or bind extension environment secrets
1863
2127
  */
1864
- setGatewaySurface(options) {
1865
- return (options.client ?? this.client).post({
2128
+ setExtensionSecrets(options) {
2129
+ return (options.client ?? this.client).put({
1866
2130
  responseStyle: "data",
1867
- url: "/api/gateway/surfaces",
2131
+ url: "/api/extensions/{name}/secrets",
1868
2132
  ...options,
1869
2133
  headers: {
1870
2134
  "Content-Type": "application/json",
@@ -1872,6 +2136,28 @@ export class gateway extends HeyApiClient {
1872
2136
  },
1873
2137
  });
1874
2138
  }
2139
+ /**
2140
+ * Remove one extension environment secret binding
2141
+ */
2142
+ deleteExtensionSecret(options) {
2143
+ return (options.client ?? this.client).delete({
2144
+ responseStyle: "data",
2145
+ url: "/api/extensions/{name}/secrets/{env_name}",
2146
+ ...options,
2147
+ });
2148
+ }
2149
+ }
2150
+ export class filesystem extends HeyApiClient {
2151
+ /**
2152
+ * List directory entries and filesystem roots for the workspace folder picker
2153
+ */
2154
+ browseDirectory(options) {
2155
+ return (options?.client ?? this.client).get({
2156
+ responseStyle: "data",
2157
+ url: "/api/fs/browse",
2158
+ ...options,
2159
+ });
2160
+ }
1875
2161
  }
1876
2162
  export class hooks extends HeyApiClient {
1877
2163
  /**
@@ -1905,6 +2191,32 @@ export class hooks extends HeyApiClient {
1905
2191
  });
1906
2192
  }
1907
2193
  }
2194
+ export class ingress extends HeyApiClient {
2195
+ /**
2196
+ * Confirm one subject against the verified public endpoint
2197
+ */
2198
+ bindIngress(options) {
2199
+ return (options.client ?? this.client).post({
2200
+ responseStyle: "data",
2201
+ url: "/api/ingress/bindings",
2202
+ ...options,
2203
+ headers: {
2204
+ "Content-Type": "application/json",
2205
+ ...options.headers,
2206
+ },
2207
+ });
2208
+ }
2209
+ /**
2210
+ * Remove one public ingress confirmation
2211
+ */
2212
+ unbindIngress(options) {
2213
+ return (options.client ?? this.client).delete({
2214
+ responseStyle: "data",
2215
+ url: "/api/ingress/bindings/{subject_kind}/{subject_id}",
2216
+ ...options,
2217
+ });
2218
+ }
2219
+ }
1908
2220
  export class logs extends HeyApiClient {
1909
2221
  /**
1910
2222
  * List runtime logs
@@ -3207,6 +3519,28 @@ export class settings extends HeyApiClient {
3207
3519
  });
3208
3520
  }
3209
3521
  }
3522
+ export class migrationNotices extends HeyApiClient {
3523
+ /**
3524
+ * List undismissed upgrade notices on this computer
3525
+ */
3526
+ listMigrationNotices(options) {
3527
+ return (options?.client ?? this.client).get({
3528
+ responseStyle: "data",
3529
+ url: "/api/migration-notices",
3530
+ ...options,
3531
+ });
3532
+ }
3533
+ /**
3534
+ * Dismiss an upgrade notice on this computer
3535
+ */
3536
+ dismissMigrationNotice(options) {
3537
+ return (options.client ?? this.client).post({
3538
+ responseStyle: "data",
3539
+ url: "/api/migration-notices/{key}/dismiss",
3540
+ ...options,
3541
+ });
3542
+ }
3543
+ }
3210
3544
  export class providers extends HeyApiClient {
3211
3545
  /**
3212
3546
  * List provider model catalog entries across providers
@@ -3532,6 +3866,20 @@ export class sessions extends HeyApiClient {
3532
3866
  },
3533
3867
  });
3534
3868
  }
3869
+ /**
3870
+ * Archive every stopped thread of one workspace or all workspaces that is not running, waiting on the operator, holding queued input, pinned, in Later, or an always-on agent's main session; dry_run reports the same result without archiving
3871
+ */
3872
+ archiveStoppedSessions(options) {
3873
+ return (options.client ?? this.client).post({
3874
+ responseStyle: "data",
3875
+ url: "/api/sessions/archive-stopped",
3876
+ ...options,
3877
+ headers: {
3878
+ "Content-Type": "application/json",
3879
+ ...options.headers,
3880
+ },
3881
+ });
3882
+ }
3535
3883
  /**
3536
3884
  * Get exact session attention counts
3537
3885
  */
@@ -4876,6 +5224,158 @@ export class profiles extends HeyApiClient {
4876
5224
  });
4877
5225
  }
4878
5226
  }
5227
+ export class remote extends HeyApiClient {
5228
+ /**
5229
+ * Read this computer's remote access status
5230
+ */
5231
+ getRemoteStatus(options) {
5232
+ return (options?.client ?? this.client).get({
5233
+ responseStyle: "data",
5234
+ url: "/api/remote",
5235
+ ...options,
5236
+ });
5237
+ }
5238
+ /**
5239
+ * Update this computer's remote access
5240
+ */
5241
+ patchRemoteStatus(options) {
5242
+ return (options.client ?? this.client).patch({
5243
+ responseStyle: "data",
5244
+ url: "/api/remote",
5245
+ ...options,
5246
+ headers: {
5247
+ "Content-Type": "application/json",
5248
+ ...options.headers,
5249
+ },
5250
+ });
5251
+ }
5252
+ /**
5253
+ * List devices allowed on this computer
5254
+ */
5255
+ listRemoteDevices(options) {
5256
+ return (options?.client ?? this.client).get({
5257
+ responseStyle: "data",
5258
+ url: "/api/remote/devices",
5259
+ ...options,
5260
+ });
5261
+ }
5262
+ /**
5263
+ * Revoke a device on this account
5264
+ */
5265
+ revokeRemoteDevice(options) {
5266
+ return (options.client ?? this.client).delete({
5267
+ responseStyle: "data",
5268
+ url: "/api/remote/devices/{id}",
5269
+ ...options,
5270
+ });
5271
+ }
5272
+ /**
5273
+ * Change device scopes or decide a local approval
5274
+ */
5275
+ patchRemoteDevice(options) {
5276
+ return (options.client ?? this.client).patch({
5277
+ responseStyle: "data",
5278
+ url: "/api/remote/devices/{id}",
5279
+ ...options,
5280
+ headers: {
5281
+ "Content-Type": "application/json",
5282
+ ...options.headers,
5283
+ },
5284
+ });
5285
+ }
5286
+ /**
5287
+ * Unlink this computer from the local daemon
5288
+ */
5289
+ unlinkRemote(options) {
5290
+ return (options?.client ?? this.client).delete({
5291
+ responseStyle: "data",
5292
+ url: "/api/remote/link",
5293
+ ...options,
5294
+ });
5295
+ }
5296
+ /**
5297
+ * Link this computer from the local daemon
5298
+ */
5299
+ linkRemote(options) {
5300
+ return (options.client ?? this.client).post({
5301
+ responseStyle: "data",
5302
+ url: "/api/remote/link",
5303
+ ...options,
5304
+ headers: {
5305
+ "Content-Type": "application/json",
5306
+ ...options.headers,
5307
+ },
5308
+ });
5309
+ }
5310
+ /**
5311
+ * Read the approval for the waiting browser key
5312
+ */
5313
+ getBrowserApproval(options) {
5314
+ return (options.client ?? this.client).get({
5315
+ responseStyle: "data",
5316
+ url: "/remote/v1/browser/approvals/{id}",
5317
+ ...options,
5318
+ });
5319
+ }
5320
+ /**
5321
+ * List other hosted computers on this account
5322
+ */
5323
+ listBrowserPeers(options) {
5324
+ return (options.client ?? this.client).get({
5325
+ responseStyle: "data",
5326
+ url: "/remote/v1/browser/peers",
5327
+ ...options,
5328
+ });
5329
+ }
5330
+ /**
5331
+ * Revoke the current browser session
5332
+ */
5333
+ endBrowserSession(options) {
5334
+ return (options.client ?? this.client).delete({
5335
+ responseStyle: "data",
5336
+ url: "/remote/v1/browser/session",
5337
+ ...options,
5338
+ });
5339
+ }
5340
+ /**
5341
+ * Redeem a hosted sign-in code
5342
+ */
5343
+ startBrowserSession(options) {
5344
+ return (options.client ?? this.client).post({
5345
+ responseStyle: "data",
5346
+ url: "/remote/v1/browser/session",
5347
+ ...options,
5348
+ headers: {
5349
+ "Content-Type": "application/json",
5350
+ ...options.headers,
5351
+ },
5352
+ });
5353
+ }
5354
+ /**
5355
+ * Read the hosted listener status
5356
+ */
5357
+ getBrowserStatus(options) {
5358
+ return (options?.client ?? this.client).get({
5359
+ responseStyle: "data",
5360
+ url: "/remote/v1/browser/status",
5361
+ ...options,
5362
+ });
5363
+ }
5364
+ /**
5365
+ * Mint a single-use ticket for one stream path
5366
+ */
5367
+ mintBrowserStreamTicket(options) {
5368
+ return (options.client ?? this.client).post({
5369
+ responseStyle: "data",
5370
+ url: "/remote/v1/stream-tickets",
5371
+ ...options,
5372
+ headers: {
5373
+ "Content-Type": "application/json",
5374
+ ...options.headers,
5375
+ },
5376
+ });
5377
+ }
5378
+ }
4879
5379
  export class resources extends HeyApiClient {
4880
5380
  /**
4881
5381
  * List desired-state resources on the local operator control plane
@@ -6882,6 +7382,10 @@ export class Compozy extends HeyApiClient {
6882
7382
  super(args);
6883
7383
  Compozy.__registry.set(this, args?.key);
6884
7384
  }
7385
+ _account;
7386
+ get account() {
7387
+ return (this._account ??= new account({ client: this.client }));
7388
+ }
6885
7389
  _agents;
6886
7390
  get agents() {
6887
7391
  return (this._agents ??= new agents({ client: this.client }));
@@ -6902,6 +7406,10 @@ export class Compozy extends HeyApiClient {
6902
7406
  get cmdPalette() {
6903
7407
  return (this._cmdPalette ??= new cmdPalette({ client: this.client }));
6904
7408
  }
7409
+ _computers;
7410
+ get computers() {
7411
+ return (this._computers ??= new computers({ client: this.client }));
7412
+ }
6905
7413
  _diagnostics;
6906
7414
  get diagnostics() {
6907
7415
  return (this._diagnostics ??= new diagnostics({ client: this.client }));
@@ -6914,14 +7422,14 @@ export class Compozy extends HeyApiClient {
6914
7422
  get filesystem() {
6915
7423
  return (this._filesystem ??= new filesystem({ client: this.client }));
6916
7424
  }
6917
- _gateway;
6918
- get gateway() {
6919
- return (this._gateway ??= new gateway({ client: this.client }));
6920
- }
6921
7425
  _hooks;
6922
7426
  get hooks() {
6923
7427
  return (this._hooks ??= new hooks({ client: this.client }));
6924
7428
  }
7429
+ _ingress;
7430
+ get ingress() {
7431
+ return (this._ingress ??= new ingress({ client: this.client }));
7432
+ }
6925
7433
  _logs;
6926
7434
  get logs() {
6927
7435
  return (this._logs ??= new logs({ client: this.client }));
@@ -6938,6 +7446,10 @@ export class Compozy extends HeyApiClient {
6938
7446
  get settings() {
6939
7447
  return (this._settings ??= new settings({ client: this.client }));
6940
7448
  }
7449
+ _migrationNotices;
7450
+ get migrationNotices() {
7451
+ return (this._migrationNotices ??= new migrationNotices({ client: this.client }));
7452
+ }
6941
7453
  _providers;
6942
7454
  get providers() {
6943
7455
  return (this._providers ??= new providers({ client: this.client }));
@@ -6966,6 +7478,10 @@ export class Compozy extends HeyApiClient {
6966
7478
  get profiles() {
6967
7479
  return (this._profiles ??= new profiles({ client: this.client }));
6968
7480
  }
7481
+ _remote;
7482
+ get remote() {
7483
+ return (this._remote ??= new remote({ client: this.client }));
7484
+ }
6969
7485
  _resources;
6970
7486
  get resources() {
6971
7487
  return (this._resources ??= new resources({ client: this.client }));