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