@crewx/sdk 0.9.0-rc.197 → 0.9.0-rc.199
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/esm/index.js +304 -301
- package/dist/esm/plugins/index.js +87 -87
- package/dist/esm/repository/index.js +143 -143
- package/dist/facade/Crewx.d.ts +4 -0
- package/dist/index.browser.js +4 -4
- package/dist/index.d.ts +2 -0
- package/dist/index.js +312 -309
- package/dist/migrations/0048_smart_gertrude_yorkes.sql +47 -0
- package/dist/migrations/meta/0048_snapshot.json +5128 -0
- package/dist/migrations/meta/_journal.json +7 -0
- package/dist/plugins/index.js +88 -88
- package/dist/repository/index.js +143 -143
- package/dist/route/decide.d.ts +54 -0
- package/dist/route/eligibility.d.ts +11 -0
- package/dist/route/errors.d.ts +11 -0
- package/dist/route/index.d.ts +14 -0
- package/dist/route/runner.d.ts +15 -0
- package/dist/route/sqlite-store.d.ts +17 -0
- package/dist/route/store.d.ts +45 -0
- package/dist/route/strategies.d.ts +4 -0
- package/dist/route/types.d.ts +212 -0
- package/dist/schema/index.d.ts +1 -0
- package/dist/schema/model-routes.d.ts +581 -0
- package/dist/types/index.d.ts +1781 -3
- package/package.json +1 -1
package/dist/types/index.d.ts
CHANGED
|
@@ -864,7 +864,7 @@ export declare const SettingsSchema: z.ZodObject<{
|
|
|
864
864
|
boards: z.ZodCatch<z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>>;
|
|
865
865
|
}, z.ZodUnknown, "strip">>>>;
|
|
866
866
|
}, z.ZodUnknown, "strip">>;
|
|
867
|
-
export declare const CrewxProjectConfigSchema: z.ZodObject<{
|
|
867
|
+
export declare const CrewxProjectConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
868
868
|
agents: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
869
869
|
id: z.ZodString;
|
|
870
870
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -1409,6 +1409,1592 @@ export declare const CrewxProjectConfigSchema: z.ZodObject<{
|
|
|
1409
1409
|
}>>;
|
|
1410
1410
|
interceptors: z.ZodOptional<z.ZodUnknown>;
|
|
1411
1411
|
}, z.ZodUnknown, "strip">>, "many">>;
|
|
1412
|
+
routes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
|
|
1413
|
+
strategy: z.ZodEnum<["round-robin", "weighted"]>;
|
|
1414
|
+
chain: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1415
|
+
kind: z.ZodLiteral<"custom">;
|
|
1416
|
+
run: z.ZodString;
|
|
1417
|
+
}, "strict", z.ZodTypeAny, {
|
|
1418
|
+
kind: "custom";
|
|
1419
|
+
run: string;
|
|
1420
|
+
}, {
|
|
1421
|
+
kind: "custom";
|
|
1422
|
+
run: string;
|
|
1423
|
+
}>, "many">>;
|
|
1424
|
+
candidates: z.ZodArray<z.ZodObject<{
|
|
1425
|
+
id: z.ZodString;
|
|
1426
|
+
provider: z.ZodString;
|
|
1427
|
+
model: z.ZodString;
|
|
1428
|
+
weight: z.ZodDefault<z.ZodNumber>;
|
|
1429
|
+
account: z.ZodOptional<z.ZodString>;
|
|
1430
|
+
}, "strict", z.ZodTypeAny, {
|
|
1431
|
+
id: string;
|
|
1432
|
+
model: string;
|
|
1433
|
+
provider: string;
|
|
1434
|
+
weight: number;
|
|
1435
|
+
account?: string | undefined;
|
|
1436
|
+
}, {
|
|
1437
|
+
id: string;
|
|
1438
|
+
model: string;
|
|
1439
|
+
provider: string;
|
|
1440
|
+
weight?: number | undefined;
|
|
1441
|
+
account?: string | undefined;
|
|
1442
|
+
}>, "many">;
|
|
1443
|
+
sticky: z.ZodDefault<z.ZodEnum<["conversation", "none"]>>;
|
|
1444
|
+
defaultCandidate: z.ZodOptional<z.ZodString>;
|
|
1445
|
+
}, "strict", z.ZodTypeAny, {
|
|
1446
|
+
strategy: "round-robin" | "weighted";
|
|
1447
|
+
candidates: {
|
|
1448
|
+
id: string;
|
|
1449
|
+
model: string;
|
|
1450
|
+
provider: string;
|
|
1451
|
+
weight: number;
|
|
1452
|
+
account?: string | undefined;
|
|
1453
|
+
}[];
|
|
1454
|
+
sticky: "none" | "conversation";
|
|
1455
|
+
chain?: {
|
|
1456
|
+
kind: "custom";
|
|
1457
|
+
run: string;
|
|
1458
|
+
}[] | undefined;
|
|
1459
|
+
defaultCandidate?: string | undefined;
|
|
1460
|
+
}, {
|
|
1461
|
+
strategy: "round-robin" | "weighted";
|
|
1462
|
+
candidates: {
|
|
1463
|
+
id: string;
|
|
1464
|
+
model: string;
|
|
1465
|
+
provider: string;
|
|
1466
|
+
weight?: number | undefined;
|
|
1467
|
+
account?: string | undefined;
|
|
1468
|
+
}[];
|
|
1469
|
+
chain?: {
|
|
1470
|
+
kind: "custom";
|
|
1471
|
+
run: string;
|
|
1472
|
+
}[] | undefined;
|
|
1473
|
+
sticky?: "none" | "conversation" | undefined;
|
|
1474
|
+
defaultCandidate?: string | undefined;
|
|
1475
|
+
}>, {
|
|
1476
|
+
strategy: "round-robin" | "weighted";
|
|
1477
|
+
candidates: {
|
|
1478
|
+
id: string;
|
|
1479
|
+
model: string;
|
|
1480
|
+
provider: string;
|
|
1481
|
+
weight: number;
|
|
1482
|
+
account?: string | undefined;
|
|
1483
|
+
}[];
|
|
1484
|
+
sticky: "none" | "conversation";
|
|
1485
|
+
chain?: {
|
|
1486
|
+
kind: "custom";
|
|
1487
|
+
run: string;
|
|
1488
|
+
}[] | undefined;
|
|
1489
|
+
defaultCandidate?: string | undefined;
|
|
1490
|
+
}, {
|
|
1491
|
+
strategy: "round-robin" | "weighted";
|
|
1492
|
+
candidates: {
|
|
1493
|
+
id: string;
|
|
1494
|
+
model: string;
|
|
1495
|
+
provider: string;
|
|
1496
|
+
weight?: number | undefined;
|
|
1497
|
+
account?: string | undefined;
|
|
1498
|
+
}[];
|
|
1499
|
+
chain?: {
|
|
1500
|
+
kind: "custom";
|
|
1501
|
+
run: string;
|
|
1502
|
+
}[] | undefined;
|
|
1503
|
+
sticky?: "none" | "conversation" | undefined;
|
|
1504
|
+
defaultCandidate?: string | undefined;
|
|
1505
|
+
}>>>;
|
|
1506
|
+
hooks: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
|
|
1507
|
+
settings: z.ZodOptional<z.ZodObject<{
|
|
1508
|
+
bin_resolution: z.ZodOptional<z.ZodEnum<["global_first", "local_first"]>>;
|
|
1509
|
+
dreaming: z.ZodOptional<z.ZodObject<{
|
|
1510
|
+
continuity: z.ZodOptional<z.ZodObject<{
|
|
1511
|
+
inputBudgetPercent: z.ZodOptional<z.ZodNumber>;
|
|
1512
|
+
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
1513
|
+
inputBudgetPercent: z.ZodOptional<z.ZodNumber>;
|
|
1514
|
+
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
1515
|
+
inputBudgetPercent: z.ZodOptional<z.ZodNumber>;
|
|
1516
|
+
}, z.ZodUnknown, "strip">>>;
|
|
1517
|
+
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
1518
|
+
continuity: z.ZodOptional<z.ZodObject<{
|
|
1519
|
+
inputBudgetPercent: z.ZodOptional<z.ZodNumber>;
|
|
1520
|
+
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
1521
|
+
inputBudgetPercent: z.ZodOptional<z.ZodNumber>;
|
|
1522
|
+
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
1523
|
+
inputBudgetPercent: z.ZodOptional<z.ZodNumber>;
|
|
1524
|
+
}, z.ZodUnknown, "strip">>>;
|
|
1525
|
+
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
1526
|
+
continuity: z.ZodOptional<z.ZodObject<{
|
|
1527
|
+
inputBudgetPercent: z.ZodOptional<z.ZodNumber>;
|
|
1528
|
+
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
1529
|
+
inputBudgetPercent: z.ZodOptional<z.ZodNumber>;
|
|
1530
|
+
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
1531
|
+
inputBudgetPercent: z.ZodOptional<z.ZodNumber>;
|
|
1532
|
+
}, z.ZodUnknown, "strip">>>;
|
|
1533
|
+
}, z.ZodUnknown, "strip">>>;
|
|
1534
|
+
wi: z.ZodCatch<z.ZodOptional<z.ZodObject<{
|
|
1535
|
+
boards: z.ZodCatch<z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>>;
|
|
1536
|
+
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
1537
|
+
boards: z.ZodCatch<z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>>;
|
|
1538
|
+
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
1539
|
+
boards: z.ZodCatch<z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>>;
|
|
1540
|
+
}, z.ZodUnknown, "strip">>>>;
|
|
1541
|
+
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
1542
|
+
bin_resolution: z.ZodOptional<z.ZodEnum<["global_first", "local_first"]>>;
|
|
1543
|
+
dreaming: z.ZodOptional<z.ZodObject<{
|
|
1544
|
+
continuity: z.ZodOptional<z.ZodObject<{
|
|
1545
|
+
inputBudgetPercent: z.ZodOptional<z.ZodNumber>;
|
|
1546
|
+
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
1547
|
+
inputBudgetPercent: z.ZodOptional<z.ZodNumber>;
|
|
1548
|
+
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
1549
|
+
inputBudgetPercent: z.ZodOptional<z.ZodNumber>;
|
|
1550
|
+
}, z.ZodUnknown, "strip">>>;
|
|
1551
|
+
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
1552
|
+
continuity: z.ZodOptional<z.ZodObject<{
|
|
1553
|
+
inputBudgetPercent: z.ZodOptional<z.ZodNumber>;
|
|
1554
|
+
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
1555
|
+
inputBudgetPercent: z.ZodOptional<z.ZodNumber>;
|
|
1556
|
+
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
1557
|
+
inputBudgetPercent: z.ZodOptional<z.ZodNumber>;
|
|
1558
|
+
}, z.ZodUnknown, "strip">>>;
|
|
1559
|
+
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
1560
|
+
continuity: z.ZodOptional<z.ZodObject<{
|
|
1561
|
+
inputBudgetPercent: z.ZodOptional<z.ZodNumber>;
|
|
1562
|
+
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
1563
|
+
inputBudgetPercent: z.ZodOptional<z.ZodNumber>;
|
|
1564
|
+
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
1565
|
+
inputBudgetPercent: z.ZodOptional<z.ZodNumber>;
|
|
1566
|
+
}, z.ZodUnknown, "strip">>>;
|
|
1567
|
+
}, z.ZodUnknown, "strip">>>;
|
|
1568
|
+
wi: z.ZodCatch<z.ZodOptional<z.ZodObject<{
|
|
1569
|
+
boards: z.ZodCatch<z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>>;
|
|
1570
|
+
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
1571
|
+
boards: z.ZodCatch<z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>>;
|
|
1572
|
+
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
1573
|
+
boards: z.ZodCatch<z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>>;
|
|
1574
|
+
}, z.ZodUnknown, "strip">>>>;
|
|
1575
|
+
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
1576
|
+
bin_resolution: z.ZodOptional<z.ZodEnum<["global_first", "local_first"]>>;
|
|
1577
|
+
dreaming: z.ZodOptional<z.ZodObject<{
|
|
1578
|
+
continuity: z.ZodOptional<z.ZodObject<{
|
|
1579
|
+
inputBudgetPercent: z.ZodOptional<z.ZodNumber>;
|
|
1580
|
+
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
1581
|
+
inputBudgetPercent: z.ZodOptional<z.ZodNumber>;
|
|
1582
|
+
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
1583
|
+
inputBudgetPercent: z.ZodOptional<z.ZodNumber>;
|
|
1584
|
+
}, z.ZodUnknown, "strip">>>;
|
|
1585
|
+
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
1586
|
+
continuity: z.ZodOptional<z.ZodObject<{
|
|
1587
|
+
inputBudgetPercent: z.ZodOptional<z.ZodNumber>;
|
|
1588
|
+
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
1589
|
+
inputBudgetPercent: z.ZodOptional<z.ZodNumber>;
|
|
1590
|
+
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
1591
|
+
inputBudgetPercent: z.ZodOptional<z.ZodNumber>;
|
|
1592
|
+
}, z.ZodUnknown, "strip">>>;
|
|
1593
|
+
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
1594
|
+
continuity: z.ZodOptional<z.ZodObject<{
|
|
1595
|
+
inputBudgetPercent: z.ZodOptional<z.ZodNumber>;
|
|
1596
|
+
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
1597
|
+
inputBudgetPercent: z.ZodOptional<z.ZodNumber>;
|
|
1598
|
+
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
1599
|
+
inputBudgetPercent: z.ZodOptional<z.ZodNumber>;
|
|
1600
|
+
}, z.ZodUnknown, "strip">>>;
|
|
1601
|
+
}, z.ZodUnknown, "strip">>>;
|
|
1602
|
+
wi: z.ZodCatch<z.ZodOptional<z.ZodObject<{
|
|
1603
|
+
boards: z.ZodCatch<z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>>;
|
|
1604
|
+
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
1605
|
+
boards: z.ZodCatch<z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>>;
|
|
1606
|
+
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
1607
|
+
boards: z.ZodCatch<z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>>;
|
|
1608
|
+
}, z.ZodUnknown, "strip">>>>;
|
|
1609
|
+
}, z.ZodUnknown, "strip">>>;
|
|
1610
|
+
skills: z.ZodOptional<z.ZodUnknown>;
|
|
1611
|
+
layouts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1612
|
+
documents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1613
|
+
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
1614
|
+
agents: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1615
|
+
id: z.ZodString;
|
|
1616
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1617
|
+
role: z.ZodOptional<z.ZodString>;
|
|
1618
|
+
team: z.ZodOptional<z.ZodString>;
|
|
1619
|
+
provider: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
|
1620
|
+
provider_account: z.ZodOptional<z.ZodString>;
|
|
1621
|
+
working_directory: z.ZodOptional<z.ZodString>;
|
|
1622
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1623
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1624
|
+
inline: z.ZodOptional<z.ZodObject<{
|
|
1625
|
+
model: z.ZodOptional<z.ZodString>;
|
|
1626
|
+
system_prompt: z.ZodOptional<z.ZodString>;
|
|
1627
|
+
prompt: z.ZodOptional<z.ZodString>;
|
|
1628
|
+
layout: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
1629
|
+
id: z.ZodString;
|
|
1630
|
+
props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1631
|
+
}, "strip", z.ZodTypeAny, {
|
|
1632
|
+
id: string;
|
|
1633
|
+
props?: Record<string, unknown> | undefined;
|
|
1634
|
+
}, {
|
|
1635
|
+
id: string;
|
|
1636
|
+
props?: Record<string, unknown> | undefined;
|
|
1637
|
+
}>, z.ZodObject<{
|
|
1638
|
+
props: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1639
|
+
}, "strip", z.ZodTypeAny, {
|
|
1640
|
+
props: Record<string, unknown>;
|
|
1641
|
+
}, {
|
|
1642
|
+
props: Record<string, unknown>;
|
|
1643
|
+
}>, z.ZodObject<{
|
|
1644
|
+
template: z.ZodString;
|
|
1645
|
+
capabilities: z.ZodOptional<z.ZodObject<{
|
|
1646
|
+
semanticContinuity: z.ZodOptional<z.ZodBoolean>;
|
|
1647
|
+
continuity: z.ZodOptional<z.ZodBoolean>;
|
|
1648
|
+
continuitySlot: z.ZodOptional<z.ZodString>;
|
|
1649
|
+
slot: z.ZodOptional<z.ZodString>;
|
|
1650
|
+
}, "strip", z.ZodTypeAny, {
|
|
1651
|
+
semanticContinuity?: boolean | undefined;
|
|
1652
|
+
continuity?: boolean | undefined;
|
|
1653
|
+
continuitySlot?: string | undefined;
|
|
1654
|
+
slot?: string | undefined;
|
|
1655
|
+
}, {
|
|
1656
|
+
semanticContinuity?: boolean | undefined;
|
|
1657
|
+
continuity?: boolean | undefined;
|
|
1658
|
+
continuitySlot?: string | undefined;
|
|
1659
|
+
slot?: string | undefined;
|
|
1660
|
+
}>>;
|
|
1661
|
+
}, "strip", z.ZodTypeAny, {
|
|
1662
|
+
template: string;
|
|
1663
|
+
capabilities?: {
|
|
1664
|
+
semanticContinuity?: boolean | undefined;
|
|
1665
|
+
continuity?: boolean | undefined;
|
|
1666
|
+
continuitySlot?: string | undefined;
|
|
1667
|
+
slot?: string | undefined;
|
|
1668
|
+
} | undefined;
|
|
1669
|
+
}, {
|
|
1670
|
+
template: string;
|
|
1671
|
+
capabilities?: {
|
|
1672
|
+
semanticContinuity?: boolean | undefined;
|
|
1673
|
+
continuity?: boolean | undefined;
|
|
1674
|
+
continuitySlot?: string | undefined;
|
|
1675
|
+
slot?: string | undefined;
|
|
1676
|
+
} | undefined;
|
|
1677
|
+
}>]>>;
|
|
1678
|
+
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
1679
|
+
model: z.ZodOptional<z.ZodString>;
|
|
1680
|
+
system_prompt: z.ZodOptional<z.ZodString>;
|
|
1681
|
+
prompt: z.ZodOptional<z.ZodString>;
|
|
1682
|
+
layout: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
1683
|
+
id: z.ZodString;
|
|
1684
|
+
props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1685
|
+
}, "strip", z.ZodTypeAny, {
|
|
1686
|
+
id: string;
|
|
1687
|
+
props?: Record<string, unknown> | undefined;
|
|
1688
|
+
}, {
|
|
1689
|
+
id: string;
|
|
1690
|
+
props?: Record<string, unknown> | undefined;
|
|
1691
|
+
}>, z.ZodObject<{
|
|
1692
|
+
props: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1693
|
+
}, "strip", z.ZodTypeAny, {
|
|
1694
|
+
props: Record<string, unknown>;
|
|
1695
|
+
}, {
|
|
1696
|
+
props: Record<string, unknown>;
|
|
1697
|
+
}>, z.ZodObject<{
|
|
1698
|
+
template: z.ZodString;
|
|
1699
|
+
capabilities: z.ZodOptional<z.ZodObject<{
|
|
1700
|
+
semanticContinuity: z.ZodOptional<z.ZodBoolean>;
|
|
1701
|
+
continuity: z.ZodOptional<z.ZodBoolean>;
|
|
1702
|
+
continuitySlot: z.ZodOptional<z.ZodString>;
|
|
1703
|
+
slot: z.ZodOptional<z.ZodString>;
|
|
1704
|
+
}, "strip", z.ZodTypeAny, {
|
|
1705
|
+
semanticContinuity?: boolean | undefined;
|
|
1706
|
+
continuity?: boolean | undefined;
|
|
1707
|
+
continuitySlot?: string | undefined;
|
|
1708
|
+
slot?: string | undefined;
|
|
1709
|
+
}, {
|
|
1710
|
+
semanticContinuity?: boolean | undefined;
|
|
1711
|
+
continuity?: boolean | undefined;
|
|
1712
|
+
continuitySlot?: string | undefined;
|
|
1713
|
+
slot?: string | undefined;
|
|
1714
|
+
}>>;
|
|
1715
|
+
}, "strip", z.ZodTypeAny, {
|
|
1716
|
+
template: string;
|
|
1717
|
+
capabilities?: {
|
|
1718
|
+
semanticContinuity?: boolean | undefined;
|
|
1719
|
+
continuity?: boolean | undefined;
|
|
1720
|
+
continuitySlot?: string | undefined;
|
|
1721
|
+
slot?: string | undefined;
|
|
1722
|
+
} | undefined;
|
|
1723
|
+
}, {
|
|
1724
|
+
template: string;
|
|
1725
|
+
capabilities?: {
|
|
1726
|
+
semanticContinuity?: boolean | undefined;
|
|
1727
|
+
continuity?: boolean | undefined;
|
|
1728
|
+
continuitySlot?: string | undefined;
|
|
1729
|
+
slot?: string | undefined;
|
|
1730
|
+
} | undefined;
|
|
1731
|
+
}>]>>;
|
|
1732
|
+
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
1733
|
+
model: z.ZodOptional<z.ZodString>;
|
|
1734
|
+
system_prompt: z.ZodOptional<z.ZodString>;
|
|
1735
|
+
prompt: z.ZodOptional<z.ZodString>;
|
|
1736
|
+
layout: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
1737
|
+
id: z.ZodString;
|
|
1738
|
+
props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1739
|
+
}, "strip", z.ZodTypeAny, {
|
|
1740
|
+
id: string;
|
|
1741
|
+
props?: Record<string, unknown> | undefined;
|
|
1742
|
+
}, {
|
|
1743
|
+
id: string;
|
|
1744
|
+
props?: Record<string, unknown> | undefined;
|
|
1745
|
+
}>, z.ZodObject<{
|
|
1746
|
+
props: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1747
|
+
}, "strip", z.ZodTypeAny, {
|
|
1748
|
+
props: Record<string, unknown>;
|
|
1749
|
+
}, {
|
|
1750
|
+
props: Record<string, unknown>;
|
|
1751
|
+
}>, z.ZodObject<{
|
|
1752
|
+
template: z.ZodString;
|
|
1753
|
+
capabilities: z.ZodOptional<z.ZodObject<{
|
|
1754
|
+
semanticContinuity: z.ZodOptional<z.ZodBoolean>;
|
|
1755
|
+
continuity: z.ZodOptional<z.ZodBoolean>;
|
|
1756
|
+
continuitySlot: z.ZodOptional<z.ZodString>;
|
|
1757
|
+
slot: z.ZodOptional<z.ZodString>;
|
|
1758
|
+
}, "strip", z.ZodTypeAny, {
|
|
1759
|
+
semanticContinuity?: boolean | undefined;
|
|
1760
|
+
continuity?: boolean | undefined;
|
|
1761
|
+
continuitySlot?: string | undefined;
|
|
1762
|
+
slot?: string | undefined;
|
|
1763
|
+
}, {
|
|
1764
|
+
semanticContinuity?: boolean | undefined;
|
|
1765
|
+
continuity?: boolean | undefined;
|
|
1766
|
+
continuitySlot?: string | undefined;
|
|
1767
|
+
slot?: string | undefined;
|
|
1768
|
+
}>>;
|
|
1769
|
+
}, "strip", z.ZodTypeAny, {
|
|
1770
|
+
template: string;
|
|
1771
|
+
capabilities?: {
|
|
1772
|
+
semanticContinuity?: boolean | undefined;
|
|
1773
|
+
continuity?: boolean | undefined;
|
|
1774
|
+
continuitySlot?: string | undefined;
|
|
1775
|
+
slot?: string | undefined;
|
|
1776
|
+
} | undefined;
|
|
1777
|
+
}, {
|
|
1778
|
+
template: string;
|
|
1779
|
+
capabilities?: {
|
|
1780
|
+
semanticContinuity?: boolean | undefined;
|
|
1781
|
+
continuity?: boolean | undefined;
|
|
1782
|
+
continuitySlot?: string | undefined;
|
|
1783
|
+
slot?: string | undefined;
|
|
1784
|
+
} | undefined;
|
|
1785
|
+
}>]>>;
|
|
1786
|
+
}, z.ZodUnknown, "strip">>>;
|
|
1787
|
+
skills: z.ZodOptional<z.ZodObject<{
|
|
1788
|
+
include: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1789
|
+
}, "strip", z.ZodTypeAny, {
|
|
1790
|
+
include?: string[] | undefined;
|
|
1791
|
+
}, {
|
|
1792
|
+
include?: string[] | undefined;
|
|
1793
|
+
}>>;
|
|
1794
|
+
interceptors: z.ZodOptional<z.ZodUnknown>;
|
|
1795
|
+
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
1796
|
+
id: z.ZodString;
|
|
1797
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1798
|
+
role: z.ZodOptional<z.ZodString>;
|
|
1799
|
+
team: z.ZodOptional<z.ZodString>;
|
|
1800
|
+
provider: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
|
1801
|
+
provider_account: z.ZodOptional<z.ZodString>;
|
|
1802
|
+
working_directory: z.ZodOptional<z.ZodString>;
|
|
1803
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1804
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1805
|
+
inline: z.ZodOptional<z.ZodObject<{
|
|
1806
|
+
model: z.ZodOptional<z.ZodString>;
|
|
1807
|
+
system_prompt: z.ZodOptional<z.ZodString>;
|
|
1808
|
+
prompt: z.ZodOptional<z.ZodString>;
|
|
1809
|
+
layout: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
1810
|
+
id: z.ZodString;
|
|
1811
|
+
props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1812
|
+
}, "strip", z.ZodTypeAny, {
|
|
1813
|
+
id: string;
|
|
1814
|
+
props?: Record<string, unknown> | undefined;
|
|
1815
|
+
}, {
|
|
1816
|
+
id: string;
|
|
1817
|
+
props?: Record<string, unknown> | undefined;
|
|
1818
|
+
}>, z.ZodObject<{
|
|
1819
|
+
props: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1820
|
+
}, "strip", z.ZodTypeAny, {
|
|
1821
|
+
props: Record<string, unknown>;
|
|
1822
|
+
}, {
|
|
1823
|
+
props: Record<string, unknown>;
|
|
1824
|
+
}>, z.ZodObject<{
|
|
1825
|
+
template: z.ZodString;
|
|
1826
|
+
capabilities: z.ZodOptional<z.ZodObject<{
|
|
1827
|
+
semanticContinuity: z.ZodOptional<z.ZodBoolean>;
|
|
1828
|
+
continuity: z.ZodOptional<z.ZodBoolean>;
|
|
1829
|
+
continuitySlot: z.ZodOptional<z.ZodString>;
|
|
1830
|
+
slot: z.ZodOptional<z.ZodString>;
|
|
1831
|
+
}, "strip", z.ZodTypeAny, {
|
|
1832
|
+
semanticContinuity?: boolean | undefined;
|
|
1833
|
+
continuity?: boolean | undefined;
|
|
1834
|
+
continuitySlot?: string | undefined;
|
|
1835
|
+
slot?: string | undefined;
|
|
1836
|
+
}, {
|
|
1837
|
+
semanticContinuity?: boolean | undefined;
|
|
1838
|
+
continuity?: boolean | undefined;
|
|
1839
|
+
continuitySlot?: string | undefined;
|
|
1840
|
+
slot?: string | undefined;
|
|
1841
|
+
}>>;
|
|
1842
|
+
}, "strip", z.ZodTypeAny, {
|
|
1843
|
+
template: string;
|
|
1844
|
+
capabilities?: {
|
|
1845
|
+
semanticContinuity?: boolean | undefined;
|
|
1846
|
+
continuity?: boolean | undefined;
|
|
1847
|
+
continuitySlot?: string | undefined;
|
|
1848
|
+
slot?: string | undefined;
|
|
1849
|
+
} | undefined;
|
|
1850
|
+
}, {
|
|
1851
|
+
template: string;
|
|
1852
|
+
capabilities?: {
|
|
1853
|
+
semanticContinuity?: boolean | undefined;
|
|
1854
|
+
continuity?: boolean | undefined;
|
|
1855
|
+
continuitySlot?: string | undefined;
|
|
1856
|
+
slot?: string | undefined;
|
|
1857
|
+
} | undefined;
|
|
1858
|
+
}>]>>;
|
|
1859
|
+
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
1860
|
+
model: z.ZodOptional<z.ZodString>;
|
|
1861
|
+
system_prompt: z.ZodOptional<z.ZodString>;
|
|
1862
|
+
prompt: z.ZodOptional<z.ZodString>;
|
|
1863
|
+
layout: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
1864
|
+
id: z.ZodString;
|
|
1865
|
+
props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1866
|
+
}, "strip", z.ZodTypeAny, {
|
|
1867
|
+
id: string;
|
|
1868
|
+
props?: Record<string, unknown> | undefined;
|
|
1869
|
+
}, {
|
|
1870
|
+
id: string;
|
|
1871
|
+
props?: Record<string, unknown> | undefined;
|
|
1872
|
+
}>, z.ZodObject<{
|
|
1873
|
+
props: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1874
|
+
}, "strip", z.ZodTypeAny, {
|
|
1875
|
+
props: Record<string, unknown>;
|
|
1876
|
+
}, {
|
|
1877
|
+
props: Record<string, unknown>;
|
|
1878
|
+
}>, z.ZodObject<{
|
|
1879
|
+
template: z.ZodString;
|
|
1880
|
+
capabilities: z.ZodOptional<z.ZodObject<{
|
|
1881
|
+
semanticContinuity: z.ZodOptional<z.ZodBoolean>;
|
|
1882
|
+
continuity: z.ZodOptional<z.ZodBoolean>;
|
|
1883
|
+
continuitySlot: z.ZodOptional<z.ZodString>;
|
|
1884
|
+
slot: z.ZodOptional<z.ZodString>;
|
|
1885
|
+
}, "strip", z.ZodTypeAny, {
|
|
1886
|
+
semanticContinuity?: boolean | undefined;
|
|
1887
|
+
continuity?: boolean | undefined;
|
|
1888
|
+
continuitySlot?: string | undefined;
|
|
1889
|
+
slot?: string | undefined;
|
|
1890
|
+
}, {
|
|
1891
|
+
semanticContinuity?: boolean | undefined;
|
|
1892
|
+
continuity?: boolean | undefined;
|
|
1893
|
+
continuitySlot?: string | undefined;
|
|
1894
|
+
slot?: string | undefined;
|
|
1895
|
+
}>>;
|
|
1896
|
+
}, "strip", z.ZodTypeAny, {
|
|
1897
|
+
template: string;
|
|
1898
|
+
capabilities?: {
|
|
1899
|
+
semanticContinuity?: boolean | undefined;
|
|
1900
|
+
continuity?: boolean | undefined;
|
|
1901
|
+
continuitySlot?: string | undefined;
|
|
1902
|
+
slot?: string | undefined;
|
|
1903
|
+
} | undefined;
|
|
1904
|
+
}, {
|
|
1905
|
+
template: string;
|
|
1906
|
+
capabilities?: {
|
|
1907
|
+
semanticContinuity?: boolean | undefined;
|
|
1908
|
+
continuity?: boolean | undefined;
|
|
1909
|
+
continuitySlot?: string | undefined;
|
|
1910
|
+
slot?: string | undefined;
|
|
1911
|
+
} | undefined;
|
|
1912
|
+
}>]>>;
|
|
1913
|
+
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
1914
|
+
model: z.ZodOptional<z.ZodString>;
|
|
1915
|
+
system_prompt: z.ZodOptional<z.ZodString>;
|
|
1916
|
+
prompt: z.ZodOptional<z.ZodString>;
|
|
1917
|
+
layout: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
1918
|
+
id: z.ZodString;
|
|
1919
|
+
props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1920
|
+
}, "strip", z.ZodTypeAny, {
|
|
1921
|
+
id: string;
|
|
1922
|
+
props?: Record<string, unknown> | undefined;
|
|
1923
|
+
}, {
|
|
1924
|
+
id: string;
|
|
1925
|
+
props?: Record<string, unknown> | undefined;
|
|
1926
|
+
}>, z.ZodObject<{
|
|
1927
|
+
props: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1928
|
+
}, "strip", z.ZodTypeAny, {
|
|
1929
|
+
props: Record<string, unknown>;
|
|
1930
|
+
}, {
|
|
1931
|
+
props: Record<string, unknown>;
|
|
1932
|
+
}>, z.ZodObject<{
|
|
1933
|
+
template: z.ZodString;
|
|
1934
|
+
capabilities: z.ZodOptional<z.ZodObject<{
|
|
1935
|
+
semanticContinuity: z.ZodOptional<z.ZodBoolean>;
|
|
1936
|
+
continuity: z.ZodOptional<z.ZodBoolean>;
|
|
1937
|
+
continuitySlot: z.ZodOptional<z.ZodString>;
|
|
1938
|
+
slot: z.ZodOptional<z.ZodString>;
|
|
1939
|
+
}, "strip", z.ZodTypeAny, {
|
|
1940
|
+
semanticContinuity?: boolean | undefined;
|
|
1941
|
+
continuity?: boolean | undefined;
|
|
1942
|
+
continuitySlot?: string | undefined;
|
|
1943
|
+
slot?: string | undefined;
|
|
1944
|
+
}, {
|
|
1945
|
+
semanticContinuity?: boolean | undefined;
|
|
1946
|
+
continuity?: boolean | undefined;
|
|
1947
|
+
continuitySlot?: string | undefined;
|
|
1948
|
+
slot?: string | undefined;
|
|
1949
|
+
}>>;
|
|
1950
|
+
}, "strip", z.ZodTypeAny, {
|
|
1951
|
+
template: string;
|
|
1952
|
+
capabilities?: {
|
|
1953
|
+
semanticContinuity?: boolean | undefined;
|
|
1954
|
+
continuity?: boolean | undefined;
|
|
1955
|
+
continuitySlot?: string | undefined;
|
|
1956
|
+
slot?: string | undefined;
|
|
1957
|
+
} | undefined;
|
|
1958
|
+
}, {
|
|
1959
|
+
template: string;
|
|
1960
|
+
capabilities?: {
|
|
1961
|
+
semanticContinuity?: boolean | undefined;
|
|
1962
|
+
continuity?: boolean | undefined;
|
|
1963
|
+
continuitySlot?: string | undefined;
|
|
1964
|
+
slot?: string | undefined;
|
|
1965
|
+
} | undefined;
|
|
1966
|
+
}>]>>;
|
|
1967
|
+
}, z.ZodUnknown, "strip">>>;
|
|
1968
|
+
skills: z.ZodOptional<z.ZodObject<{
|
|
1969
|
+
include: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1970
|
+
}, "strip", z.ZodTypeAny, {
|
|
1971
|
+
include?: string[] | undefined;
|
|
1972
|
+
}, {
|
|
1973
|
+
include?: string[] | undefined;
|
|
1974
|
+
}>>;
|
|
1975
|
+
interceptors: z.ZodOptional<z.ZodUnknown>;
|
|
1976
|
+
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
1977
|
+
id: z.ZodString;
|
|
1978
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1979
|
+
role: z.ZodOptional<z.ZodString>;
|
|
1980
|
+
team: z.ZodOptional<z.ZodString>;
|
|
1981
|
+
provider: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
|
1982
|
+
provider_account: z.ZodOptional<z.ZodString>;
|
|
1983
|
+
working_directory: z.ZodOptional<z.ZodString>;
|
|
1984
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1985
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1986
|
+
inline: z.ZodOptional<z.ZodObject<{
|
|
1987
|
+
model: z.ZodOptional<z.ZodString>;
|
|
1988
|
+
system_prompt: z.ZodOptional<z.ZodString>;
|
|
1989
|
+
prompt: z.ZodOptional<z.ZodString>;
|
|
1990
|
+
layout: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
1991
|
+
id: z.ZodString;
|
|
1992
|
+
props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1993
|
+
}, "strip", z.ZodTypeAny, {
|
|
1994
|
+
id: string;
|
|
1995
|
+
props?: Record<string, unknown> | undefined;
|
|
1996
|
+
}, {
|
|
1997
|
+
id: string;
|
|
1998
|
+
props?: Record<string, unknown> | undefined;
|
|
1999
|
+
}>, z.ZodObject<{
|
|
2000
|
+
props: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2001
|
+
}, "strip", z.ZodTypeAny, {
|
|
2002
|
+
props: Record<string, unknown>;
|
|
2003
|
+
}, {
|
|
2004
|
+
props: Record<string, unknown>;
|
|
2005
|
+
}>, z.ZodObject<{
|
|
2006
|
+
template: z.ZodString;
|
|
2007
|
+
capabilities: z.ZodOptional<z.ZodObject<{
|
|
2008
|
+
semanticContinuity: z.ZodOptional<z.ZodBoolean>;
|
|
2009
|
+
continuity: z.ZodOptional<z.ZodBoolean>;
|
|
2010
|
+
continuitySlot: z.ZodOptional<z.ZodString>;
|
|
2011
|
+
slot: z.ZodOptional<z.ZodString>;
|
|
2012
|
+
}, "strip", z.ZodTypeAny, {
|
|
2013
|
+
semanticContinuity?: boolean | undefined;
|
|
2014
|
+
continuity?: boolean | undefined;
|
|
2015
|
+
continuitySlot?: string | undefined;
|
|
2016
|
+
slot?: string | undefined;
|
|
2017
|
+
}, {
|
|
2018
|
+
semanticContinuity?: boolean | undefined;
|
|
2019
|
+
continuity?: boolean | undefined;
|
|
2020
|
+
continuitySlot?: string | undefined;
|
|
2021
|
+
slot?: string | undefined;
|
|
2022
|
+
}>>;
|
|
2023
|
+
}, "strip", z.ZodTypeAny, {
|
|
2024
|
+
template: string;
|
|
2025
|
+
capabilities?: {
|
|
2026
|
+
semanticContinuity?: boolean | undefined;
|
|
2027
|
+
continuity?: boolean | undefined;
|
|
2028
|
+
continuitySlot?: string | undefined;
|
|
2029
|
+
slot?: string | undefined;
|
|
2030
|
+
} | undefined;
|
|
2031
|
+
}, {
|
|
2032
|
+
template: string;
|
|
2033
|
+
capabilities?: {
|
|
2034
|
+
semanticContinuity?: boolean | undefined;
|
|
2035
|
+
continuity?: boolean | undefined;
|
|
2036
|
+
continuitySlot?: string | undefined;
|
|
2037
|
+
slot?: string | undefined;
|
|
2038
|
+
} | undefined;
|
|
2039
|
+
}>]>>;
|
|
2040
|
+
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
2041
|
+
model: z.ZodOptional<z.ZodString>;
|
|
2042
|
+
system_prompt: z.ZodOptional<z.ZodString>;
|
|
2043
|
+
prompt: z.ZodOptional<z.ZodString>;
|
|
2044
|
+
layout: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
2045
|
+
id: z.ZodString;
|
|
2046
|
+
props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2047
|
+
}, "strip", z.ZodTypeAny, {
|
|
2048
|
+
id: string;
|
|
2049
|
+
props?: Record<string, unknown> | undefined;
|
|
2050
|
+
}, {
|
|
2051
|
+
id: string;
|
|
2052
|
+
props?: Record<string, unknown> | undefined;
|
|
2053
|
+
}>, z.ZodObject<{
|
|
2054
|
+
props: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2055
|
+
}, "strip", z.ZodTypeAny, {
|
|
2056
|
+
props: Record<string, unknown>;
|
|
2057
|
+
}, {
|
|
2058
|
+
props: Record<string, unknown>;
|
|
2059
|
+
}>, z.ZodObject<{
|
|
2060
|
+
template: z.ZodString;
|
|
2061
|
+
capabilities: z.ZodOptional<z.ZodObject<{
|
|
2062
|
+
semanticContinuity: z.ZodOptional<z.ZodBoolean>;
|
|
2063
|
+
continuity: z.ZodOptional<z.ZodBoolean>;
|
|
2064
|
+
continuitySlot: z.ZodOptional<z.ZodString>;
|
|
2065
|
+
slot: z.ZodOptional<z.ZodString>;
|
|
2066
|
+
}, "strip", z.ZodTypeAny, {
|
|
2067
|
+
semanticContinuity?: boolean | undefined;
|
|
2068
|
+
continuity?: boolean | undefined;
|
|
2069
|
+
continuitySlot?: string | undefined;
|
|
2070
|
+
slot?: string | undefined;
|
|
2071
|
+
}, {
|
|
2072
|
+
semanticContinuity?: boolean | undefined;
|
|
2073
|
+
continuity?: boolean | undefined;
|
|
2074
|
+
continuitySlot?: string | undefined;
|
|
2075
|
+
slot?: string | undefined;
|
|
2076
|
+
}>>;
|
|
2077
|
+
}, "strip", z.ZodTypeAny, {
|
|
2078
|
+
template: string;
|
|
2079
|
+
capabilities?: {
|
|
2080
|
+
semanticContinuity?: boolean | undefined;
|
|
2081
|
+
continuity?: boolean | undefined;
|
|
2082
|
+
continuitySlot?: string | undefined;
|
|
2083
|
+
slot?: string | undefined;
|
|
2084
|
+
} | undefined;
|
|
2085
|
+
}, {
|
|
2086
|
+
template: string;
|
|
2087
|
+
capabilities?: {
|
|
2088
|
+
semanticContinuity?: boolean | undefined;
|
|
2089
|
+
continuity?: boolean | undefined;
|
|
2090
|
+
continuitySlot?: string | undefined;
|
|
2091
|
+
slot?: string | undefined;
|
|
2092
|
+
} | undefined;
|
|
2093
|
+
}>]>>;
|
|
2094
|
+
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
2095
|
+
model: z.ZodOptional<z.ZodString>;
|
|
2096
|
+
system_prompt: z.ZodOptional<z.ZodString>;
|
|
2097
|
+
prompt: z.ZodOptional<z.ZodString>;
|
|
2098
|
+
layout: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
2099
|
+
id: z.ZodString;
|
|
2100
|
+
props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2101
|
+
}, "strip", z.ZodTypeAny, {
|
|
2102
|
+
id: string;
|
|
2103
|
+
props?: Record<string, unknown> | undefined;
|
|
2104
|
+
}, {
|
|
2105
|
+
id: string;
|
|
2106
|
+
props?: Record<string, unknown> | undefined;
|
|
2107
|
+
}>, z.ZodObject<{
|
|
2108
|
+
props: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2109
|
+
}, "strip", z.ZodTypeAny, {
|
|
2110
|
+
props: Record<string, unknown>;
|
|
2111
|
+
}, {
|
|
2112
|
+
props: Record<string, unknown>;
|
|
2113
|
+
}>, z.ZodObject<{
|
|
2114
|
+
template: z.ZodString;
|
|
2115
|
+
capabilities: z.ZodOptional<z.ZodObject<{
|
|
2116
|
+
semanticContinuity: z.ZodOptional<z.ZodBoolean>;
|
|
2117
|
+
continuity: z.ZodOptional<z.ZodBoolean>;
|
|
2118
|
+
continuitySlot: z.ZodOptional<z.ZodString>;
|
|
2119
|
+
slot: z.ZodOptional<z.ZodString>;
|
|
2120
|
+
}, "strip", z.ZodTypeAny, {
|
|
2121
|
+
semanticContinuity?: boolean | undefined;
|
|
2122
|
+
continuity?: boolean | undefined;
|
|
2123
|
+
continuitySlot?: string | undefined;
|
|
2124
|
+
slot?: string | undefined;
|
|
2125
|
+
}, {
|
|
2126
|
+
semanticContinuity?: boolean | undefined;
|
|
2127
|
+
continuity?: boolean | undefined;
|
|
2128
|
+
continuitySlot?: string | undefined;
|
|
2129
|
+
slot?: string | undefined;
|
|
2130
|
+
}>>;
|
|
2131
|
+
}, "strip", z.ZodTypeAny, {
|
|
2132
|
+
template: string;
|
|
2133
|
+
capabilities?: {
|
|
2134
|
+
semanticContinuity?: boolean | undefined;
|
|
2135
|
+
continuity?: boolean | undefined;
|
|
2136
|
+
continuitySlot?: string | undefined;
|
|
2137
|
+
slot?: string | undefined;
|
|
2138
|
+
} | undefined;
|
|
2139
|
+
}, {
|
|
2140
|
+
template: string;
|
|
2141
|
+
capabilities?: {
|
|
2142
|
+
semanticContinuity?: boolean | undefined;
|
|
2143
|
+
continuity?: boolean | undefined;
|
|
2144
|
+
continuitySlot?: string | undefined;
|
|
2145
|
+
slot?: string | undefined;
|
|
2146
|
+
} | undefined;
|
|
2147
|
+
}>]>>;
|
|
2148
|
+
}, z.ZodUnknown, "strip">>>;
|
|
2149
|
+
skills: z.ZodOptional<z.ZodObject<{
|
|
2150
|
+
include: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2151
|
+
}, "strip", z.ZodTypeAny, {
|
|
2152
|
+
include?: string[] | undefined;
|
|
2153
|
+
}, {
|
|
2154
|
+
include?: string[] | undefined;
|
|
2155
|
+
}>>;
|
|
2156
|
+
interceptors: z.ZodOptional<z.ZodUnknown>;
|
|
2157
|
+
}, z.ZodUnknown, "strip">>, "many">>;
|
|
2158
|
+
routes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
|
|
2159
|
+
strategy: z.ZodEnum<["round-robin", "weighted"]>;
|
|
2160
|
+
chain: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2161
|
+
kind: z.ZodLiteral<"custom">;
|
|
2162
|
+
run: z.ZodString;
|
|
2163
|
+
}, "strict", z.ZodTypeAny, {
|
|
2164
|
+
kind: "custom";
|
|
2165
|
+
run: string;
|
|
2166
|
+
}, {
|
|
2167
|
+
kind: "custom";
|
|
2168
|
+
run: string;
|
|
2169
|
+
}>, "many">>;
|
|
2170
|
+
candidates: z.ZodArray<z.ZodObject<{
|
|
2171
|
+
id: z.ZodString;
|
|
2172
|
+
provider: z.ZodString;
|
|
2173
|
+
model: z.ZodString;
|
|
2174
|
+
weight: z.ZodDefault<z.ZodNumber>;
|
|
2175
|
+
account: z.ZodOptional<z.ZodString>;
|
|
2176
|
+
}, "strict", z.ZodTypeAny, {
|
|
2177
|
+
id: string;
|
|
2178
|
+
model: string;
|
|
2179
|
+
provider: string;
|
|
2180
|
+
weight: number;
|
|
2181
|
+
account?: string | undefined;
|
|
2182
|
+
}, {
|
|
2183
|
+
id: string;
|
|
2184
|
+
model: string;
|
|
2185
|
+
provider: string;
|
|
2186
|
+
weight?: number | undefined;
|
|
2187
|
+
account?: string | undefined;
|
|
2188
|
+
}>, "many">;
|
|
2189
|
+
sticky: z.ZodDefault<z.ZodEnum<["conversation", "none"]>>;
|
|
2190
|
+
defaultCandidate: z.ZodOptional<z.ZodString>;
|
|
2191
|
+
}, "strict", z.ZodTypeAny, {
|
|
2192
|
+
strategy: "round-robin" | "weighted";
|
|
2193
|
+
candidates: {
|
|
2194
|
+
id: string;
|
|
2195
|
+
model: string;
|
|
2196
|
+
provider: string;
|
|
2197
|
+
weight: number;
|
|
2198
|
+
account?: string | undefined;
|
|
2199
|
+
}[];
|
|
2200
|
+
sticky: "none" | "conversation";
|
|
2201
|
+
chain?: {
|
|
2202
|
+
kind: "custom";
|
|
2203
|
+
run: string;
|
|
2204
|
+
}[] | undefined;
|
|
2205
|
+
defaultCandidate?: string | undefined;
|
|
2206
|
+
}, {
|
|
2207
|
+
strategy: "round-robin" | "weighted";
|
|
2208
|
+
candidates: {
|
|
2209
|
+
id: string;
|
|
2210
|
+
model: string;
|
|
2211
|
+
provider: string;
|
|
2212
|
+
weight?: number | undefined;
|
|
2213
|
+
account?: string | undefined;
|
|
2214
|
+
}[];
|
|
2215
|
+
chain?: {
|
|
2216
|
+
kind: "custom";
|
|
2217
|
+
run: string;
|
|
2218
|
+
}[] | undefined;
|
|
2219
|
+
sticky?: "none" | "conversation" | undefined;
|
|
2220
|
+
defaultCandidate?: string | undefined;
|
|
2221
|
+
}>, {
|
|
2222
|
+
strategy: "round-robin" | "weighted";
|
|
2223
|
+
candidates: {
|
|
2224
|
+
id: string;
|
|
2225
|
+
model: string;
|
|
2226
|
+
provider: string;
|
|
2227
|
+
weight: number;
|
|
2228
|
+
account?: string | undefined;
|
|
2229
|
+
}[];
|
|
2230
|
+
sticky: "none" | "conversation";
|
|
2231
|
+
chain?: {
|
|
2232
|
+
kind: "custom";
|
|
2233
|
+
run: string;
|
|
2234
|
+
}[] | undefined;
|
|
2235
|
+
defaultCandidate?: string | undefined;
|
|
2236
|
+
}, {
|
|
2237
|
+
strategy: "round-robin" | "weighted";
|
|
2238
|
+
candidates: {
|
|
2239
|
+
id: string;
|
|
2240
|
+
model: string;
|
|
2241
|
+
provider: string;
|
|
2242
|
+
weight?: number | undefined;
|
|
2243
|
+
account?: string | undefined;
|
|
2244
|
+
}[];
|
|
2245
|
+
chain?: {
|
|
2246
|
+
kind: "custom";
|
|
2247
|
+
run: string;
|
|
2248
|
+
}[] | undefined;
|
|
2249
|
+
sticky?: "none" | "conversation" | undefined;
|
|
2250
|
+
defaultCandidate?: string | undefined;
|
|
2251
|
+
}>>>;
|
|
2252
|
+
hooks: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
|
|
2253
|
+
settings: z.ZodOptional<z.ZodObject<{
|
|
2254
|
+
bin_resolution: z.ZodOptional<z.ZodEnum<["global_first", "local_first"]>>;
|
|
2255
|
+
dreaming: z.ZodOptional<z.ZodObject<{
|
|
2256
|
+
continuity: z.ZodOptional<z.ZodObject<{
|
|
2257
|
+
inputBudgetPercent: z.ZodOptional<z.ZodNumber>;
|
|
2258
|
+
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
2259
|
+
inputBudgetPercent: z.ZodOptional<z.ZodNumber>;
|
|
2260
|
+
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
2261
|
+
inputBudgetPercent: z.ZodOptional<z.ZodNumber>;
|
|
2262
|
+
}, z.ZodUnknown, "strip">>>;
|
|
2263
|
+
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
2264
|
+
continuity: z.ZodOptional<z.ZodObject<{
|
|
2265
|
+
inputBudgetPercent: z.ZodOptional<z.ZodNumber>;
|
|
2266
|
+
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
2267
|
+
inputBudgetPercent: z.ZodOptional<z.ZodNumber>;
|
|
2268
|
+
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
2269
|
+
inputBudgetPercent: z.ZodOptional<z.ZodNumber>;
|
|
2270
|
+
}, z.ZodUnknown, "strip">>>;
|
|
2271
|
+
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
2272
|
+
continuity: z.ZodOptional<z.ZodObject<{
|
|
2273
|
+
inputBudgetPercent: z.ZodOptional<z.ZodNumber>;
|
|
2274
|
+
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
2275
|
+
inputBudgetPercent: z.ZodOptional<z.ZodNumber>;
|
|
2276
|
+
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
2277
|
+
inputBudgetPercent: z.ZodOptional<z.ZodNumber>;
|
|
2278
|
+
}, z.ZodUnknown, "strip">>>;
|
|
2279
|
+
}, z.ZodUnknown, "strip">>>;
|
|
2280
|
+
wi: z.ZodCatch<z.ZodOptional<z.ZodObject<{
|
|
2281
|
+
boards: z.ZodCatch<z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>>;
|
|
2282
|
+
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
2283
|
+
boards: z.ZodCatch<z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>>;
|
|
2284
|
+
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
2285
|
+
boards: z.ZodCatch<z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>>;
|
|
2286
|
+
}, z.ZodUnknown, "strip">>>>;
|
|
2287
|
+
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
2288
|
+
bin_resolution: z.ZodOptional<z.ZodEnum<["global_first", "local_first"]>>;
|
|
2289
|
+
dreaming: z.ZodOptional<z.ZodObject<{
|
|
2290
|
+
continuity: z.ZodOptional<z.ZodObject<{
|
|
2291
|
+
inputBudgetPercent: z.ZodOptional<z.ZodNumber>;
|
|
2292
|
+
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
2293
|
+
inputBudgetPercent: z.ZodOptional<z.ZodNumber>;
|
|
2294
|
+
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
2295
|
+
inputBudgetPercent: z.ZodOptional<z.ZodNumber>;
|
|
2296
|
+
}, z.ZodUnknown, "strip">>>;
|
|
2297
|
+
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
2298
|
+
continuity: z.ZodOptional<z.ZodObject<{
|
|
2299
|
+
inputBudgetPercent: z.ZodOptional<z.ZodNumber>;
|
|
2300
|
+
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
2301
|
+
inputBudgetPercent: z.ZodOptional<z.ZodNumber>;
|
|
2302
|
+
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
2303
|
+
inputBudgetPercent: z.ZodOptional<z.ZodNumber>;
|
|
2304
|
+
}, z.ZodUnknown, "strip">>>;
|
|
2305
|
+
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
2306
|
+
continuity: z.ZodOptional<z.ZodObject<{
|
|
2307
|
+
inputBudgetPercent: z.ZodOptional<z.ZodNumber>;
|
|
2308
|
+
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
2309
|
+
inputBudgetPercent: z.ZodOptional<z.ZodNumber>;
|
|
2310
|
+
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
2311
|
+
inputBudgetPercent: z.ZodOptional<z.ZodNumber>;
|
|
2312
|
+
}, z.ZodUnknown, "strip">>>;
|
|
2313
|
+
}, z.ZodUnknown, "strip">>>;
|
|
2314
|
+
wi: z.ZodCatch<z.ZodOptional<z.ZodObject<{
|
|
2315
|
+
boards: z.ZodCatch<z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>>;
|
|
2316
|
+
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
2317
|
+
boards: z.ZodCatch<z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>>;
|
|
2318
|
+
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
2319
|
+
boards: z.ZodCatch<z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>>;
|
|
2320
|
+
}, z.ZodUnknown, "strip">>>>;
|
|
2321
|
+
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
2322
|
+
bin_resolution: z.ZodOptional<z.ZodEnum<["global_first", "local_first"]>>;
|
|
2323
|
+
dreaming: z.ZodOptional<z.ZodObject<{
|
|
2324
|
+
continuity: z.ZodOptional<z.ZodObject<{
|
|
2325
|
+
inputBudgetPercent: z.ZodOptional<z.ZodNumber>;
|
|
2326
|
+
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
2327
|
+
inputBudgetPercent: z.ZodOptional<z.ZodNumber>;
|
|
2328
|
+
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
2329
|
+
inputBudgetPercent: z.ZodOptional<z.ZodNumber>;
|
|
2330
|
+
}, z.ZodUnknown, "strip">>>;
|
|
2331
|
+
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
2332
|
+
continuity: z.ZodOptional<z.ZodObject<{
|
|
2333
|
+
inputBudgetPercent: z.ZodOptional<z.ZodNumber>;
|
|
2334
|
+
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
2335
|
+
inputBudgetPercent: z.ZodOptional<z.ZodNumber>;
|
|
2336
|
+
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
2337
|
+
inputBudgetPercent: z.ZodOptional<z.ZodNumber>;
|
|
2338
|
+
}, z.ZodUnknown, "strip">>>;
|
|
2339
|
+
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
2340
|
+
continuity: z.ZodOptional<z.ZodObject<{
|
|
2341
|
+
inputBudgetPercent: z.ZodOptional<z.ZodNumber>;
|
|
2342
|
+
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
2343
|
+
inputBudgetPercent: z.ZodOptional<z.ZodNumber>;
|
|
2344
|
+
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
2345
|
+
inputBudgetPercent: z.ZodOptional<z.ZodNumber>;
|
|
2346
|
+
}, z.ZodUnknown, "strip">>>;
|
|
2347
|
+
}, z.ZodUnknown, "strip">>>;
|
|
2348
|
+
wi: z.ZodCatch<z.ZodOptional<z.ZodObject<{
|
|
2349
|
+
boards: z.ZodCatch<z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>>;
|
|
2350
|
+
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
2351
|
+
boards: z.ZodCatch<z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>>;
|
|
2352
|
+
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
2353
|
+
boards: z.ZodCatch<z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>>;
|
|
2354
|
+
}, z.ZodUnknown, "strip">>>>;
|
|
2355
|
+
}, z.ZodUnknown, "strip">>>;
|
|
2356
|
+
skills: z.ZodOptional<z.ZodUnknown>;
|
|
2357
|
+
layouts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2358
|
+
documents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2359
|
+
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
2360
|
+
agents: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2361
|
+
id: z.ZodString;
|
|
2362
|
+
name: z.ZodOptional<z.ZodString>;
|
|
2363
|
+
role: z.ZodOptional<z.ZodString>;
|
|
2364
|
+
team: z.ZodOptional<z.ZodString>;
|
|
2365
|
+
provider: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
|
2366
|
+
provider_account: z.ZodOptional<z.ZodString>;
|
|
2367
|
+
working_directory: z.ZodOptional<z.ZodString>;
|
|
2368
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2369
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2370
|
+
inline: z.ZodOptional<z.ZodObject<{
|
|
2371
|
+
model: z.ZodOptional<z.ZodString>;
|
|
2372
|
+
system_prompt: z.ZodOptional<z.ZodString>;
|
|
2373
|
+
prompt: z.ZodOptional<z.ZodString>;
|
|
2374
|
+
layout: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
2375
|
+
id: z.ZodString;
|
|
2376
|
+
props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2377
|
+
}, "strip", z.ZodTypeAny, {
|
|
2378
|
+
id: string;
|
|
2379
|
+
props?: Record<string, unknown> | undefined;
|
|
2380
|
+
}, {
|
|
2381
|
+
id: string;
|
|
2382
|
+
props?: Record<string, unknown> | undefined;
|
|
2383
|
+
}>, z.ZodObject<{
|
|
2384
|
+
props: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2385
|
+
}, "strip", z.ZodTypeAny, {
|
|
2386
|
+
props: Record<string, unknown>;
|
|
2387
|
+
}, {
|
|
2388
|
+
props: Record<string, unknown>;
|
|
2389
|
+
}>, z.ZodObject<{
|
|
2390
|
+
template: z.ZodString;
|
|
2391
|
+
capabilities: z.ZodOptional<z.ZodObject<{
|
|
2392
|
+
semanticContinuity: z.ZodOptional<z.ZodBoolean>;
|
|
2393
|
+
continuity: z.ZodOptional<z.ZodBoolean>;
|
|
2394
|
+
continuitySlot: z.ZodOptional<z.ZodString>;
|
|
2395
|
+
slot: z.ZodOptional<z.ZodString>;
|
|
2396
|
+
}, "strip", z.ZodTypeAny, {
|
|
2397
|
+
semanticContinuity?: boolean | undefined;
|
|
2398
|
+
continuity?: boolean | undefined;
|
|
2399
|
+
continuitySlot?: string | undefined;
|
|
2400
|
+
slot?: string | undefined;
|
|
2401
|
+
}, {
|
|
2402
|
+
semanticContinuity?: boolean | undefined;
|
|
2403
|
+
continuity?: boolean | undefined;
|
|
2404
|
+
continuitySlot?: string | undefined;
|
|
2405
|
+
slot?: string | undefined;
|
|
2406
|
+
}>>;
|
|
2407
|
+
}, "strip", z.ZodTypeAny, {
|
|
2408
|
+
template: string;
|
|
2409
|
+
capabilities?: {
|
|
2410
|
+
semanticContinuity?: boolean | undefined;
|
|
2411
|
+
continuity?: boolean | undefined;
|
|
2412
|
+
continuitySlot?: string | undefined;
|
|
2413
|
+
slot?: string | undefined;
|
|
2414
|
+
} | undefined;
|
|
2415
|
+
}, {
|
|
2416
|
+
template: string;
|
|
2417
|
+
capabilities?: {
|
|
2418
|
+
semanticContinuity?: boolean | undefined;
|
|
2419
|
+
continuity?: boolean | undefined;
|
|
2420
|
+
continuitySlot?: string | undefined;
|
|
2421
|
+
slot?: string | undefined;
|
|
2422
|
+
} | undefined;
|
|
2423
|
+
}>]>>;
|
|
2424
|
+
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
2425
|
+
model: z.ZodOptional<z.ZodString>;
|
|
2426
|
+
system_prompt: z.ZodOptional<z.ZodString>;
|
|
2427
|
+
prompt: z.ZodOptional<z.ZodString>;
|
|
2428
|
+
layout: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
2429
|
+
id: z.ZodString;
|
|
2430
|
+
props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2431
|
+
}, "strip", z.ZodTypeAny, {
|
|
2432
|
+
id: string;
|
|
2433
|
+
props?: Record<string, unknown> | undefined;
|
|
2434
|
+
}, {
|
|
2435
|
+
id: string;
|
|
2436
|
+
props?: Record<string, unknown> | undefined;
|
|
2437
|
+
}>, z.ZodObject<{
|
|
2438
|
+
props: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2439
|
+
}, "strip", z.ZodTypeAny, {
|
|
2440
|
+
props: Record<string, unknown>;
|
|
2441
|
+
}, {
|
|
2442
|
+
props: Record<string, unknown>;
|
|
2443
|
+
}>, z.ZodObject<{
|
|
2444
|
+
template: z.ZodString;
|
|
2445
|
+
capabilities: z.ZodOptional<z.ZodObject<{
|
|
2446
|
+
semanticContinuity: z.ZodOptional<z.ZodBoolean>;
|
|
2447
|
+
continuity: z.ZodOptional<z.ZodBoolean>;
|
|
2448
|
+
continuitySlot: z.ZodOptional<z.ZodString>;
|
|
2449
|
+
slot: z.ZodOptional<z.ZodString>;
|
|
2450
|
+
}, "strip", z.ZodTypeAny, {
|
|
2451
|
+
semanticContinuity?: boolean | undefined;
|
|
2452
|
+
continuity?: boolean | undefined;
|
|
2453
|
+
continuitySlot?: string | undefined;
|
|
2454
|
+
slot?: string | undefined;
|
|
2455
|
+
}, {
|
|
2456
|
+
semanticContinuity?: boolean | undefined;
|
|
2457
|
+
continuity?: boolean | undefined;
|
|
2458
|
+
continuitySlot?: string | undefined;
|
|
2459
|
+
slot?: string | undefined;
|
|
2460
|
+
}>>;
|
|
2461
|
+
}, "strip", z.ZodTypeAny, {
|
|
2462
|
+
template: string;
|
|
2463
|
+
capabilities?: {
|
|
2464
|
+
semanticContinuity?: boolean | undefined;
|
|
2465
|
+
continuity?: boolean | undefined;
|
|
2466
|
+
continuitySlot?: string | undefined;
|
|
2467
|
+
slot?: string | undefined;
|
|
2468
|
+
} | undefined;
|
|
2469
|
+
}, {
|
|
2470
|
+
template: string;
|
|
2471
|
+
capabilities?: {
|
|
2472
|
+
semanticContinuity?: boolean | undefined;
|
|
2473
|
+
continuity?: boolean | undefined;
|
|
2474
|
+
continuitySlot?: string | undefined;
|
|
2475
|
+
slot?: string | undefined;
|
|
2476
|
+
} | undefined;
|
|
2477
|
+
}>]>>;
|
|
2478
|
+
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
2479
|
+
model: z.ZodOptional<z.ZodString>;
|
|
2480
|
+
system_prompt: z.ZodOptional<z.ZodString>;
|
|
2481
|
+
prompt: z.ZodOptional<z.ZodString>;
|
|
2482
|
+
layout: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
2483
|
+
id: z.ZodString;
|
|
2484
|
+
props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2485
|
+
}, "strip", z.ZodTypeAny, {
|
|
2486
|
+
id: string;
|
|
2487
|
+
props?: Record<string, unknown> | undefined;
|
|
2488
|
+
}, {
|
|
2489
|
+
id: string;
|
|
2490
|
+
props?: Record<string, unknown> | undefined;
|
|
2491
|
+
}>, z.ZodObject<{
|
|
2492
|
+
props: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2493
|
+
}, "strip", z.ZodTypeAny, {
|
|
2494
|
+
props: Record<string, unknown>;
|
|
2495
|
+
}, {
|
|
2496
|
+
props: Record<string, unknown>;
|
|
2497
|
+
}>, z.ZodObject<{
|
|
2498
|
+
template: z.ZodString;
|
|
2499
|
+
capabilities: z.ZodOptional<z.ZodObject<{
|
|
2500
|
+
semanticContinuity: z.ZodOptional<z.ZodBoolean>;
|
|
2501
|
+
continuity: z.ZodOptional<z.ZodBoolean>;
|
|
2502
|
+
continuitySlot: z.ZodOptional<z.ZodString>;
|
|
2503
|
+
slot: z.ZodOptional<z.ZodString>;
|
|
2504
|
+
}, "strip", z.ZodTypeAny, {
|
|
2505
|
+
semanticContinuity?: boolean | undefined;
|
|
2506
|
+
continuity?: boolean | undefined;
|
|
2507
|
+
continuitySlot?: string | undefined;
|
|
2508
|
+
slot?: string | undefined;
|
|
2509
|
+
}, {
|
|
2510
|
+
semanticContinuity?: boolean | undefined;
|
|
2511
|
+
continuity?: boolean | undefined;
|
|
2512
|
+
continuitySlot?: string | undefined;
|
|
2513
|
+
slot?: string | undefined;
|
|
2514
|
+
}>>;
|
|
2515
|
+
}, "strip", z.ZodTypeAny, {
|
|
2516
|
+
template: string;
|
|
2517
|
+
capabilities?: {
|
|
2518
|
+
semanticContinuity?: boolean | undefined;
|
|
2519
|
+
continuity?: boolean | undefined;
|
|
2520
|
+
continuitySlot?: string | undefined;
|
|
2521
|
+
slot?: string | undefined;
|
|
2522
|
+
} | undefined;
|
|
2523
|
+
}, {
|
|
2524
|
+
template: string;
|
|
2525
|
+
capabilities?: {
|
|
2526
|
+
semanticContinuity?: boolean | undefined;
|
|
2527
|
+
continuity?: boolean | undefined;
|
|
2528
|
+
continuitySlot?: string | undefined;
|
|
2529
|
+
slot?: string | undefined;
|
|
2530
|
+
} | undefined;
|
|
2531
|
+
}>]>>;
|
|
2532
|
+
}, z.ZodUnknown, "strip">>>;
|
|
2533
|
+
skills: z.ZodOptional<z.ZodObject<{
|
|
2534
|
+
include: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2535
|
+
}, "strip", z.ZodTypeAny, {
|
|
2536
|
+
include?: string[] | undefined;
|
|
2537
|
+
}, {
|
|
2538
|
+
include?: string[] | undefined;
|
|
2539
|
+
}>>;
|
|
2540
|
+
interceptors: z.ZodOptional<z.ZodUnknown>;
|
|
2541
|
+
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
2542
|
+
id: z.ZodString;
|
|
2543
|
+
name: z.ZodOptional<z.ZodString>;
|
|
2544
|
+
role: z.ZodOptional<z.ZodString>;
|
|
2545
|
+
team: z.ZodOptional<z.ZodString>;
|
|
2546
|
+
provider: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
|
2547
|
+
provider_account: z.ZodOptional<z.ZodString>;
|
|
2548
|
+
working_directory: z.ZodOptional<z.ZodString>;
|
|
2549
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2550
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2551
|
+
inline: z.ZodOptional<z.ZodObject<{
|
|
2552
|
+
model: z.ZodOptional<z.ZodString>;
|
|
2553
|
+
system_prompt: z.ZodOptional<z.ZodString>;
|
|
2554
|
+
prompt: z.ZodOptional<z.ZodString>;
|
|
2555
|
+
layout: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
2556
|
+
id: z.ZodString;
|
|
2557
|
+
props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2558
|
+
}, "strip", z.ZodTypeAny, {
|
|
2559
|
+
id: string;
|
|
2560
|
+
props?: Record<string, unknown> | undefined;
|
|
2561
|
+
}, {
|
|
2562
|
+
id: string;
|
|
2563
|
+
props?: Record<string, unknown> | undefined;
|
|
2564
|
+
}>, z.ZodObject<{
|
|
2565
|
+
props: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2566
|
+
}, "strip", z.ZodTypeAny, {
|
|
2567
|
+
props: Record<string, unknown>;
|
|
2568
|
+
}, {
|
|
2569
|
+
props: Record<string, unknown>;
|
|
2570
|
+
}>, z.ZodObject<{
|
|
2571
|
+
template: z.ZodString;
|
|
2572
|
+
capabilities: z.ZodOptional<z.ZodObject<{
|
|
2573
|
+
semanticContinuity: z.ZodOptional<z.ZodBoolean>;
|
|
2574
|
+
continuity: z.ZodOptional<z.ZodBoolean>;
|
|
2575
|
+
continuitySlot: z.ZodOptional<z.ZodString>;
|
|
2576
|
+
slot: z.ZodOptional<z.ZodString>;
|
|
2577
|
+
}, "strip", z.ZodTypeAny, {
|
|
2578
|
+
semanticContinuity?: boolean | undefined;
|
|
2579
|
+
continuity?: boolean | undefined;
|
|
2580
|
+
continuitySlot?: string | undefined;
|
|
2581
|
+
slot?: string | undefined;
|
|
2582
|
+
}, {
|
|
2583
|
+
semanticContinuity?: boolean | undefined;
|
|
2584
|
+
continuity?: boolean | undefined;
|
|
2585
|
+
continuitySlot?: string | undefined;
|
|
2586
|
+
slot?: string | undefined;
|
|
2587
|
+
}>>;
|
|
2588
|
+
}, "strip", z.ZodTypeAny, {
|
|
2589
|
+
template: string;
|
|
2590
|
+
capabilities?: {
|
|
2591
|
+
semanticContinuity?: boolean | undefined;
|
|
2592
|
+
continuity?: boolean | undefined;
|
|
2593
|
+
continuitySlot?: string | undefined;
|
|
2594
|
+
slot?: string | undefined;
|
|
2595
|
+
} | undefined;
|
|
2596
|
+
}, {
|
|
2597
|
+
template: string;
|
|
2598
|
+
capabilities?: {
|
|
2599
|
+
semanticContinuity?: boolean | undefined;
|
|
2600
|
+
continuity?: boolean | undefined;
|
|
2601
|
+
continuitySlot?: string | undefined;
|
|
2602
|
+
slot?: string | undefined;
|
|
2603
|
+
} | undefined;
|
|
2604
|
+
}>]>>;
|
|
2605
|
+
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
2606
|
+
model: z.ZodOptional<z.ZodString>;
|
|
2607
|
+
system_prompt: z.ZodOptional<z.ZodString>;
|
|
2608
|
+
prompt: z.ZodOptional<z.ZodString>;
|
|
2609
|
+
layout: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
2610
|
+
id: z.ZodString;
|
|
2611
|
+
props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2612
|
+
}, "strip", z.ZodTypeAny, {
|
|
2613
|
+
id: string;
|
|
2614
|
+
props?: Record<string, unknown> | undefined;
|
|
2615
|
+
}, {
|
|
2616
|
+
id: string;
|
|
2617
|
+
props?: Record<string, unknown> | undefined;
|
|
2618
|
+
}>, z.ZodObject<{
|
|
2619
|
+
props: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2620
|
+
}, "strip", z.ZodTypeAny, {
|
|
2621
|
+
props: Record<string, unknown>;
|
|
2622
|
+
}, {
|
|
2623
|
+
props: Record<string, unknown>;
|
|
2624
|
+
}>, z.ZodObject<{
|
|
2625
|
+
template: z.ZodString;
|
|
2626
|
+
capabilities: z.ZodOptional<z.ZodObject<{
|
|
2627
|
+
semanticContinuity: z.ZodOptional<z.ZodBoolean>;
|
|
2628
|
+
continuity: z.ZodOptional<z.ZodBoolean>;
|
|
2629
|
+
continuitySlot: z.ZodOptional<z.ZodString>;
|
|
2630
|
+
slot: z.ZodOptional<z.ZodString>;
|
|
2631
|
+
}, "strip", z.ZodTypeAny, {
|
|
2632
|
+
semanticContinuity?: boolean | undefined;
|
|
2633
|
+
continuity?: boolean | undefined;
|
|
2634
|
+
continuitySlot?: string | undefined;
|
|
2635
|
+
slot?: string | undefined;
|
|
2636
|
+
}, {
|
|
2637
|
+
semanticContinuity?: boolean | undefined;
|
|
2638
|
+
continuity?: boolean | undefined;
|
|
2639
|
+
continuitySlot?: string | undefined;
|
|
2640
|
+
slot?: string | undefined;
|
|
2641
|
+
}>>;
|
|
2642
|
+
}, "strip", z.ZodTypeAny, {
|
|
2643
|
+
template: string;
|
|
2644
|
+
capabilities?: {
|
|
2645
|
+
semanticContinuity?: boolean | undefined;
|
|
2646
|
+
continuity?: boolean | undefined;
|
|
2647
|
+
continuitySlot?: string | undefined;
|
|
2648
|
+
slot?: string | undefined;
|
|
2649
|
+
} | undefined;
|
|
2650
|
+
}, {
|
|
2651
|
+
template: string;
|
|
2652
|
+
capabilities?: {
|
|
2653
|
+
semanticContinuity?: boolean | undefined;
|
|
2654
|
+
continuity?: boolean | undefined;
|
|
2655
|
+
continuitySlot?: string | undefined;
|
|
2656
|
+
slot?: string | undefined;
|
|
2657
|
+
} | undefined;
|
|
2658
|
+
}>]>>;
|
|
2659
|
+
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
2660
|
+
model: z.ZodOptional<z.ZodString>;
|
|
2661
|
+
system_prompt: z.ZodOptional<z.ZodString>;
|
|
2662
|
+
prompt: z.ZodOptional<z.ZodString>;
|
|
2663
|
+
layout: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
2664
|
+
id: z.ZodString;
|
|
2665
|
+
props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2666
|
+
}, "strip", z.ZodTypeAny, {
|
|
2667
|
+
id: string;
|
|
2668
|
+
props?: Record<string, unknown> | undefined;
|
|
2669
|
+
}, {
|
|
2670
|
+
id: string;
|
|
2671
|
+
props?: Record<string, unknown> | undefined;
|
|
2672
|
+
}>, z.ZodObject<{
|
|
2673
|
+
props: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2674
|
+
}, "strip", z.ZodTypeAny, {
|
|
2675
|
+
props: Record<string, unknown>;
|
|
2676
|
+
}, {
|
|
2677
|
+
props: Record<string, unknown>;
|
|
2678
|
+
}>, z.ZodObject<{
|
|
2679
|
+
template: z.ZodString;
|
|
2680
|
+
capabilities: z.ZodOptional<z.ZodObject<{
|
|
2681
|
+
semanticContinuity: z.ZodOptional<z.ZodBoolean>;
|
|
2682
|
+
continuity: z.ZodOptional<z.ZodBoolean>;
|
|
2683
|
+
continuitySlot: z.ZodOptional<z.ZodString>;
|
|
2684
|
+
slot: z.ZodOptional<z.ZodString>;
|
|
2685
|
+
}, "strip", z.ZodTypeAny, {
|
|
2686
|
+
semanticContinuity?: boolean | undefined;
|
|
2687
|
+
continuity?: boolean | undefined;
|
|
2688
|
+
continuitySlot?: string | undefined;
|
|
2689
|
+
slot?: string | undefined;
|
|
2690
|
+
}, {
|
|
2691
|
+
semanticContinuity?: boolean | undefined;
|
|
2692
|
+
continuity?: boolean | undefined;
|
|
2693
|
+
continuitySlot?: string | undefined;
|
|
2694
|
+
slot?: string | undefined;
|
|
2695
|
+
}>>;
|
|
2696
|
+
}, "strip", z.ZodTypeAny, {
|
|
2697
|
+
template: string;
|
|
2698
|
+
capabilities?: {
|
|
2699
|
+
semanticContinuity?: boolean | undefined;
|
|
2700
|
+
continuity?: boolean | undefined;
|
|
2701
|
+
continuitySlot?: string | undefined;
|
|
2702
|
+
slot?: string | undefined;
|
|
2703
|
+
} | undefined;
|
|
2704
|
+
}, {
|
|
2705
|
+
template: string;
|
|
2706
|
+
capabilities?: {
|
|
2707
|
+
semanticContinuity?: boolean | undefined;
|
|
2708
|
+
continuity?: boolean | undefined;
|
|
2709
|
+
continuitySlot?: string | undefined;
|
|
2710
|
+
slot?: string | undefined;
|
|
2711
|
+
} | undefined;
|
|
2712
|
+
}>]>>;
|
|
2713
|
+
}, z.ZodUnknown, "strip">>>;
|
|
2714
|
+
skills: z.ZodOptional<z.ZodObject<{
|
|
2715
|
+
include: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2716
|
+
}, "strip", z.ZodTypeAny, {
|
|
2717
|
+
include?: string[] | undefined;
|
|
2718
|
+
}, {
|
|
2719
|
+
include?: string[] | undefined;
|
|
2720
|
+
}>>;
|
|
2721
|
+
interceptors: z.ZodOptional<z.ZodUnknown>;
|
|
2722
|
+
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
2723
|
+
id: z.ZodString;
|
|
2724
|
+
name: z.ZodOptional<z.ZodString>;
|
|
2725
|
+
role: z.ZodOptional<z.ZodString>;
|
|
2726
|
+
team: z.ZodOptional<z.ZodString>;
|
|
2727
|
+
provider: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
|
2728
|
+
provider_account: z.ZodOptional<z.ZodString>;
|
|
2729
|
+
working_directory: z.ZodOptional<z.ZodString>;
|
|
2730
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2731
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2732
|
+
inline: z.ZodOptional<z.ZodObject<{
|
|
2733
|
+
model: z.ZodOptional<z.ZodString>;
|
|
2734
|
+
system_prompt: z.ZodOptional<z.ZodString>;
|
|
2735
|
+
prompt: z.ZodOptional<z.ZodString>;
|
|
2736
|
+
layout: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
2737
|
+
id: z.ZodString;
|
|
2738
|
+
props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2739
|
+
}, "strip", z.ZodTypeAny, {
|
|
2740
|
+
id: string;
|
|
2741
|
+
props?: Record<string, unknown> | undefined;
|
|
2742
|
+
}, {
|
|
2743
|
+
id: string;
|
|
2744
|
+
props?: Record<string, unknown> | undefined;
|
|
2745
|
+
}>, z.ZodObject<{
|
|
2746
|
+
props: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2747
|
+
}, "strip", z.ZodTypeAny, {
|
|
2748
|
+
props: Record<string, unknown>;
|
|
2749
|
+
}, {
|
|
2750
|
+
props: Record<string, unknown>;
|
|
2751
|
+
}>, z.ZodObject<{
|
|
2752
|
+
template: z.ZodString;
|
|
2753
|
+
capabilities: z.ZodOptional<z.ZodObject<{
|
|
2754
|
+
semanticContinuity: z.ZodOptional<z.ZodBoolean>;
|
|
2755
|
+
continuity: z.ZodOptional<z.ZodBoolean>;
|
|
2756
|
+
continuitySlot: z.ZodOptional<z.ZodString>;
|
|
2757
|
+
slot: z.ZodOptional<z.ZodString>;
|
|
2758
|
+
}, "strip", z.ZodTypeAny, {
|
|
2759
|
+
semanticContinuity?: boolean | undefined;
|
|
2760
|
+
continuity?: boolean | undefined;
|
|
2761
|
+
continuitySlot?: string | undefined;
|
|
2762
|
+
slot?: string | undefined;
|
|
2763
|
+
}, {
|
|
2764
|
+
semanticContinuity?: boolean | undefined;
|
|
2765
|
+
continuity?: boolean | undefined;
|
|
2766
|
+
continuitySlot?: string | undefined;
|
|
2767
|
+
slot?: string | undefined;
|
|
2768
|
+
}>>;
|
|
2769
|
+
}, "strip", z.ZodTypeAny, {
|
|
2770
|
+
template: string;
|
|
2771
|
+
capabilities?: {
|
|
2772
|
+
semanticContinuity?: boolean | undefined;
|
|
2773
|
+
continuity?: boolean | undefined;
|
|
2774
|
+
continuitySlot?: string | undefined;
|
|
2775
|
+
slot?: string | undefined;
|
|
2776
|
+
} | undefined;
|
|
2777
|
+
}, {
|
|
2778
|
+
template: string;
|
|
2779
|
+
capabilities?: {
|
|
2780
|
+
semanticContinuity?: boolean | undefined;
|
|
2781
|
+
continuity?: boolean | undefined;
|
|
2782
|
+
continuitySlot?: string | undefined;
|
|
2783
|
+
slot?: string | undefined;
|
|
2784
|
+
} | undefined;
|
|
2785
|
+
}>]>>;
|
|
2786
|
+
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
2787
|
+
model: z.ZodOptional<z.ZodString>;
|
|
2788
|
+
system_prompt: z.ZodOptional<z.ZodString>;
|
|
2789
|
+
prompt: z.ZodOptional<z.ZodString>;
|
|
2790
|
+
layout: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
2791
|
+
id: z.ZodString;
|
|
2792
|
+
props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2793
|
+
}, "strip", z.ZodTypeAny, {
|
|
2794
|
+
id: string;
|
|
2795
|
+
props?: Record<string, unknown> | undefined;
|
|
2796
|
+
}, {
|
|
2797
|
+
id: string;
|
|
2798
|
+
props?: Record<string, unknown> | undefined;
|
|
2799
|
+
}>, z.ZodObject<{
|
|
2800
|
+
props: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2801
|
+
}, "strip", z.ZodTypeAny, {
|
|
2802
|
+
props: Record<string, unknown>;
|
|
2803
|
+
}, {
|
|
2804
|
+
props: Record<string, unknown>;
|
|
2805
|
+
}>, z.ZodObject<{
|
|
2806
|
+
template: z.ZodString;
|
|
2807
|
+
capabilities: z.ZodOptional<z.ZodObject<{
|
|
2808
|
+
semanticContinuity: z.ZodOptional<z.ZodBoolean>;
|
|
2809
|
+
continuity: z.ZodOptional<z.ZodBoolean>;
|
|
2810
|
+
continuitySlot: z.ZodOptional<z.ZodString>;
|
|
2811
|
+
slot: z.ZodOptional<z.ZodString>;
|
|
2812
|
+
}, "strip", z.ZodTypeAny, {
|
|
2813
|
+
semanticContinuity?: boolean | undefined;
|
|
2814
|
+
continuity?: boolean | undefined;
|
|
2815
|
+
continuitySlot?: string | undefined;
|
|
2816
|
+
slot?: string | undefined;
|
|
2817
|
+
}, {
|
|
2818
|
+
semanticContinuity?: boolean | undefined;
|
|
2819
|
+
continuity?: boolean | undefined;
|
|
2820
|
+
continuitySlot?: string | undefined;
|
|
2821
|
+
slot?: string | undefined;
|
|
2822
|
+
}>>;
|
|
2823
|
+
}, "strip", z.ZodTypeAny, {
|
|
2824
|
+
template: string;
|
|
2825
|
+
capabilities?: {
|
|
2826
|
+
semanticContinuity?: boolean | undefined;
|
|
2827
|
+
continuity?: boolean | undefined;
|
|
2828
|
+
continuitySlot?: string | undefined;
|
|
2829
|
+
slot?: string | undefined;
|
|
2830
|
+
} | undefined;
|
|
2831
|
+
}, {
|
|
2832
|
+
template: string;
|
|
2833
|
+
capabilities?: {
|
|
2834
|
+
semanticContinuity?: boolean | undefined;
|
|
2835
|
+
continuity?: boolean | undefined;
|
|
2836
|
+
continuitySlot?: string | undefined;
|
|
2837
|
+
slot?: string | undefined;
|
|
2838
|
+
} | undefined;
|
|
2839
|
+
}>]>>;
|
|
2840
|
+
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
2841
|
+
model: z.ZodOptional<z.ZodString>;
|
|
2842
|
+
system_prompt: z.ZodOptional<z.ZodString>;
|
|
2843
|
+
prompt: z.ZodOptional<z.ZodString>;
|
|
2844
|
+
layout: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
2845
|
+
id: z.ZodString;
|
|
2846
|
+
props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2847
|
+
}, "strip", z.ZodTypeAny, {
|
|
2848
|
+
id: string;
|
|
2849
|
+
props?: Record<string, unknown> | undefined;
|
|
2850
|
+
}, {
|
|
2851
|
+
id: string;
|
|
2852
|
+
props?: Record<string, unknown> | undefined;
|
|
2853
|
+
}>, z.ZodObject<{
|
|
2854
|
+
props: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2855
|
+
}, "strip", z.ZodTypeAny, {
|
|
2856
|
+
props: Record<string, unknown>;
|
|
2857
|
+
}, {
|
|
2858
|
+
props: Record<string, unknown>;
|
|
2859
|
+
}>, z.ZodObject<{
|
|
2860
|
+
template: z.ZodString;
|
|
2861
|
+
capabilities: z.ZodOptional<z.ZodObject<{
|
|
2862
|
+
semanticContinuity: z.ZodOptional<z.ZodBoolean>;
|
|
2863
|
+
continuity: z.ZodOptional<z.ZodBoolean>;
|
|
2864
|
+
continuitySlot: z.ZodOptional<z.ZodString>;
|
|
2865
|
+
slot: z.ZodOptional<z.ZodString>;
|
|
2866
|
+
}, "strip", z.ZodTypeAny, {
|
|
2867
|
+
semanticContinuity?: boolean | undefined;
|
|
2868
|
+
continuity?: boolean | undefined;
|
|
2869
|
+
continuitySlot?: string | undefined;
|
|
2870
|
+
slot?: string | undefined;
|
|
2871
|
+
}, {
|
|
2872
|
+
semanticContinuity?: boolean | undefined;
|
|
2873
|
+
continuity?: boolean | undefined;
|
|
2874
|
+
continuitySlot?: string | undefined;
|
|
2875
|
+
slot?: string | undefined;
|
|
2876
|
+
}>>;
|
|
2877
|
+
}, "strip", z.ZodTypeAny, {
|
|
2878
|
+
template: string;
|
|
2879
|
+
capabilities?: {
|
|
2880
|
+
semanticContinuity?: boolean | undefined;
|
|
2881
|
+
continuity?: boolean | undefined;
|
|
2882
|
+
continuitySlot?: string | undefined;
|
|
2883
|
+
slot?: string | undefined;
|
|
2884
|
+
} | undefined;
|
|
2885
|
+
}, {
|
|
2886
|
+
template: string;
|
|
2887
|
+
capabilities?: {
|
|
2888
|
+
semanticContinuity?: boolean | undefined;
|
|
2889
|
+
continuity?: boolean | undefined;
|
|
2890
|
+
continuitySlot?: string | undefined;
|
|
2891
|
+
slot?: string | undefined;
|
|
2892
|
+
} | undefined;
|
|
2893
|
+
}>]>>;
|
|
2894
|
+
}, z.ZodUnknown, "strip">>>;
|
|
2895
|
+
skills: z.ZodOptional<z.ZodObject<{
|
|
2896
|
+
include: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2897
|
+
}, "strip", z.ZodTypeAny, {
|
|
2898
|
+
include?: string[] | undefined;
|
|
2899
|
+
}, {
|
|
2900
|
+
include?: string[] | undefined;
|
|
2901
|
+
}>>;
|
|
2902
|
+
interceptors: z.ZodOptional<z.ZodUnknown>;
|
|
2903
|
+
}, z.ZodUnknown, "strip">>, "many">>;
|
|
2904
|
+
routes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
|
|
2905
|
+
strategy: z.ZodEnum<["round-robin", "weighted"]>;
|
|
2906
|
+
chain: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2907
|
+
kind: z.ZodLiteral<"custom">;
|
|
2908
|
+
run: z.ZodString;
|
|
2909
|
+
}, "strict", z.ZodTypeAny, {
|
|
2910
|
+
kind: "custom";
|
|
2911
|
+
run: string;
|
|
2912
|
+
}, {
|
|
2913
|
+
kind: "custom";
|
|
2914
|
+
run: string;
|
|
2915
|
+
}>, "many">>;
|
|
2916
|
+
candidates: z.ZodArray<z.ZodObject<{
|
|
2917
|
+
id: z.ZodString;
|
|
2918
|
+
provider: z.ZodString;
|
|
2919
|
+
model: z.ZodString;
|
|
2920
|
+
weight: z.ZodDefault<z.ZodNumber>;
|
|
2921
|
+
account: z.ZodOptional<z.ZodString>;
|
|
2922
|
+
}, "strict", z.ZodTypeAny, {
|
|
2923
|
+
id: string;
|
|
2924
|
+
model: string;
|
|
2925
|
+
provider: string;
|
|
2926
|
+
weight: number;
|
|
2927
|
+
account?: string | undefined;
|
|
2928
|
+
}, {
|
|
2929
|
+
id: string;
|
|
2930
|
+
model: string;
|
|
2931
|
+
provider: string;
|
|
2932
|
+
weight?: number | undefined;
|
|
2933
|
+
account?: string | undefined;
|
|
2934
|
+
}>, "many">;
|
|
2935
|
+
sticky: z.ZodDefault<z.ZodEnum<["conversation", "none"]>>;
|
|
2936
|
+
defaultCandidate: z.ZodOptional<z.ZodString>;
|
|
2937
|
+
}, "strict", z.ZodTypeAny, {
|
|
2938
|
+
strategy: "round-robin" | "weighted";
|
|
2939
|
+
candidates: {
|
|
2940
|
+
id: string;
|
|
2941
|
+
model: string;
|
|
2942
|
+
provider: string;
|
|
2943
|
+
weight: number;
|
|
2944
|
+
account?: string | undefined;
|
|
2945
|
+
}[];
|
|
2946
|
+
sticky: "none" | "conversation";
|
|
2947
|
+
chain?: {
|
|
2948
|
+
kind: "custom";
|
|
2949
|
+
run: string;
|
|
2950
|
+
}[] | undefined;
|
|
2951
|
+
defaultCandidate?: string | undefined;
|
|
2952
|
+
}, {
|
|
2953
|
+
strategy: "round-robin" | "weighted";
|
|
2954
|
+
candidates: {
|
|
2955
|
+
id: string;
|
|
2956
|
+
model: string;
|
|
2957
|
+
provider: string;
|
|
2958
|
+
weight?: number | undefined;
|
|
2959
|
+
account?: string | undefined;
|
|
2960
|
+
}[];
|
|
2961
|
+
chain?: {
|
|
2962
|
+
kind: "custom";
|
|
2963
|
+
run: string;
|
|
2964
|
+
}[] | undefined;
|
|
2965
|
+
sticky?: "none" | "conversation" | undefined;
|
|
2966
|
+
defaultCandidate?: string | undefined;
|
|
2967
|
+
}>, {
|
|
2968
|
+
strategy: "round-robin" | "weighted";
|
|
2969
|
+
candidates: {
|
|
2970
|
+
id: string;
|
|
2971
|
+
model: string;
|
|
2972
|
+
provider: string;
|
|
2973
|
+
weight: number;
|
|
2974
|
+
account?: string | undefined;
|
|
2975
|
+
}[];
|
|
2976
|
+
sticky: "none" | "conversation";
|
|
2977
|
+
chain?: {
|
|
2978
|
+
kind: "custom";
|
|
2979
|
+
run: string;
|
|
2980
|
+
}[] | undefined;
|
|
2981
|
+
defaultCandidate?: string | undefined;
|
|
2982
|
+
}, {
|
|
2983
|
+
strategy: "round-robin" | "weighted";
|
|
2984
|
+
candidates: {
|
|
2985
|
+
id: string;
|
|
2986
|
+
model: string;
|
|
2987
|
+
provider: string;
|
|
2988
|
+
weight?: number | undefined;
|
|
2989
|
+
account?: string | undefined;
|
|
2990
|
+
}[];
|
|
2991
|
+
chain?: {
|
|
2992
|
+
kind: "custom";
|
|
2993
|
+
run: string;
|
|
2994
|
+
}[] | undefined;
|
|
2995
|
+
sticky?: "none" | "conversation" | undefined;
|
|
2996
|
+
defaultCandidate?: string | undefined;
|
|
2997
|
+
}>>>;
|
|
1412
2998
|
hooks: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
|
|
1413
2999
|
settings: z.ZodOptional<z.ZodObject<{
|
|
1414
3000
|
bin_resolution: z.ZodOptional<z.ZodEnum<["global_first", "local_first"]>>;
|
|
@@ -1516,7 +3102,7 @@ export declare const CrewxProjectConfigSchema: z.ZodObject<{
|
|
|
1516
3102
|
skills: z.ZodOptional<z.ZodUnknown>;
|
|
1517
3103
|
layouts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1518
3104
|
documents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1519
|
-
},
|
|
3105
|
+
}, z.ZodUnknown, "strip">>, z.objectOutputType<{
|
|
1520
3106
|
agents: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1521
3107
|
id: z.ZodString;
|
|
1522
3108
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -2061,6 +3647,100 @@ export declare const CrewxProjectConfigSchema: z.ZodObject<{
|
|
|
2061
3647
|
}>>;
|
|
2062
3648
|
interceptors: z.ZodOptional<z.ZodUnknown>;
|
|
2063
3649
|
}, z.ZodUnknown, "strip">>, "many">>;
|
|
3650
|
+
routes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
|
|
3651
|
+
strategy: z.ZodEnum<["round-robin", "weighted"]>;
|
|
3652
|
+
chain: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3653
|
+
kind: z.ZodLiteral<"custom">;
|
|
3654
|
+
run: z.ZodString;
|
|
3655
|
+
}, "strict", z.ZodTypeAny, {
|
|
3656
|
+
kind: "custom";
|
|
3657
|
+
run: string;
|
|
3658
|
+
}, {
|
|
3659
|
+
kind: "custom";
|
|
3660
|
+
run: string;
|
|
3661
|
+
}>, "many">>;
|
|
3662
|
+
candidates: z.ZodArray<z.ZodObject<{
|
|
3663
|
+
id: z.ZodString;
|
|
3664
|
+
provider: z.ZodString;
|
|
3665
|
+
model: z.ZodString;
|
|
3666
|
+
weight: z.ZodDefault<z.ZodNumber>;
|
|
3667
|
+
account: z.ZodOptional<z.ZodString>;
|
|
3668
|
+
}, "strict", z.ZodTypeAny, {
|
|
3669
|
+
id: string;
|
|
3670
|
+
model: string;
|
|
3671
|
+
provider: string;
|
|
3672
|
+
weight: number;
|
|
3673
|
+
account?: string | undefined;
|
|
3674
|
+
}, {
|
|
3675
|
+
id: string;
|
|
3676
|
+
model: string;
|
|
3677
|
+
provider: string;
|
|
3678
|
+
weight?: number | undefined;
|
|
3679
|
+
account?: string | undefined;
|
|
3680
|
+
}>, "many">;
|
|
3681
|
+
sticky: z.ZodDefault<z.ZodEnum<["conversation", "none"]>>;
|
|
3682
|
+
defaultCandidate: z.ZodOptional<z.ZodString>;
|
|
3683
|
+
}, "strict", z.ZodTypeAny, {
|
|
3684
|
+
strategy: "round-robin" | "weighted";
|
|
3685
|
+
candidates: {
|
|
3686
|
+
id: string;
|
|
3687
|
+
model: string;
|
|
3688
|
+
provider: string;
|
|
3689
|
+
weight: number;
|
|
3690
|
+
account?: string | undefined;
|
|
3691
|
+
}[];
|
|
3692
|
+
sticky: "none" | "conversation";
|
|
3693
|
+
chain?: {
|
|
3694
|
+
kind: "custom";
|
|
3695
|
+
run: string;
|
|
3696
|
+
}[] | undefined;
|
|
3697
|
+
defaultCandidate?: string | undefined;
|
|
3698
|
+
}, {
|
|
3699
|
+
strategy: "round-robin" | "weighted";
|
|
3700
|
+
candidates: {
|
|
3701
|
+
id: string;
|
|
3702
|
+
model: string;
|
|
3703
|
+
provider: string;
|
|
3704
|
+
weight?: number | undefined;
|
|
3705
|
+
account?: string | undefined;
|
|
3706
|
+
}[];
|
|
3707
|
+
chain?: {
|
|
3708
|
+
kind: "custom";
|
|
3709
|
+
run: string;
|
|
3710
|
+
}[] | undefined;
|
|
3711
|
+
sticky?: "none" | "conversation" | undefined;
|
|
3712
|
+
defaultCandidate?: string | undefined;
|
|
3713
|
+
}>, {
|
|
3714
|
+
strategy: "round-robin" | "weighted";
|
|
3715
|
+
candidates: {
|
|
3716
|
+
id: string;
|
|
3717
|
+
model: string;
|
|
3718
|
+
provider: string;
|
|
3719
|
+
weight: number;
|
|
3720
|
+
account?: string | undefined;
|
|
3721
|
+
}[];
|
|
3722
|
+
sticky: "none" | "conversation";
|
|
3723
|
+
chain?: {
|
|
3724
|
+
kind: "custom";
|
|
3725
|
+
run: string;
|
|
3726
|
+
}[] | undefined;
|
|
3727
|
+
defaultCandidate?: string | undefined;
|
|
3728
|
+
}, {
|
|
3729
|
+
strategy: "round-robin" | "weighted";
|
|
3730
|
+
candidates: {
|
|
3731
|
+
id: string;
|
|
3732
|
+
model: string;
|
|
3733
|
+
provider: string;
|
|
3734
|
+
weight?: number | undefined;
|
|
3735
|
+
account?: string | undefined;
|
|
3736
|
+
}[];
|
|
3737
|
+
chain?: {
|
|
3738
|
+
kind: "custom";
|
|
3739
|
+
run: string;
|
|
3740
|
+
}[] | undefined;
|
|
3741
|
+
sticky?: "none" | "conversation" | undefined;
|
|
3742
|
+
defaultCandidate?: string | undefined;
|
|
3743
|
+
}>>>;
|
|
2064
3744
|
hooks: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
|
|
2065
3745
|
settings: z.ZodOptional<z.ZodObject<{
|
|
2066
3746
|
bin_resolution: z.ZodOptional<z.ZodEnum<["global_first", "local_first"]>>;
|
|
@@ -2713,6 +4393,100 @@ export declare const CrewxProjectConfigSchema: z.ZodObject<{
|
|
|
2713
4393
|
}>>;
|
|
2714
4394
|
interceptors: z.ZodOptional<z.ZodUnknown>;
|
|
2715
4395
|
}, z.ZodUnknown, "strip">>, "many">>;
|
|
4396
|
+
routes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
|
|
4397
|
+
strategy: z.ZodEnum<["round-robin", "weighted"]>;
|
|
4398
|
+
chain: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4399
|
+
kind: z.ZodLiteral<"custom">;
|
|
4400
|
+
run: z.ZodString;
|
|
4401
|
+
}, "strict", z.ZodTypeAny, {
|
|
4402
|
+
kind: "custom";
|
|
4403
|
+
run: string;
|
|
4404
|
+
}, {
|
|
4405
|
+
kind: "custom";
|
|
4406
|
+
run: string;
|
|
4407
|
+
}>, "many">>;
|
|
4408
|
+
candidates: z.ZodArray<z.ZodObject<{
|
|
4409
|
+
id: z.ZodString;
|
|
4410
|
+
provider: z.ZodString;
|
|
4411
|
+
model: z.ZodString;
|
|
4412
|
+
weight: z.ZodDefault<z.ZodNumber>;
|
|
4413
|
+
account: z.ZodOptional<z.ZodString>;
|
|
4414
|
+
}, "strict", z.ZodTypeAny, {
|
|
4415
|
+
id: string;
|
|
4416
|
+
model: string;
|
|
4417
|
+
provider: string;
|
|
4418
|
+
weight: number;
|
|
4419
|
+
account?: string | undefined;
|
|
4420
|
+
}, {
|
|
4421
|
+
id: string;
|
|
4422
|
+
model: string;
|
|
4423
|
+
provider: string;
|
|
4424
|
+
weight?: number | undefined;
|
|
4425
|
+
account?: string | undefined;
|
|
4426
|
+
}>, "many">;
|
|
4427
|
+
sticky: z.ZodDefault<z.ZodEnum<["conversation", "none"]>>;
|
|
4428
|
+
defaultCandidate: z.ZodOptional<z.ZodString>;
|
|
4429
|
+
}, "strict", z.ZodTypeAny, {
|
|
4430
|
+
strategy: "round-robin" | "weighted";
|
|
4431
|
+
candidates: {
|
|
4432
|
+
id: string;
|
|
4433
|
+
model: string;
|
|
4434
|
+
provider: string;
|
|
4435
|
+
weight: number;
|
|
4436
|
+
account?: string | undefined;
|
|
4437
|
+
}[];
|
|
4438
|
+
sticky: "none" | "conversation";
|
|
4439
|
+
chain?: {
|
|
4440
|
+
kind: "custom";
|
|
4441
|
+
run: string;
|
|
4442
|
+
}[] | undefined;
|
|
4443
|
+
defaultCandidate?: string | undefined;
|
|
4444
|
+
}, {
|
|
4445
|
+
strategy: "round-robin" | "weighted";
|
|
4446
|
+
candidates: {
|
|
4447
|
+
id: string;
|
|
4448
|
+
model: string;
|
|
4449
|
+
provider: string;
|
|
4450
|
+
weight?: number | undefined;
|
|
4451
|
+
account?: string | undefined;
|
|
4452
|
+
}[];
|
|
4453
|
+
chain?: {
|
|
4454
|
+
kind: "custom";
|
|
4455
|
+
run: string;
|
|
4456
|
+
}[] | undefined;
|
|
4457
|
+
sticky?: "none" | "conversation" | undefined;
|
|
4458
|
+
defaultCandidate?: string | undefined;
|
|
4459
|
+
}>, {
|
|
4460
|
+
strategy: "round-robin" | "weighted";
|
|
4461
|
+
candidates: {
|
|
4462
|
+
id: string;
|
|
4463
|
+
model: string;
|
|
4464
|
+
provider: string;
|
|
4465
|
+
weight: number;
|
|
4466
|
+
account?: string | undefined;
|
|
4467
|
+
}[];
|
|
4468
|
+
sticky: "none" | "conversation";
|
|
4469
|
+
chain?: {
|
|
4470
|
+
kind: "custom";
|
|
4471
|
+
run: string;
|
|
4472
|
+
}[] | undefined;
|
|
4473
|
+
defaultCandidate?: string | undefined;
|
|
4474
|
+
}, {
|
|
4475
|
+
strategy: "round-robin" | "weighted";
|
|
4476
|
+
candidates: {
|
|
4477
|
+
id: string;
|
|
4478
|
+
model: string;
|
|
4479
|
+
provider: string;
|
|
4480
|
+
weight?: number | undefined;
|
|
4481
|
+
account?: string | undefined;
|
|
4482
|
+
}[];
|
|
4483
|
+
chain?: {
|
|
4484
|
+
kind: "custom";
|
|
4485
|
+
run: string;
|
|
4486
|
+
}[] | undefined;
|
|
4487
|
+
sticky?: "none" | "conversation" | undefined;
|
|
4488
|
+
defaultCandidate?: string | undefined;
|
|
4489
|
+
}>>>;
|
|
2716
4490
|
hooks: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
|
|
2717
4491
|
settings: z.ZodOptional<z.ZodObject<{
|
|
2718
4492
|
bin_resolution: z.ZodOptional<z.ZodEnum<["global_first", "local_first"]>>;
|
|
@@ -2851,6 +4625,9 @@ export interface CrewxOptions {
|
|
|
2851
4625
|
additionalArgsProvider?: import('../provider/bridge').AdditionalArgsProvider;
|
|
2852
4626
|
globalSettings?: import('../config/global-settings').GlobalSettingsStore;
|
|
2853
4627
|
onRateLimitObserved?: (observation: ProviderRateLimitObservation) => void;
|
|
4628
|
+
routeDecisionStore?: import('../route/store.js').RouteDecisionStore;
|
|
4629
|
+
routeObservationSource?: import('../route/eligibility.js').RouteObservationSource;
|
|
4630
|
+
routeRunners?: Readonly<Record<string, import('../route/types.js').RouteRunner>>;
|
|
2854
4631
|
}
|
|
2855
4632
|
export interface ProviderRateLimitObservation {
|
|
2856
4633
|
provider: string;
|
|
@@ -2859,7 +4636,7 @@ export interface ProviderRateLimitObservation {
|
|
|
2859
4636
|
observedAt: Date;
|
|
2860
4637
|
}
|
|
2861
4638
|
export type ContextMode = 'full' | 'instruction-only';
|
|
2862
|
-
export type CanResumeSessionReason = 'RESUME_SESSION_REQUIRED' | 'AGENT_NOT_FOUND' | 'PROVIDER_UNSUPPORTED';
|
|
4639
|
+
export type CanResumeSessionReason = 'RESUME_SESSION_REQUIRED' | 'AGENT_NOT_FOUND' | 'PROVIDER_UNSUPPORTED' | 'ROUTE_UNAVAILABLE';
|
|
2863
4640
|
export interface CanResumeSessionParams {
|
|
2864
4641
|
mode: 'query' | 'execute';
|
|
2865
4642
|
resumeSessionId: string;
|
|
@@ -2870,6 +4647,7 @@ export interface CanResumeSessionParams {
|
|
|
2870
4647
|
overdrive?: boolean | {
|
|
2871
4648
|
mode?: 'count' | 'latch';
|
|
2872
4649
|
};
|
|
4650
|
+
threadId?: string;
|
|
2873
4651
|
}
|
|
2874
4652
|
export interface CanResumeSessionResult {
|
|
2875
4653
|
ok: boolean;
|