@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.
- package/dist/cjs/generated/sdk/index.js +6 -2
- package/dist/cjs/generated/sdk/index.js.map +1 -1
- package/dist/cjs/generated/sdk/sdk.gen.js +729 -209
- package/dist/cjs/generated/sdk/sdk.gen.js.map +1 -1
- package/dist/cjs/generated/sse/index.js +4 -1
- package/dist/cjs/generated/sse/index.js.map +1 -1
- package/dist/cjs/generated/sse/sdk.gen.js +28 -1
- package/dist/cjs/generated/sse/sdk.gen.js.map +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/generated/sdk/index.js +1 -1
- package/dist/esm/generated/sdk/index.js.map +1 -1
- package/dist/esm/generated/sdk/sdk.gen.js +720 -204
- package/dist/esm/generated/sdk/sdk.gen.js.map +1 -1
- package/dist/esm/generated/sse/index.js +1 -1
- package/dist/esm/generated/sse/index.js.map +1 -1
- package/dist/esm/generated/sse/sdk.gen.js +24 -0
- package/dist/esm/generated/sse/sdk.gen.js.map +1 -1
- package/dist/esm/version.js +1 -1
- package/dist/types/generated/openapi/compozy-openapi.d.ts +11495 -5855
- package/dist/types/generated/sdk/index.d.ts +2 -2
- package/dist/types/generated/sdk/index.d.ts.map +1 -1
- package/dist/types/generated/sdk/sdk.gen.d.ts +245 -61
- package/dist/types/generated/sdk/sdk.gen.d.ts.map +1 -1
- package/dist/types/generated/sdk/types.gen.d.ts +6197 -3362
- package/dist/types/generated/sdk/types.gen.d.ts.map +1 -1
- package/dist/types/generated/sse/index.d.ts +2 -2
- package/dist/types/generated/sse/index.d.ts.map +1 -1
- package/dist/types/generated/sse/sdk.gen.d.ts +13 -1
- package/dist/types/generated/sse/sdk.gen.d.ts.map +1 -1
- package/dist/types/generated/sse/types.gen.d.ts +245 -0
- package/dist/types/generated/sse/types.gen.d.ts.map +1 -1
- package/dist/types/version.d.ts +1 -1
- package/package.json +1 -1
|
@@ -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.vault = exports.toolsets = exports.tools = exports.workspaces = exports.support = exports.skills = exports.tasks = exports.roles = exports.resources = exports.profiles = exports.sessions = exports.openai = exports.onboarding = exports.observe = exports.notifications = exports.providers = exports.settings = exports.marketplace = exports.loops = exports.logs = exports.
|
|
4
|
+
exports.Compozy = exports.worktrees = exports.vault = exports.toolsets = exports.tools = exports.workspaces = exports.support = exports.skills = exports.tasks = exports.roles = exports.resources = exports.remote = exports.profiles = exports.sessions = exports.openai = exports.onboarding = exports.observe = exports.notifications = exports.providers = exports.migrationNotices = exports.settings = exports.marketplace = exports.loops = exports.logs = exports.ingress = exports.hooks = exports.filesystem = exports.extensions = exports.diagnostics = exports.computers = exports.cmdPalette = exports.automation = exports.appTokens = exports.agent = exports.agents = exports.account = 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 {
|
|
@@ -24,6 +24,221 @@ class HeyApiRegistry {
|
|
|
24
24
|
this.instances.set(key ?? this.defaultKey, value);
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
|
+
class account extends HeyApiClient {
|
|
28
|
+
/**
|
|
29
|
+
* Start account deletion and sign out
|
|
30
|
+
*/
|
|
31
|
+
deleteAccount(options) {
|
|
32
|
+
return (options.client ?? this.client).delete({
|
|
33
|
+
responseStyle: "data",
|
|
34
|
+
url: "/api/account",
|
|
35
|
+
...options,
|
|
36
|
+
headers: {
|
|
37
|
+
"Content-Type": "application/json",
|
|
38
|
+
...options.headers,
|
|
39
|
+
},
|
|
40
|
+
});
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Read the installation account
|
|
44
|
+
*/
|
|
45
|
+
getAccount(options) {
|
|
46
|
+
return (options?.client ?? this.client).get({
|
|
47
|
+
responseStyle: "data",
|
|
48
|
+
url: "/api/account",
|
|
49
|
+
...options,
|
|
50
|
+
});
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* Update the product news preference
|
|
54
|
+
*/
|
|
55
|
+
patchAccountEmail(options) {
|
|
56
|
+
return (options.client ?? this.client).patch({
|
|
57
|
+
responseStyle: "data",
|
|
58
|
+
url: "/api/account",
|
|
59
|
+
...options,
|
|
60
|
+
headers: {
|
|
61
|
+
"Content-Type": "application/json",
|
|
62
|
+
...options.headers,
|
|
63
|
+
},
|
|
64
|
+
});
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* List pending and recently decided approvals
|
|
68
|
+
*/
|
|
69
|
+
listAccountApprovals(options) {
|
|
70
|
+
return (options?.client ?? this.client).get({
|
|
71
|
+
responseStyle: "data",
|
|
72
|
+
url: "/api/account/approvals",
|
|
73
|
+
...options,
|
|
74
|
+
});
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* Read an approval and its applied result
|
|
78
|
+
*/
|
|
79
|
+
getAccountApproval(options) {
|
|
80
|
+
return (options.client ?? this.client).get({
|
|
81
|
+
responseStyle: "data",
|
|
82
|
+
url: "/api/account/approvals/{id}",
|
|
83
|
+
...options,
|
|
84
|
+
});
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* Deliver an approval decision
|
|
88
|
+
*/
|
|
89
|
+
decideAccountApproval(options) {
|
|
90
|
+
return (options.client ?? this.client).post({
|
|
91
|
+
responseStyle: "data",
|
|
92
|
+
url: "/api/account/approvals/{id}/decision",
|
|
93
|
+
...options,
|
|
94
|
+
headers: {
|
|
95
|
+
"Content-Type": "application/json",
|
|
96
|
+
...options.headers,
|
|
97
|
+
},
|
|
98
|
+
});
|
|
99
|
+
}
|
|
100
|
+
/**
|
|
101
|
+
* Open account billing
|
|
102
|
+
*/
|
|
103
|
+
accountBillingPortal(options) {
|
|
104
|
+
return (options?.client ?? this.client).post({
|
|
105
|
+
responseStyle: "data",
|
|
106
|
+
url: "/api/account/billing-portal",
|
|
107
|
+
...options,
|
|
108
|
+
});
|
|
109
|
+
}
|
|
110
|
+
/**
|
|
111
|
+
* Start a Pro checkout
|
|
112
|
+
*/
|
|
113
|
+
checkoutAccount(options) {
|
|
114
|
+
return (options.client ?? this.client).post({
|
|
115
|
+
responseStyle: "data",
|
|
116
|
+
url: "/api/account/checkout",
|
|
117
|
+
...options,
|
|
118
|
+
headers: {
|
|
119
|
+
"Content-Type": "application/json",
|
|
120
|
+
...options.headers,
|
|
121
|
+
},
|
|
122
|
+
});
|
|
123
|
+
}
|
|
124
|
+
/**
|
|
125
|
+
* List the account's devices
|
|
126
|
+
*/
|
|
127
|
+
listAccountDevices(options) {
|
|
128
|
+
return (options?.client ?? this.client).get({
|
|
129
|
+
responseStyle: "data",
|
|
130
|
+
url: "/api/account/devices",
|
|
131
|
+
...options,
|
|
132
|
+
});
|
|
133
|
+
}
|
|
134
|
+
/**
|
|
135
|
+
* Revoke a device on this account
|
|
136
|
+
*/
|
|
137
|
+
revokeAccountDevice(options) {
|
|
138
|
+
return (options.client ?? this.client).delete({
|
|
139
|
+
responseStyle: "data",
|
|
140
|
+
url: "/api/account/devices/{id}",
|
|
141
|
+
...options,
|
|
142
|
+
});
|
|
143
|
+
}
|
|
144
|
+
/**
|
|
145
|
+
* Update a device on this account
|
|
146
|
+
*/
|
|
147
|
+
patchAccountDevice(options) {
|
|
148
|
+
return (options.client ?? this.client).patch({
|
|
149
|
+
responseStyle: "data",
|
|
150
|
+
url: "/api/account/devices/{id}",
|
|
151
|
+
...options,
|
|
152
|
+
headers: {
|
|
153
|
+
"Content-Type": "application/json",
|
|
154
|
+
...options.headers,
|
|
155
|
+
},
|
|
156
|
+
});
|
|
157
|
+
}
|
|
158
|
+
/**
|
|
159
|
+
* Cancel account sign-in
|
|
160
|
+
*/
|
|
161
|
+
cancelAccountLogin(options) {
|
|
162
|
+
return (options?.client ?? this.client).delete({
|
|
163
|
+
responseStyle: "data",
|
|
164
|
+
url: "/api/account/login",
|
|
165
|
+
...options,
|
|
166
|
+
});
|
|
167
|
+
}
|
|
168
|
+
/**
|
|
169
|
+
* Start account sign-in
|
|
170
|
+
*/
|
|
171
|
+
startAccountLogin(options) {
|
|
172
|
+
return (options?.client ?? this.client).post({
|
|
173
|
+
responseStyle: "data",
|
|
174
|
+
url: "/api/account/login",
|
|
175
|
+
...options,
|
|
176
|
+
headers: {
|
|
177
|
+
"Content-Type": "application/json",
|
|
178
|
+
...options?.headers,
|
|
179
|
+
},
|
|
180
|
+
});
|
|
181
|
+
}
|
|
182
|
+
/**
|
|
183
|
+
* Sign out this installation
|
|
184
|
+
*/
|
|
185
|
+
logoutAccount(options) {
|
|
186
|
+
return (options?.client ?? this.client).post({
|
|
187
|
+
responseStyle: "data",
|
|
188
|
+
url: "/api/account/logout",
|
|
189
|
+
...options,
|
|
190
|
+
headers: {
|
|
191
|
+
"Content-Type": "application/json",
|
|
192
|
+
...options?.headers,
|
|
193
|
+
},
|
|
194
|
+
});
|
|
195
|
+
}
|
|
196
|
+
/**
|
|
197
|
+
* Dismiss sign-in notices on this installation
|
|
198
|
+
*/
|
|
199
|
+
dismissAccountSignInNotices(options) {
|
|
200
|
+
return (options?.client ?? this.client).post({
|
|
201
|
+
responseStyle: "data",
|
|
202
|
+
url: "/api/account/sign-in-notices/dismiss",
|
|
203
|
+
...options,
|
|
204
|
+
});
|
|
205
|
+
}
|
|
206
|
+
/**
|
|
207
|
+
* List account tokens
|
|
208
|
+
*/
|
|
209
|
+
listAccountTokens(options) {
|
|
210
|
+
return (options?.client ?? this.client).get({
|
|
211
|
+
responseStyle: "data",
|
|
212
|
+
url: "/api/account/tokens",
|
|
213
|
+
...options,
|
|
214
|
+
});
|
|
215
|
+
}
|
|
216
|
+
/**
|
|
217
|
+
* Create an account token for local use
|
|
218
|
+
*/
|
|
219
|
+
createAccountToken(options) {
|
|
220
|
+
return (options.client ?? this.client).post({
|
|
221
|
+
responseStyle: "data",
|
|
222
|
+
url: "/api/account/tokens",
|
|
223
|
+
...options,
|
|
224
|
+
headers: {
|
|
225
|
+
"Content-Type": "application/json",
|
|
226
|
+
...options.headers,
|
|
227
|
+
},
|
|
228
|
+
});
|
|
229
|
+
}
|
|
230
|
+
/**
|
|
231
|
+
* Revoke an account token
|
|
232
|
+
*/
|
|
233
|
+
revokeAccountToken(options) {
|
|
234
|
+
return (options.client ?? this.client).delete({
|
|
235
|
+
responseStyle: "data",
|
|
236
|
+
url: "/api/account/tokens/{id}",
|
|
237
|
+
...options,
|
|
238
|
+
});
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
exports.account = account;
|
|
27
242
|
class agents extends HeyApiClient {
|
|
28
243
|
/**
|
|
29
244
|
* List agent instances
|
|
@@ -205,6 +420,30 @@ class agents extends HeyApiClient {
|
|
|
205
420
|
...options,
|
|
206
421
|
});
|
|
207
422
|
}
|
|
423
|
+
/**
|
|
424
|
+
* List skills left with two versions by an external edit (experimental)
|
|
425
|
+
*/
|
|
426
|
+
listAgentSkillInstallConflicts(options) {
|
|
427
|
+
return (options?.client ?? this.client).get({
|
|
428
|
+
responseStyle: "data",
|
|
429
|
+
url: "/api/agent-skill-install-conflicts",
|
|
430
|
+
...options,
|
|
431
|
+
});
|
|
432
|
+
}
|
|
433
|
+
/**
|
|
434
|
+
* Keep the current or previous version of a conflicted skill as the operator (experimental)
|
|
435
|
+
*/
|
|
436
|
+
resolveAgentSkillInstallConflict(options) {
|
|
437
|
+
return (options.client ?? this.client).post({
|
|
438
|
+
responseStyle: "data",
|
|
439
|
+
url: "/api/agent-skill-install-conflicts/{op_id}/resolve",
|
|
440
|
+
...options,
|
|
441
|
+
headers: {
|
|
442
|
+
"Content-Type": "application/json",
|
|
443
|
+
...options.headers,
|
|
444
|
+
},
|
|
445
|
+
});
|
|
446
|
+
}
|
|
208
447
|
/**
|
|
209
448
|
* List agent skill reviews (experimental)
|
|
210
449
|
*/
|
|
@@ -253,6 +492,20 @@ class agents extends HeyApiClient {
|
|
|
253
492
|
},
|
|
254
493
|
});
|
|
255
494
|
}
|
|
495
|
+
/**
|
|
496
|
+
* Decide a skill review as the operator (experimental)
|
|
497
|
+
*/
|
|
498
|
+
revertAgentSkillReview(options) {
|
|
499
|
+
return (options.client ?? this.client).post({
|
|
500
|
+
responseStyle: "data",
|
|
501
|
+
url: "/api/agent-skill-reviews/{id}/revert",
|
|
502
|
+
...options,
|
|
503
|
+
headers: {
|
|
504
|
+
"Content-Type": "application/json",
|
|
505
|
+
...options.headers,
|
|
506
|
+
},
|
|
507
|
+
});
|
|
508
|
+
}
|
|
256
509
|
/**
|
|
257
510
|
* List all readable agent definitions, optionally resolved for a workspace
|
|
258
511
|
*/
|
|
@@ -1389,99 +1642,96 @@ class cmdPalette extends HeyApiClient {
|
|
|
1389
1642
|
}
|
|
1390
1643
|
}
|
|
1391
1644
|
exports.cmdPalette = cmdPalette;
|
|
1392
|
-
class
|
|
1645
|
+
class computers extends HeyApiClient {
|
|
1393
1646
|
/**
|
|
1394
|
-
*
|
|
1395
|
-
*
|
|
1396
|
-
* @stability experimental
|
|
1647
|
+
* List computers added to this controller
|
|
1397
1648
|
*/
|
|
1398
|
-
|
|
1399
|
-
return (options.client ?? this.client).get({
|
|
1400
|
-
responseStyle: "data",
|
|
1401
|
-
url: "/api/daemon/profile/{kind}",
|
|
1402
|
-
...options,
|
|
1403
|
-
});
|
|
1404
|
-
}
|
|
1405
|
-
/**
|
|
1406
|
-
* Run runtime diagnostics
|
|
1407
|
-
*/
|
|
1408
|
-
getDoctor(options) {
|
|
1649
|
+
listComputers(options) {
|
|
1409
1650
|
return (options?.client ?? this.client).get({
|
|
1410
1651
|
responseStyle: "data",
|
|
1411
|
-
url: "/api/
|
|
1652
|
+
url: "/api/computers",
|
|
1412
1653
|
...options,
|
|
1413
1654
|
});
|
|
1414
1655
|
}
|
|
1415
1656
|
/**
|
|
1416
|
-
*
|
|
1657
|
+
* Add a linked account computer or start SSH setup
|
|
1417
1658
|
*/
|
|
1418
|
-
|
|
1419
|
-
return (options
|
|
1659
|
+
addAccountComputer(options) {
|
|
1660
|
+
return (options.client ?? this.client).post({
|
|
1420
1661
|
responseStyle: "data",
|
|
1421
|
-
url: "/api/
|
|
1662
|
+
url: "/api/computers",
|
|
1422
1663
|
...options,
|
|
1664
|
+
headers: {
|
|
1665
|
+
"Content-Type": "application/json",
|
|
1666
|
+
...options.headers,
|
|
1667
|
+
},
|
|
1423
1668
|
});
|
|
1424
1669
|
}
|
|
1425
1670
|
/**
|
|
1426
|
-
*
|
|
1671
|
+
* List linked computers available to add
|
|
1427
1672
|
*/
|
|
1428
|
-
|
|
1673
|
+
listAvailableComputers(options) {
|
|
1429
1674
|
return (options?.client ?? this.client).get({
|
|
1430
1675
|
responseStyle: "data",
|
|
1431
|
-
url: "/api/
|
|
1676
|
+
url: "/api/computers/available",
|
|
1432
1677
|
...options,
|
|
1433
1678
|
});
|
|
1434
1679
|
}
|
|
1435
1680
|
/**
|
|
1436
|
-
*
|
|
1681
|
+
* Update local execution and load balancing
|
|
1437
1682
|
*/
|
|
1438
|
-
|
|
1439
|
-
return (options
|
|
1683
|
+
patchLocalComputer(options) {
|
|
1684
|
+
return (options.client ?? this.client).patch({
|
|
1440
1685
|
responseStyle: "data",
|
|
1441
|
-
url: "/api/
|
|
1686
|
+
url: "/api/computers/local",
|
|
1442
1687
|
...options,
|
|
1688
|
+
headers: {
|
|
1689
|
+
"Content-Type": "application/json",
|
|
1690
|
+
...options.headers,
|
|
1691
|
+
},
|
|
1443
1692
|
});
|
|
1444
1693
|
}
|
|
1445
1694
|
/**
|
|
1446
|
-
*
|
|
1695
|
+
* Resolve Auto placement for a project
|
|
1447
1696
|
*/
|
|
1448
|
-
|
|
1449
|
-
return (options
|
|
1697
|
+
previewComputerPlacement(options) {
|
|
1698
|
+
return (options.client ?? this.client).post({
|
|
1450
1699
|
responseStyle: "data",
|
|
1451
|
-
url: "/api/
|
|
1700
|
+
url: "/api/computers/placement",
|
|
1452
1701
|
...options,
|
|
1702
|
+
headers: {
|
|
1703
|
+
"Content-Type": "application/json",
|
|
1704
|
+
...options.headers,
|
|
1705
|
+
},
|
|
1453
1706
|
});
|
|
1454
1707
|
}
|
|
1455
1708
|
/**
|
|
1456
|
-
*
|
|
1709
|
+
* Cancel an unlinked SSH setup
|
|
1457
1710
|
*/
|
|
1458
|
-
|
|
1459
|
-
return (options
|
|
1711
|
+
cancelComputerSetup(options) {
|
|
1712
|
+
return (options.client ?? this.client).delete({
|
|
1460
1713
|
responseStyle: "data",
|
|
1461
|
-
url: "/api/
|
|
1714
|
+
url: "/api/computers/setups/{setup_id}",
|
|
1462
1715
|
...options,
|
|
1463
1716
|
});
|
|
1464
1717
|
}
|
|
1465
|
-
}
|
|
1466
|
-
exports.diagnostics = diagnostics;
|
|
1467
|
-
class extensions extends HeyApiClient {
|
|
1468
1718
|
/**
|
|
1469
|
-
*
|
|
1719
|
+
* Read or wait for SSH setup progress
|
|
1470
1720
|
*/
|
|
1471
|
-
|
|
1472
|
-
return (options
|
|
1721
|
+
getComputerSetup(options) {
|
|
1722
|
+
return (options.client ?? this.client).get({
|
|
1473
1723
|
responseStyle: "data",
|
|
1474
|
-
url: "/api/
|
|
1724
|
+
url: "/api/computers/setups/{setup_id}",
|
|
1475
1725
|
...options,
|
|
1476
1726
|
});
|
|
1477
1727
|
}
|
|
1478
1728
|
/**
|
|
1479
|
-
*
|
|
1729
|
+
* Answer an SSH setup prompt
|
|
1480
1730
|
*/
|
|
1481
|
-
|
|
1731
|
+
answerComputerSetup(options) {
|
|
1482
1732
|
return (options.client ?? this.client).post({
|
|
1483
1733
|
responseStyle: "data",
|
|
1484
|
-
url: "/api/
|
|
1734
|
+
url: "/api/computers/setups/{setup_id}/answer",
|
|
1485
1735
|
...options,
|
|
1486
1736
|
headers: {
|
|
1487
1737
|
"Content-Type": "application/json",
|
|
@@ -1490,36 +1740,42 @@ class extensions extends HeyApiClient {
|
|
|
1490
1740
|
});
|
|
1491
1741
|
}
|
|
1492
1742
|
/**
|
|
1493
|
-
*
|
|
1743
|
+
* Discover SSH hosts on the controller
|
|
1494
1744
|
*/
|
|
1495
|
-
|
|
1745
|
+
listComputerSSHHosts(options) {
|
|
1496
1746
|
return (options?.client ?? this.client).get({
|
|
1497
1747
|
responseStyle: "data",
|
|
1498
|
-
url: "/api/
|
|
1748
|
+
url: "/api/computers/ssh-hosts",
|
|
1499
1749
|
...options,
|
|
1500
1750
|
});
|
|
1501
1751
|
}
|
|
1502
1752
|
/**
|
|
1503
|
-
*
|
|
1753
|
+
* Remove a computer from this controller
|
|
1504
1754
|
*/
|
|
1505
|
-
|
|
1506
|
-
return (options.client ?? this.client).
|
|
1755
|
+
removeComputer(options) {
|
|
1756
|
+
return (options.client ?? this.client).delete({
|
|
1507
1757
|
responseStyle: "data",
|
|
1508
|
-
url: "/api/
|
|
1758
|
+
url: "/api/computers/{id}",
|
|
1509
1759
|
...options,
|
|
1510
|
-
headers: {
|
|
1511
|
-
"Content-Type": "application/json",
|
|
1512
|
-
...options.headers,
|
|
1513
|
-
},
|
|
1514
1760
|
});
|
|
1515
1761
|
}
|
|
1516
1762
|
/**
|
|
1517
|
-
*
|
|
1763
|
+
* Inspect a computer and its routes
|
|
1518
1764
|
*/
|
|
1519
|
-
|
|
1520
|
-
return (options.client ?? this.client).
|
|
1765
|
+
getComputer(options) {
|
|
1766
|
+
return (options.client ?? this.client).get({
|
|
1521
1767
|
responseStyle: "data",
|
|
1522
|
-
url: "/api/
|
|
1768
|
+
url: "/api/computers/{id}",
|
|
1769
|
+
...options,
|
|
1770
|
+
});
|
|
1771
|
+
}
|
|
1772
|
+
/**
|
|
1773
|
+
* Update a computer in this controller
|
|
1774
|
+
*/
|
|
1775
|
+
patchComputer(options) {
|
|
1776
|
+
return (options.client ?? this.client).patch({
|
|
1777
|
+
responseStyle: "data",
|
|
1778
|
+
url: "/api/computers/{id}",
|
|
1523
1779
|
...options,
|
|
1524
1780
|
headers: {
|
|
1525
1781
|
"Content-Type": "application/json",
|
|
@@ -1528,134 +1784,130 @@ class extensions extends HeyApiClient {
|
|
|
1528
1784
|
});
|
|
1529
1785
|
}
|
|
1530
1786
|
/**
|
|
1531
|
-
*
|
|
1787
|
+
* Remove a learned route
|
|
1532
1788
|
*/
|
|
1533
|
-
|
|
1534
|
-
return (options
|
|
1789
|
+
removeComputerRoute(options) {
|
|
1790
|
+
return (options.client ?? this.client).delete({
|
|
1535
1791
|
responseStyle: "data",
|
|
1536
|
-
url: "/api/
|
|
1792
|
+
url: "/api/computers/{id}/routes/{route_id}",
|
|
1537
1793
|
...options,
|
|
1538
1794
|
});
|
|
1539
1795
|
}
|
|
1540
1796
|
/**
|
|
1541
|
-
*
|
|
1797
|
+
* Start an SSH computer update
|
|
1542
1798
|
*/
|
|
1543
|
-
|
|
1799
|
+
startComputerUpdate(options) {
|
|
1544
1800
|
return (options.client ?? this.client).post({
|
|
1545
1801
|
responseStyle: "data",
|
|
1546
|
-
url: "/api/
|
|
1802
|
+
url: "/api/computers/{id}/update",
|
|
1547
1803
|
...options,
|
|
1548
|
-
headers: {
|
|
1549
|
-
"Content-Type": "application/json",
|
|
1550
|
-
...options.headers,
|
|
1551
|
-
},
|
|
1552
1804
|
});
|
|
1553
1805
|
}
|
|
1806
|
+
}
|
|
1807
|
+
exports.computers = computers;
|
|
1808
|
+
class diagnostics extends HeyApiClient {
|
|
1554
1809
|
/**
|
|
1555
|
-
*
|
|
1810
|
+
* Capture a runtime profile over the local socket
|
|
1811
|
+
*
|
|
1812
|
+
* @stability experimental
|
|
1556
1813
|
*/
|
|
1557
|
-
|
|
1558
|
-
return (options.client ?? this.client).
|
|
1814
|
+
captureDaemonProfile(options) {
|
|
1815
|
+
return (options.client ?? this.client).get({
|
|
1559
1816
|
responseStyle: "data",
|
|
1560
|
-
url: "/api/
|
|
1817
|
+
url: "/api/daemon/profile/{kind}",
|
|
1561
1818
|
...options,
|
|
1562
1819
|
});
|
|
1563
1820
|
}
|
|
1564
1821
|
/**
|
|
1565
|
-
*
|
|
1822
|
+
* Run runtime diagnostics
|
|
1566
1823
|
*/
|
|
1567
|
-
|
|
1568
|
-
return (options
|
|
1824
|
+
getDoctor(options) {
|
|
1825
|
+
return (options?.client ?? this.client).get({
|
|
1569
1826
|
responseStyle: "data",
|
|
1570
|
-
url: "/api/
|
|
1827
|
+
url: "/api/doctor",
|
|
1571
1828
|
...options,
|
|
1572
1829
|
});
|
|
1573
1830
|
}
|
|
1574
1831
|
/**
|
|
1575
|
-
*
|
|
1832
|
+
* Stop admitting new work
|
|
1576
1833
|
*/
|
|
1577
|
-
|
|
1578
|
-
return (options
|
|
1834
|
+
drainDaemon(options) {
|
|
1835
|
+
return (options?.client ?? this.client).post({
|
|
1579
1836
|
responseStyle: "data",
|
|
1580
|
-
url: "/api/
|
|
1837
|
+
url: "/api/drain",
|
|
1581
1838
|
...options,
|
|
1582
|
-
headers: {
|
|
1583
|
-
"Content-Type": "application/json",
|
|
1584
|
-
...options.headers,
|
|
1585
|
-
},
|
|
1586
1839
|
});
|
|
1587
1840
|
}
|
|
1588
1841
|
/**
|
|
1589
|
-
*
|
|
1842
|
+
* Get the latest host resource sample
|
|
1590
1843
|
*/
|
|
1591
|
-
|
|
1592
|
-
return (options
|
|
1844
|
+
getHostResources(options) {
|
|
1845
|
+
return (options?.client ?? this.client).get({
|
|
1593
1846
|
responseStyle: "data",
|
|
1594
|
-
url: "/api/
|
|
1847
|
+
url: "/api/host/resources",
|
|
1595
1848
|
...options,
|
|
1596
1849
|
});
|
|
1597
1850
|
}
|
|
1598
1851
|
/**
|
|
1599
|
-
*
|
|
1852
|
+
* Get the running daemon's OpenAPI document
|
|
1600
1853
|
*/
|
|
1601
|
-
|
|
1602
|
-
return (options
|
|
1854
|
+
getOpenAPIDocument(options) {
|
|
1855
|
+
return (options?.client ?? this.client).get({
|
|
1603
1856
|
responseStyle: "data",
|
|
1604
|
-
url: "/api/
|
|
1857
|
+
url: "/api/openapi.json",
|
|
1605
1858
|
...options,
|
|
1606
|
-
headers: {
|
|
1607
|
-
"Content-Type": "application/json",
|
|
1608
|
-
...options.headers,
|
|
1609
|
-
},
|
|
1610
1859
|
});
|
|
1611
1860
|
}
|
|
1612
1861
|
/**
|
|
1613
|
-
*
|
|
1862
|
+
* Get the runtime status snapshot
|
|
1614
1863
|
*/
|
|
1615
|
-
|
|
1616
|
-
return (options
|
|
1864
|
+
getStatus(options) {
|
|
1865
|
+
return (options?.client ?? this.client).get({
|
|
1617
1866
|
responseStyle: "data",
|
|
1618
|
-
url: "/api/
|
|
1867
|
+
url: "/api/status",
|
|
1619
1868
|
...options,
|
|
1620
1869
|
});
|
|
1621
1870
|
}
|
|
1622
1871
|
/**
|
|
1623
|
-
*
|
|
1872
|
+
* Get the bounded runtime identity
|
|
1624
1873
|
*/
|
|
1625
|
-
|
|
1626
|
-
return (options
|
|
1874
|
+
getRuntimeIdentity(options) {
|
|
1875
|
+
return (options?.client ?? this.client).get({
|
|
1627
1876
|
responseStyle: "data",
|
|
1628
|
-
url: "/api/
|
|
1877
|
+
url: "/api/status/identity",
|
|
1629
1878
|
...options,
|
|
1630
1879
|
});
|
|
1631
1880
|
}
|
|
1632
1881
|
/**
|
|
1633
|
-
*
|
|
1882
|
+
* Resume admission of new work
|
|
1634
1883
|
*/
|
|
1635
|
-
|
|
1636
|
-
return (options
|
|
1884
|
+
undrainDaemon(options) {
|
|
1885
|
+
return (options?.client ?? this.client).post({
|
|
1637
1886
|
responseStyle: "data",
|
|
1638
|
-
url: "/api/
|
|
1887
|
+
url: "/api/undrain",
|
|
1639
1888
|
...options,
|
|
1640
1889
|
});
|
|
1641
1890
|
}
|
|
1891
|
+
}
|
|
1892
|
+
exports.diagnostics = diagnostics;
|
|
1893
|
+
class extensions extends HeyApiClient {
|
|
1642
1894
|
/**
|
|
1643
|
-
*
|
|
1895
|
+
* List installed extensions
|
|
1644
1896
|
*/
|
|
1645
|
-
|
|
1646
|
-
return (options
|
|
1897
|
+
listExtensions(options) {
|
|
1898
|
+
return (options?.client ?? this.client).get({
|
|
1647
1899
|
responseStyle: "data",
|
|
1648
|
-
url: "/api/extensions
|
|
1900
|
+
url: "/api/extensions",
|
|
1649
1901
|
...options,
|
|
1650
1902
|
});
|
|
1651
1903
|
}
|
|
1652
1904
|
/**
|
|
1653
|
-
*
|
|
1905
|
+
* Install a local or marketplace extension
|
|
1654
1906
|
*/
|
|
1655
|
-
|
|
1907
|
+
installExtension(options) {
|
|
1656
1908
|
return (options.client ?? this.client).post({
|
|
1657
1909
|
responseStyle: "data",
|
|
1658
|
-
url: "/api/extensions
|
|
1910
|
+
url: "/api/extensions",
|
|
1659
1911
|
...options,
|
|
1660
1912
|
headers: {
|
|
1661
1913
|
"Content-Type": "application/json",
|
|
@@ -1664,32 +1916,36 @@ class extensions extends HeyApiClient {
|
|
|
1664
1916
|
});
|
|
1665
1917
|
}
|
|
1666
1918
|
/**
|
|
1667
|
-
*
|
|
1919
|
+
* List active extension-contributed commands
|
|
1668
1920
|
*/
|
|
1669
|
-
|
|
1670
|
-
return (options
|
|
1921
|
+
listExtensionCommands(options) {
|
|
1922
|
+
return (options?.client ?? this.client).get({
|
|
1671
1923
|
responseStyle: "data",
|
|
1672
|
-
url: "/api/extensions/
|
|
1924
|
+
url: "/api/extensions/commands",
|
|
1673
1925
|
...options,
|
|
1674
1926
|
});
|
|
1675
1927
|
}
|
|
1676
1928
|
/**
|
|
1677
|
-
*
|
|
1929
|
+
* Link an immutable extension generation to the resolved workspace
|
|
1678
1930
|
*/
|
|
1679
|
-
|
|
1680
|
-
return (options.client ?? this.client).
|
|
1931
|
+
devExtension(options) {
|
|
1932
|
+
return (options.client ?? this.client).post({
|
|
1681
1933
|
responseStyle: "data",
|
|
1682
|
-
url: "/api/extensions/
|
|
1934
|
+
url: "/api/extensions/dev",
|
|
1683
1935
|
...options,
|
|
1936
|
+
headers: {
|
|
1937
|
+
"Content-Type": "application/json",
|
|
1938
|
+
...options.headers,
|
|
1939
|
+
},
|
|
1684
1940
|
});
|
|
1685
1941
|
}
|
|
1686
1942
|
/**
|
|
1687
|
-
*
|
|
1943
|
+
* Preview an extension install without changing state
|
|
1688
1944
|
*/
|
|
1689
|
-
|
|
1690
|
-
return (options.client ?? this.client).
|
|
1945
|
+
previewExtensionInstall(options) {
|
|
1946
|
+
return (options.client ?? this.client).post({
|
|
1691
1947
|
responseStyle: "data",
|
|
1692
|
-
url: "/api/extensions/
|
|
1948
|
+
url: "/api/extensions/preview-install",
|
|
1693
1949
|
...options,
|
|
1694
1950
|
headers: {
|
|
1695
1951
|
"Content-Type": "application/json",
|
|
@@ -1698,68 +1954,80 @@ class extensions extends HeyApiClient {
|
|
|
1698
1954
|
});
|
|
1699
1955
|
}
|
|
1700
1956
|
/**
|
|
1701
|
-
*
|
|
1957
|
+
* List permanently removed built-in extensions
|
|
1702
1958
|
*/
|
|
1703
|
-
|
|
1704
|
-
return (options
|
|
1959
|
+
listRemovedBuiltinExtensions(options) {
|
|
1960
|
+
return (options?.client ?? this.client).get({
|
|
1705
1961
|
responseStyle: "data",
|
|
1706
|
-
url: "/api/extensions/
|
|
1962
|
+
url: "/api/extensions/removed-builtins",
|
|
1707
1963
|
...options,
|
|
1708
1964
|
});
|
|
1709
1965
|
}
|
|
1710
|
-
}
|
|
1711
|
-
exports.extensions = extensions;
|
|
1712
|
-
class filesystem extends HeyApiClient {
|
|
1713
1966
|
/**
|
|
1714
|
-
*
|
|
1967
|
+
* Update installed extensions and report each outcome
|
|
1715
1968
|
*/
|
|
1716
|
-
|
|
1717
|
-
return (options
|
|
1969
|
+
updateExtensions(options) {
|
|
1970
|
+
return (options.client ?? this.client).post({
|
|
1718
1971
|
responseStyle: "data",
|
|
1719
|
-
url: "/api/
|
|
1972
|
+
url: "/api/extensions/update",
|
|
1720
1973
|
...options,
|
|
1974
|
+
headers: {
|
|
1975
|
+
"Content-Type": "application/json",
|
|
1976
|
+
...options.headers,
|
|
1977
|
+
},
|
|
1721
1978
|
});
|
|
1722
1979
|
}
|
|
1723
|
-
}
|
|
1724
|
-
exports.filesystem = filesystem;
|
|
1725
|
-
class gateway extends HeyApiClient {
|
|
1726
1980
|
/**
|
|
1727
|
-
*
|
|
1981
|
+
* Remove one managed extension
|
|
1728
1982
|
*/
|
|
1729
|
-
|
|
1730
|
-
return (options
|
|
1983
|
+
removeExtension(options) {
|
|
1984
|
+
return (options.client ?? this.client).delete({
|
|
1731
1985
|
responseStyle: "data",
|
|
1732
|
-
url: "/api/
|
|
1986
|
+
url: "/api/extensions/{name}",
|
|
1987
|
+
...options,
|
|
1988
|
+
});
|
|
1989
|
+
}
|
|
1990
|
+
/**
|
|
1991
|
+
* Get one installed extension
|
|
1992
|
+
*/
|
|
1993
|
+
getExtension(options) {
|
|
1994
|
+
return (options.client ?? this.client).get({
|
|
1995
|
+
responseStyle: "data",
|
|
1996
|
+
url: "/api/extensions/{name}",
|
|
1733
1997
|
...options,
|
|
1734
1998
|
});
|
|
1735
1999
|
}
|
|
1736
2000
|
/**
|
|
1737
|
-
*
|
|
2001
|
+
* Update one marketplace-installed extension
|
|
1738
2002
|
*/
|
|
1739
|
-
|
|
1740
|
-
return (options
|
|
2003
|
+
updateExtension(options) {
|
|
2004
|
+
return (options.client ?? this.client).put({
|
|
1741
2005
|
responseStyle: "data",
|
|
1742
|
-
url: "/api/
|
|
2006
|
+
url: "/api/extensions/{name}",
|
|
1743
2007
|
...options,
|
|
2008
|
+
headers: {
|
|
2009
|
+
"Content-Type": "application/json",
|
|
2010
|
+
...options.headers,
|
|
2011
|
+
},
|
|
1744
2012
|
});
|
|
1745
2013
|
}
|
|
1746
2014
|
/**
|
|
1747
|
-
*
|
|
2015
|
+
* List one extension's effective state for every profile
|
|
1748
2016
|
*/
|
|
1749
|
-
|
|
1750
|
-
return (options.client ?? this.client).
|
|
2017
|
+
listExtensionEnablement(options) {
|
|
2018
|
+
return (options.client ?? this.client).get({
|
|
1751
2019
|
responseStyle: "data",
|
|
1752
|
-
url: "/api/
|
|
2020
|
+
url: "/api/extensions/{name}/enablement",
|
|
1753
2021
|
...options,
|
|
1754
2022
|
});
|
|
1755
2023
|
}
|
|
1756
2024
|
/**
|
|
1757
|
-
*
|
|
2025
|
+
* Set one extension's effective state for a profile
|
|
1758
2026
|
*/
|
|
1759
|
-
|
|
1760
|
-
return (options.client ?? this.client).
|
|
2027
|
+
setExtensionEnablement(options) {
|
|
2028
|
+
return (options.client ?? this.client).put({
|
|
1761
2029
|
responseStyle: "data",
|
|
1762
|
-
url: "/api/
|
|
2030
|
+
url: "/api/extensions/{name}/enablement",
|
|
1763
2031
|
...options,
|
|
1764
2032
|
headers: {
|
|
1765
2033
|
"Content-Type": "application/json",
|
|
@@ -1768,22 +2036,22 @@ class gateway extends HeyApiClient {
|
|
|
1768
2036
|
});
|
|
1769
2037
|
}
|
|
1770
2038
|
/**
|
|
1771
|
-
*
|
|
2039
|
+
* Read declared extension inputs and their setup state without values
|
|
1772
2040
|
*/
|
|
1773
|
-
|
|
1774
|
-
return (options.client ?? this.client).
|
|
2041
|
+
getExtensionInputs(options) {
|
|
2042
|
+
return (options.client ?? this.client).get({
|
|
1775
2043
|
responseStyle: "data",
|
|
1776
|
-
url: "/api/
|
|
2044
|
+
url: "/api/extensions/{name}/inputs",
|
|
1777
2045
|
...options,
|
|
1778
2046
|
});
|
|
1779
2047
|
}
|
|
1780
2048
|
/**
|
|
1781
|
-
*
|
|
2049
|
+
* Write extension input values for one installed instance
|
|
1782
2050
|
*/
|
|
1783
|
-
|
|
1784
|
-
return (options.client ?? this.client).
|
|
2051
|
+
setExtensionInputs(options) {
|
|
2052
|
+
return (options.client ?? this.client).put({
|
|
1785
2053
|
responseStyle: "data",
|
|
1786
|
-
url: "/api/
|
|
2054
|
+
url: "/api/extensions/{name}/inputs",
|
|
1787
2055
|
...options,
|
|
1788
2056
|
headers: {
|
|
1789
2057
|
"Content-Type": "application/json",
|
|
@@ -1792,56 +2060,52 @@ class gateway extends HeyApiClient {
|
|
|
1792
2060
|
});
|
|
1793
2061
|
}
|
|
1794
2062
|
/**
|
|
1795
|
-
*
|
|
2063
|
+
* List shipped and live resources for one extension
|
|
1796
2064
|
*/
|
|
1797
|
-
|
|
1798
|
-
return (options.client ?? this.client).
|
|
2065
|
+
getExtensionInventory(options) {
|
|
2066
|
+
return (options.client ?? this.client).get({
|
|
1799
2067
|
responseStyle: "data",
|
|
1800
|
-
url: "/api/
|
|
2068
|
+
url: "/api/extensions/{name}/inventory",
|
|
1801
2069
|
...options,
|
|
1802
2070
|
});
|
|
1803
2071
|
}
|
|
1804
2072
|
/**
|
|
1805
|
-
*
|
|
2073
|
+
* Read or follow redacted extension logs
|
|
1806
2074
|
*/
|
|
1807
|
-
|
|
1808
|
-
return (options
|
|
2075
|
+
getExtensionLogs(options) {
|
|
2076
|
+
return (options.client ?? this.client).get({
|
|
1809
2077
|
responseStyle: "data",
|
|
1810
|
-
url: "/api/
|
|
2078
|
+
url: "/api/extensions/{name}/logs",
|
|
1811
2079
|
...options,
|
|
1812
2080
|
});
|
|
1813
2081
|
}
|
|
1814
2082
|
/**
|
|
1815
|
-
*
|
|
2083
|
+
* Preview one extension enablement change
|
|
1816
2084
|
*/
|
|
1817
|
-
|
|
1818
|
-
return (options.client ?? this.client).
|
|
2085
|
+
previewExtensionEnable(options) {
|
|
2086
|
+
return (options.client ?? this.client).get({
|
|
1819
2087
|
responseStyle: "data",
|
|
1820
|
-
url: "/api/
|
|
2088
|
+
url: "/api/extensions/{name}/preview",
|
|
1821
2089
|
...options,
|
|
1822
|
-
headers: {
|
|
1823
|
-
"Content-Type": "application/json",
|
|
1824
|
-
...options.headers,
|
|
1825
|
-
},
|
|
1826
2090
|
});
|
|
1827
2091
|
}
|
|
1828
2092
|
/**
|
|
1829
|
-
*
|
|
2093
|
+
* Get extension provenance and trust evidence
|
|
1830
2094
|
*/
|
|
1831
|
-
|
|
1832
|
-
return (options.client ?? this.client).
|
|
2095
|
+
getExtensionProvenance(options) {
|
|
2096
|
+
return (options.client ?? this.client).get({
|
|
1833
2097
|
responseStyle: "data",
|
|
1834
|
-
url: "/api/
|
|
2098
|
+
url: "/api/extensions/{name}/provenance",
|
|
1835
2099
|
...options,
|
|
1836
2100
|
});
|
|
1837
2101
|
}
|
|
1838
2102
|
/**
|
|
1839
|
-
*
|
|
2103
|
+
* Reload a workspace extension from an immutable generation
|
|
1840
2104
|
*/
|
|
1841
|
-
|
|
2105
|
+
reloadDevExtension(options) {
|
|
1842
2106
|
return (options.client ?? this.client).post({
|
|
1843
2107
|
responseStyle: "data",
|
|
1844
|
-
url: "/api/
|
|
2108
|
+
url: "/api/extensions/{name}/reload",
|
|
1845
2109
|
...options,
|
|
1846
2110
|
headers: {
|
|
1847
2111
|
"Content-Type": "application/json",
|
|
@@ -1850,32 +2114,32 @@ class gateway extends HeyApiClient {
|
|
|
1850
2114
|
});
|
|
1851
2115
|
}
|
|
1852
2116
|
/**
|
|
1853
|
-
*
|
|
2117
|
+
* Restore one permanently removed built-in extension
|
|
1854
2118
|
*/
|
|
1855
|
-
|
|
1856
|
-
return (options
|
|
2119
|
+
restoreExtension(options) {
|
|
2120
|
+
return (options.client ?? this.client).post({
|
|
1857
2121
|
responseStyle: "data",
|
|
1858
|
-
url: "/api/
|
|
2122
|
+
url: "/api/extensions/{name}/restore",
|
|
1859
2123
|
...options,
|
|
1860
2124
|
});
|
|
1861
2125
|
}
|
|
1862
2126
|
/**
|
|
1863
|
-
*
|
|
2127
|
+
* List declared and bound extension environment names
|
|
1864
2128
|
*/
|
|
1865
|
-
|
|
1866
|
-
return (options
|
|
2129
|
+
listExtensionSecrets(options) {
|
|
2130
|
+
return (options.client ?? this.client).get({
|
|
1867
2131
|
responseStyle: "data",
|
|
1868
|
-
url: "/api/
|
|
2132
|
+
url: "/api/extensions/{name}/secrets",
|
|
1869
2133
|
...options,
|
|
1870
2134
|
});
|
|
1871
2135
|
}
|
|
1872
2136
|
/**
|
|
1873
|
-
* Set
|
|
2137
|
+
* Set or bind extension environment secrets
|
|
1874
2138
|
*/
|
|
1875
|
-
|
|
1876
|
-
return (options.client ?? this.client).
|
|
2139
|
+
setExtensionSecrets(options) {
|
|
2140
|
+
return (options.client ?? this.client).put({
|
|
1877
2141
|
responseStyle: "data",
|
|
1878
|
-
url: "/api/
|
|
2142
|
+
url: "/api/extensions/{name}/secrets",
|
|
1879
2143
|
...options,
|
|
1880
2144
|
headers: {
|
|
1881
2145
|
"Content-Type": "application/json",
|
|
@@ -1883,8 +2147,31 @@ class gateway extends HeyApiClient {
|
|
|
1883
2147
|
},
|
|
1884
2148
|
});
|
|
1885
2149
|
}
|
|
2150
|
+
/**
|
|
2151
|
+
* Remove one extension environment secret binding
|
|
2152
|
+
*/
|
|
2153
|
+
deleteExtensionSecret(options) {
|
|
2154
|
+
return (options.client ?? this.client).delete({
|
|
2155
|
+
responseStyle: "data",
|
|
2156
|
+
url: "/api/extensions/{name}/secrets/{env_name}",
|
|
2157
|
+
...options,
|
|
2158
|
+
});
|
|
2159
|
+
}
|
|
2160
|
+
}
|
|
2161
|
+
exports.extensions = extensions;
|
|
2162
|
+
class filesystem extends HeyApiClient {
|
|
2163
|
+
/**
|
|
2164
|
+
* List directory entries and filesystem roots for the workspace folder picker
|
|
2165
|
+
*/
|
|
2166
|
+
browseDirectory(options) {
|
|
2167
|
+
return (options?.client ?? this.client).get({
|
|
2168
|
+
responseStyle: "data",
|
|
2169
|
+
url: "/api/fs/browse",
|
|
2170
|
+
...options,
|
|
2171
|
+
});
|
|
2172
|
+
}
|
|
1886
2173
|
}
|
|
1887
|
-
exports.
|
|
2174
|
+
exports.filesystem = filesystem;
|
|
1888
2175
|
class hooks extends HeyApiClient {
|
|
1889
2176
|
/**
|
|
1890
2177
|
* List the resolved hook catalog
|
|
@@ -1918,6 +2205,33 @@ class hooks extends HeyApiClient {
|
|
|
1918
2205
|
}
|
|
1919
2206
|
}
|
|
1920
2207
|
exports.hooks = hooks;
|
|
2208
|
+
class ingress extends HeyApiClient {
|
|
2209
|
+
/**
|
|
2210
|
+
* Confirm one subject against the verified public endpoint
|
|
2211
|
+
*/
|
|
2212
|
+
bindIngress(options) {
|
|
2213
|
+
return (options.client ?? this.client).post({
|
|
2214
|
+
responseStyle: "data",
|
|
2215
|
+
url: "/api/ingress/bindings",
|
|
2216
|
+
...options,
|
|
2217
|
+
headers: {
|
|
2218
|
+
"Content-Type": "application/json",
|
|
2219
|
+
...options.headers,
|
|
2220
|
+
},
|
|
2221
|
+
});
|
|
2222
|
+
}
|
|
2223
|
+
/**
|
|
2224
|
+
* Remove one public ingress confirmation
|
|
2225
|
+
*/
|
|
2226
|
+
unbindIngress(options) {
|
|
2227
|
+
return (options.client ?? this.client).delete({
|
|
2228
|
+
responseStyle: "data",
|
|
2229
|
+
url: "/api/ingress/bindings/{subject_kind}/{subject_id}",
|
|
2230
|
+
...options,
|
|
2231
|
+
});
|
|
2232
|
+
}
|
|
2233
|
+
}
|
|
2234
|
+
exports.ingress = ingress;
|
|
1921
2235
|
class logs extends HeyApiClient {
|
|
1922
2236
|
/**
|
|
1923
2237
|
* List runtime logs
|
|
@@ -3224,6 +3538,29 @@ class settings extends HeyApiClient {
|
|
|
3224
3538
|
}
|
|
3225
3539
|
}
|
|
3226
3540
|
exports.settings = settings;
|
|
3541
|
+
class migrationNotices extends HeyApiClient {
|
|
3542
|
+
/**
|
|
3543
|
+
* List undismissed upgrade notices on this computer
|
|
3544
|
+
*/
|
|
3545
|
+
listMigrationNotices(options) {
|
|
3546
|
+
return (options?.client ?? this.client).get({
|
|
3547
|
+
responseStyle: "data",
|
|
3548
|
+
url: "/api/migration-notices",
|
|
3549
|
+
...options,
|
|
3550
|
+
});
|
|
3551
|
+
}
|
|
3552
|
+
/**
|
|
3553
|
+
* Dismiss an upgrade notice on this computer
|
|
3554
|
+
*/
|
|
3555
|
+
dismissMigrationNotice(options) {
|
|
3556
|
+
return (options.client ?? this.client).post({
|
|
3557
|
+
responseStyle: "data",
|
|
3558
|
+
url: "/api/migration-notices/{key}/dismiss",
|
|
3559
|
+
...options,
|
|
3560
|
+
});
|
|
3561
|
+
}
|
|
3562
|
+
}
|
|
3563
|
+
exports.migrationNotices = migrationNotices;
|
|
3227
3564
|
class providers extends HeyApiClient {
|
|
3228
3565
|
/**
|
|
3229
3566
|
* List provider model catalog entries across providers
|
|
@@ -3554,6 +3891,20 @@ class sessions extends HeyApiClient {
|
|
|
3554
3891
|
},
|
|
3555
3892
|
});
|
|
3556
3893
|
}
|
|
3894
|
+
/**
|
|
3895
|
+
* 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
|
|
3896
|
+
*/
|
|
3897
|
+
archiveStoppedSessions(options) {
|
|
3898
|
+
return (options.client ?? this.client).post({
|
|
3899
|
+
responseStyle: "data",
|
|
3900
|
+
url: "/api/sessions/archive-stopped",
|
|
3901
|
+
...options,
|
|
3902
|
+
headers: {
|
|
3903
|
+
"Content-Type": "application/json",
|
|
3904
|
+
...options.headers,
|
|
3905
|
+
},
|
|
3906
|
+
});
|
|
3907
|
+
}
|
|
3557
3908
|
/**
|
|
3558
3909
|
* Get exact session attention counts
|
|
3559
3910
|
*/
|
|
@@ -4900,6 +5251,159 @@ class profiles extends HeyApiClient {
|
|
|
4900
5251
|
}
|
|
4901
5252
|
}
|
|
4902
5253
|
exports.profiles = profiles;
|
|
5254
|
+
class remote extends HeyApiClient {
|
|
5255
|
+
/**
|
|
5256
|
+
* Read this computer's remote access status
|
|
5257
|
+
*/
|
|
5258
|
+
getRemoteStatus(options) {
|
|
5259
|
+
return (options?.client ?? this.client).get({
|
|
5260
|
+
responseStyle: "data",
|
|
5261
|
+
url: "/api/remote",
|
|
5262
|
+
...options,
|
|
5263
|
+
});
|
|
5264
|
+
}
|
|
5265
|
+
/**
|
|
5266
|
+
* Update this computer's remote access
|
|
5267
|
+
*/
|
|
5268
|
+
patchRemoteStatus(options) {
|
|
5269
|
+
return (options.client ?? this.client).patch({
|
|
5270
|
+
responseStyle: "data",
|
|
5271
|
+
url: "/api/remote",
|
|
5272
|
+
...options,
|
|
5273
|
+
headers: {
|
|
5274
|
+
"Content-Type": "application/json",
|
|
5275
|
+
...options.headers,
|
|
5276
|
+
},
|
|
5277
|
+
});
|
|
5278
|
+
}
|
|
5279
|
+
/**
|
|
5280
|
+
* List devices allowed on this computer
|
|
5281
|
+
*/
|
|
5282
|
+
listRemoteDevices(options) {
|
|
5283
|
+
return (options?.client ?? this.client).get({
|
|
5284
|
+
responseStyle: "data",
|
|
5285
|
+
url: "/api/remote/devices",
|
|
5286
|
+
...options,
|
|
5287
|
+
});
|
|
5288
|
+
}
|
|
5289
|
+
/**
|
|
5290
|
+
* Revoke a device on this account
|
|
5291
|
+
*/
|
|
5292
|
+
revokeRemoteDevice(options) {
|
|
5293
|
+
return (options.client ?? this.client).delete({
|
|
5294
|
+
responseStyle: "data",
|
|
5295
|
+
url: "/api/remote/devices/{id}",
|
|
5296
|
+
...options,
|
|
5297
|
+
});
|
|
5298
|
+
}
|
|
5299
|
+
/**
|
|
5300
|
+
* Change device scopes or decide a local approval
|
|
5301
|
+
*/
|
|
5302
|
+
patchRemoteDevice(options) {
|
|
5303
|
+
return (options.client ?? this.client).patch({
|
|
5304
|
+
responseStyle: "data",
|
|
5305
|
+
url: "/api/remote/devices/{id}",
|
|
5306
|
+
...options,
|
|
5307
|
+
headers: {
|
|
5308
|
+
"Content-Type": "application/json",
|
|
5309
|
+
...options.headers,
|
|
5310
|
+
},
|
|
5311
|
+
});
|
|
5312
|
+
}
|
|
5313
|
+
/**
|
|
5314
|
+
* Unlink this computer from the local daemon
|
|
5315
|
+
*/
|
|
5316
|
+
unlinkRemote(options) {
|
|
5317
|
+
return (options?.client ?? this.client).delete({
|
|
5318
|
+
responseStyle: "data",
|
|
5319
|
+
url: "/api/remote/link",
|
|
5320
|
+
...options,
|
|
5321
|
+
});
|
|
5322
|
+
}
|
|
5323
|
+
/**
|
|
5324
|
+
* Link this computer from the local daemon
|
|
5325
|
+
*/
|
|
5326
|
+
linkRemote(options) {
|
|
5327
|
+
return (options.client ?? this.client).post({
|
|
5328
|
+
responseStyle: "data",
|
|
5329
|
+
url: "/api/remote/link",
|
|
5330
|
+
...options,
|
|
5331
|
+
headers: {
|
|
5332
|
+
"Content-Type": "application/json",
|
|
5333
|
+
...options.headers,
|
|
5334
|
+
},
|
|
5335
|
+
});
|
|
5336
|
+
}
|
|
5337
|
+
/**
|
|
5338
|
+
* Read the approval for the waiting browser key
|
|
5339
|
+
*/
|
|
5340
|
+
getBrowserApproval(options) {
|
|
5341
|
+
return (options.client ?? this.client).get({
|
|
5342
|
+
responseStyle: "data",
|
|
5343
|
+
url: "/remote/v1/browser/approvals/{id}",
|
|
5344
|
+
...options,
|
|
5345
|
+
});
|
|
5346
|
+
}
|
|
5347
|
+
/**
|
|
5348
|
+
* List other hosted computers on this account
|
|
5349
|
+
*/
|
|
5350
|
+
listBrowserPeers(options) {
|
|
5351
|
+
return (options.client ?? this.client).get({
|
|
5352
|
+
responseStyle: "data",
|
|
5353
|
+
url: "/remote/v1/browser/peers",
|
|
5354
|
+
...options,
|
|
5355
|
+
});
|
|
5356
|
+
}
|
|
5357
|
+
/**
|
|
5358
|
+
* Revoke the current browser session
|
|
5359
|
+
*/
|
|
5360
|
+
endBrowserSession(options) {
|
|
5361
|
+
return (options.client ?? this.client).delete({
|
|
5362
|
+
responseStyle: "data",
|
|
5363
|
+
url: "/remote/v1/browser/session",
|
|
5364
|
+
...options,
|
|
5365
|
+
});
|
|
5366
|
+
}
|
|
5367
|
+
/**
|
|
5368
|
+
* Redeem a hosted sign-in code
|
|
5369
|
+
*/
|
|
5370
|
+
startBrowserSession(options) {
|
|
5371
|
+
return (options.client ?? this.client).post({
|
|
5372
|
+
responseStyle: "data",
|
|
5373
|
+
url: "/remote/v1/browser/session",
|
|
5374
|
+
...options,
|
|
5375
|
+
headers: {
|
|
5376
|
+
"Content-Type": "application/json",
|
|
5377
|
+
...options.headers,
|
|
5378
|
+
},
|
|
5379
|
+
});
|
|
5380
|
+
}
|
|
5381
|
+
/**
|
|
5382
|
+
* Read the hosted listener status
|
|
5383
|
+
*/
|
|
5384
|
+
getBrowserStatus(options) {
|
|
5385
|
+
return (options?.client ?? this.client).get({
|
|
5386
|
+
responseStyle: "data",
|
|
5387
|
+
url: "/remote/v1/browser/status",
|
|
5388
|
+
...options,
|
|
5389
|
+
});
|
|
5390
|
+
}
|
|
5391
|
+
/**
|
|
5392
|
+
* Mint a single-use ticket for one stream path
|
|
5393
|
+
*/
|
|
5394
|
+
mintBrowserStreamTicket(options) {
|
|
5395
|
+
return (options.client ?? this.client).post({
|
|
5396
|
+
responseStyle: "data",
|
|
5397
|
+
url: "/remote/v1/stream-tickets",
|
|
5398
|
+
...options,
|
|
5399
|
+
headers: {
|
|
5400
|
+
"Content-Type": "application/json",
|
|
5401
|
+
...options.headers,
|
|
5402
|
+
},
|
|
5403
|
+
});
|
|
5404
|
+
}
|
|
5405
|
+
}
|
|
5406
|
+
exports.remote = remote;
|
|
4903
5407
|
class resources extends HeyApiClient {
|
|
4904
5408
|
/**
|
|
4905
5409
|
* List desired-state resources on the local operator control plane
|
|
@@ -6916,6 +7420,10 @@ class Compozy extends HeyApiClient {
|
|
|
6916
7420
|
super(args);
|
|
6917
7421
|
Compozy.__registry.set(this, args?.key);
|
|
6918
7422
|
}
|
|
7423
|
+
_account;
|
|
7424
|
+
get account() {
|
|
7425
|
+
return (this._account ??= new account({ client: this.client }));
|
|
7426
|
+
}
|
|
6919
7427
|
_agents;
|
|
6920
7428
|
get agents() {
|
|
6921
7429
|
return (this._agents ??= new agents({ client: this.client }));
|
|
@@ -6936,6 +7444,10 @@ class Compozy extends HeyApiClient {
|
|
|
6936
7444
|
get cmdPalette() {
|
|
6937
7445
|
return (this._cmdPalette ??= new cmdPalette({ client: this.client }));
|
|
6938
7446
|
}
|
|
7447
|
+
_computers;
|
|
7448
|
+
get computers() {
|
|
7449
|
+
return (this._computers ??= new computers({ client: this.client }));
|
|
7450
|
+
}
|
|
6939
7451
|
_diagnostics;
|
|
6940
7452
|
get diagnostics() {
|
|
6941
7453
|
return (this._diagnostics ??= new diagnostics({ client: this.client }));
|
|
@@ -6948,14 +7460,14 @@ class Compozy extends HeyApiClient {
|
|
|
6948
7460
|
get filesystem() {
|
|
6949
7461
|
return (this._filesystem ??= new filesystem({ client: this.client }));
|
|
6950
7462
|
}
|
|
6951
|
-
_gateway;
|
|
6952
|
-
get gateway() {
|
|
6953
|
-
return (this._gateway ??= new gateway({ client: this.client }));
|
|
6954
|
-
}
|
|
6955
7463
|
_hooks;
|
|
6956
7464
|
get hooks() {
|
|
6957
7465
|
return (this._hooks ??= new hooks({ client: this.client }));
|
|
6958
7466
|
}
|
|
7467
|
+
_ingress;
|
|
7468
|
+
get ingress() {
|
|
7469
|
+
return (this._ingress ??= new ingress({ client: this.client }));
|
|
7470
|
+
}
|
|
6959
7471
|
_logs;
|
|
6960
7472
|
get logs() {
|
|
6961
7473
|
return (this._logs ??= new logs({ client: this.client }));
|
|
@@ -6972,6 +7484,10 @@ class Compozy extends HeyApiClient {
|
|
|
6972
7484
|
get settings() {
|
|
6973
7485
|
return (this._settings ??= new settings({ client: this.client }));
|
|
6974
7486
|
}
|
|
7487
|
+
_migrationNotices;
|
|
7488
|
+
get migrationNotices() {
|
|
7489
|
+
return (this._migrationNotices ??= new migrationNotices({ client: this.client }));
|
|
7490
|
+
}
|
|
6975
7491
|
_providers;
|
|
6976
7492
|
get providers() {
|
|
6977
7493
|
return (this._providers ??= new providers({ client: this.client }));
|
|
@@ -7000,6 +7516,10 @@ class Compozy extends HeyApiClient {
|
|
|
7000
7516
|
get profiles() {
|
|
7001
7517
|
return (this._profiles ??= new profiles({ client: this.client }));
|
|
7002
7518
|
}
|
|
7519
|
+
_remote;
|
|
7520
|
+
get remote() {
|
|
7521
|
+
return (this._remote ??= new remote({ client: this.client }));
|
|
7522
|
+
}
|
|
7003
7523
|
_resources;
|
|
7004
7524
|
get resources() {
|
|
7005
7525
|
return (this._resources ??= new resources({ client: this.client }));
|