@superatomai/sdk-node 0.0.92-dsp → 0.0.94-dsp
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/README.md +942 -942
- package/dist/index.d.mts +212 -800
- package/dist/index.d.ts +212 -800
- package/dist/index.js +411 -10
- package/dist/index.mjs +407 -8
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1366,44 +1366,20 @@ declare const DSLRendererPropsSchema$1: z.ZodObject<{
|
|
|
1366
1366
|
methods: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1367
1367
|
fn: z.ZodString;
|
|
1368
1368
|
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1369
|
-
},
|
|
1370
|
-
fn: string;
|
|
1371
|
-
params?: Record<string, any> | undefined;
|
|
1372
|
-
}, {
|
|
1373
|
-
fn: string;
|
|
1374
|
-
params?: Record<string, any> | undefined;
|
|
1375
|
-
}>>>;
|
|
1369
|
+
}, z.core.$strip>>>;
|
|
1376
1370
|
effects: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1377
1371
|
fn: z.ZodString;
|
|
1378
|
-
deps: z.ZodOptional<z.ZodArray<z.ZodString
|
|
1379
|
-
},
|
|
1380
|
-
fn: string;
|
|
1381
|
-
deps?: string[] | undefined;
|
|
1382
|
-
}, {
|
|
1383
|
-
fn: string;
|
|
1384
|
-
deps?: string[] | undefined;
|
|
1385
|
-
}>, "many">>;
|
|
1372
|
+
deps: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1373
|
+
}, z.core.$strip>>>;
|
|
1386
1374
|
data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1387
|
-
render: z.ZodOptional<z.ZodType<any, z.
|
|
1375
|
+
render: z.ZodOptional<z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>>;
|
|
1388
1376
|
pages: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1389
1377
|
id: z.ZodString;
|
|
1390
1378
|
name: z.ZodString;
|
|
1391
1379
|
order: z.ZodNumber;
|
|
1392
1380
|
icon: z.ZodOptional<z.ZodString>;
|
|
1393
|
-
render: z.ZodType<any, z.
|
|
1394
|
-
},
|
|
1395
|
-
id: string;
|
|
1396
|
-
name: string;
|
|
1397
|
-
order: number;
|
|
1398
|
-
icon?: string | undefined;
|
|
1399
|
-
render?: any;
|
|
1400
|
-
}, {
|
|
1401
|
-
id: string;
|
|
1402
|
-
name: string;
|
|
1403
|
-
order: number;
|
|
1404
|
-
icon?: string | undefined;
|
|
1405
|
-
render?: any;
|
|
1406
|
-
}>, "many">>;
|
|
1381
|
+
render: z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>;
|
|
1382
|
+
}, z.core.$strip>>>;
|
|
1407
1383
|
defaultPageId: z.ZodOptional<z.ZodString>;
|
|
1408
1384
|
query: z.ZodOptional<z.ZodObject<{
|
|
1409
1385
|
graphql: z.ZodOptional<z.ZodString>;
|
|
@@ -1411,165 +1387,17 @@ declare const DSLRendererPropsSchema$1: z.ZodObject<{
|
|
|
1411
1387
|
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1412
1388
|
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1413
1389
|
key: z.ZodOptional<z.ZodString>;
|
|
1414
|
-
refetchPolicy: z.ZodOptional<z.ZodEnum<
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
refetchPolicy?: "cache-first" | "network-only" | "cache-and-network" | undefined;
|
|
1423
|
-
dependencies?: string[] | undefined;
|
|
1424
|
-
}, {
|
|
1425
|
-
params?: Record<string, any> | undefined;
|
|
1426
|
-
key?: string | undefined;
|
|
1427
|
-
graphql?: string | undefined;
|
|
1428
|
-
sql?: string | undefined;
|
|
1429
|
-
variables?: Record<string, any> | undefined;
|
|
1430
|
-
refetchPolicy?: "cache-first" | "network-only" | "cache-and-network" | undefined;
|
|
1431
|
-
dependencies?: string[] | undefined;
|
|
1432
|
-
}>>;
|
|
1433
|
-
}, "strip", z.ZodTypeAny, {
|
|
1434
|
-
id: string;
|
|
1435
|
-
name?: string | undefined;
|
|
1436
|
-
query?: {
|
|
1437
|
-
params?: Record<string, any> | undefined;
|
|
1438
|
-
key?: string | undefined;
|
|
1439
|
-
graphql?: string | undefined;
|
|
1440
|
-
sql?: string | undefined;
|
|
1441
|
-
variables?: Record<string, any> | undefined;
|
|
1442
|
-
refetchPolicy?: "cache-first" | "network-only" | "cache-and-network" | undefined;
|
|
1443
|
-
dependencies?: string[] | undefined;
|
|
1444
|
-
} | undefined;
|
|
1445
|
-
props?: Record<string, any> | undefined;
|
|
1446
|
-
data?: Record<string, any> | undefined;
|
|
1447
|
-
render?: any;
|
|
1448
|
-
states?: Record<string, any> | undefined;
|
|
1449
|
-
methods?: Record<string, {
|
|
1450
|
-
fn: string;
|
|
1451
|
-
params?: Record<string, any> | undefined;
|
|
1452
|
-
}> | undefined;
|
|
1453
|
-
effects?: {
|
|
1454
|
-
fn: string;
|
|
1455
|
-
deps?: string[] | undefined;
|
|
1456
|
-
}[] | undefined;
|
|
1457
|
-
pages?: {
|
|
1458
|
-
id: string;
|
|
1459
|
-
name: string;
|
|
1460
|
-
order: number;
|
|
1461
|
-
icon?: string | undefined;
|
|
1462
|
-
render?: any;
|
|
1463
|
-
}[] | undefined;
|
|
1464
|
-
defaultPageId?: string | undefined;
|
|
1465
|
-
}, {
|
|
1466
|
-
id: string;
|
|
1467
|
-
name?: string | undefined;
|
|
1468
|
-
query?: {
|
|
1469
|
-
params?: Record<string, any> | undefined;
|
|
1470
|
-
key?: string | undefined;
|
|
1471
|
-
graphql?: string | undefined;
|
|
1472
|
-
sql?: string | undefined;
|
|
1473
|
-
variables?: Record<string, any> | undefined;
|
|
1474
|
-
refetchPolicy?: "cache-first" | "network-only" | "cache-and-network" | undefined;
|
|
1475
|
-
dependencies?: string[] | undefined;
|
|
1476
|
-
} | undefined;
|
|
1477
|
-
props?: Record<string, any> | undefined;
|
|
1478
|
-
data?: Record<string, any> | undefined;
|
|
1479
|
-
render?: any;
|
|
1480
|
-
states?: Record<string, any> | undefined;
|
|
1481
|
-
methods?: Record<string, {
|
|
1482
|
-
fn: string;
|
|
1483
|
-
params?: Record<string, any> | undefined;
|
|
1484
|
-
}> | undefined;
|
|
1485
|
-
effects?: {
|
|
1486
|
-
fn: string;
|
|
1487
|
-
deps?: string[] | undefined;
|
|
1488
|
-
}[] | undefined;
|
|
1489
|
-
pages?: {
|
|
1490
|
-
id: string;
|
|
1491
|
-
name: string;
|
|
1492
|
-
order: number;
|
|
1493
|
-
icon?: string | undefined;
|
|
1494
|
-
render?: any;
|
|
1495
|
-
}[] | undefined;
|
|
1496
|
-
defaultPageId?: string | undefined;
|
|
1497
|
-
}>;
|
|
1390
|
+
refetchPolicy: z.ZodOptional<z.ZodEnum<{
|
|
1391
|
+
"cache-first": "cache-first";
|
|
1392
|
+
"network-only": "network-only";
|
|
1393
|
+
"cache-and-network": "cache-and-network";
|
|
1394
|
+
}>>;
|
|
1395
|
+
dependencies: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1396
|
+
}, z.core.$strip>>;
|
|
1397
|
+
}, z.core.$strip>;
|
|
1498
1398
|
data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1499
1399
|
context: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1500
|
-
},
|
|
1501
|
-
dsl: {
|
|
1502
|
-
id: string;
|
|
1503
|
-
name?: string | undefined;
|
|
1504
|
-
query?: {
|
|
1505
|
-
params?: Record<string, any> | undefined;
|
|
1506
|
-
key?: string | undefined;
|
|
1507
|
-
graphql?: string | undefined;
|
|
1508
|
-
sql?: string | undefined;
|
|
1509
|
-
variables?: Record<string, any> | undefined;
|
|
1510
|
-
refetchPolicy?: "cache-first" | "network-only" | "cache-and-network" | undefined;
|
|
1511
|
-
dependencies?: string[] | undefined;
|
|
1512
|
-
} | undefined;
|
|
1513
|
-
props?: Record<string, any> | undefined;
|
|
1514
|
-
data?: Record<string, any> | undefined;
|
|
1515
|
-
render?: any;
|
|
1516
|
-
states?: Record<string, any> | undefined;
|
|
1517
|
-
methods?: Record<string, {
|
|
1518
|
-
fn: string;
|
|
1519
|
-
params?: Record<string, any> | undefined;
|
|
1520
|
-
}> | undefined;
|
|
1521
|
-
effects?: {
|
|
1522
|
-
fn: string;
|
|
1523
|
-
deps?: string[] | undefined;
|
|
1524
|
-
}[] | undefined;
|
|
1525
|
-
pages?: {
|
|
1526
|
-
id: string;
|
|
1527
|
-
name: string;
|
|
1528
|
-
order: number;
|
|
1529
|
-
icon?: string | undefined;
|
|
1530
|
-
render?: any;
|
|
1531
|
-
}[] | undefined;
|
|
1532
|
-
defaultPageId?: string | undefined;
|
|
1533
|
-
};
|
|
1534
|
-
data?: Record<string, any> | undefined;
|
|
1535
|
-
context?: Record<string, any> | undefined;
|
|
1536
|
-
}, {
|
|
1537
|
-
dsl: {
|
|
1538
|
-
id: string;
|
|
1539
|
-
name?: string | undefined;
|
|
1540
|
-
query?: {
|
|
1541
|
-
params?: Record<string, any> | undefined;
|
|
1542
|
-
key?: string | undefined;
|
|
1543
|
-
graphql?: string | undefined;
|
|
1544
|
-
sql?: string | undefined;
|
|
1545
|
-
variables?: Record<string, any> | undefined;
|
|
1546
|
-
refetchPolicy?: "cache-first" | "network-only" | "cache-and-network" | undefined;
|
|
1547
|
-
dependencies?: string[] | undefined;
|
|
1548
|
-
} | undefined;
|
|
1549
|
-
props?: Record<string, any> | undefined;
|
|
1550
|
-
data?: Record<string, any> | undefined;
|
|
1551
|
-
render?: any;
|
|
1552
|
-
states?: Record<string, any> | undefined;
|
|
1553
|
-
methods?: Record<string, {
|
|
1554
|
-
fn: string;
|
|
1555
|
-
params?: Record<string, any> | undefined;
|
|
1556
|
-
}> | undefined;
|
|
1557
|
-
effects?: {
|
|
1558
|
-
fn: string;
|
|
1559
|
-
deps?: string[] | undefined;
|
|
1560
|
-
}[] | undefined;
|
|
1561
|
-
pages?: {
|
|
1562
|
-
id: string;
|
|
1563
|
-
name: string;
|
|
1564
|
-
order: number;
|
|
1565
|
-
icon?: string | undefined;
|
|
1566
|
-
render?: any;
|
|
1567
|
-
}[] | undefined;
|
|
1568
|
-
defaultPageId?: string | undefined;
|
|
1569
|
-
};
|
|
1570
|
-
data?: Record<string, any> | undefined;
|
|
1571
|
-
context?: Record<string, any> | undefined;
|
|
1572
|
-
}>;
|
|
1400
|
+
}, z.core.$strip>;
|
|
1573
1401
|
type DSLRendererProps$1 = z.infer<typeof DSLRendererPropsSchema$1>;
|
|
1574
1402
|
|
|
1575
1403
|
declare const DSLRendererPropsSchema: z.ZodObject<{
|
|
@@ -1581,158 +1409,30 @@ declare const DSLRendererPropsSchema: z.ZodObject<{
|
|
|
1581
1409
|
methods: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1582
1410
|
fn: z.ZodString;
|
|
1583
1411
|
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1584
|
-
},
|
|
1585
|
-
fn: string;
|
|
1586
|
-
params?: Record<string, any> | undefined;
|
|
1587
|
-
}, {
|
|
1588
|
-
fn: string;
|
|
1589
|
-
params?: Record<string, any> | undefined;
|
|
1590
|
-
}>>>;
|
|
1412
|
+
}, z.core.$strip>>>;
|
|
1591
1413
|
effects: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1592
1414
|
fn: z.ZodString;
|
|
1593
|
-
deps: z.ZodOptional<z.ZodArray<z.ZodString
|
|
1594
|
-
},
|
|
1595
|
-
fn: string;
|
|
1596
|
-
deps?: string[] | undefined;
|
|
1597
|
-
}, {
|
|
1598
|
-
fn: string;
|
|
1599
|
-
deps?: string[] | undefined;
|
|
1600
|
-
}>, "many">>;
|
|
1415
|
+
deps: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1416
|
+
}, z.core.$strip>>>;
|
|
1601
1417
|
data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1602
|
-
render: z.ZodType<any, z.
|
|
1418
|
+
render: z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>;
|
|
1603
1419
|
query: z.ZodOptional<z.ZodObject<{
|
|
1604
1420
|
graphql: z.ZodOptional<z.ZodString>;
|
|
1605
1421
|
sql: z.ZodOptional<z.ZodString>;
|
|
1606
1422
|
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1607
1423
|
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1608
1424
|
key: z.ZodOptional<z.ZodString>;
|
|
1609
|
-
refetchPolicy: z.ZodOptional<z.ZodEnum<
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
refetchPolicy?: "cache-first" | "network-only" | "cache-and-network" | undefined;
|
|
1618
|
-
dependencies?: string[] | undefined;
|
|
1619
|
-
}, {
|
|
1620
|
-
params?: Record<string, any> | undefined;
|
|
1621
|
-
key?: string | undefined;
|
|
1622
|
-
graphql?: string | undefined;
|
|
1623
|
-
sql?: string | undefined;
|
|
1624
|
-
variables?: Record<string, any> | undefined;
|
|
1625
|
-
refetchPolicy?: "cache-first" | "network-only" | "cache-and-network" | undefined;
|
|
1626
|
-
dependencies?: string[] | undefined;
|
|
1627
|
-
}>>;
|
|
1628
|
-
}, "strip", z.ZodTypeAny, {
|
|
1629
|
-
id: string;
|
|
1630
|
-
name?: string | undefined;
|
|
1631
|
-
query?: {
|
|
1632
|
-
params?: Record<string, any> | undefined;
|
|
1633
|
-
key?: string | undefined;
|
|
1634
|
-
graphql?: string | undefined;
|
|
1635
|
-
sql?: string | undefined;
|
|
1636
|
-
variables?: Record<string, any> | undefined;
|
|
1637
|
-
refetchPolicy?: "cache-first" | "network-only" | "cache-and-network" | undefined;
|
|
1638
|
-
dependencies?: string[] | undefined;
|
|
1639
|
-
} | undefined;
|
|
1640
|
-
props?: Record<string, any> | undefined;
|
|
1641
|
-
data?: Record<string, any> | undefined;
|
|
1642
|
-
render?: any;
|
|
1643
|
-
states?: Record<string, any> | undefined;
|
|
1644
|
-
methods?: Record<string, {
|
|
1645
|
-
fn: string;
|
|
1646
|
-
params?: Record<string, any> | undefined;
|
|
1647
|
-
}> | undefined;
|
|
1648
|
-
effects?: {
|
|
1649
|
-
fn: string;
|
|
1650
|
-
deps?: string[] | undefined;
|
|
1651
|
-
}[] | undefined;
|
|
1652
|
-
}, {
|
|
1653
|
-
id: string;
|
|
1654
|
-
name?: string | undefined;
|
|
1655
|
-
query?: {
|
|
1656
|
-
params?: Record<string, any> | undefined;
|
|
1657
|
-
key?: string | undefined;
|
|
1658
|
-
graphql?: string | undefined;
|
|
1659
|
-
sql?: string | undefined;
|
|
1660
|
-
variables?: Record<string, any> | undefined;
|
|
1661
|
-
refetchPolicy?: "cache-first" | "network-only" | "cache-and-network" | undefined;
|
|
1662
|
-
dependencies?: string[] | undefined;
|
|
1663
|
-
} | undefined;
|
|
1664
|
-
props?: Record<string, any> | undefined;
|
|
1665
|
-
data?: Record<string, any> | undefined;
|
|
1666
|
-
render?: any;
|
|
1667
|
-
states?: Record<string, any> | undefined;
|
|
1668
|
-
methods?: Record<string, {
|
|
1669
|
-
fn: string;
|
|
1670
|
-
params?: Record<string, any> | undefined;
|
|
1671
|
-
}> | undefined;
|
|
1672
|
-
effects?: {
|
|
1673
|
-
fn: string;
|
|
1674
|
-
deps?: string[] | undefined;
|
|
1675
|
-
}[] | undefined;
|
|
1676
|
-
}>;
|
|
1425
|
+
refetchPolicy: z.ZodOptional<z.ZodEnum<{
|
|
1426
|
+
"cache-first": "cache-first";
|
|
1427
|
+
"network-only": "network-only";
|
|
1428
|
+
"cache-and-network": "cache-and-network";
|
|
1429
|
+
}>>;
|
|
1430
|
+
dependencies: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1431
|
+
}, z.core.$strip>>;
|
|
1432
|
+
}, z.core.$strip>;
|
|
1677
1433
|
data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1678
1434
|
context: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1679
|
-
},
|
|
1680
|
-
dsl: {
|
|
1681
|
-
id: string;
|
|
1682
|
-
name?: string | undefined;
|
|
1683
|
-
query?: {
|
|
1684
|
-
params?: Record<string, any> | undefined;
|
|
1685
|
-
key?: string | undefined;
|
|
1686
|
-
graphql?: string | undefined;
|
|
1687
|
-
sql?: string | undefined;
|
|
1688
|
-
variables?: Record<string, any> | undefined;
|
|
1689
|
-
refetchPolicy?: "cache-first" | "network-only" | "cache-and-network" | undefined;
|
|
1690
|
-
dependencies?: string[] | undefined;
|
|
1691
|
-
} | undefined;
|
|
1692
|
-
props?: Record<string, any> | undefined;
|
|
1693
|
-
data?: Record<string, any> | undefined;
|
|
1694
|
-
render?: any;
|
|
1695
|
-
states?: Record<string, any> | undefined;
|
|
1696
|
-
methods?: Record<string, {
|
|
1697
|
-
fn: string;
|
|
1698
|
-
params?: Record<string, any> | undefined;
|
|
1699
|
-
}> | undefined;
|
|
1700
|
-
effects?: {
|
|
1701
|
-
fn: string;
|
|
1702
|
-
deps?: string[] | undefined;
|
|
1703
|
-
}[] | undefined;
|
|
1704
|
-
};
|
|
1705
|
-
data?: Record<string, any> | undefined;
|
|
1706
|
-
context?: Record<string, any> | undefined;
|
|
1707
|
-
}, {
|
|
1708
|
-
dsl: {
|
|
1709
|
-
id: string;
|
|
1710
|
-
name?: string | undefined;
|
|
1711
|
-
query?: {
|
|
1712
|
-
params?: Record<string, any> | undefined;
|
|
1713
|
-
key?: string | undefined;
|
|
1714
|
-
graphql?: string | undefined;
|
|
1715
|
-
sql?: string | undefined;
|
|
1716
|
-
variables?: Record<string, any> | undefined;
|
|
1717
|
-
refetchPolicy?: "cache-first" | "network-only" | "cache-and-network" | undefined;
|
|
1718
|
-
dependencies?: string[] | undefined;
|
|
1719
|
-
} | undefined;
|
|
1720
|
-
props?: Record<string, any> | undefined;
|
|
1721
|
-
data?: Record<string, any> | undefined;
|
|
1722
|
-
render?: any;
|
|
1723
|
-
states?: Record<string, any> | undefined;
|
|
1724
|
-
methods?: Record<string, {
|
|
1725
|
-
fn: string;
|
|
1726
|
-
params?: Record<string, any> | undefined;
|
|
1727
|
-
}> | undefined;
|
|
1728
|
-
effects?: {
|
|
1729
|
-
fn: string;
|
|
1730
|
-
deps?: string[] | undefined;
|
|
1731
|
-
}[] | undefined;
|
|
1732
|
-
};
|
|
1733
|
-
data?: Record<string, any> | undefined;
|
|
1734
|
-
context?: Record<string, any> | undefined;
|
|
1735
|
-
}>;
|
|
1435
|
+
}, z.core.$strip>;
|
|
1736
1436
|
type DSLRendererProps = z.infer<typeof DSLRendererPropsSchema>;
|
|
1737
1437
|
|
|
1738
1438
|
declare const UserSchema: z.ZodObject<{
|
|
@@ -1742,24 +1442,8 @@ declare const UserSchema: z.ZodObject<{
|
|
|
1742
1442
|
fullname: z.ZodOptional<z.ZodString>;
|
|
1743
1443
|
role: z.ZodOptional<z.ZodString>;
|
|
1744
1444
|
userInfo: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1745
|
-
wsIds: z.ZodOptional<z.ZodArray<z.ZodString
|
|
1746
|
-
},
|
|
1747
|
-
username: string;
|
|
1748
|
-
password: string;
|
|
1749
|
-
email?: string | undefined;
|
|
1750
|
-
fullname?: string | undefined;
|
|
1751
|
-
role?: string | undefined;
|
|
1752
|
-
userInfo?: Record<string, unknown> | undefined;
|
|
1753
|
-
wsIds?: string[] | undefined;
|
|
1754
|
-
}, {
|
|
1755
|
-
username: string;
|
|
1756
|
-
password: string;
|
|
1757
|
-
email?: string | undefined;
|
|
1758
|
-
fullname?: string | undefined;
|
|
1759
|
-
role?: string | undefined;
|
|
1760
|
-
userInfo?: Record<string, unknown> | undefined;
|
|
1761
|
-
wsIds?: string[] | undefined;
|
|
1762
|
-
}>;
|
|
1445
|
+
wsIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1446
|
+
}, z.core.$strip>;
|
|
1763
1447
|
type User = z.infer<typeof UserSchema>;
|
|
1764
1448
|
declare const UsersDataSchema: z.ZodObject<{
|
|
1765
1449
|
users: z.ZodArray<z.ZodObject<{
|
|
@@ -1769,45 +1453,9 @@ declare const UsersDataSchema: z.ZodObject<{
|
|
|
1769
1453
|
fullname: z.ZodOptional<z.ZodString>;
|
|
1770
1454
|
role: z.ZodOptional<z.ZodString>;
|
|
1771
1455
|
userInfo: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1772
|
-
wsIds: z.ZodOptional<z.ZodArray<z.ZodString
|
|
1773
|
-
},
|
|
1774
|
-
|
|
1775
|
-
password: string;
|
|
1776
|
-
email?: string | undefined;
|
|
1777
|
-
fullname?: string | undefined;
|
|
1778
|
-
role?: string | undefined;
|
|
1779
|
-
userInfo?: Record<string, unknown> | undefined;
|
|
1780
|
-
wsIds?: string[] | undefined;
|
|
1781
|
-
}, {
|
|
1782
|
-
username: string;
|
|
1783
|
-
password: string;
|
|
1784
|
-
email?: string | undefined;
|
|
1785
|
-
fullname?: string | undefined;
|
|
1786
|
-
role?: string | undefined;
|
|
1787
|
-
userInfo?: Record<string, unknown> | undefined;
|
|
1788
|
-
wsIds?: string[] | undefined;
|
|
1789
|
-
}>, "many">;
|
|
1790
|
-
}, "strip", z.ZodTypeAny, {
|
|
1791
|
-
users: {
|
|
1792
|
-
username: string;
|
|
1793
|
-
password: string;
|
|
1794
|
-
email?: string | undefined;
|
|
1795
|
-
fullname?: string | undefined;
|
|
1796
|
-
role?: string | undefined;
|
|
1797
|
-
userInfo?: Record<string, unknown> | undefined;
|
|
1798
|
-
wsIds?: string[] | undefined;
|
|
1799
|
-
}[];
|
|
1800
|
-
}, {
|
|
1801
|
-
users: {
|
|
1802
|
-
username: string;
|
|
1803
|
-
password: string;
|
|
1804
|
-
email?: string | undefined;
|
|
1805
|
-
fullname?: string | undefined;
|
|
1806
|
-
role?: string | undefined;
|
|
1807
|
-
userInfo?: Record<string, unknown> | undefined;
|
|
1808
|
-
wsIds?: string[] | undefined;
|
|
1809
|
-
}[];
|
|
1810
|
-
}>;
|
|
1456
|
+
wsIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1457
|
+
}, z.core.$strip>>;
|
|
1458
|
+
}, z.core.$strip>;
|
|
1811
1459
|
type UsersData = z.infer<typeof UsersDataSchema>;
|
|
1812
1460
|
declare const MessageSchema: z.ZodObject<{
|
|
1813
1461
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -1815,49 +1463,13 @@ declare const MessageSchema: z.ZodObject<{
|
|
|
1815
1463
|
from: z.ZodObject<{
|
|
1816
1464
|
id: z.ZodOptional<z.ZodString>;
|
|
1817
1465
|
type: z.ZodOptional<z.ZodString>;
|
|
1818
|
-
},
|
|
1819
|
-
id?: string | undefined;
|
|
1820
|
-
type?: string | undefined;
|
|
1821
|
-
}, {
|
|
1822
|
-
id?: string | undefined;
|
|
1823
|
-
type?: string | undefined;
|
|
1824
|
-
}>;
|
|
1466
|
+
}, z.core.$strip>;
|
|
1825
1467
|
to: z.ZodOptional<z.ZodObject<{
|
|
1826
1468
|
id: z.ZodOptional<z.ZodString>;
|
|
1827
1469
|
type: z.ZodOptional<z.ZodString>;
|
|
1828
|
-
},
|
|
1829
|
-
id?: string | undefined;
|
|
1830
|
-
type?: string | undefined;
|
|
1831
|
-
}, {
|
|
1832
|
-
id?: string | undefined;
|
|
1833
|
-
type?: string | undefined;
|
|
1834
|
-
}>>;
|
|
1470
|
+
}, z.core.$strip>>;
|
|
1835
1471
|
payload: z.ZodUnknown;
|
|
1836
|
-
},
|
|
1837
|
-
type: string;
|
|
1838
|
-
from: {
|
|
1839
|
-
id?: string | undefined;
|
|
1840
|
-
type?: string | undefined;
|
|
1841
|
-
};
|
|
1842
|
-
id?: string | undefined;
|
|
1843
|
-
to?: {
|
|
1844
|
-
id?: string | undefined;
|
|
1845
|
-
type?: string | undefined;
|
|
1846
|
-
} | undefined;
|
|
1847
|
-
payload?: unknown;
|
|
1848
|
-
}, {
|
|
1849
|
-
type: string;
|
|
1850
|
-
from: {
|
|
1851
|
-
id?: string | undefined;
|
|
1852
|
-
type?: string | undefined;
|
|
1853
|
-
};
|
|
1854
|
-
id?: string | undefined;
|
|
1855
|
-
to?: {
|
|
1856
|
-
id?: string | undefined;
|
|
1857
|
-
type?: string | undefined;
|
|
1858
|
-
} | undefined;
|
|
1859
|
-
payload?: unknown;
|
|
1860
|
-
}>;
|
|
1472
|
+
}, z.core.$strip>;
|
|
1861
1473
|
type Message = z.infer<typeof MessageSchema>;
|
|
1862
1474
|
declare const IncomingMessageSchema: z.ZodObject<{
|
|
1863
1475
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -1865,49 +1477,13 @@ declare const IncomingMessageSchema: z.ZodObject<{
|
|
|
1865
1477
|
from: z.ZodObject<{
|
|
1866
1478
|
id: z.ZodOptional<z.ZodString>;
|
|
1867
1479
|
type: z.ZodOptional<z.ZodString>;
|
|
1868
|
-
},
|
|
1869
|
-
id?: string | undefined;
|
|
1870
|
-
type?: string | undefined;
|
|
1871
|
-
}, {
|
|
1872
|
-
id?: string | undefined;
|
|
1873
|
-
type?: string | undefined;
|
|
1874
|
-
}>;
|
|
1480
|
+
}, z.core.$strip>;
|
|
1875
1481
|
to: z.ZodOptional<z.ZodObject<{
|
|
1876
1482
|
id: z.ZodOptional<z.ZodString>;
|
|
1877
1483
|
type: z.ZodOptional<z.ZodString>;
|
|
1878
|
-
},
|
|
1879
|
-
id?: string | undefined;
|
|
1880
|
-
type?: string | undefined;
|
|
1881
|
-
}, {
|
|
1882
|
-
id?: string | undefined;
|
|
1883
|
-
type?: string | undefined;
|
|
1884
|
-
}>>;
|
|
1484
|
+
}, z.core.$strip>>;
|
|
1885
1485
|
payload: z.ZodUnknown;
|
|
1886
|
-
},
|
|
1887
|
-
type: string;
|
|
1888
|
-
from: {
|
|
1889
|
-
id?: string | undefined;
|
|
1890
|
-
type?: string | undefined;
|
|
1891
|
-
};
|
|
1892
|
-
id?: string | undefined;
|
|
1893
|
-
to?: {
|
|
1894
|
-
id?: string | undefined;
|
|
1895
|
-
type?: string | undefined;
|
|
1896
|
-
} | undefined;
|
|
1897
|
-
payload?: unknown;
|
|
1898
|
-
}, {
|
|
1899
|
-
type: string;
|
|
1900
|
-
from: {
|
|
1901
|
-
id?: string | undefined;
|
|
1902
|
-
type?: string | undefined;
|
|
1903
|
-
};
|
|
1904
|
-
id?: string | undefined;
|
|
1905
|
-
to?: {
|
|
1906
|
-
id?: string | undefined;
|
|
1907
|
-
type?: string | undefined;
|
|
1908
|
-
} | undefined;
|
|
1909
|
-
payload?: unknown;
|
|
1910
|
-
}>;
|
|
1486
|
+
}, z.core.$strip>;
|
|
1911
1487
|
type IncomingMessage = z.infer<typeof IncomingMessageSchema>;
|
|
1912
1488
|
/**
|
|
1913
1489
|
* A file attached to a question. Synced with sdk-web: PromptAttachmentSchema.
|
|
@@ -1917,23 +1493,11 @@ type IncomingMessage = z.infer<typeof IncomingMessageSchema>;
|
|
|
1917
1493
|
* with /upload/chat-attachment/signed-get.
|
|
1918
1494
|
*/
|
|
1919
1495
|
declare const PromptAttachmentSchema: z.ZodObject<{
|
|
1920
|
-
/** The R2 object key. */
|
|
1921
1496
|
key: z.ZodString;
|
|
1922
1497
|
fileName: z.ZodString;
|
|
1923
|
-
/** Size in bytes. */
|
|
1924
1498
|
size: z.ZodNumber;
|
|
1925
1499
|
contentType: z.ZodOptional<z.ZodString>;
|
|
1926
|
-
},
|
|
1927
|
-
key: string;
|
|
1928
|
-
fileName: string;
|
|
1929
|
-
size: number;
|
|
1930
|
-
contentType?: string | undefined;
|
|
1931
|
-
}, {
|
|
1932
|
-
key: string;
|
|
1933
|
-
fileName: string;
|
|
1934
|
-
size: number;
|
|
1935
|
-
contentType?: string | undefined;
|
|
1936
|
-
}>;
|
|
1500
|
+
}, z.core.$strip>;
|
|
1937
1501
|
type PromptAttachment = z.infer<typeof PromptAttachmentSchema>;
|
|
1938
1502
|
/**
|
|
1939
1503
|
* A file the agent generated or changed for the person: the host backend has put it
|
|
@@ -1960,191 +1524,68 @@ declare const ComponentSchema: z.ZodObject<{
|
|
|
1960
1524
|
type: z.ZodString;
|
|
1961
1525
|
description: z.ZodString;
|
|
1962
1526
|
props: z.ZodObject<{
|
|
1963
|
-
query: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodType<{}, z.
|
|
1964
|
-
title: z.ZodOptional<z.ZodString>;
|
|
1965
|
-
description: z.ZodOptional<z.ZodString>;
|
|
1966
|
-
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1967
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1968
|
-
query: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodType<{}, z.ZodTypeDef, {}>]>>>;
|
|
1527
|
+
query: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodType<{}, unknown, z.core.$ZodTypeInternals<{}, unknown>>]>>>;
|
|
1969
1528
|
title: z.ZodOptional<z.ZodString>;
|
|
1970
1529
|
description: z.ZodOptional<z.ZodString>;
|
|
1971
1530
|
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1972
|
-
}, z.
|
|
1973
|
-
query: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodType<{}, z.ZodTypeDef, {}>]>>>;
|
|
1974
|
-
title: z.ZodOptional<z.ZodString>;
|
|
1975
|
-
description: z.ZodOptional<z.ZodString>;
|
|
1976
|
-
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1977
|
-
}, z.ZodTypeAny, "passthrough">>;
|
|
1531
|
+
}, z.core.$loose>;
|
|
1978
1532
|
category: z.ZodOptional<z.ZodString>;
|
|
1979
|
-
keywords: z.ZodOptional<z.ZodArray<z.ZodString
|
|
1980
|
-
},
|
|
1981
|
-
id: string;
|
|
1982
|
-
type: string;
|
|
1983
|
-
name: string;
|
|
1984
|
-
description: string;
|
|
1985
|
-
props: {
|
|
1986
|
-
description?: string | undefined;
|
|
1987
|
-
query?: string | {} | null | undefined;
|
|
1988
|
-
title?: string | undefined;
|
|
1989
|
-
config?: Record<string, unknown> | undefined;
|
|
1990
|
-
} & {
|
|
1991
|
-
[k: string]: unknown;
|
|
1992
|
-
};
|
|
1993
|
-
displayName?: string | undefined;
|
|
1994
|
-
isDisplayComp?: boolean | undefined;
|
|
1995
|
-
category?: string | undefined;
|
|
1996
|
-
keywords?: string[] | undefined;
|
|
1997
|
-
}, {
|
|
1998
|
-
id: string;
|
|
1999
|
-
type: string;
|
|
2000
|
-
name: string;
|
|
2001
|
-
description: string;
|
|
2002
|
-
props: {
|
|
2003
|
-
description?: string | undefined;
|
|
2004
|
-
query?: string | {} | null | undefined;
|
|
2005
|
-
title?: string | undefined;
|
|
2006
|
-
config?: Record<string, unknown> | undefined;
|
|
2007
|
-
} & {
|
|
2008
|
-
[k: string]: unknown;
|
|
2009
|
-
};
|
|
2010
|
-
displayName?: string | undefined;
|
|
2011
|
-
isDisplayComp?: boolean | undefined;
|
|
2012
|
-
category?: string | undefined;
|
|
2013
|
-
keywords?: string[] | undefined;
|
|
2014
|
-
}>;
|
|
1533
|
+
keywords: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1534
|
+
}, z.core.$strip>;
|
|
2015
1535
|
type Component = z.infer<typeof ComponentSchema>;
|
|
2016
1536
|
declare const OutputFieldSchema: z.ZodObject<{
|
|
2017
1537
|
name: z.ZodString;
|
|
2018
|
-
type: z.ZodEnum<
|
|
1538
|
+
type: z.ZodEnum<{
|
|
1539
|
+
string: "string";
|
|
1540
|
+
number: "number";
|
|
1541
|
+
boolean: "boolean";
|
|
1542
|
+
date: "date";
|
|
1543
|
+
}>;
|
|
2019
1544
|
description: z.ZodString;
|
|
2020
|
-
},
|
|
2021
|
-
type: "string" | "number" | "boolean" | "date";
|
|
2022
|
-
name: string;
|
|
2023
|
-
description: string;
|
|
2024
|
-
}, {
|
|
2025
|
-
type: "string" | "number" | "boolean" | "date";
|
|
2026
|
-
name: string;
|
|
2027
|
-
description: string;
|
|
2028
|
-
}>;
|
|
1545
|
+
}, z.core.$strip>;
|
|
2029
1546
|
type OutputField = z.infer<typeof OutputFieldSchema>;
|
|
2030
1547
|
declare const OutputSchema: z.ZodObject<{
|
|
2031
1548
|
description: z.ZodString;
|
|
2032
1549
|
fields: z.ZodArray<z.ZodObject<{
|
|
2033
1550
|
name: z.ZodString;
|
|
2034
|
-
type: z.ZodEnum<
|
|
1551
|
+
type: z.ZodEnum<{
|
|
1552
|
+
string: "string";
|
|
1553
|
+
number: "number";
|
|
1554
|
+
boolean: "boolean";
|
|
1555
|
+
date: "date";
|
|
1556
|
+
}>;
|
|
2035
1557
|
description: z.ZodString;
|
|
2036
|
-
},
|
|
2037
|
-
|
|
2038
|
-
name: string;
|
|
2039
|
-
description: string;
|
|
2040
|
-
}, {
|
|
2041
|
-
type: "string" | "number" | "boolean" | "date";
|
|
2042
|
-
name: string;
|
|
2043
|
-
description: string;
|
|
2044
|
-
}>, "many">;
|
|
2045
|
-
}, "strip", z.ZodTypeAny, {
|
|
2046
|
-
description: string;
|
|
2047
|
-
fields: {
|
|
2048
|
-
type: "string" | "number" | "boolean" | "date";
|
|
2049
|
-
name: string;
|
|
2050
|
-
description: string;
|
|
2051
|
-
}[];
|
|
2052
|
-
}, {
|
|
2053
|
-
description: string;
|
|
2054
|
-
fields: {
|
|
2055
|
-
type: "string" | "number" | "boolean" | "date";
|
|
2056
|
-
name: string;
|
|
2057
|
-
description: string;
|
|
2058
|
-
}[];
|
|
2059
|
-
}>;
|
|
1558
|
+
}, z.core.$strip>>;
|
|
1559
|
+
}, z.core.$strip>;
|
|
2060
1560
|
type ToolOutputSchema = z.infer<typeof OutputSchema>;
|
|
2061
1561
|
declare const ToolSchema: z.ZodObject<{
|
|
2062
1562
|
id: z.ZodString;
|
|
2063
1563
|
name: z.ZodString;
|
|
2064
1564
|
description: z.ZodString;
|
|
2065
|
-
|
|
2066
|
-
|
|
2067
|
-
|
|
1565
|
+
toolType: z.ZodOptional<z.ZodEnum<{
|
|
1566
|
+
source: "source";
|
|
1567
|
+
direct: "direct";
|
|
1568
|
+
}>>;
|
|
2068
1569
|
fullSchema: z.ZodOptional<z.ZodString>;
|
|
2069
1570
|
params: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
2070
|
-
fn: z.
|
|
1571
|
+
fn: z.ZodCustom<(...args: any[]) => any, (...args: any[]) => any>;
|
|
2071
1572
|
outputSchema: z.ZodOptional<z.ZodObject<{
|
|
2072
1573
|
description: z.ZodString;
|
|
2073
1574
|
fields: z.ZodArray<z.ZodObject<{
|
|
2074
1575
|
name: z.ZodString;
|
|
2075
|
-
type: z.ZodEnum<
|
|
1576
|
+
type: z.ZodEnum<{
|
|
1577
|
+
string: "string";
|
|
1578
|
+
number: "number";
|
|
1579
|
+
boolean: "boolean";
|
|
1580
|
+
date: "date";
|
|
1581
|
+
}>;
|
|
2076
1582
|
description: z.ZodString;
|
|
2077
|
-
},
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
description: string;
|
|
2081
|
-
}, {
|
|
2082
|
-
type: "string" | "number" | "boolean" | "date";
|
|
2083
|
-
name: string;
|
|
2084
|
-
description: string;
|
|
2085
|
-
}>, "many">;
|
|
2086
|
-
}, "strip", z.ZodTypeAny, {
|
|
2087
|
-
description: string;
|
|
2088
|
-
fields: {
|
|
2089
|
-
type: "string" | "number" | "boolean" | "date";
|
|
2090
|
-
name: string;
|
|
2091
|
-
description: string;
|
|
2092
|
-
}[];
|
|
2093
|
-
}, {
|
|
2094
|
-
description: string;
|
|
2095
|
-
fields: {
|
|
2096
|
-
type: "string" | "number" | "boolean" | "date";
|
|
2097
|
-
name: string;
|
|
2098
|
-
description: string;
|
|
2099
|
-
}[];
|
|
2100
|
-
}>>;
|
|
2101
|
-
/** Cache policy. `false` = never cache (live data, write ops). Mirrors HTTP `Cache-Control: no-store`. */
|
|
2102
|
-
cache: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodObject<{
|
|
1583
|
+
}, z.core.$strip>>;
|
|
1584
|
+
}, z.core.$strip>>;
|
|
1585
|
+
cache: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodObject<{
|
|
2103
1586
|
ttlMs: z.ZodOptional<z.ZodNumber>;
|
|
2104
|
-
},
|
|
2105
|
-
|
|
2106
|
-
}, {
|
|
2107
|
-
ttlMs?: number | undefined;
|
|
2108
|
-
}>]>>;
|
|
2109
|
-
}, "strip", z.ZodTypeAny, {
|
|
2110
|
-
id: string;
|
|
2111
|
-
params: Record<string, string>;
|
|
2112
|
-
name: string;
|
|
2113
|
-
description: string;
|
|
2114
|
-
fn: (...args: any[]) => any;
|
|
2115
|
-
toolType?: "source" | "direct" | undefined;
|
|
2116
|
-
fullSchema?: string | undefined;
|
|
2117
|
-
outputSchema?: {
|
|
2118
|
-
description: string;
|
|
2119
|
-
fields: {
|
|
2120
|
-
type: "string" | "number" | "boolean" | "date";
|
|
2121
|
-
name: string;
|
|
2122
|
-
description: string;
|
|
2123
|
-
}[];
|
|
2124
|
-
} | undefined;
|
|
2125
|
-
cache?: false | {
|
|
2126
|
-
ttlMs?: number | undefined;
|
|
2127
|
-
} | undefined;
|
|
2128
|
-
}, {
|
|
2129
|
-
id: string;
|
|
2130
|
-
params: Record<string, string>;
|
|
2131
|
-
name: string;
|
|
2132
|
-
description: string;
|
|
2133
|
-
fn: (...args: any[]) => any;
|
|
2134
|
-
toolType?: "source" | "direct" | undefined;
|
|
2135
|
-
fullSchema?: string | undefined;
|
|
2136
|
-
outputSchema?: {
|
|
2137
|
-
description: string;
|
|
2138
|
-
fields: {
|
|
2139
|
-
type: "string" | "number" | "boolean" | "date";
|
|
2140
|
-
name: string;
|
|
2141
|
-
description: string;
|
|
2142
|
-
}[];
|
|
2143
|
-
} | undefined;
|
|
2144
|
-
cache?: false | {
|
|
2145
|
-
ttlMs?: number | undefined;
|
|
2146
|
-
} | undefined;
|
|
2147
|
-
}>;
|
|
1587
|
+
}, z.core.$strip>]>>;
|
|
1588
|
+
}, z.core.$strip>;
|
|
2148
1589
|
type Tool$1 = z.infer<typeof ToolSchema>;
|
|
2149
1590
|
type CollectionOperation = 'getMany' | 'getOne' | 'query' | 'mutation' | 'updateOne' | 'deleteOne' | 'createOne';
|
|
2150
1591
|
type CollectionHandler<TParams = any, TResult = any> = (params: TParams) => Promise<TResult> | TResult;
|
|
@@ -2264,6 +1705,19 @@ interface SuperatomSDKConfig {
|
|
|
2264
1705
|
url?: string;
|
|
2265
1706
|
apiKey?: string;
|
|
2266
1707
|
projectId: string;
|
|
1708
|
+
/**
|
|
1709
|
+
* SA-API base URL, for parcels (large payloads and files sent beside the
|
|
1710
|
+
* websocket). Falls back to SA_API_URL. Without it — or without `apiKey` —
|
|
1711
|
+
* nothing travels as a parcel.
|
|
1712
|
+
*/
|
|
1713
|
+
apiUrl?: string;
|
|
1714
|
+
/**
|
|
1715
|
+
* Send large JSON payloads (256 KB and up) as parcels. On by default; set
|
|
1716
|
+
* `false`, or SA_PARCELS=off, to send everything inline. Takes effect only
|
|
1717
|
+
* when `apiUrl` and `apiKey` are set. Files inside a payload always travel as
|
|
1718
|
+
* parcels when they are; receiving parcels does not depend on this switch.
|
|
1719
|
+
*/
|
|
1720
|
+
parcels?: boolean;
|
|
2267
1721
|
type?: string;
|
|
2268
1722
|
bundleDir?: string;
|
|
2269
1723
|
promptsDir?: string;
|
|
@@ -2342,32 +1796,39 @@ interface SuperatomSDKConfig {
|
|
|
2342
1796
|
declare const KbNodesQueryFiltersSchema: z.ZodObject<{
|
|
2343
1797
|
query: z.ZodOptional<z.ZodString>;
|
|
2344
1798
|
category: z.ZodOptional<z.ZodString>;
|
|
2345
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString
|
|
2346
|
-
type: z.ZodOptional<z.ZodEnum<
|
|
1799
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1800
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
1801
|
+
query: "query";
|
|
1802
|
+
user: "user";
|
|
1803
|
+
global: "global";
|
|
1804
|
+
}>>;
|
|
2347
1805
|
createdBy: z.ZodOptional<z.ZodString>;
|
|
2348
|
-
},
|
|
2349
|
-
type?: "query" | "user" | "global" | undefined;
|
|
2350
|
-
query?: string | undefined;
|
|
2351
|
-
category?: string | undefined;
|
|
2352
|
-
createdBy?: string | undefined;
|
|
2353
|
-
tags?: string[] | undefined;
|
|
2354
|
-
}, {
|
|
2355
|
-
type?: "query" | "user" | "global" | undefined;
|
|
2356
|
-
query?: string | undefined;
|
|
2357
|
-
category?: string | undefined;
|
|
2358
|
-
createdBy?: string | undefined;
|
|
2359
|
-
tags?: string[] | undefined;
|
|
2360
|
-
}>;
|
|
1806
|
+
}, z.core.$strip>;
|
|
2361
1807
|
type KbNodesQueryFilters = z.infer<typeof KbNodesQueryFiltersSchema>;
|
|
2362
1808
|
declare const KbNodesRequestPayloadSchema: z.ZodObject<{
|
|
2363
|
-
operation: z.ZodEnum<
|
|
1809
|
+
operation: z.ZodEnum<{
|
|
1810
|
+
getOne: "getOne";
|
|
1811
|
+
search: "search";
|
|
1812
|
+
create: "create";
|
|
1813
|
+
update: "update";
|
|
1814
|
+
delete: "delete";
|
|
1815
|
+
getAll: "getAll";
|
|
1816
|
+
getByCategory: "getByCategory";
|
|
1817
|
+
getByUser: "getByUser";
|
|
1818
|
+
getCategories: "getCategories";
|
|
1819
|
+
getTags: "getTags";
|
|
1820
|
+
}>;
|
|
2364
1821
|
data: z.ZodOptional<z.ZodObject<{
|
|
2365
1822
|
id: z.ZodOptional<z.ZodNumber>;
|
|
2366
1823
|
title: z.ZodOptional<z.ZodString>;
|
|
2367
1824
|
content: z.ZodOptional<z.ZodString>;
|
|
2368
1825
|
category: z.ZodOptional<z.ZodString>;
|
|
2369
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString
|
|
2370
|
-
type: z.ZodOptional<z.ZodEnum<
|
|
1826
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1827
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
1828
|
+
query: "query";
|
|
1829
|
+
user: "user";
|
|
1830
|
+
global: "global";
|
|
1831
|
+
}>>;
|
|
2371
1832
|
createdBy: z.ZodOptional<z.ZodString>;
|
|
2372
1833
|
updatedBy: z.ZodOptional<z.ZodString>;
|
|
2373
1834
|
userId: z.ZodOptional<z.ZodString>;
|
|
@@ -2375,165 +1836,37 @@ declare const KbNodesRequestPayloadSchema: z.ZodObject<{
|
|
|
2375
1836
|
filters: z.ZodOptional<z.ZodObject<{
|
|
2376
1837
|
query: z.ZodOptional<z.ZodString>;
|
|
2377
1838
|
category: z.ZodOptional<z.ZodString>;
|
|
2378
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString
|
|
2379
|
-
type: z.ZodOptional<z.ZodEnum<
|
|
1839
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1840
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
1841
|
+
query: "query";
|
|
1842
|
+
user: "user";
|
|
1843
|
+
global: "global";
|
|
1844
|
+
}>>;
|
|
2380
1845
|
createdBy: z.ZodOptional<z.ZodString>;
|
|
2381
|
-
},
|
|
2382
|
-
type?: "query" | "user" | "global" | undefined;
|
|
2383
|
-
query?: string | undefined;
|
|
2384
|
-
category?: string | undefined;
|
|
2385
|
-
createdBy?: string | undefined;
|
|
2386
|
-
tags?: string[] | undefined;
|
|
2387
|
-
}, {
|
|
2388
|
-
type?: "query" | "user" | "global" | undefined;
|
|
2389
|
-
query?: string | undefined;
|
|
2390
|
-
category?: string | undefined;
|
|
2391
|
-
createdBy?: string | undefined;
|
|
2392
|
-
tags?: string[] | undefined;
|
|
2393
|
-
}>>;
|
|
1846
|
+
}, z.core.$strip>>;
|
|
2394
1847
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
2395
1848
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
2396
|
-
},
|
|
2397
|
-
|
|
2398
|
-
type?: "query" | "user" | "global" | undefined;
|
|
2399
|
-
query?: string | undefined;
|
|
2400
|
-
title?: string | undefined;
|
|
2401
|
-
category?: string | undefined;
|
|
2402
|
-
userId?: string | undefined;
|
|
2403
|
-
limit?: number | undefined;
|
|
2404
|
-
filters?: {
|
|
2405
|
-
type?: "query" | "user" | "global" | undefined;
|
|
2406
|
-
query?: string | undefined;
|
|
2407
|
-
category?: string | undefined;
|
|
2408
|
-
createdBy?: string | undefined;
|
|
2409
|
-
tags?: string[] | undefined;
|
|
2410
|
-
} | undefined;
|
|
2411
|
-
createdBy?: string | undefined;
|
|
2412
|
-
updatedBy?: string | undefined;
|
|
2413
|
-
offset?: number | undefined;
|
|
2414
|
-
tags?: string[] | undefined;
|
|
2415
|
-
content?: string | undefined;
|
|
2416
|
-
}, {
|
|
2417
|
-
id?: number | undefined;
|
|
2418
|
-
type?: "query" | "user" | "global" | undefined;
|
|
2419
|
-
query?: string | undefined;
|
|
2420
|
-
title?: string | undefined;
|
|
2421
|
-
category?: string | undefined;
|
|
2422
|
-
userId?: string | undefined;
|
|
2423
|
-
limit?: number | undefined;
|
|
2424
|
-
filters?: {
|
|
2425
|
-
type?: "query" | "user" | "global" | undefined;
|
|
2426
|
-
query?: string | undefined;
|
|
2427
|
-
category?: string | undefined;
|
|
2428
|
-
createdBy?: string | undefined;
|
|
2429
|
-
tags?: string[] | undefined;
|
|
2430
|
-
} | undefined;
|
|
2431
|
-
createdBy?: string | undefined;
|
|
2432
|
-
updatedBy?: string | undefined;
|
|
2433
|
-
offset?: number | undefined;
|
|
2434
|
-
tags?: string[] | undefined;
|
|
2435
|
-
content?: string | undefined;
|
|
2436
|
-
}>>;
|
|
2437
|
-
}, "strip", z.ZodTypeAny, {
|
|
2438
|
-
operation: "getOne" | "search" | "create" | "update" | "delete" | "getAll" | "getByCategory" | "getByUser" | "getCategories" | "getTags";
|
|
2439
|
-
data?: {
|
|
2440
|
-
id?: number | undefined;
|
|
2441
|
-
type?: "query" | "user" | "global" | undefined;
|
|
2442
|
-
query?: string | undefined;
|
|
2443
|
-
title?: string | undefined;
|
|
2444
|
-
category?: string | undefined;
|
|
2445
|
-
userId?: string | undefined;
|
|
2446
|
-
limit?: number | undefined;
|
|
2447
|
-
filters?: {
|
|
2448
|
-
type?: "query" | "user" | "global" | undefined;
|
|
2449
|
-
query?: string | undefined;
|
|
2450
|
-
category?: string | undefined;
|
|
2451
|
-
createdBy?: string | undefined;
|
|
2452
|
-
tags?: string[] | undefined;
|
|
2453
|
-
} | undefined;
|
|
2454
|
-
createdBy?: string | undefined;
|
|
2455
|
-
updatedBy?: string | undefined;
|
|
2456
|
-
offset?: number | undefined;
|
|
2457
|
-
tags?: string[] | undefined;
|
|
2458
|
-
content?: string | undefined;
|
|
2459
|
-
} | undefined;
|
|
2460
|
-
}, {
|
|
2461
|
-
operation: "getOne" | "search" | "create" | "update" | "delete" | "getAll" | "getByCategory" | "getByUser" | "getCategories" | "getTags";
|
|
2462
|
-
data?: {
|
|
2463
|
-
id?: number | undefined;
|
|
2464
|
-
type?: "query" | "user" | "global" | undefined;
|
|
2465
|
-
query?: string | undefined;
|
|
2466
|
-
title?: string | undefined;
|
|
2467
|
-
category?: string | undefined;
|
|
2468
|
-
userId?: string | undefined;
|
|
2469
|
-
limit?: number | undefined;
|
|
2470
|
-
filters?: {
|
|
2471
|
-
type?: "query" | "user" | "global" | undefined;
|
|
2472
|
-
query?: string | undefined;
|
|
2473
|
-
category?: string | undefined;
|
|
2474
|
-
createdBy?: string | undefined;
|
|
2475
|
-
tags?: string[] | undefined;
|
|
2476
|
-
} | undefined;
|
|
2477
|
-
createdBy?: string | undefined;
|
|
2478
|
-
updatedBy?: string | undefined;
|
|
2479
|
-
offset?: number | undefined;
|
|
2480
|
-
tags?: string[] | undefined;
|
|
2481
|
-
content?: string | undefined;
|
|
2482
|
-
} | undefined;
|
|
2483
|
-
}>;
|
|
1849
|
+
}, z.core.$strip>>;
|
|
1850
|
+
}, z.core.$strip>;
|
|
2484
1851
|
type KbNodesRequestPayload = z.infer<typeof KbNodesRequestPayloadSchema>;
|
|
2485
1852
|
declare const DashComponentSchema: z.ZodObject<{
|
|
2486
1853
|
name: z.ZodString;
|
|
2487
1854
|
kind: z.ZodString;
|
|
2488
1855
|
purpose: z.ZodString;
|
|
2489
|
-
props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
1856
|
+
props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
2490
1857
|
description: z.ZodString;
|
|
2491
|
-
importance: z.ZodOptional<z.ZodEnum<
|
|
2492
|
-
|
|
1858
|
+
importance: z.ZodOptional<z.ZodEnum<{
|
|
1859
|
+
optional: "optional";
|
|
1860
|
+
required: "required";
|
|
1861
|
+
recommended: "recommended";
|
|
1862
|
+
}>>;
|
|
1863
|
+
default: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
2493
1864
|
caution: z.ZodOptional<z.ZodString>;
|
|
2494
1865
|
group: z.ZodOptional<z.ZodString>;
|
|
2495
|
-
},
|
|
2496
|
-
description: string;
|
|
2497
|
-
importance?: "required" | "recommended" | "optional" | undefined;
|
|
2498
|
-
default?: string | number | boolean | undefined;
|
|
2499
|
-
caution?: string | undefined;
|
|
2500
|
-
group?: string | undefined;
|
|
2501
|
-
}, {
|
|
2502
|
-
description: string;
|
|
2503
|
-
importance?: "required" | "recommended" | "optional" | undefined;
|
|
2504
|
-
default?: string | number | boolean | undefined;
|
|
2505
|
-
caution?: string | undefined;
|
|
2506
|
-
group?: string | undefined;
|
|
2507
|
-
}>]>>>;
|
|
1866
|
+
}, z.core.$strip>]>>>;
|
|
2508
1867
|
useWhen: z.ZodOptional<z.ZodString>;
|
|
2509
1868
|
notes: z.ZodOptional<z.ZodString>;
|
|
2510
|
-
},
|
|
2511
|
-
name: string;
|
|
2512
|
-
kind: string;
|
|
2513
|
-
purpose: string;
|
|
2514
|
-
props?: Record<string, string | {
|
|
2515
|
-
description: string;
|
|
2516
|
-
importance?: "required" | "recommended" | "optional" | undefined;
|
|
2517
|
-
default?: string | number | boolean | undefined;
|
|
2518
|
-
caution?: string | undefined;
|
|
2519
|
-
group?: string | undefined;
|
|
2520
|
-
}> | undefined;
|
|
2521
|
-
useWhen?: string | undefined;
|
|
2522
|
-
notes?: string | undefined;
|
|
2523
|
-
}, {
|
|
2524
|
-
name: string;
|
|
2525
|
-
kind: string;
|
|
2526
|
-
purpose: string;
|
|
2527
|
-
props?: Record<string, string | {
|
|
2528
|
-
description: string;
|
|
2529
|
-
importance?: "required" | "recommended" | "optional" | undefined;
|
|
2530
|
-
default?: string | number | boolean | undefined;
|
|
2531
|
-
caution?: string | undefined;
|
|
2532
|
-
group?: string | undefined;
|
|
2533
|
-
}> | undefined;
|
|
2534
|
-
useWhen?: string | undefined;
|
|
2535
|
-
notes?: string | undefined;
|
|
2536
|
-
}>;
|
|
1869
|
+
}, z.core.$strip>;
|
|
2537
1870
|
type DashComponent = z.infer<typeof DashComponentSchema>;
|
|
2538
1871
|
interface T_RESPONSE {
|
|
2539
1872
|
success: boolean;
|
|
@@ -5490,6 +4823,62 @@ declare class DashboardConversationHistory {
|
|
|
5490
4823
|
}
|
|
5491
4824
|
declare const dashboardConversationHistory: DashboardConversationHistory;
|
|
5492
4825
|
|
|
4826
|
+
/** Messages at or above this many bytes (serialised) travel as parcels. */
|
|
4827
|
+
declare const PARCEL_THRESHOLD_BYTES: number;
|
|
4828
|
+
/** A stored object, as named in a receipt. */
|
|
4829
|
+
interface ParcelRef {
|
|
4830
|
+
projectId: string;
|
|
4831
|
+
hash: string;
|
|
4832
|
+
ext: string;
|
|
4833
|
+
size: number;
|
|
4834
|
+
}
|
|
4835
|
+
/** What a file placeholder carries. */
|
|
4836
|
+
interface ParcelFileRef extends ParcelRef {
|
|
4837
|
+
name?: string;
|
|
4838
|
+
contentType: string;
|
|
4839
|
+
}
|
|
4840
|
+
interface ParcelClientOptions {
|
|
4841
|
+
apiUrl: string;
|
|
4842
|
+
projectId: string;
|
|
4843
|
+
apiKey: string;
|
|
4844
|
+
/** For tests. */
|
|
4845
|
+
fetchImpl?: typeof fetch;
|
|
4846
|
+
timeoutMs?: number;
|
|
4847
|
+
}
|
|
4848
|
+
/** Talks to SA-API's `/parcels` routes with the engine's project key. */
|
|
4849
|
+
declare class ParcelClient {
|
|
4850
|
+
private readonly opts;
|
|
4851
|
+
private readonly base;
|
|
4852
|
+
private readonly fetchImpl;
|
|
4853
|
+
private readonly timeoutMs;
|
|
4854
|
+
constructor(opts: ParcelClientOptions);
|
|
4855
|
+
private url;
|
|
4856
|
+
private call;
|
|
4857
|
+
/** Stores the bytes and returns the receipt for them. */
|
|
4858
|
+
upload(bytes: Uint8Array, ext?: string, contentType?: string): Promise<ParcelRef>;
|
|
4859
|
+
/** The bytes behind a receipt, checked against its hash. */
|
|
4860
|
+
download(ref: ParcelRef): Promise<Uint8Array>;
|
|
4861
|
+
}
|
|
4862
|
+
/**
|
|
4863
|
+
* A file received in a message. The bytes stay in storage until `download()`.
|
|
4864
|
+
*
|
|
4865
|
+
* Serialises back to its placeholder, so a handler that forwards a message
|
|
4866
|
+
* holding one forwards the reference — not the bytes, and not an empty object.
|
|
4867
|
+
*/
|
|
4868
|
+
declare class ParcelFile {
|
|
4869
|
+
readonly ref: ParcelFileRef;
|
|
4870
|
+
private readonly client;
|
|
4871
|
+
readonly name?: string;
|
|
4872
|
+
readonly size: number;
|
|
4873
|
+
readonly contentType: string;
|
|
4874
|
+
constructor(ref: ParcelFileRef, client: ParcelClient | null);
|
|
4875
|
+
/** The file's bytes, checked against their hash. Throws if they cannot be fetched. */
|
|
4876
|
+
download(): Promise<Uint8Array>;
|
|
4877
|
+
toJSON(): {
|
|
4878
|
+
__parcelFile: ParcelFileRef;
|
|
4879
|
+
};
|
|
4880
|
+
}
|
|
4881
|
+
|
|
5493
4882
|
/**
|
|
5494
4883
|
* Whole-dashboard generation via Pi, a terminal coding agent — as opposed to
|
|
5495
4884
|
* DASH_COMP_REQ's single-widget-at-a-time flow. Runs Pi in-process via its
|
|
@@ -6663,6 +6052,15 @@ declare class SuperatomSDK {
|
|
|
6663
6052
|
private readonly PONG_TIMEOUT_MS;
|
|
6664
6053
|
private pendingOutbox;
|
|
6665
6054
|
private readonly MAX_OUTBOX_SIZE;
|
|
6055
|
+
/**
|
|
6056
|
+
* Large payloads travel as parcels through SA-API instead of over the socket —
|
|
6057
|
+
* see ./parcels. The client is null when SA_API_URL or the API key is missing.
|
|
6058
|
+
* Sending large JSON as parcels is on by default (`parcels: false` or
|
|
6059
|
+
* SA_PARCELS=off turns it off); receiving them works whenever the client exists.
|
|
6060
|
+
*/
|
|
6061
|
+
private parcelClient;
|
|
6062
|
+
private outgoing;
|
|
6063
|
+
private incoming;
|
|
6666
6064
|
constructor(config: SuperatomSDKConfig);
|
|
6667
6065
|
/**
|
|
6668
6066
|
* Initialize PromptLoader and load prompts into memory
|
|
@@ -6698,15 +6096,29 @@ declare class SuperatomSDK {
|
|
|
6698
6096
|
*/
|
|
6699
6097
|
connect(): Promise<void>;
|
|
6700
6098
|
/**
|
|
6701
|
-
* Handle incoming WebSocket messages
|
|
6099
|
+
* Handle incoming WebSocket messages.
|
|
6100
|
+
*
|
|
6101
|
+
* Parsed here, then handed to the parcel layer, which restores a parcel's
|
|
6102
|
+
* payload (and holds later messages back until it has) before routing.
|
|
6702
6103
|
*/
|
|
6703
6104
|
private handleMessage;
|
|
6105
|
+
/** Routes one parsed message — everything `handleMessage` did after parsing. */
|
|
6106
|
+
private dispatchMessage;
|
|
6704
6107
|
/**
|
|
6705
6108
|
* Send a message to the Superatom service.
|
|
6706
6109
|
* Returns true if the message was sent, false if the WebSocket is not connected.
|
|
6707
6110
|
* Does NOT throw on closed connections — callers can check the return value if needed.
|
|
6111
|
+
*
|
|
6112
|
+
* Large payloads and files go as parcels (see ./parcels): a file is any
|
|
6113
|
+
* Buffer / Uint8Array / ArrayBuffer inside the payload, with an optional
|
|
6114
|
+
* `name` and `contentType` beside it — e.g. `payload: { file: { name, bytes } }`.
|
|
6115
|
+
* Such a message goes out once its upload is done (true = accepted), and later
|
|
6116
|
+
* messages keep their order. A received file arrives as a `ParcelFile` handle
|
|
6117
|
+
* whose `download()` fetches the bytes.
|
|
6708
6118
|
*/
|
|
6709
6119
|
send(message: Message): boolean;
|
|
6120
|
+
/** Puts one message on the socket, or in the reconnect outbox. `wire` is its JSON, when already made. */
|
|
6121
|
+
private deliver;
|
|
6710
6122
|
/**
|
|
6711
6123
|
* Queue a message that couldn't be delivered because the socket was down,
|
|
6712
6124
|
* to be resent once it reconnects. Drops the oldest entry once the bound is
|
|
@@ -6854,4 +6266,4 @@ declare class SuperatomSDK {
|
|
|
6854
6266
|
getConversationSimilarityThreshold(): number;
|
|
6855
6267
|
}
|
|
6856
6268
|
|
|
6857
|
-
export { ALL_COLUMN_KEYS, ANSWER_COMPONENT_NAMES, type AgentConfig, type AgentEvent, type AgentResponse, type AgentRunContext, type AgentRunHandlers, type AgentRunRecord, type AgentRunResult, type AgentTrigger, type AgentUsage, type AnalyticsEventType, type AnalyticsStatus, type AnswerProvider, type AnswerProviderContext, type ApplySummary, BM25L, type BM25LOptions, type BaseLLMConfig, type BuildTriggerInput, CATEGORY_KEYS, CODEX_DOC_MAX_BYTES, CODEX_OPENROUTER_KEY_ENV, CONTEXT_CONFIG, type CapturedLog, CleanupService, type CodexProvider, type CodexSessionOptions, type CodingAgentCollectionConfig, type CodingAgentDefinition, type CodingAgentSession, type CodingAgentSessionOptions, type CodingAgentsConfig, type ColInfo, type ColType, type CollectionHandler, type CollectionOperation, type Component, type ConstraintFilter, type ConstraintOp, type ConstraintPolicy, type DBUIBlock, DEFAULT_AGENT_CONFIG, DEFAULT_FMT_CONFIG, type DashboardAgentCollectionConfig, type DatabaseType, type FindingCode, type Fmt, type FmtConfig, type GeneratedFile, type GraphVersion, type Harness, type HybridSearchOptions, INSTRUCTIONS_FILE, type IncomingMessage, type KbNodesQueryFilters, type KbNodesRequestPayload, LLM, type LLMUsageEntry, type LogLevel, MainAgent, type McpServerSpec, type Message, MissingRequestContextError, type ModelStrategy, NUMERIC_KEYS, type NarrationUpdate, type OutputContract, type OutputField, type OutputValidator, type PiSessionListener, type PiSessionState, type PiTranscriptEntry, type PolicyException, type PolicyExceptionTable, type Principal, type PromptAttachment, type PromptContext, type RequestContext, type RerankedResult, type ResolvedAccess, type RowFilter, type RunAgentOptions, STORAGE_CONFIG, type ScriptComponentSpec, ScriptMatcher, type ScriptParameter, type ScriptRecipe, type ScriptRecipeMetaRow, type ScriptRecipeStore, type ScriptResult, ScriptStore, type ScriptStoreOptions, type SelectedWorkflow, type ShimDef, type ShimSummary, type ShimTarget, type SourcePolicy, type SpecToValidate, SuperatomSDK, type SuperatomSDKConfig, type T_RESPONSE, type TaskType, Thread, ThreadManager, type Tool$1 as Tool, type ToolOutputSchema, type TriggerEvent, type TriggerFireInfo, UIBlock, UILogCollector, type User, UserManager, type UsersData, type ValidationContext, type ValidationFinding, type WorkflowDescriptor, type Workspace, accessFromConfig, analyticsClient, answerCatalogForBinding, answerComponents, anthropicLLM, assertReadOnlySql, bindContext, bridgePreamble, captureContext, clearContextTokens, codexDefaultProvider, codexModelFor, codexRunConfig, constraintPoliciesFromConfig, contextTokenCount, createCodexSession, createCodingAgentSession, dashboardConversationHistory, dataFingerprint, describeContext, describeTriggers, emitAgentEvent, extractNamedExport, formatFindingsForAgent, geminiLLM, getCodingAgent, getCodingAgentsConfig, getPiSessionState, getRequestContext, groqLLM, hybridRerank, inferColumns, isUserContext, listCodingAgents, llmUsageLogger, logger, makeFmt, mintContextToken, normalizeScriptBody, onAgentRun, onPiSessionUpdate, openaiLLM, policiesFromConfig, projectForDatasetBinding, promptLoader, queryCache, registerCodingAgentCollection, registerCodingAgents, registerDashboardAgentCollection, requireRequestContext, rerankChromaResults, rerankConversationResults, resolveContextToken, resolveScriptRecipeStore, revokeContextToken, runAsSystem, runAsUser, runCodingAgent, runScript, runWithContext, runWithMessageIdentity, startAgentTriggers, stopAgentTriggers, userPromptErrorLogger, validateComponentSpec, withCapturedContext, writeBridgeShims, writeShims };
|
|
6269
|
+
export { ALL_COLUMN_KEYS, ANSWER_COMPONENT_NAMES, type AgentConfig, type AgentEvent, type AgentResponse, type AgentRunContext, type AgentRunHandlers, type AgentRunRecord, type AgentRunResult, type AgentTrigger, type AgentUsage, type AnalyticsEventType, type AnalyticsStatus, type AnswerProvider, type AnswerProviderContext, type ApplySummary, BM25L, type BM25LOptions, type BaseLLMConfig, type BuildTriggerInput, CATEGORY_KEYS, CODEX_DOC_MAX_BYTES, CODEX_OPENROUTER_KEY_ENV, CONTEXT_CONFIG, type CapturedLog, CleanupService, type CodexProvider, type CodexSessionOptions, type CodingAgentCollectionConfig, type CodingAgentDefinition, type CodingAgentSession, type CodingAgentSessionOptions, type CodingAgentsConfig, type ColInfo, type ColType, type CollectionHandler, type CollectionOperation, type Component, type ConstraintFilter, type ConstraintOp, type ConstraintPolicy, type DBUIBlock, DEFAULT_AGENT_CONFIG, DEFAULT_FMT_CONFIG, type DashboardAgentCollectionConfig, type DatabaseType, type FindingCode, type Fmt, type FmtConfig, type GeneratedFile, type GraphVersion, type Harness, type HybridSearchOptions, INSTRUCTIONS_FILE, type IncomingMessage, type KbNodesQueryFilters, type KbNodesRequestPayload, LLM, type LLMUsageEntry, type LogLevel, MainAgent, type McpServerSpec, type Message, MissingRequestContextError, type ModelStrategy, NUMERIC_KEYS, type NarrationUpdate, type OutputContract, type OutputField, type OutputValidator, PARCEL_THRESHOLD_BYTES, ParcelFile, type ParcelFileRef, type ParcelRef, type PiSessionListener, type PiSessionState, type PiTranscriptEntry, type PolicyException, type PolicyExceptionTable, type Principal, type PromptAttachment, type PromptContext, type RequestContext, type RerankedResult, type ResolvedAccess, type RowFilter, type RunAgentOptions, STORAGE_CONFIG, type ScriptComponentSpec, ScriptMatcher, type ScriptParameter, type ScriptRecipe, type ScriptRecipeMetaRow, type ScriptRecipeStore, type ScriptResult, ScriptStore, type ScriptStoreOptions, type SelectedWorkflow, type ShimDef, type ShimSummary, type ShimTarget, type SourcePolicy, type SpecToValidate, SuperatomSDK, type SuperatomSDKConfig, type T_RESPONSE, type TaskType, Thread, ThreadManager, type Tool$1 as Tool, type ToolOutputSchema, type TriggerEvent, type TriggerFireInfo, UIBlock, UILogCollector, type User, UserManager, type UsersData, type ValidationContext, type ValidationFinding, type WorkflowDescriptor, type Workspace, accessFromConfig, analyticsClient, answerCatalogForBinding, answerComponents, anthropicLLM, assertReadOnlySql, bindContext, bridgePreamble, captureContext, clearContextTokens, codexDefaultProvider, codexModelFor, codexRunConfig, constraintPoliciesFromConfig, contextTokenCount, createCodexSession, createCodingAgentSession, dashboardConversationHistory, dataFingerprint, describeContext, describeTriggers, emitAgentEvent, extractNamedExport, formatFindingsForAgent, geminiLLM, getCodingAgent, getCodingAgentsConfig, getPiSessionState, getRequestContext, groqLLM, hybridRerank, inferColumns, isUserContext, listCodingAgents, llmUsageLogger, logger, makeFmt, mintContextToken, normalizeScriptBody, onAgentRun, onPiSessionUpdate, openaiLLM, policiesFromConfig, projectForDatasetBinding, promptLoader, queryCache, registerCodingAgentCollection, registerCodingAgents, registerDashboardAgentCollection, requireRequestContext, rerankChromaResults, rerankConversationResults, resolveContextToken, resolveScriptRecipeStore, revokeContextToken, runAsSystem, runAsUser, runCodingAgent, runScript, runWithContext, runWithMessageIdentity, startAgentTriggers, stopAgentTriggers, userPromptErrorLogger, validateComponentSpec, withCapturedContext, writeBridgeShims, writeShims };
|