@compozy/client 0.3.0-beta.37 → 0.3.0-beta.39
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/sdk.gen.js +911 -719
- package/dist/cjs/generated/sdk/sdk.gen.js.map +1 -1
- package/dist/cjs/generated/sse/index.js +3 -1
- package/dist/cjs/generated/sse/index.js.map +1 -1
- package/dist/cjs/generated/sse/sdk.gen.js +21 -1
- package/dist/cjs/generated/sse/sdk.gen.js.map +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/generated/sdk/sdk.gen.js +913 -721
- 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 +18 -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 +2277 -71
- package/dist/types/generated/sdk/index.d.ts +1 -1
- package/dist/types/generated/sdk/index.d.ts.map +1 -1
- package/dist/types/generated/sdk/sdk.gen.d.ts +282 -208
- package/dist/types/generated/sdk/sdk.gen.d.ts.map +1 -1
- package/dist/types/generated/sdk/types.gen.d.ts +1339 -72
- 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 +11 -1
- package/dist/types/generated/sse/sdk.gen.d.ts.map +1 -1
- package/dist/types/generated/sse/types.gen.d.ts +120 -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.
|
|
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
|
|
1412
|
+
class loops extends HeyApiClient {
|
|
1393
1413
|
/**
|
|
1394
|
-
* List
|
|
1414
|
+
* List Loop human requests
|
|
1395
1415
|
*/
|
|
1396
|
-
|
|
1416
|
+
listLoopRequestsAggregate(options) {
|
|
1397
1417
|
return (options?.client ?? this.client).get({
|
|
1398
1418
|
responseStyle: "data",
|
|
1399
|
-
url: "/api/
|
|
1419
|
+
url: "/api/loop-requests",
|
|
1400
1420
|
...options,
|
|
1401
1421
|
});
|
|
1402
1422
|
}
|
|
1403
1423
|
/**
|
|
1404
|
-
*
|
|
1424
|
+
* List Loop runs
|
|
1405
1425
|
*/
|
|
1406
|
-
|
|
1407
|
-
return (options
|
|
1426
|
+
listLoopRunsAggregate(options) {
|
|
1427
|
+
return (options?.client ?? this.client).get({
|
|
1408
1428
|
responseStyle: "data",
|
|
1409
|
-
url: "/api/
|
|
1429
|
+
url: "/api/loop-runs",
|
|
1410
1430
|
...options,
|
|
1411
1431
|
});
|
|
1412
1432
|
}
|
|
1413
1433
|
/**
|
|
1414
|
-
*
|
|
1434
|
+
* List Loop catalog entries
|
|
1415
1435
|
*/
|
|
1416
|
-
|
|
1417
|
-
return (options?.client ?? this.client).
|
|
1436
|
+
listLoopsAggregate(options) {
|
|
1437
|
+
return (options?.client ?? this.client).get({
|
|
1418
1438
|
responseStyle: "data",
|
|
1419
|
-
url: "/api/
|
|
1439
|
+
url: "/api/loops",
|
|
1420
1440
|
...options,
|
|
1421
1441
|
});
|
|
1422
1442
|
}
|
|
1423
1443
|
/**
|
|
1424
|
-
* List
|
|
1425
|
-
*
|
|
1426
|
-
* @stability experimental
|
|
1444
|
+
* List workspace Loop node state
|
|
1427
1445
|
*/
|
|
1428
|
-
|
|
1429
|
-
return (options
|
|
1446
|
+
listLoopNodes(options) {
|
|
1447
|
+
return (options.client ?? this.client).get({
|
|
1430
1448
|
responseStyle: "data",
|
|
1431
|
-
url: "/api/
|
|
1449
|
+
url: "/api/workspaces/{workspace_id}/loop-nodes",
|
|
1432
1450
|
...options,
|
|
1433
1451
|
});
|
|
1434
1452
|
}
|
|
1435
1453
|
/**
|
|
1436
|
-
*
|
|
1437
|
-
*
|
|
1438
|
-
* @stability experimental
|
|
1454
|
+
* List Loop human requests
|
|
1439
1455
|
*/
|
|
1440
|
-
|
|
1441
|
-
return (options.client ?? this.client).
|
|
1456
|
+
listLoopRequests(options) {
|
|
1457
|
+
return (options.client ?? this.client).get({
|
|
1442
1458
|
responseStyle: "data",
|
|
1443
|
-
url: "/api/
|
|
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
|
-
*
|
|
1453
|
-
*
|
|
1454
|
-
* @stability experimental
|
|
1464
|
+
* List Loop runs
|
|
1455
1465
|
*/
|
|
1456
|
-
|
|
1457
|
-
return (options.client ?? this.client).
|
|
1466
|
+
listLoopRuns(options) {
|
|
1467
|
+
return (options.client ?? this.client).get({
|
|
1458
1468
|
responseStyle: "data",
|
|
1459
|
-
url: "/api/
|
|
1469
|
+
url: "/api/workspaces/{workspace_id}/loop-runs",
|
|
1460
1470
|
...options,
|
|
1461
1471
|
});
|
|
1462
1472
|
}
|
|
1463
1473
|
/**
|
|
1464
|
-
*
|
|
1465
|
-
*
|
|
1466
|
-
* @stability experimental
|
|
1474
|
+
* Get one Loop run
|
|
1467
1475
|
*/
|
|
1468
|
-
|
|
1469
|
-
return (options.client ?? this.client).
|
|
1476
|
+
getLoopRun(options) {
|
|
1477
|
+
return (options.client ?? this.client).get({
|
|
1470
1478
|
responseStyle: "data",
|
|
1471
|
-
url: "/api/
|
|
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
|
-
*
|
|
1481
|
-
*
|
|
1482
|
-
* @stability experimental
|
|
1484
|
+
* Approve one Loop gate
|
|
1483
1485
|
*/
|
|
1484
|
-
|
|
1486
|
+
approveLoopRun(options) {
|
|
1485
1487
|
return (options.client ?? this.client).post({
|
|
1486
1488
|
responseStyle: "data",
|
|
1487
|
-
url: "/api/
|
|
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
|
-
*
|
|
1498
|
+
* Explain the current Loop run state
|
|
1496
1499
|
*/
|
|
1497
|
-
|
|
1500
|
+
getLoopRunBriefing(options) {
|
|
1498
1501
|
return (options.client ?? this.client).get({
|
|
1499
1502
|
responseStyle: "data",
|
|
1500
|
-
url: "/api/
|
|
1503
|
+
url: "/api/workspaces/{workspace_id}/loop-runs/{run_id}/briefing",
|
|
1501
1504
|
...options,
|
|
1502
1505
|
});
|
|
1503
1506
|
}
|
|
1504
1507
|
/**
|
|
1505
|
-
*
|
|
1508
|
+
* Cancel one Loop run
|
|
1506
1509
|
*/
|
|
1507
|
-
|
|
1508
|
-
return (options
|
|
1510
|
+
cancelLoopRun(options) {
|
|
1511
|
+
return (options.client ?? this.client).post({
|
|
1509
1512
|
responseStyle: "data",
|
|
1510
|
-
url: "/api/
|
|
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
|
-
*
|
|
1522
|
+
* Compare Loop generations or runs
|
|
1516
1523
|
*/
|
|
1517
|
-
|
|
1524
|
+
diffLoopRun(options) {
|
|
1518
1525
|
return (options.client ?? this.client).get({
|
|
1519
1526
|
responseStyle: "data",
|
|
1520
|
-
url: "/api/
|
|
1527
|
+
url: "/api/workspaces/{workspace_id}/loop-runs/{run_id}/diff",
|
|
1521
1528
|
...options,
|
|
1522
1529
|
});
|
|
1523
1530
|
}
|
|
1524
1531
|
/**
|
|
1525
|
-
*
|
|
1532
|
+
* Fork a linked Loop run from history
|
|
1526
1533
|
*/
|
|
1527
|
-
|
|
1528
|
-
return (options
|
|
1534
|
+
forkLoopRun(options) {
|
|
1535
|
+
return (options.client ?? this.client).post({
|
|
1529
1536
|
responseStyle: "data",
|
|
1530
|
-
url: "/api/
|
|
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
|
-
*
|
|
1546
|
+
* Get the computed Loop run node roster
|
|
1536
1547
|
*/
|
|
1537
|
-
|
|
1538
|
-
return (options
|
|
1548
|
+
getLoopRunNodes(options) {
|
|
1549
|
+
return (options.client ?? this.client).get({
|
|
1539
1550
|
responseStyle: "data",
|
|
1540
|
-
url: "/api/
|
|
1551
|
+
url: "/api/workspaces/{workspace_id}/loop-runs/{run_id}/nodes",
|
|
1541
1552
|
...options,
|
|
1542
1553
|
});
|
|
1543
1554
|
}
|
|
1544
1555
|
/**
|
|
1545
|
-
*
|
|
1556
|
+
* Amend one parked Loop node output
|
|
1546
1557
|
*/
|
|
1547
|
-
|
|
1548
|
-
return (options.client ?? this.client).
|
|
1558
|
+
amendLoopNode(options) {
|
|
1559
|
+
return (options.client ?? this.client).post({
|
|
1549
1560
|
responseStyle: "data",
|
|
1550
|
-
url: "/api/
|
|
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
|
-
*
|
|
1570
|
+
* Cancel one Loop node
|
|
1560
1571
|
*/
|
|
1561
|
-
|
|
1562
|
-
return (options
|
|
1572
|
+
cancelLoopNode(options) {
|
|
1573
|
+
return (options.client ?? this.client).post({
|
|
1563
1574
|
responseStyle: "data",
|
|
1564
|
-
url: "/api/
|
|
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
|
-
*
|
|
1584
|
+
* Pause one Loop node
|
|
1570
1585
|
*/
|
|
1571
|
-
|
|
1572
|
-
return (options.client ?? this.client).
|
|
1586
|
+
pauseLoopNode(options) {
|
|
1587
|
+
return (options.client ?? this.client).post({
|
|
1573
1588
|
responseStyle: "data",
|
|
1574
|
-
url: "/api/
|
|
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
|
-
*
|
|
1598
|
+
* Get one Loop human request
|
|
1584
1599
|
*/
|
|
1585
|
-
|
|
1586
|
-
return (options
|
|
1600
|
+
getLoopRequest(options) {
|
|
1601
|
+
return (options.client ?? this.client).get({
|
|
1587
1602
|
responseStyle: "data",
|
|
1588
|
-
url: "/api/
|
|
1603
|
+
url: "/api/workspaces/{workspace_id}/loop-runs/{run_id}/nodes/{node_id}/request",
|
|
1589
1604
|
...options,
|
|
1590
1605
|
});
|
|
1591
1606
|
}
|
|
1592
1607
|
/**
|
|
1593
|
-
*
|
|
1608
|
+
* Requeue one Loop node
|
|
1594
1609
|
*/
|
|
1595
|
-
|
|
1596
|
-
return (options.client ?? this.client).
|
|
1610
|
+
requeueLoopNode(options) {
|
|
1611
|
+
return (options.client ?? this.client).post({
|
|
1597
1612
|
responseStyle: "data",
|
|
1598
|
-
url: "/api/
|
|
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
|
-
*
|
|
1622
|
+
* Answer one Loop human request
|
|
1608
1623
|
*/
|
|
1609
|
-
|
|
1610
|
-
return (options
|
|
1624
|
+
respondLoopRequest(options) {
|
|
1625
|
+
return (options.client ?? this.client).post({
|
|
1611
1626
|
responseStyle: "data",
|
|
1612
|
-
url: "/api/
|
|
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
|
-
*
|
|
1636
|
+
* Resume one Loop node
|
|
1618
1637
|
*/
|
|
1619
|
-
|
|
1620
|
-
return (options.client ?? this.client).
|
|
1638
|
+
resumeLoopNode(options) {
|
|
1639
|
+
return (options.client ?? this.client).post({
|
|
1621
1640
|
responseStyle: "data",
|
|
1622
|
-
url: "/api/
|
|
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
|
-
*
|
|
1650
|
+
* Pause one Loop run
|
|
1632
1651
|
*/
|
|
1633
|
-
|
|
1634
|
-
return (options
|
|
1652
|
+
pauseLoopRun(options) {
|
|
1653
|
+
return (options.client ?? this.client).post({
|
|
1635
1654
|
responseStyle: "data",
|
|
1636
|
-
url: "/api/
|
|
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
|
-
*
|
|
1664
|
+
* Rerun a Loop from one settled node
|
|
1642
1665
|
*/
|
|
1643
|
-
|
|
1644
|
-
return (options
|
|
1666
|
+
rerunLoopRun(options) {
|
|
1667
|
+
return (options.client ?? this.client).post({
|
|
1645
1668
|
responseStyle: "data",
|
|
1646
|
-
url: "/api/
|
|
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
|
-
*
|
|
1678
|
+
* Resume one Loop run
|
|
1652
1679
|
*/
|
|
1653
|
-
|
|
1654
|
-
return (options.client ?? this.client).
|
|
1680
|
+
resumeLoopRun(options) {
|
|
1681
|
+
return (options.client ?? this.client).post({
|
|
1655
1682
|
responseStyle: "data",
|
|
1656
|
-
url: "/api/
|
|
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
|
-
*
|
|
1692
|
+
* Read the durable Loop run timeline
|
|
1666
1693
|
*/
|
|
1667
|
-
|
|
1668
|
-
return (options.client ?? this.client).
|
|
1694
|
+
getLoopRunTimeline(options) {
|
|
1695
|
+
return (options.client ?? this.client).get({
|
|
1669
1696
|
responseStyle: "data",
|
|
1670
|
-
url: "/api/
|
|
1697
|
+
url: "/api/workspaces/{workspace_id}/loop-runs/{run_id}/timeline",
|
|
1671
1698
|
...options,
|
|
1672
1699
|
});
|
|
1673
1700
|
}
|
|
1674
1701
|
/**
|
|
1675
|
-
*
|
|
1702
|
+
* List Goal turns in run-wide sequence order
|
|
1676
1703
|
*/
|
|
1677
|
-
|
|
1678
|
-
return (options.client ?? this.client).
|
|
1704
|
+
listGoalTurns(options) {
|
|
1705
|
+
return (options.client ?? this.client).get({
|
|
1679
1706
|
responseStyle: "data",
|
|
1680
|
-
url: "/api/
|
|
1707
|
+
url: "/api/workspaces/{workspace_id}/loop-runs/{run_id}/turns",
|
|
1681
1708
|
...options,
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
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
|
}
|
|
@@ -1849,6 +2386,30 @@ class settings extends HeyApiClient {
|
|
|
1849
2386
|
},
|
|
1850
2387
|
});
|
|
1851
2388
|
}
|
|
2389
|
+
/**
|
|
2390
|
+
* Read the provider usage settings section
|
|
2391
|
+
*/
|
|
2392
|
+
getSettingsProviderUsage(options) {
|
|
2393
|
+
return (options?.client ?? this.client).get({
|
|
2394
|
+
responseStyle: "data",
|
|
2395
|
+
url: "/api/settings/provider-usage",
|
|
2396
|
+
...options,
|
|
2397
|
+
});
|
|
2398
|
+
}
|
|
2399
|
+
/**
|
|
2400
|
+
* Update the provider usage settings section
|
|
2401
|
+
*/
|
|
2402
|
+
updateSettingsProviderUsage(options) {
|
|
2403
|
+
return (options.client ?? this.client).patch({
|
|
2404
|
+
responseStyle: "data",
|
|
2405
|
+
url: "/api/settings/provider-usage",
|
|
2406
|
+
...options,
|
|
2407
|
+
headers: {
|
|
2408
|
+
"Content-Type": "application/json",
|
|
2409
|
+
...options.headers,
|
|
2410
|
+
},
|
|
2411
|
+
});
|
|
2412
|
+
}
|
|
1852
2413
|
/**
|
|
1853
2414
|
* List settings-backed providers
|
|
1854
2415
|
*/
|
|
@@ -2109,23 +2670,63 @@ class providers extends HeyApiClient {
|
|
|
2109
2670
|
});
|
|
2110
2671
|
}
|
|
2111
2672
|
/**
|
|
2112
|
-
* List provider model catalog source status for one provider
|
|
2673
|
+
* List provider model catalog source status for one provider
|
|
2674
|
+
*/
|
|
2675
|
+
getProviderModelStatusByProvider(options) {
|
|
2676
|
+
return (options.client ?? this.client).get({
|
|
2677
|
+
responseStyle: "data",
|
|
2678
|
+
url: "/api/model-catalog/providers/{provider_id}/models/status",
|
|
2679
|
+
...options,
|
|
2680
|
+
});
|
|
2681
|
+
}
|
|
2682
|
+
/**
|
|
2683
|
+
* List provider model catalog source status across providers
|
|
2684
|
+
*/
|
|
2685
|
+
getProviderModelStatus(options) {
|
|
2686
|
+
return (options?.client ?? this.client).get({
|
|
2687
|
+
responseStyle: "data",
|
|
2688
|
+
url: "/api/model-catalog/sources/status",
|
|
2689
|
+
...options,
|
|
2690
|
+
});
|
|
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
|
|
2113
2708
|
*/
|
|
2114
|
-
|
|
2709
|
+
getProviderUsage(options) {
|
|
2115
2710
|
return (options.client ?? this.client).get({
|
|
2116
2711
|
responseStyle: "data",
|
|
2117
|
-
url: "/api/
|
|
2712
|
+
url: "/api/provider-usage/providers/{provider_id}",
|
|
2118
2713
|
...options,
|
|
2119
2714
|
});
|
|
2120
2715
|
}
|
|
2121
2716
|
/**
|
|
2122
|
-
*
|
|
2717
|
+
* Refresh provider usage (experimental)
|
|
2718
|
+
*
|
|
2719
|
+
* @stability experimental
|
|
2123
2720
|
*/
|
|
2124
|
-
|
|
2125
|
-
return (options?.client ?? this.client).
|
|
2721
|
+
refreshProviderUsage(options) {
|
|
2722
|
+
return (options?.client ?? this.client).post({
|
|
2126
2723
|
responseStyle: "data",
|
|
2127
|
-
url: "/api/
|
|
2724
|
+
url: "/api/provider-usage/refresh",
|
|
2128
2725
|
...options,
|
|
2726
|
+
headers: {
|
|
2727
|
+
"Content-Type": "application/json",
|
|
2728
|
+
...options?.headers,
|
|
2729
|
+
},
|
|
2129
2730
|
});
|
|
2130
2731
|
}
|
|
2131
2732
|
/**
|
|
@@ -3482,7 +4083,7 @@ class sessions extends HeyApiClient {
|
|
|
3482
4083
|
});
|
|
3483
4084
|
}
|
|
3484
4085
|
/**
|
|
3485
|
-
* Archive a stopped session
|
|
4086
|
+
* Archive a stopped session, or stop and archive a live session with stop=true
|
|
3486
4087
|
*/
|
|
3487
4088
|
archiveSession(options) {
|
|
3488
4089
|
return (options.client ?? this.client).post({
|
|
@@ -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
|
*/
|
|
@@ -3712,6 +4333,30 @@ class sessions extends HeyApiClient {
|
|
|
3712
4333
|
},
|
|
3713
4334
|
});
|
|
3714
4335
|
}
|
|
4336
|
+
/**
|
|
4337
|
+
* Make an adopted child session top-level again
|
|
4338
|
+
*/
|
|
4339
|
+
clearSessionParent(options) {
|
|
4340
|
+
return (options.client ?? this.client).delete({
|
|
4341
|
+
responseStyle: "data",
|
|
4342
|
+
url: "/api/workspaces/{workspace_id}/sessions/{session_id}/parent",
|
|
4343
|
+
...options,
|
|
4344
|
+
});
|
|
4345
|
+
}
|
|
4346
|
+
/**
|
|
4347
|
+
* Adopt a parentless user session as a child of another session
|
|
4348
|
+
*/
|
|
4349
|
+
setSessionParent(options) {
|
|
4350
|
+
return (options.client ?? this.client).put({
|
|
4351
|
+
responseStyle: "data",
|
|
4352
|
+
url: "/api/workspaces/{workspace_id}/sessions/{session_id}/parent",
|
|
4353
|
+
...options,
|
|
4354
|
+
headers: {
|
|
4355
|
+
"Content-Type": "application/json",
|
|
4356
|
+
...options.headers,
|
|
4357
|
+
},
|
|
4358
|
+
});
|
|
4359
|
+
}
|
|
3715
4360
|
/**
|
|
3716
4361
|
* Update operator session presence
|
|
3717
4362
|
*/
|
|
@@ -4180,220 +4825,17 @@ class support extends HeyApiClient {
|
|
|
4180
4825
|
}
|
|
4181
4826
|
}
|
|
4182
4827
|
exports.support = support;
|
|
4183
|
-
class
|
|
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
|
-
}
|
|
4828
|
+
class workspaces extends HeyApiClient {
|
|
4384
4829
|
/**
|
|
4385
|
-
*
|
|
4830
|
+
* List workspace terminals
|
|
4386
4831
|
*/
|
|
4387
|
-
|
|
4388
|
-
return (options
|
|
4832
|
+
listTerminalsAggregate(options) {
|
|
4833
|
+
return (options?.client ?? this.client).get({
|
|
4389
4834
|
responseStyle: "data",
|
|
4390
|
-
url: "/api/
|
|
4835
|
+
url: "/api/terminals",
|
|
4391
4836
|
...options,
|
|
4392
4837
|
});
|
|
4393
4838
|
}
|
|
4394
|
-
}
|
|
4395
|
-
exports.vault = vault;
|
|
4396
|
-
class workspaces extends HeyApiClient {
|
|
4397
4839
|
/**
|
|
4398
4840
|
* List registered workspaces
|
|
4399
4841
|
*/
|
|
@@ -4757,261 +5199,10 @@ class workspaces extends HeyApiClient {
|
|
|
4757
5199
|
/**
|
|
4758
5200
|
* Delete one workspace-visible layout profile
|
|
4759
5201
|
*/
|
|
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({
|
|
5202
|
+
deleteWindowManagerLayoutProfile(options) {
|
|
5203
|
+
return (options.client ?? this.client).delete({
|
|
5013
5204
|
responseStyle: "data",
|
|
5014
|
-
url: "/api/workspaces/{workspace_id}/
|
|
5205
|
+
url: "/api/workspaces/{workspace_id}/window-manager/layout-profiles/{profile_id}",
|
|
5015
5206
|
...options,
|
|
5016
5207
|
headers: {
|
|
5017
5208
|
"Content-Type": "application/json",
|
|
@@ -5020,12 +5211,12 @@ class loops extends HeyApiClient {
|
|
|
5020
5211
|
});
|
|
5021
5212
|
}
|
|
5022
5213
|
/**
|
|
5023
|
-
*
|
|
5214
|
+
* Create or replace one workspace-visible layout profile
|
|
5024
5215
|
*/
|
|
5025
|
-
|
|
5026
|
-
return (options.client ?? this.client).
|
|
5216
|
+
putWindowManagerLayoutProfile(options) {
|
|
5217
|
+
return (options.client ?? this.client).put({
|
|
5027
5218
|
responseStyle: "data",
|
|
5028
|
-
url: "/api/workspaces/{workspace_id}/
|
|
5219
|
+
url: "/api/workspaces/{workspace_id}/window-manager/layout-profiles/{profile_id}",
|
|
5029
5220
|
...options,
|
|
5030
5221
|
headers: {
|
|
5031
5222
|
"Content-Type": "application/json",
|
|
@@ -5034,12 +5225,12 @@ class loops extends HeyApiClient {
|
|
|
5034
5225
|
});
|
|
5035
5226
|
}
|
|
5036
5227
|
/**
|
|
5037
|
-
*
|
|
5228
|
+
* Validate one declarative window layout
|
|
5038
5229
|
*/
|
|
5039
|
-
|
|
5230
|
+
validateWindowManagerLayout(options) {
|
|
5040
5231
|
return (options.client ?? this.client).post({
|
|
5041
5232
|
responseStyle: "data",
|
|
5042
|
-
url: "/api/workspaces/{workspace_id}/
|
|
5233
|
+
url: "/api/workspaces/{workspace_id}/window-manager/layout/validate",
|
|
5043
5234
|
...options,
|
|
5044
5235
|
headers: {
|
|
5045
5236
|
"Content-Type": "application/json",
|
|
@@ -5048,12 +5239,12 @@ class loops extends HeyApiClient {
|
|
|
5048
5239
|
});
|
|
5049
5240
|
}
|
|
5050
5241
|
/**
|
|
5051
|
-
*
|
|
5242
|
+
* Preview one semantic window-manager command
|
|
5052
5243
|
*/
|
|
5053
|
-
|
|
5244
|
+
previewWindowManagerCommand(options) {
|
|
5054
5245
|
return (options.client ?? this.client).post({
|
|
5055
5246
|
responseStyle: "data",
|
|
5056
|
-
url: "/api/workspaces/{workspace_id}/
|
|
5247
|
+
url: "/api/workspaces/{workspace_id}/window-manager/preview",
|
|
5057
5248
|
...options,
|
|
5058
5249
|
headers: {
|
|
5059
5250
|
"Content-Type": "application/json",
|
|
@@ -5061,77 +5252,80 @@ class loops extends HeyApiClient {
|
|
|
5061
5252
|
},
|
|
5062
5253
|
});
|
|
5063
5254
|
}
|
|
5255
|
+
}
|
|
5256
|
+
exports.workspaces = workspaces;
|
|
5257
|
+
class tools extends HeyApiClient {
|
|
5064
5258
|
/**
|
|
5065
|
-
*
|
|
5259
|
+
* List remembered native-tool approval decisions for one workspace
|
|
5066
5260
|
*/
|
|
5067
|
-
|
|
5261
|
+
listToolApprovalGrants(options) {
|
|
5068
5262
|
return (options.client ?? this.client).get({
|
|
5069
5263
|
responseStyle: "data",
|
|
5070
|
-
url: "/api/
|
|
5264
|
+
url: "/api/tool-approval-grants",
|
|
5071
5265
|
...options,
|
|
5072
5266
|
});
|
|
5073
5267
|
}
|
|
5074
5268
|
/**
|
|
5075
|
-
*
|
|
5269
|
+
* Set an explicit agent-wide or tool-wide native-tool approval decision
|
|
5076
5270
|
*/
|
|
5077
|
-
|
|
5078
|
-
return (options.client ?? this.client).
|
|
5271
|
+
setToolApprovalGrant(options) {
|
|
5272
|
+
return (options.client ?? this.client).put({
|
|
5079
5273
|
responseStyle: "data",
|
|
5080
|
-
url: "/api/
|
|
5274
|
+
url: "/api/tool-approval-grants",
|
|
5081
5275
|
...options,
|
|
5276
|
+
headers: {
|
|
5277
|
+
"Content-Type": "application/json",
|
|
5278
|
+
...options.headers,
|
|
5279
|
+
},
|
|
5082
5280
|
});
|
|
5083
5281
|
}
|
|
5084
5282
|
/**
|
|
5085
|
-
*
|
|
5283
|
+
* Revoke one remembered native-tool approval decision in one workspace
|
|
5086
5284
|
*/
|
|
5087
|
-
|
|
5088
|
-
return (options.client ?? this.client).
|
|
5285
|
+
revokeToolApprovalGrant(options) {
|
|
5286
|
+
return (options.client ?? this.client).delete({
|
|
5089
5287
|
responseStyle: "data",
|
|
5090
|
-
url: "/api/
|
|
5288
|
+
url: "/api/tool-approval-grants/{id}",
|
|
5091
5289
|
...options,
|
|
5092
5290
|
});
|
|
5093
5291
|
}
|
|
5094
5292
|
/**
|
|
5095
|
-
*
|
|
5293
|
+
* List operator-visible registry tools
|
|
5096
5294
|
*/
|
|
5097
|
-
|
|
5098
|
-
return (options
|
|
5295
|
+
listTools(options) {
|
|
5296
|
+
return (options?.client ?? this.client).get({
|
|
5099
5297
|
responseStyle: "data",
|
|
5100
|
-
url: "/api/
|
|
5298
|
+
url: "/api/tools",
|
|
5101
5299
|
...options,
|
|
5102
|
-
headers: {
|
|
5103
|
-
"Content-Type": "application/json",
|
|
5104
|
-
...options.headers,
|
|
5105
|
-
},
|
|
5106
5300
|
});
|
|
5107
5301
|
}
|
|
5108
5302
|
/**
|
|
5109
|
-
*
|
|
5303
|
+
* Get one pending tool approval lifecycle
|
|
5110
5304
|
*/
|
|
5111
|
-
|
|
5112
|
-
return (options.client ?? this.client).
|
|
5305
|
+
getPendingToolApproval(options) {
|
|
5306
|
+
return (options.client ?? this.client).get({
|
|
5113
5307
|
responseStyle: "data",
|
|
5114
|
-
url: "/api/
|
|
5308
|
+
url: "/api/tools/approvals/{id}",
|
|
5115
5309
|
...options,
|
|
5116
5310
|
});
|
|
5117
5311
|
}
|
|
5118
5312
|
/**
|
|
5119
|
-
*
|
|
5313
|
+
* Cancel one pending tool approval
|
|
5120
5314
|
*/
|
|
5121
|
-
|
|
5122
|
-
return (options.client ?? this.client).
|
|
5315
|
+
cancelPendingToolApproval(options) {
|
|
5316
|
+
return (options.client ?? this.client).post({
|
|
5123
5317
|
responseStyle: "data",
|
|
5124
|
-
url: "/api/
|
|
5318
|
+
url: "/api/tools/approvals/{id}/cancel",
|
|
5125
5319
|
...options,
|
|
5126
5320
|
});
|
|
5127
5321
|
}
|
|
5128
5322
|
/**
|
|
5129
|
-
*
|
|
5323
|
+
* Approve or deny one pending tool approval
|
|
5130
5324
|
*/
|
|
5131
|
-
|
|
5132
|
-
return (options.client ?? this.client).
|
|
5325
|
+
resolvePendingToolApproval(options) {
|
|
5326
|
+
return (options.client ?? this.client).post({
|
|
5133
5327
|
responseStyle: "data",
|
|
5134
|
-
url: "/api/
|
|
5328
|
+
url: "/api/tools/approvals/{id}/resolve",
|
|
5135
5329
|
...options,
|
|
5136
5330
|
headers: {
|
|
5137
5331
|
"Content-Type": "application/json",
|
|
@@ -5140,22 +5334,12 @@ class loops extends HeyApiClient {
|
|
|
5140
5334
|
});
|
|
5141
5335
|
}
|
|
5142
5336
|
/**
|
|
5143
|
-
*
|
|
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
|
|
5337
|
+
* Search operator-visible registry tools
|
|
5154
5338
|
*/
|
|
5155
|
-
|
|
5156
|
-
return (options.client ?? this.client).
|
|
5339
|
+
searchTools(options) {
|
|
5340
|
+
return (options.client ?? this.client).post({
|
|
5157
5341
|
responseStyle: "data",
|
|
5158
|
-
url: "/api/
|
|
5342
|
+
url: "/api/tools/search",
|
|
5159
5343
|
...options,
|
|
5160
5344
|
headers: {
|
|
5161
5345
|
"Content-Type": "application/json",
|
|
@@ -5164,22 +5348,22 @@ class loops extends HeyApiClient {
|
|
|
5164
5348
|
});
|
|
5165
5349
|
}
|
|
5166
5350
|
/**
|
|
5167
|
-
* Get
|
|
5351
|
+
* Get one operator-visible registry tool
|
|
5168
5352
|
*/
|
|
5169
|
-
|
|
5353
|
+
getTool(options) {
|
|
5170
5354
|
return (options.client ?? this.client).get({
|
|
5171
5355
|
responseStyle: "data",
|
|
5172
|
-
url: "/api/
|
|
5356
|
+
url: "/api/tools/{id}",
|
|
5173
5357
|
...options,
|
|
5174
5358
|
});
|
|
5175
5359
|
}
|
|
5176
5360
|
/**
|
|
5177
|
-
*
|
|
5361
|
+
* Mint a local single-use approval token for one tool invocation
|
|
5178
5362
|
*/
|
|
5179
|
-
|
|
5180
|
-
return (options.client ?? this.client).
|
|
5363
|
+
createToolApproval(options) {
|
|
5364
|
+
return (options.client ?? this.client).post({
|
|
5181
5365
|
responseStyle: "data",
|
|
5182
|
-
url: "/api/
|
|
5366
|
+
url: "/api/tools/{id}/approvals",
|
|
5183
5367
|
...options,
|
|
5184
5368
|
headers: {
|
|
5185
5369
|
"Content-Type": "application/json",
|
|
@@ -5188,84 +5372,82 @@ class loops extends HeyApiClient {
|
|
|
5188
5372
|
});
|
|
5189
5373
|
}
|
|
5190
5374
|
/**
|
|
5191
|
-
*
|
|
5375
|
+
* Invoke a registry tool through executable dispatch
|
|
5192
5376
|
*/
|
|
5193
|
-
|
|
5194
|
-
return (options.client ?? this.client).
|
|
5377
|
+
invokeTool(options) {
|
|
5378
|
+
return (options.client ?? this.client).post({
|
|
5195
5379
|
responseStyle: "data",
|
|
5196
|
-
url: "/api/
|
|
5380
|
+
url: "/api/tools/{id}/invoke",
|
|
5197
5381
|
...options,
|
|
5382
|
+
headers: {
|
|
5383
|
+
"Content-Type": "application/json",
|
|
5384
|
+
...options.headers,
|
|
5385
|
+
},
|
|
5198
5386
|
});
|
|
5199
5387
|
}
|
|
5200
5388
|
/**
|
|
5201
|
-
*
|
|
5389
|
+
* Read one retained oversized tool-result page
|
|
5202
5390
|
*/
|
|
5203
|
-
|
|
5204
|
-
return (options.client ?? this.client).
|
|
5391
|
+
readToolArtifact(options) {
|
|
5392
|
+
return (options.client ?? this.client).get({
|
|
5205
5393
|
responseStyle: "data",
|
|
5206
|
-
url: "/api/workspaces/{workspace_id}/
|
|
5394
|
+
url: "/api/workspaces/{workspace_id}/tool-artifacts/{artifact_id}",
|
|
5207
5395
|
...options,
|
|
5208
|
-
headers: {
|
|
5209
|
-
"Content-Type": "application/json",
|
|
5210
|
-
...options.headers,
|
|
5211
|
-
},
|
|
5212
5396
|
});
|
|
5213
5397
|
}
|
|
5398
|
+
}
|
|
5399
|
+
exports.tools = tools;
|
|
5400
|
+
class toolsets extends HeyApiClient {
|
|
5214
5401
|
/**
|
|
5215
|
-
*
|
|
5402
|
+
* List named toolsets and expansion status
|
|
5216
5403
|
*/
|
|
5217
|
-
|
|
5218
|
-
return (options
|
|
5404
|
+
listToolsets(options) {
|
|
5405
|
+
return (options?.client ?? this.client).get({
|
|
5219
5406
|
responseStyle: "data",
|
|
5220
|
-
url: "/api/
|
|
5407
|
+
url: "/api/toolsets",
|
|
5221
5408
|
...options,
|
|
5222
5409
|
});
|
|
5223
5410
|
}
|
|
5224
5411
|
/**
|
|
5225
|
-
*
|
|
5412
|
+
* Inspect one named toolset expansion
|
|
5226
5413
|
*/
|
|
5227
|
-
|
|
5414
|
+
getToolset(options) {
|
|
5228
5415
|
return (options.client ?? this.client).get({
|
|
5229
5416
|
responseStyle: "data",
|
|
5230
|
-
url: "/api/
|
|
5417
|
+
url: "/api/toolsets/{id}",
|
|
5231
5418
|
...options,
|
|
5232
5419
|
});
|
|
5233
5420
|
}
|
|
5421
|
+
}
|
|
5422
|
+
exports.toolsets = toolsets;
|
|
5423
|
+
class vault extends HeyApiClient {
|
|
5234
5424
|
/**
|
|
5235
|
-
*
|
|
5425
|
+
* Delete one vault secret
|
|
5236
5426
|
*/
|
|
5237
|
-
|
|
5238
|
-
return (options.client ?? this.client).
|
|
5427
|
+
deleteVaultSecret(options) {
|
|
5428
|
+
return (options.client ?? this.client).delete({
|
|
5239
5429
|
responseStyle: "data",
|
|
5240
|
-
url: "/api/
|
|
5430
|
+
url: "/api/vault/secrets",
|
|
5241
5431
|
...options,
|
|
5242
|
-
headers: {
|
|
5243
|
-
"Content-Type": "application/json",
|
|
5244
|
-
...options.headers,
|
|
5245
|
-
},
|
|
5246
5432
|
});
|
|
5247
5433
|
}
|
|
5248
5434
|
/**
|
|
5249
|
-
*
|
|
5435
|
+
* List redacted vault secret metadata
|
|
5250
5436
|
*/
|
|
5251
|
-
|
|
5252
|
-
return (options
|
|
5437
|
+
listVaultSecrets(options) {
|
|
5438
|
+
return (options?.client ?? this.client).get({
|
|
5253
5439
|
responseStyle: "data",
|
|
5254
|
-
url: "/api/
|
|
5440
|
+
url: "/api/vault/secrets",
|
|
5255
5441
|
...options,
|
|
5256
|
-
headers: {
|
|
5257
|
-
"Content-Type": "application/json",
|
|
5258
|
-
...options.headers,
|
|
5259
|
-
},
|
|
5260
5442
|
});
|
|
5261
5443
|
}
|
|
5262
5444
|
/**
|
|
5263
|
-
*
|
|
5445
|
+
* Create or update one write-only vault secret
|
|
5264
5446
|
*/
|
|
5265
|
-
|
|
5266
|
-
return (options.client ?? this.client).
|
|
5447
|
+
putVaultSecret(options) {
|
|
5448
|
+
return (options.client ?? this.client).put({
|
|
5267
5449
|
responseStyle: "data",
|
|
5268
|
-
url: "/api/
|
|
5450
|
+
url: "/api/vault/secrets",
|
|
5269
5451
|
...options,
|
|
5270
5452
|
headers: {
|
|
5271
5453
|
"Content-Type": "application/json",
|
|
@@ -5274,31 +5456,17 @@ class loops extends HeyApiClient {
|
|
|
5274
5456
|
});
|
|
5275
5457
|
}
|
|
5276
5458
|
/**
|
|
5277
|
-
*
|
|
5459
|
+
* Read redacted vault secret metadata
|
|
5278
5460
|
*/
|
|
5279
|
-
|
|
5461
|
+
getVaultSecretMetadata(options) {
|
|
5280
5462
|
return (options.client ?? this.client).get({
|
|
5281
5463
|
responseStyle: "data",
|
|
5282
|
-
url: "/api/
|
|
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",
|
|
5464
|
+
url: "/api/vault/secrets/metadata",
|
|
5293
5465
|
...options,
|
|
5294
|
-
headers: {
|
|
5295
|
-
"Content-Type": "application/json",
|
|
5296
|
-
...options.headers,
|
|
5297
|
-
},
|
|
5298
5466
|
});
|
|
5299
5467
|
}
|
|
5300
5468
|
}
|
|
5301
|
-
exports.
|
|
5469
|
+
exports.vault = vault;
|
|
5302
5470
|
class worktrees extends HeyApiClient {
|
|
5303
5471
|
/**
|
|
5304
5472
|
* List registered and discovered worktrees
|
|
@@ -5338,6 +5506,20 @@ class worktrees extends HeyApiClient {
|
|
|
5338
5506
|
},
|
|
5339
5507
|
});
|
|
5340
5508
|
}
|
|
5509
|
+
/**
|
|
5510
|
+
* Remove a discovered worktree
|
|
5511
|
+
*/
|
|
5512
|
+
removeDiscoveredWorktree(options) {
|
|
5513
|
+
return (options.client ?? this.client).post({
|
|
5514
|
+
responseStyle: "data",
|
|
5515
|
+
url: "/api/workspaces/{workspace_id}/worktrees/discovered/remove",
|
|
5516
|
+
...options,
|
|
5517
|
+
headers: {
|
|
5518
|
+
"Content-Type": "application/json",
|
|
5519
|
+
...options.headers,
|
|
5520
|
+
},
|
|
5521
|
+
});
|
|
5522
|
+
}
|
|
5341
5523
|
/**
|
|
5342
5524
|
* Remove a worktree
|
|
5343
5525
|
*/
|
|
@@ -5426,6 +5608,16 @@ class worktrees extends HeyApiClient {
|
|
|
5426
5608
|
...options,
|
|
5427
5609
|
});
|
|
5428
5610
|
}
|
|
5611
|
+
/**
|
|
5612
|
+
* List registered and discovered worktrees
|
|
5613
|
+
*/
|
|
5614
|
+
listWorktreesAggregate(options) {
|
|
5615
|
+
return (options?.client ?? this.client).get({
|
|
5616
|
+
responseStyle: "data",
|
|
5617
|
+
url: "/api/worktrees",
|
|
5618
|
+
...options,
|
|
5619
|
+
});
|
|
5620
|
+
}
|
|
5429
5621
|
}
|
|
5430
5622
|
exports.worktrees = worktrees;
|
|
5431
5623
|
class Compozy extends HeyApiClient {
|
|
@@ -5478,6 +5670,10 @@ class Compozy extends HeyApiClient {
|
|
|
5478
5670
|
get logs() {
|
|
5479
5671
|
return (this._logs ??= new logs({ client: this.client }));
|
|
5480
5672
|
}
|
|
5673
|
+
_loops;
|
|
5674
|
+
get loops() {
|
|
5675
|
+
return (this._loops ??= new loops({ client: this.client }));
|
|
5676
|
+
}
|
|
5481
5677
|
_marketplace;
|
|
5482
5678
|
get marketplace() {
|
|
5483
5679
|
return (this._marketplace ??= new marketplace({ client: this.client }));
|
|
@@ -5534,6 +5730,10 @@ class Compozy extends HeyApiClient {
|
|
|
5534
5730
|
get support() {
|
|
5535
5731
|
return (this._support ??= new support({ client: this.client }));
|
|
5536
5732
|
}
|
|
5733
|
+
_workspaces;
|
|
5734
|
+
get workspaces() {
|
|
5735
|
+
return (this._workspaces ??= new workspaces({ client: this.client }));
|
|
5736
|
+
}
|
|
5537
5737
|
_tools;
|
|
5538
5738
|
get tools() {
|
|
5539
5739
|
return (this._tools ??= new tools({ client: this.client }));
|
|
@@ -5546,14 +5746,6 @@ class Compozy extends HeyApiClient {
|
|
|
5546
5746
|
get vault() {
|
|
5547
5747
|
return (this._vault ??= new vault({ client: this.client }));
|
|
5548
5748
|
}
|
|
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
5749
|
_worktrees;
|
|
5558
5750
|
get worktrees() {
|
|
5559
5751
|
return (this._worktrees ??= new worktrees({ client: this.client }));
|