@keywordsai/keywordsai-sdk 0.0.9 → 0.0.11

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.
@@ -106,6 +106,67 @@ declare const FunctionToolSchema: z.ZodObject<{
106
106
  };
107
107
  type: "function";
108
108
  }>;
109
+ declare const FlexibleToolSchema: z.ZodEffects<z.ZodObject<{
110
+ type: z.ZodDefault<z.ZodString>;
111
+ function: z.ZodNullable<z.ZodOptional<z.ZodObject<{
112
+ name: z.ZodString;
113
+ description: z.ZodOptional<z.ZodString>;
114
+ parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
115
+ }, "strip", z.ZodTypeAny, {
116
+ name: string;
117
+ description?: string | undefined;
118
+ parameters?: Record<string, any> | undefined;
119
+ }, {
120
+ name: string;
121
+ description?: string | undefined;
122
+ parameters?: Record<string, any> | undefined;
123
+ }>>>;
124
+ }, "strip", z.ZodAny, z.objectOutputType<{
125
+ type: z.ZodDefault<z.ZodString>;
126
+ function: z.ZodNullable<z.ZodOptional<z.ZodObject<{
127
+ name: z.ZodString;
128
+ description: z.ZodOptional<z.ZodString>;
129
+ parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
130
+ }, "strip", z.ZodTypeAny, {
131
+ name: string;
132
+ description?: string | undefined;
133
+ parameters?: Record<string, any> | undefined;
134
+ }, {
135
+ name: string;
136
+ description?: string | undefined;
137
+ parameters?: Record<string, any> | undefined;
138
+ }>>>;
139
+ }, z.ZodAny, "strip">, z.objectInputType<{
140
+ type: z.ZodDefault<z.ZodString>;
141
+ function: z.ZodNullable<z.ZodOptional<z.ZodObject<{
142
+ name: z.ZodString;
143
+ description: z.ZodOptional<z.ZodString>;
144
+ parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
145
+ }, "strip", z.ZodTypeAny, {
146
+ name: string;
147
+ description?: string | undefined;
148
+ parameters?: Record<string, any> | undefined;
149
+ }, {
150
+ name: string;
151
+ description?: string | undefined;
152
+ parameters?: Record<string, any> | undefined;
153
+ }>>>;
154
+ }, z.ZodAny, "strip">>, Record<string, any>, z.objectInputType<{
155
+ type: z.ZodDefault<z.ZodString>;
156
+ function: z.ZodNullable<z.ZodOptional<z.ZodObject<{
157
+ name: z.ZodString;
158
+ description: z.ZodOptional<z.ZodString>;
159
+ parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
160
+ }, "strip", z.ZodTypeAny, {
161
+ name: string;
162
+ description?: string | undefined;
163
+ parameters?: Record<string, any> | undefined;
164
+ }, {
165
+ name: string;
166
+ description?: string | undefined;
167
+ parameters?: Record<string, any> | undefined;
168
+ }>>>;
169
+ }, z.ZodAny, "strip">>;
109
170
  declare const MessageSchema: z.ZodEffects<z.ZodObject<{
110
171
  role: z.ZodString;
111
172
  content: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodUnion<[z.ZodObject<{
@@ -232,6 +293,19 @@ declare const MessageSchema: z.ZodEffects<z.ZodObject<{
232
293
  type: string;
233
294
  } | undefined;
234
295
  annotations?: (string | Record<string, any>)[] | undefined;
296
+ }>, z.ZodObject<{
297
+ type: z.ZodString;
298
+ } & {
299
+ file: z.ZodString;
300
+ providerData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
301
+ }, "strip", z.ZodTypeAny, {
302
+ type: string;
303
+ file: string;
304
+ providerData?: Record<string, any> | undefined;
305
+ }, {
306
+ type: string;
307
+ file: string;
308
+ providerData?: Record<string, any> | undefined;
235
309
  }>, z.ZodObject<{
236
310
  type: z.ZodString;
237
311
  text: z.ZodString;
@@ -257,6 +331,10 @@ declare const MessageSchema: z.ZodEffects<z.ZodObject<{
257
331
  type: string;
258
332
  file: string;
259
333
  providerData?: Record<string, any> | undefined;
334
+ } | {
335
+ type: string;
336
+ file: string;
337
+ providerData?: Record<string, any> | undefined;
260
338
  } | {
261
339
  type: string;
262
340
  id?: string | undefined;
@@ -292,6 +370,10 @@ declare const MessageSchema: z.ZodEffects<z.ZodObject<{
292
370
  type: string;
293
371
  file: string;
294
372
  providerData?: Record<string, any> | undefined;
373
+ } | {
374
+ type: string;
375
+ file: string;
376
+ providerData?: Record<string, any> | undefined;
295
377
  } | {
296
378
  type: string;
297
379
  id?: string | undefined;
@@ -417,6 +499,10 @@ declare const MessageSchema: z.ZodEffects<z.ZodObject<{
417
499
  type: string;
418
500
  file: string;
419
501
  providerData?: Record<string, any> | undefined;
502
+ } | {
503
+ type: string;
504
+ file: string;
505
+ providerData?: Record<string, any> | undefined;
420
506
  } | {
421
507
  type: string;
422
508
  id?: string | undefined;
@@ -465,6 +551,10 @@ declare const MessageSchema: z.ZodEffects<z.ZodObject<{
465
551
  type: string;
466
552
  file: string;
467
553
  providerData?: Record<string, any> | undefined;
554
+ } | {
555
+ type: string;
556
+ file: string;
557
+ providerData?: Record<string, any> | undefined;
468
558
  } | {
469
559
  type: string;
470
560
  id?: string | undefined;
@@ -526,6 +616,10 @@ declare const MessageSchema: z.ZodEffects<z.ZodObject<{
526
616
  type: string;
527
617
  file: string;
528
618
  providerData?: Record<string, any> | undefined;
619
+ } | {
620
+ type: string;
621
+ file: string;
622
+ providerData?: Record<string, any> | undefined;
529
623
  } | {
530
624
  type: string;
531
625
  id?: string | undefined;
@@ -575,6 +669,10 @@ declare const MessageSchema: z.ZodEffects<z.ZodObject<{
575
669
  type: string;
576
670
  file: string;
577
671
  providerData?: Record<string, any> | undefined;
672
+ } | {
673
+ type: string;
674
+ file: string;
675
+ providerData?: Record<string, any> | undefined;
578
676
  } | {
579
677
  type: string;
580
678
  id?: string | undefined;
@@ -623,6 +721,10 @@ declare const MessageSchema: z.ZodEffects<z.ZodObject<{
623
721
  type: string;
624
722
  file: string;
625
723
  providerData?: Record<string, any> | undefined;
724
+ } | {
725
+ type: string;
726
+ file: string;
727
+ providerData?: Record<string, any> | undefined;
626
728
  } | {
627
729
  type: string;
628
730
  id?: string | undefined;
@@ -1003,6 +1105,19 @@ declare const BasicLLMParamsSchema: z.ZodObject<{
1003
1105
  type: string;
1004
1106
  } | undefined;
1005
1107
  annotations?: (string | Record<string, any>)[] | undefined;
1108
+ }>, z.ZodObject<{
1109
+ type: z.ZodString;
1110
+ } & {
1111
+ file: z.ZodString;
1112
+ providerData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1113
+ }, "strip", z.ZodTypeAny, {
1114
+ type: string;
1115
+ file: string;
1116
+ providerData?: Record<string, any> | undefined;
1117
+ }, {
1118
+ type: string;
1119
+ file: string;
1120
+ providerData?: Record<string, any> | undefined;
1006
1121
  }>, z.ZodObject<{
1007
1122
  type: z.ZodString;
1008
1123
  text: z.ZodString;
@@ -1028,6 +1143,10 @@ declare const BasicLLMParamsSchema: z.ZodObject<{
1028
1143
  type: string;
1029
1144
  file: string;
1030
1145
  providerData?: Record<string, any> | undefined;
1146
+ } | {
1147
+ type: string;
1148
+ file: string;
1149
+ providerData?: Record<string, any> | undefined;
1031
1150
  } | {
1032
1151
  type: string;
1033
1152
  id?: string | undefined;
@@ -1063,6 +1182,10 @@ declare const BasicLLMParamsSchema: z.ZodObject<{
1063
1182
  type: string;
1064
1183
  file: string;
1065
1184
  providerData?: Record<string, any> | undefined;
1185
+ } | {
1186
+ type: string;
1187
+ file: string;
1188
+ providerData?: Record<string, any> | undefined;
1066
1189
  } | {
1067
1190
  type: string;
1068
1191
  id?: string | undefined;
@@ -1188,6 +1311,10 @@ declare const BasicLLMParamsSchema: z.ZodObject<{
1188
1311
  type: string;
1189
1312
  file: string;
1190
1313
  providerData?: Record<string, any> | undefined;
1314
+ } | {
1315
+ type: string;
1316
+ file: string;
1317
+ providerData?: Record<string, any> | undefined;
1191
1318
  } | {
1192
1319
  type: string;
1193
1320
  id?: string | undefined;
@@ -1236,6 +1363,10 @@ declare const BasicLLMParamsSchema: z.ZodObject<{
1236
1363
  type: string;
1237
1364
  file: string;
1238
1365
  providerData?: Record<string, any> | undefined;
1366
+ } | {
1367
+ type: string;
1368
+ file: string;
1369
+ providerData?: Record<string, any> | undefined;
1239
1370
  } | {
1240
1371
  type: string;
1241
1372
  id?: string | undefined;
@@ -1297,6 +1428,10 @@ declare const BasicLLMParamsSchema: z.ZodObject<{
1297
1428
  type: string;
1298
1429
  file: string;
1299
1430
  providerData?: Record<string, any> | undefined;
1431
+ } | {
1432
+ type: string;
1433
+ file: string;
1434
+ providerData?: Record<string, any> | undefined;
1300
1435
  } | {
1301
1436
  type: string;
1302
1437
  id?: string | undefined;
@@ -1346,6 +1481,10 @@ declare const BasicLLMParamsSchema: z.ZodObject<{
1346
1481
  type: string;
1347
1482
  file: string;
1348
1483
  providerData?: Record<string, any> | undefined;
1484
+ } | {
1485
+ type: string;
1486
+ file: string;
1487
+ providerData?: Record<string, any> | undefined;
1349
1488
  } | {
1350
1489
  type: string;
1351
1490
  id?: string | undefined;
@@ -1394,6 +1533,10 @@ declare const BasicLLMParamsSchema: z.ZodObject<{
1394
1533
  type: string;
1395
1534
  file: string;
1396
1535
  providerData?: Record<string, any> | undefined;
1536
+ } | {
1537
+ type: string;
1538
+ file: string;
1539
+ providerData?: Record<string, any> | undefined;
1397
1540
  } | {
1398
1541
  type: string;
1399
1542
  id?: string | undefined;
@@ -1448,9 +1591,9 @@ declare const BasicLLMParamsSchema: z.ZodObject<{
1448
1591
  stream_options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1449
1592
  temperature: z.ZodOptional<z.ZodNumber>;
1450
1593
  timeout: z.ZodOptional<z.ZodNumber>;
1451
- tools: z.ZodOptional<z.ZodArray<z.ZodObject<{
1452
- type: z.ZodLiteral<"function">;
1453
- function: z.ZodObject<{
1594
+ tools: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
1595
+ type: z.ZodDefault<z.ZodString>;
1596
+ function: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1454
1597
  name: z.ZodString;
1455
1598
  description: z.ZodOptional<z.ZodString>;
1456
1599
  parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
@@ -1462,22 +1605,53 @@ declare const BasicLLMParamsSchema: z.ZodObject<{
1462
1605
  name: string;
1463
1606
  description?: string | undefined;
1464
1607
  parameters?: Record<string, any> | undefined;
1465
- }>;
1466
- }, "strip", z.ZodTypeAny, {
1467
- function: {
1608
+ }>>>;
1609
+ }, "strip", z.ZodAny, z.objectOutputType<{
1610
+ type: z.ZodDefault<z.ZodString>;
1611
+ function: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1612
+ name: z.ZodString;
1613
+ description: z.ZodOptional<z.ZodString>;
1614
+ parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1615
+ }, "strip", z.ZodTypeAny, {
1468
1616
  name: string;
1469
1617
  description?: string | undefined;
1470
1618
  parameters?: Record<string, any> | undefined;
1471
- };
1472
- type: "function";
1473
- }, {
1474
- function: {
1619
+ }, {
1475
1620
  name: string;
1476
1621
  description?: string | undefined;
1477
1622
  parameters?: Record<string, any> | undefined;
1478
- };
1479
- type: "function";
1480
- }>, "many">>;
1623
+ }>>>;
1624
+ }, z.ZodAny, "strip">, z.objectInputType<{
1625
+ type: z.ZodDefault<z.ZodString>;
1626
+ function: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1627
+ name: z.ZodString;
1628
+ description: z.ZodOptional<z.ZodString>;
1629
+ parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1630
+ }, "strip", z.ZodTypeAny, {
1631
+ name: string;
1632
+ description?: string | undefined;
1633
+ parameters?: Record<string, any> | undefined;
1634
+ }, {
1635
+ name: string;
1636
+ description?: string | undefined;
1637
+ parameters?: Record<string, any> | undefined;
1638
+ }>>>;
1639
+ }, z.ZodAny, "strip">>, Record<string, any>, z.objectInputType<{
1640
+ type: z.ZodDefault<z.ZodString>;
1641
+ function: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1642
+ name: z.ZodString;
1643
+ description: z.ZodOptional<z.ZodString>;
1644
+ parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1645
+ }, "strip", z.ZodTypeAny, {
1646
+ name: string;
1647
+ description?: string | undefined;
1648
+ parameters?: Record<string, any> | undefined;
1649
+ }, {
1650
+ name: string;
1651
+ description?: string | undefined;
1652
+ parameters?: Record<string, any> | undefined;
1653
+ }>>>;
1654
+ }, z.ZodAny, "strip">>, "many">>;
1481
1655
  response_format: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1482
1656
  reasoning_effort: z.ZodOptional<z.ZodString>;
1483
1657
  tool_choice: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["auto", "none", "required"]>, z.ZodOptional<z.ZodObject<{
@@ -1527,6 +1701,10 @@ declare const BasicLLMParamsSchema: z.ZodObject<{
1527
1701
  type: string;
1528
1702
  file: string;
1529
1703
  providerData?: Record<string, any> | undefined;
1704
+ } | {
1705
+ type: string;
1706
+ file: string;
1707
+ providerData?: Record<string, any> | undefined;
1530
1708
  } | {
1531
1709
  type: string;
1532
1710
  id?: string | undefined;
@@ -1576,6 +1754,10 @@ declare const BasicLLMParamsSchema: z.ZodObject<{
1576
1754
  type: string;
1577
1755
  file: string;
1578
1756
  providerData?: Record<string, any> | undefined;
1757
+ } | {
1758
+ type: string;
1759
+ file: string;
1760
+ providerData?: Record<string, any> | undefined;
1579
1761
  } | {
1580
1762
  type: string;
1581
1763
  id?: string | undefined;
@@ -1616,14 +1798,7 @@ declare const BasicLLMParamsSchema: z.ZodObject<{
1616
1798
  stream_options?: Record<string, any> | undefined;
1617
1799
  temperature?: number | undefined;
1618
1800
  timeout?: number | undefined;
1619
- tools?: {
1620
- function: {
1621
- name: string;
1622
- description?: string | undefined;
1623
- parameters?: Record<string, any> | undefined;
1624
- };
1625
- type: "function";
1626
- }[] | undefined;
1801
+ tools?: Record<string, any>[] | undefined;
1627
1802
  response_format?: Record<string, any> | undefined;
1628
1803
  reasoning_effort?: string | undefined;
1629
1804
  tool_choice?: {
@@ -1659,6 +1834,10 @@ declare const BasicLLMParamsSchema: z.ZodObject<{
1659
1834
  type: string;
1660
1835
  file: string;
1661
1836
  providerData?: Record<string, any> | undefined;
1837
+ } | {
1838
+ type: string;
1839
+ file: string;
1840
+ providerData?: Record<string, any> | undefined;
1662
1841
  } | {
1663
1842
  type: string;
1664
1843
  id?: string | undefined;
@@ -1712,14 +1891,22 @@ declare const BasicLLMParamsSchema: z.ZodObject<{
1712
1891
  stream_options?: Record<string, any> | undefined;
1713
1892
  temperature?: number | undefined;
1714
1893
  timeout?: number | undefined;
1715
- tools?: {
1716
- function: {
1894
+ tools?: z.objectInputType<{
1895
+ type: z.ZodDefault<z.ZodString>;
1896
+ function: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1897
+ name: z.ZodString;
1898
+ description: z.ZodOptional<z.ZodString>;
1899
+ parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1900
+ }, "strip", z.ZodTypeAny, {
1717
1901
  name: string;
1718
1902
  description?: string | undefined;
1719
1903
  parameters?: Record<string, any> | undefined;
1720
- };
1721
- type: "function";
1722
- }[] | undefined;
1904
+ }, {
1905
+ name: string;
1906
+ description?: string | undefined;
1907
+ parameters?: Record<string, any> | undefined;
1908
+ }>>>;
1909
+ }, z.ZodAny, "strip">[] | undefined;
1723
1910
  response_format?: Record<string, any> | undefined;
1724
1911
  reasoning_effort?: string | undefined;
1725
1912
  tool_choice?: {
@@ -1910,6 +2097,19 @@ declare const KeywordsAIParamsSchema: z.ZodObject<{
1910
2097
  type: string;
1911
2098
  } | undefined;
1912
2099
  annotations?: (string | Record<string, any>)[] | undefined;
2100
+ }>, z.ZodObject<{
2101
+ type: z.ZodString;
2102
+ } & {
2103
+ file: z.ZodString;
2104
+ providerData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2105
+ }, "strip", z.ZodTypeAny, {
2106
+ type: string;
2107
+ file: string;
2108
+ providerData?: Record<string, any> | undefined;
2109
+ }, {
2110
+ type: string;
2111
+ file: string;
2112
+ providerData?: Record<string, any> | undefined;
1913
2113
  }>, z.ZodObject<{
1914
2114
  type: z.ZodString;
1915
2115
  text: z.ZodString;
@@ -1935,6 +2135,10 @@ declare const KeywordsAIParamsSchema: z.ZodObject<{
1935
2135
  type: string;
1936
2136
  file: string;
1937
2137
  providerData?: Record<string, any> | undefined;
2138
+ } | {
2139
+ type: string;
2140
+ file: string;
2141
+ providerData?: Record<string, any> | undefined;
1938
2142
  } | {
1939
2143
  type: string;
1940
2144
  id?: string | undefined;
@@ -1970,6 +2174,10 @@ declare const KeywordsAIParamsSchema: z.ZodObject<{
1970
2174
  type: string;
1971
2175
  file: string;
1972
2176
  providerData?: Record<string, any> | undefined;
2177
+ } | {
2178
+ type: string;
2179
+ file: string;
2180
+ providerData?: Record<string, any> | undefined;
1973
2181
  } | {
1974
2182
  type: string;
1975
2183
  id?: string | undefined;
@@ -2095,6 +2303,10 @@ declare const KeywordsAIParamsSchema: z.ZodObject<{
2095
2303
  type: string;
2096
2304
  file: string;
2097
2305
  providerData?: Record<string, any> | undefined;
2306
+ } | {
2307
+ type: string;
2308
+ file: string;
2309
+ providerData?: Record<string, any> | undefined;
2098
2310
  } | {
2099
2311
  type: string;
2100
2312
  id?: string | undefined;
@@ -2143,6 +2355,10 @@ declare const KeywordsAIParamsSchema: z.ZodObject<{
2143
2355
  type: string;
2144
2356
  file: string;
2145
2357
  providerData?: Record<string, any> | undefined;
2358
+ } | {
2359
+ type: string;
2360
+ file: string;
2361
+ providerData?: Record<string, any> | undefined;
2146
2362
  } | {
2147
2363
  type: string;
2148
2364
  id?: string | undefined;
@@ -2204,6 +2420,10 @@ declare const KeywordsAIParamsSchema: z.ZodObject<{
2204
2420
  type: string;
2205
2421
  file: string;
2206
2422
  providerData?: Record<string, any> | undefined;
2423
+ } | {
2424
+ type: string;
2425
+ file: string;
2426
+ providerData?: Record<string, any> | undefined;
2207
2427
  } | {
2208
2428
  type: string;
2209
2429
  id?: string | undefined;
@@ -2253,6 +2473,10 @@ declare const KeywordsAIParamsSchema: z.ZodObject<{
2253
2473
  type: string;
2254
2474
  file: string;
2255
2475
  providerData?: Record<string, any> | undefined;
2476
+ } | {
2477
+ type: string;
2478
+ file: string;
2479
+ providerData?: Record<string, any> | undefined;
2256
2480
  } | {
2257
2481
  type: string;
2258
2482
  id?: string | undefined;
@@ -2301,6 +2525,10 @@ declare const KeywordsAIParamsSchema: z.ZodObject<{
2301
2525
  type: string;
2302
2526
  file: string;
2303
2527
  providerData?: Record<string, any> | undefined;
2528
+ } | {
2529
+ type: string;
2530
+ file: string;
2531
+ providerData?: Record<string, any> | undefined;
2304
2532
  } | {
2305
2533
  type: string;
2306
2534
  id?: string | undefined;
@@ -2470,6 +2698,19 @@ declare const KeywordsAIParamsSchema: z.ZodObject<{
2470
2698
  type: string;
2471
2699
  } | undefined;
2472
2700
  annotations?: (string | Record<string, any>)[] | undefined;
2701
+ }>, z.ZodObject<{
2702
+ type: z.ZodString;
2703
+ } & {
2704
+ file: z.ZodString;
2705
+ providerData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2706
+ }, "strip", z.ZodTypeAny, {
2707
+ type: string;
2708
+ file: string;
2709
+ providerData?: Record<string, any> | undefined;
2710
+ }, {
2711
+ type: string;
2712
+ file: string;
2713
+ providerData?: Record<string, any> | undefined;
2473
2714
  }>, z.ZodObject<{
2474
2715
  type: z.ZodString;
2475
2716
  text: z.ZodString;
@@ -2495,6 +2736,10 @@ declare const KeywordsAIParamsSchema: z.ZodObject<{
2495
2736
  type: string;
2496
2737
  file: string;
2497
2738
  providerData?: Record<string, any> | undefined;
2739
+ } | {
2740
+ type: string;
2741
+ file: string;
2742
+ providerData?: Record<string, any> | undefined;
2498
2743
  } | {
2499
2744
  type: string;
2500
2745
  id?: string | undefined;
@@ -2530,6 +2775,10 @@ declare const KeywordsAIParamsSchema: z.ZodObject<{
2530
2775
  type: string;
2531
2776
  file: string;
2532
2777
  providerData?: Record<string, any> | undefined;
2778
+ } | {
2779
+ type: string;
2780
+ file: string;
2781
+ providerData?: Record<string, any> | undefined;
2533
2782
  } | {
2534
2783
  type: string;
2535
2784
  id?: string | undefined;
@@ -2655,6 +2904,10 @@ declare const KeywordsAIParamsSchema: z.ZodObject<{
2655
2904
  type: string;
2656
2905
  file: string;
2657
2906
  providerData?: Record<string, any> | undefined;
2907
+ } | {
2908
+ type: string;
2909
+ file: string;
2910
+ providerData?: Record<string, any> | undefined;
2658
2911
  } | {
2659
2912
  type: string;
2660
2913
  id?: string | undefined;
@@ -2703,6 +2956,10 @@ declare const KeywordsAIParamsSchema: z.ZodObject<{
2703
2956
  type: string;
2704
2957
  file: string;
2705
2958
  providerData?: Record<string, any> | undefined;
2959
+ } | {
2960
+ type: string;
2961
+ file: string;
2962
+ providerData?: Record<string, any> | undefined;
2706
2963
  } | {
2707
2964
  type: string;
2708
2965
  id?: string | undefined;
@@ -2764,6 +3021,10 @@ declare const KeywordsAIParamsSchema: z.ZodObject<{
2764
3021
  type: string;
2765
3022
  file: string;
2766
3023
  providerData?: Record<string, any> | undefined;
3024
+ } | {
3025
+ type: string;
3026
+ file: string;
3027
+ providerData?: Record<string, any> | undefined;
2767
3028
  } | {
2768
3029
  type: string;
2769
3030
  id?: string | undefined;
@@ -2813,6 +3074,10 @@ declare const KeywordsAIParamsSchema: z.ZodObject<{
2813
3074
  type: string;
2814
3075
  file: string;
2815
3076
  providerData?: Record<string, any> | undefined;
3077
+ } | {
3078
+ type: string;
3079
+ file: string;
3080
+ providerData?: Record<string, any> | undefined;
2816
3081
  } | {
2817
3082
  type: string;
2818
3083
  id?: string | undefined;
@@ -2861,6 +3126,10 @@ declare const KeywordsAIParamsSchema: z.ZodObject<{
2861
3126
  type: string;
2862
3127
  file: string;
2863
3128
  providerData?: Record<string, any> | undefined;
3129
+ } | {
3130
+ type: string;
3131
+ file: string;
3132
+ providerData?: Record<string, any> | undefined;
2864
3133
  } | {
2865
3134
  type: string;
2866
3135
  id?: string | undefined;
@@ -3030,6 +3299,19 @@ declare const KeywordsAIParamsSchema: z.ZodObject<{
3030
3299
  type: string;
3031
3300
  } | undefined;
3032
3301
  annotations?: (string | Record<string, any>)[] | undefined;
3302
+ }>, z.ZodObject<{
3303
+ type: z.ZodString;
3304
+ } & {
3305
+ file: z.ZodString;
3306
+ providerData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
3307
+ }, "strip", z.ZodTypeAny, {
3308
+ type: string;
3309
+ file: string;
3310
+ providerData?: Record<string, any> | undefined;
3311
+ }, {
3312
+ type: string;
3313
+ file: string;
3314
+ providerData?: Record<string, any> | undefined;
3033
3315
  }>, z.ZodObject<{
3034
3316
  type: z.ZodString;
3035
3317
  text: z.ZodString;
@@ -3055,6 +3337,10 @@ declare const KeywordsAIParamsSchema: z.ZodObject<{
3055
3337
  type: string;
3056
3338
  file: string;
3057
3339
  providerData?: Record<string, any> | undefined;
3340
+ } | {
3341
+ type: string;
3342
+ file: string;
3343
+ providerData?: Record<string, any> | undefined;
3058
3344
  } | {
3059
3345
  type: string;
3060
3346
  id?: string | undefined;
@@ -3090,6 +3376,10 @@ declare const KeywordsAIParamsSchema: z.ZodObject<{
3090
3376
  type: string;
3091
3377
  file: string;
3092
3378
  providerData?: Record<string, any> | undefined;
3379
+ } | {
3380
+ type: string;
3381
+ file: string;
3382
+ providerData?: Record<string, any> | undefined;
3093
3383
  } | {
3094
3384
  type: string;
3095
3385
  id?: string | undefined;
@@ -3215,6 +3505,10 @@ declare const KeywordsAIParamsSchema: z.ZodObject<{
3215
3505
  type: string;
3216
3506
  file: string;
3217
3507
  providerData?: Record<string, any> | undefined;
3508
+ } | {
3509
+ type: string;
3510
+ file: string;
3511
+ providerData?: Record<string, any> | undefined;
3218
3512
  } | {
3219
3513
  type: string;
3220
3514
  id?: string | undefined;
@@ -3263,6 +3557,10 @@ declare const KeywordsAIParamsSchema: z.ZodObject<{
3263
3557
  type: string;
3264
3558
  file: string;
3265
3559
  providerData?: Record<string, any> | undefined;
3560
+ } | {
3561
+ type: string;
3562
+ file: string;
3563
+ providerData?: Record<string, any> | undefined;
3266
3564
  } | {
3267
3565
  type: string;
3268
3566
  id?: string | undefined;
@@ -3324,6 +3622,10 @@ declare const KeywordsAIParamsSchema: z.ZodObject<{
3324
3622
  type: string;
3325
3623
  file: string;
3326
3624
  providerData?: Record<string, any> | undefined;
3625
+ } | {
3626
+ type: string;
3627
+ file: string;
3628
+ providerData?: Record<string, any> | undefined;
3327
3629
  } | {
3328
3630
  type: string;
3329
3631
  id?: string | undefined;
@@ -3373,6 +3675,10 @@ declare const KeywordsAIParamsSchema: z.ZodObject<{
3373
3675
  type: string;
3374
3676
  file: string;
3375
3677
  providerData?: Record<string, any> | undefined;
3678
+ } | {
3679
+ type: string;
3680
+ file: string;
3681
+ providerData?: Record<string, any> | undefined;
3376
3682
  } | {
3377
3683
  type: string;
3378
3684
  id?: string | undefined;
@@ -3421,6 +3727,10 @@ declare const KeywordsAIParamsSchema: z.ZodObject<{
3421
3727
  type: string;
3422
3728
  file: string;
3423
3729
  providerData?: Record<string, any> | undefined;
3730
+ } | {
3731
+ type: string;
3732
+ file: string;
3733
+ providerData?: Record<string, any> | undefined;
3424
3734
  } | {
3425
3735
  type: string;
3426
3736
  id?: string | undefined;
@@ -3870,6 +4180,19 @@ declare const KeywordsAIParamsSchema: z.ZodObject<{
3870
4180
  type: string;
3871
4181
  } | undefined;
3872
4182
  annotations?: (string | Record<string, any>)[] | undefined;
4183
+ }>, z.ZodObject<{
4184
+ type: z.ZodString;
4185
+ } & {
4186
+ file: z.ZodString;
4187
+ providerData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
4188
+ }, "strip", z.ZodTypeAny, {
4189
+ type: string;
4190
+ file: string;
4191
+ providerData?: Record<string, any> | undefined;
4192
+ }, {
4193
+ type: string;
4194
+ file: string;
4195
+ providerData?: Record<string, any> | undefined;
3873
4196
  }>, z.ZodObject<{
3874
4197
  type: z.ZodString;
3875
4198
  text: z.ZodString;
@@ -3895,6 +4218,10 @@ declare const KeywordsAIParamsSchema: z.ZodObject<{
3895
4218
  type: string;
3896
4219
  file: string;
3897
4220
  providerData?: Record<string, any> | undefined;
4221
+ } | {
4222
+ type: string;
4223
+ file: string;
4224
+ providerData?: Record<string, any> | undefined;
3898
4225
  } | {
3899
4226
  type: string;
3900
4227
  id?: string | undefined;
@@ -3930,6 +4257,10 @@ declare const KeywordsAIParamsSchema: z.ZodObject<{
3930
4257
  type: string;
3931
4258
  file: string;
3932
4259
  providerData?: Record<string, any> | undefined;
4260
+ } | {
4261
+ type: string;
4262
+ file: string;
4263
+ providerData?: Record<string, any> | undefined;
3933
4264
  } | {
3934
4265
  type: string;
3935
4266
  id?: string | undefined;
@@ -4055,6 +4386,10 @@ declare const KeywordsAIParamsSchema: z.ZodObject<{
4055
4386
  type: string;
4056
4387
  file: string;
4057
4388
  providerData?: Record<string, any> | undefined;
4389
+ } | {
4390
+ type: string;
4391
+ file: string;
4392
+ providerData?: Record<string, any> | undefined;
4058
4393
  } | {
4059
4394
  type: string;
4060
4395
  id?: string | undefined;
@@ -4103,6 +4438,10 @@ declare const KeywordsAIParamsSchema: z.ZodObject<{
4103
4438
  type: string;
4104
4439
  file: string;
4105
4440
  providerData?: Record<string, any> | undefined;
4441
+ } | {
4442
+ type: string;
4443
+ file: string;
4444
+ providerData?: Record<string, any> | undefined;
4106
4445
  } | {
4107
4446
  type: string;
4108
4447
  id?: string | undefined;
@@ -4164,6 +4503,10 @@ declare const KeywordsAIParamsSchema: z.ZodObject<{
4164
4503
  type: string;
4165
4504
  file: string;
4166
4505
  providerData?: Record<string, any> | undefined;
4506
+ } | {
4507
+ type: string;
4508
+ file: string;
4509
+ providerData?: Record<string, any> | undefined;
4167
4510
  } | {
4168
4511
  type: string;
4169
4512
  id?: string | undefined;
@@ -4213,6 +4556,10 @@ declare const KeywordsAIParamsSchema: z.ZodObject<{
4213
4556
  type: string;
4214
4557
  file: string;
4215
4558
  providerData?: Record<string, any> | undefined;
4559
+ } | {
4560
+ type: string;
4561
+ file: string;
4562
+ providerData?: Record<string, any> | undefined;
4216
4563
  } | {
4217
4564
  type: string;
4218
4565
  id?: string | undefined;
@@ -4261,6 +4608,10 @@ declare const KeywordsAIParamsSchema: z.ZodObject<{
4261
4608
  type: string;
4262
4609
  file: string;
4263
4610
  providerData?: Record<string, any> | undefined;
4611
+ } | {
4612
+ type: string;
4613
+ file: string;
4614
+ providerData?: Record<string, any> | undefined;
4264
4615
  } | {
4265
4616
  type: string;
4266
4617
  id?: string | undefined;
@@ -4397,6 +4748,10 @@ declare const KeywordsAIParamsSchema: z.ZodObject<{
4397
4748
  type: string;
4398
4749
  file: string;
4399
4750
  providerData?: Record<string, any> | undefined;
4751
+ } | {
4752
+ type: string;
4753
+ file: string;
4754
+ providerData?: Record<string, any> | undefined;
4400
4755
  } | {
4401
4756
  type: string;
4402
4757
  id?: string | undefined;
@@ -4446,6 +4801,10 @@ declare const KeywordsAIParamsSchema: z.ZodObject<{
4446
4801
  type: string;
4447
4802
  file: string;
4448
4803
  providerData?: Record<string, any> | undefined;
4804
+ } | {
4805
+ type: string;
4806
+ file: string;
4807
+ providerData?: Record<string, any> | undefined;
4449
4808
  } | {
4450
4809
  type: string;
4451
4810
  id?: string | undefined;
@@ -4495,6 +4854,10 @@ declare const KeywordsAIParamsSchema: z.ZodObject<{
4495
4854
  type: string;
4496
4855
  file: string;
4497
4856
  providerData?: Record<string, any> | undefined;
4857
+ } | {
4858
+ type: string;
4859
+ file: string;
4860
+ providerData?: Record<string, any> | undefined;
4498
4861
  } | {
4499
4862
  type: string;
4500
4863
  id?: string | undefined;
@@ -4544,6 +4907,10 @@ declare const KeywordsAIParamsSchema: z.ZodObject<{
4544
4907
  type: string;
4545
4908
  file: string;
4546
4909
  providerData?: Record<string, any> | undefined;
4910
+ } | {
4911
+ type: string;
4912
+ file: string;
4913
+ providerData?: Record<string, any> | undefined;
4547
4914
  } | {
4548
4915
  type: string;
4549
4916
  id?: string | undefined;
@@ -4593,6 +4960,10 @@ declare const KeywordsAIParamsSchema: z.ZodObject<{
4593
4960
  type: string;
4594
4961
  file: string;
4595
4962
  providerData?: Record<string, any> | undefined;
4963
+ } | {
4964
+ type: string;
4965
+ file: string;
4966
+ providerData?: Record<string, any> | undefined;
4596
4967
  } | {
4597
4968
  type: string;
4598
4969
  id?: string | undefined;
@@ -4642,6 +5013,10 @@ declare const KeywordsAIParamsSchema: z.ZodObject<{
4642
5013
  type: string;
4643
5014
  file: string;
4644
5015
  providerData?: Record<string, any> | undefined;
5016
+ } | {
5017
+ type: string;
5018
+ file: string;
5019
+ providerData?: Record<string, any> | undefined;
4645
5020
  } | {
4646
5021
  type: string;
4647
5022
  id?: string | undefined;
@@ -4820,6 +5195,10 @@ declare const KeywordsAIParamsSchema: z.ZodObject<{
4820
5195
  type: string;
4821
5196
  file: string;
4822
5197
  providerData?: Record<string, any> | undefined;
5198
+ } | {
5199
+ type: string;
5200
+ file: string;
5201
+ providerData?: Record<string, any> | undefined;
4823
5202
  } | {
4824
5203
  type: string;
4825
5204
  id?: string | undefined;
@@ -4869,6 +5248,10 @@ declare const KeywordsAIParamsSchema: z.ZodObject<{
4869
5248
  type: string;
4870
5249
  file: string;
4871
5250
  providerData?: Record<string, any> | undefined;
5251
+ } | {
5252
+ type: string;
5253
+ file: string;
5254
+ providerData?: Record<string, any> | undefined;
4872
5255
  } | {
4873
5256
  type: string;
4874
5257
  id?: string | undefined;
@@ -4984,6 +5367,10 @@ declare const KeywordsAIParamsSchema: z.ZodObject<{
4984
5367
  type: string;
4985
5368
  file: string;
4986
5369
  providerData?: Record<string, any> | undefined;
5370
+ } | {
5371
+ type: string;
5372
+ file: string;
5373
+ providerData?: Record<string, any> | undefined;
4987
5374
  } | {
4988
5375
  type: string;
4989
5376
  id?: string | undefined;
@@ -5046,6 +5433,10 @@ declare const KeywordsAIParamsSchema: z.ZodObject<{
5046
5433
  type: string;
5047
5434
  file: string;
5048
5435
  providerData?: Record<string, any> | undefined;
5436
+ } | {
5437
+ type: string;
5438
+ file: string;
5439
+ providerData?: Record<string, any> | undefined;
5049
5440
  } | {
5050
5441
  type: string;
5051
5442
  id?: string | undefined;
@@ -5108,6 +5499,10 @@ declare const KeywordsAIParamsSchema: z.ZodObject<{
5108
5499
  type: string;
5109
5500
  file: string;
5110
5501
  providerData?: Record<string, any> | undefined;
5502
+ } | {
5503
+ type: string;
5504
+ file: string;
5505
+ providerData?: Record<string, any> | undefined;
5111
5506
  } | {
5112
5507
  type: string;
5113
5508
  id?: string | undefined;
@@ -5304,6 +5699,10 @@ declare const KeywordsAIParamsSchema: z.ZodObject<{
5304
5699
  type: string;
5305
5700
  file: string;
5306
5701
  providerData?: Record<string, any> | undefined;
5702
+ } | {
5703
+ type: string;
5704
+ file: string;
5705
+ providerData?: Record<string, any> | undefined;
5307
5706
  } | {
5308
5707
  type: string;
5309
5708
  id?: string | undefined;
@@ -5524,6 +5923,19 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
5524
5923
  type: string;
5525
5924
  } | undefined;
5526
5925
  annotations?: (string | Record<string, any>)[] | undefined;
5926
+ }>, z.ZodObject<{
5927
+ type: z.ZodString;
5928
+ } & {
5929
+ file: z.ZodString;
5930
+ providerData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
5931
+ }, "strip", z.ZodTypeAny, {
5932
+ type: string;
5933
+ file: string;
5934
+ providerData?: Record<string, any> | undefined;
5935
+ }, {
5936
+ type: string;
5937
+ file: string;
5938
+ providerData?: Record<string, any> | undefined;
5527
5939
  }>, z.ZodObject<{
5528
5940
  type: z.ZodString;
5529
5941
  text: z.ZodString;
@@ -5549,6 +5961,10 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
5549
5961
  type: string;
5550
5962
  file: string;
5551
5963
  providerData?: Record<string, any> | undefined;
5964
+ } | {
5965
+ type: string;
5966
+ file: string;
5967
+ providerData?: Record<string, any> | undefined;
5552
5968
  } | {
5553
5969
  type: string;
5554
5970
  id?: string | undefined;
@@ -5584,6 +6000,10 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
5584
6000
  type: string;
5585
6001
  file: string;
5586
6002
  providerData?: Record<string, any> | undefined;
6003
+ } | {
6004
+ type: string;
6005
+ file: string;
6006
+ providerData?: Record<string, any> | undefined;
5587
6007
  } | {
5588
6008
  type: string;
5589
6009
  id?: string | undefined;
@@ -5709,6 +6129,10 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
5709
6129
  type: string;
5710
6130
  file: string;
5711
6131
  providerData?: Record<string, any> | undefined;
6132
+ } | {
6133
+ type: string;
6134
+ file: string;
6135
+ providerData?: Record<string, any> | undefined;
5712
6136
  } | {
5713
6137
  type: string;
5714
6138
  id?: string | undefined;
@@ -5757,6 +6181,10 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
5757
6181
  type: string;
5758
6182
  file: string;
5759
6183
  providerData?: Record<string, any> | undefined;
6184
+ } | {
6185
+ type: string;
6186
+ file: string;
6187
+ providerData?: Record<string, any> | undefined;
5760
6188
  } | {
5761
6189
  type: string;
5762
6190
  id?: string | undefined;
@@ -5818,6 +6246,10 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
5818
6246
  type: string;
5819
6247
  file: string;
5820
6248
  providerData?: Record<string, any> | undefined;
6249
+ } | {
6250
+ type: string;
6251
+ file: string;
6252
+ providerData?: Record<string, any> | undefined;
5821
6253
  } | {
5822
6254
  type: string;
5823
6255
  id?: string | undefined;
@@ -5867,6 +6299,10 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
5867
6299
  type: string;
5868
6300
  file: string;
5869
6301
  providerData?: Record<string, any> | undefined;
6302
+ } | {
6303
+ type: string;
6304
+ file: string;
6305
+ providerData?: Record<string, any> | undefined;
5870
6306
  } | {
5871
6307
  type: string;
5872
6308
  id?: string | undefined;
@@ -5915,6 +6351,10 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
5915
6351
  type: string;
5916
6352
  file: string;
5917
6353
  providerData?: Record<string, any> | undefined;
6354
+ } | {
6355
+ type: string;
6356
+ file: string;
6357
+ providerData?: Record<string, any> | undefined;
5918
6358
  } | {
5919
6359
  type: string;
5920
6360
  id?: string | undefined;
@@ -6084,6 +6524,19 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
6084
6524
  type: string;
6085
6525
  } | undefined;
6086
6526
  annotations?: (string | Record<string, any>)[] | undefined;
6527
+ }>, z.ZodObject<{
6528
+ type: z.ZodString;
6529
+ } & {
6530
+ file: z.ZodString;
6531
+ providerData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
6532
+ }, "strip", z.ZodTypeAny, {
6533
+ type: string;
6534
+ file: string;
6535
+ providerData?: Record<string, any> | undefined;
6536
+ }, {
6537
+ type: string;
6538
+ file: string;
6539
+ providerData?: Record<string, any> | undefined;
6087
6540
  }>, z.ZodObject<{
6088
6541
  type: z.ZodString;
6089
6542
  text: z.ZodString;
@@ -6109,6 +6562,10 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
6109
6562
  type: string;
6110
6563
  file: string;
6111
6564
  providerData?: Record<string, any> | undefined;
6565
+ } | {
6566
+ type: string;
6567
+ file: string;
6568
+ providerData?: Record<string, any> | undefined;
6112
6569
  } | {
6113
6570
  type: string;
6114
6571
  id?: string | undefined;
@@ -6144,6 +6601,10 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
6144
6601
  type: string;
6145
6602
  file: string;
6146
6603
  providerData?: Record<string, any> | undefined;
6604
+ } | {
6605
+ type: string;
6606
+ file: string;
6607
+ providerData?: Record<string, any> | undefined;
6147
6608
  } | {
6148
6609
  type: string;
6149
6610
  id?: string | undefined;
@@ -6269,6 +6730,10 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
6269
6730
  type: string;
6270
6731
  file: string;
6271
6732
  providerData?: Record<string, any> | undefined;
6733
+ } | {
6734
+ type: string;
6735
+ file: string;
6736
+ providerData?: Record<string, any> | undefined;
6272
6737
  } | {
6273
6738
  type: string;
6274
6739
  id?: string | undefined;
@@ -6317,6 +6782,10 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
6317
6782
  type: string;
6318
6783
  file: string;
6319
6784
  providerData?: Record<string, any> | undefined;
6785
+ } | {
6786
+ type: string;
6787
+ file: string;
6788
+ providerData?: Record<string, any> | undefined;
6320
6789
  } | {
6321
6790
  type: string;
6322
6791
  id?: string | undefined;
@@ -6378,6 +6847,10 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
6378
6847
  type: string;
6379
6848
  file: string;
6380
6849
  providerData?: Record<string, any> | undefined;
6850
+ } | {
6851
+ type: string;
6852
+ file: string;
6853
+ providerData?: Record<string, any> | undefined;
6381
6854
  } | {
6382
6855
  type: string;
6383
6856
  id?: string | undefined;
@@ -6427,6 +6900,10 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
6427
6900
  type: string;
6428
6901
  file: string;
6429
6902
  providerData?: Record<string, any> | undefined;
6903
+ } | {
6904
+ type: string;
6905
+ file: string;
6906
+ providerData?: Record<string, any> | undefined;
6430
6907
  } | {
6431
6908
  type: string;
6432
6909
  id?: string | undefined;
@@ -6475,6 +6952,10 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
6475
6952
  type: string;
6476
6953
  file: string;
6477
6954
  providerData?: Record<string, any> | undefined;
6955
+ } | {
6956
+ type: string;
6957
+ file: string;
6958
+ providerData?: Record<string, any> | undefined;
6478
6959
  } | {
6479
6960
  type: string;
6480
6961
  id?: string | undefined;
@@ -6644,6 +7125,19 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
6644
7125
  type: string;
6645
7126
  } | undefined;
6646
7127
  annotations?: (string | Record<string, any>)[] | undefined;
7128
+ }>, z.ZodObject<{
7129
+ type: z.ZodString;
7130
+ } & {
7131
+ file: z.ZodString;
7132
+ providerData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
7133
+ }, "strip", z.ZodTypeAny, {
7134
+ type: string;
7135
+ file: string;
7136
+ providerData?: Record<string, any> | undefined;
7137
+ }, {
7138
+ type: string;
7139
+ file: string;
7140
+ providerData?: Record<string, any> | undefined;
6647
7141
  }>, z.ZodObject<{
6648
7142
  type: z.ZodString;
6649
7143
  text: z.ZodString;
@@ -6669,6 +7163,10 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
6669
7163
  type: string;
6670
7164
  file: string;
6671
7165
  providerData?: Record<string, any> | undefined;
7166
+ } | {
7167
+ type: string;
7168
+ file: string;
7169
+ providerData?: Record<string, any> | undefined;
6672
7170
  } | {
6673
7171
  type: string;
6674
7172
  id?: string | undefined;
@@ -6704,6 +7202,10 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
6704
7202
  type: string;
6705
7203
  file: string;
6706
7204
  providerData?: Record<string, any> | undefined;
7205
+ } | {
7206
+ type: string;
7207
+ file: string;
7208
+ providerData?: Record<string, any> | undefined;
6707
7209
  } | {
6708
7210
  type: string;
6709
7211
  id?: string | undefined;
@@ -6829,6 +7331,10 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
6829
7331
  type: string;
6830
7332
  file: string;
6831
7333
  providerData?: Record<string, any> | undefined;
7334
+ } | {
7335
+ type: string;
7336
+ file: string;
7337
+ providerData?: Record<string, any> | undefined;
6832
7338
  } | {
6833
7339
  type: string;
6834
7340
  id?: string | undefined;
@@ -6877,6 +7383,10 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
6877
7383
  type: string;
6878
7384
  file: string;
6879
7385
  providerData?: Record<string, any> | undefined;
7386
+ } | {
7387
+ type: string;
7388
+ file: string;
7389
+ providerData?: Record<string, any> | undefined;
6880
7390
  } | {
6881
7391
  type: string;
6882
7392
  id?: string | undefined;
@@ -6938,6 +7448,10 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
6938
7448
  type: string;
6939
7449
  file: string;
6940
7450
  providerData?: Record<string, any> | undefined;
7451
+ } | {
7452
+ type: string;
7453
+ file: string;
7454
+ providerData?: Record<string, any> | undefined;
6941
7455
  } | {
6942
7456
  type: string;
6943
7457
  id?: string | undefined;
@@ -6987,6 +7501,10 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
6987
7501
  type: string;
6988
7502
  file: string;
6989
7503
  providerData?: Record<string, any> | undefined;
7504
+ } | {
7505
+ type: string;
7506
+ file: string;
7507
+ providerData?: Record<string, any> | undefined;
6990
7508
  } | {
6991
7509
  type: string;
6992
7510
  id?: string | undefined;
@@ -7035,6 +7553,10 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
7035
7553
  type: string;
7036
7554
  file: string;
7037
7555
  providerData?: Record<string, any> | undefined;
7556
+ } | {
7557
+ type: string;
7558
+ file: string;
7559
+ providerData?: Record<string, any> | undefined;
7038
7560
  } | {
7039
7561
  type: string;
7040
7562
  id?: string | undefined;
@@ -7484,6 +8006,19 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
7484
8006
  type: string;
7485
8007
  } | undefined;
7486
8008
  annotations?: (string | Record<string, any>)[] | undefined;
8009
+ }>, z.ZodObject<{
8010
+ type: z.ZodString;
8011
+ } & {
8012
+ file: z.ZodString;
8013
+ providerData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
8014
+ }, "strip", z.ZodTypeAny, {
8015
+ type: string;
8016
+ file: string;
8017
+ providerData?: Record<string, any> | undefined;
8018
+ }, {
8019
+ type: string;
8020
+ file: string;
8021
+ providerData?: Record<string, any> | undefined;
7487
8022
  }>, z.ZodObject<{
7488
8023
  type: z.ZodString;
7489
8024
  text: z.ZodString;
@@ -7509,6 +8044,10 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
7509
8044
  type: string;
7510
8045
  file: string;
7511
8046
  providerData?: Record<string, any> | undefined;
8047
+ } | {
8048
+ type: string;
8049
+ file: string;
8050
+ providerData?: Record<string, any> | undefined;
7512
8051
  } | {
7513
8052
  type: string;
7514
8053
  id?: string | undefined;
@@ -7544,6 +8083,10 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
7544
8083
  type: string;
7545
8084
  file: string;
7546
8085
  providerData?: Record<string, any> | undefined;
8086
+ } | {
8087
+ type: string;
8088
+ file: string;
8089
+ providerData?: Record<string, any> | undefined;
7547
8090
  } | {
7548
8091
  type: string;
7549
8092
  id?: string | undefined;
@@ -7669,6 +8212,10 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
7669
8212
  type: string;
7670
8213
  file: string;
7671
8214
  providerData?: Record<string, any> | undefined;
8215
+ } | {
8216
+ type: string;
8217
+ file: string;
8218
+ providerData?: Record<string, any> | undefined;
7672
8219
  } | {
7673
8220
  type: string;
7674
8221
  id?: string | undefined;
@@ -7717,6 +8264,10 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
7717
8264
  type: string;
7718
8265
  file: string;
7719
8266
  providerData?: Record<string, any> | undefined;
8267
+ } | {
8268
+ type: string;
8269
+ file: string;
8270
+ providerData?: Record<string, any> | undefined;
7720
8271
  } | {
7721
8272
  type: string;
7722
8273
  id?: string | undefined;
@@ -7778,6 +8329,10 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
7778
8329
  type: string;
7779
8330
  file: string;
7780
8331
  providerData?: Record<string, any> | undefined;
8332
+ } | {
8333
+ type: string;
8334
+ file: string;
8335
+ providerData?: Record<string, any> | undefined;
7781
8336
  } | {
7782
8337
  type: string;
7783
8338
  id?: string | undefined;
@@ -7827,6 +8382,10 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
7827
8382
  type: string;
7828
8383
  file: string;
7829
8384
  providerData?: Record<string, any> | undefined;
8385
+ } | {
8386
+ type: string;
8387
+ file: string;
8388
+ providerData?: Record<string, any> | undefined;
7830
8389
  } | {
7831
8390
  type: string;
7832
8391
  id?: string | undefined;
@@ -7875,6 +8434,10 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
7875
8434
  type: string;
7876
8435
  file: string;
7877
8436
  providerData?: Record<string, any> | undefined;
8437
+ } | {
8438
+ type: string;
8439
+ file: string;
8440
+ providerData?: Record<string, any> | undefined;
7878
8441
  } | {
7879
8442
  type: string;
7880
8443
  id?: string | undefined;
@@ -8068,6 +8631,19 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
8068
8631
  type: string;
8069
8632
  } | undefined;
8070
8633
  annotations?: (string | Record<string, any>)[] | undefined;
8634
+ }>, z.ZodObject<{
8635
+ type: z.ZodString;
8636
+ } & {
8637
+ file: z.ZodString;
8638
+ providerData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
8639
+ }, "strip", z.ZodTypeAny, {
8640
+ type: string;
8641
+ file: string;
8642
+ providerData?: Record<string, any> | undefined;
8643
+ }, {
8644
+ type: string;
8645
+ file: string;
8646
+ providerData?: Record<string, any> | undefined;
8071
8647
  }>, z.ZodObject<{
8072
8648
  type: z.ZodString;
8073
8649
  text: z.ZodString;
@@ -8093,6 +8669,10 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
8093
8669
  type: string;
8094
8670
  file: string;
8095
8671
  providerData?: Record<string, any> | undefined;
8672
+ } | {
8673
+ type: string;
8674
+ file: string;
8675
+ providerData?: Record<string, any> | undefined;
8096
8676
  } | {
8097
8677
  type: string;
8098
8678
  id?: string | undefined;
@@ -8128,6 +8708,10 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
8128
8708
  type: string;
8129
8709
  file: string;
8130
8710
  providerData?: Record<string, any> | undefined;
8711
+ } | {
8712
+ type: string;
8713
+ file: string;
8714
+ providerData?: Record<string, any> | undefined;
8131
8715
  } | {
8132
8716
  type: string;
8133
8717
  id?: string | undefined;
@@ -8253,6 +8837,10 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
8253
8837
  type: string;
8254
8838
  file: string;
8255
8839
  providerData?: Record<string, any> | undefined;
8840
+ } | {
8841
+ type: string;
8842
+ file: string;
8843
+ providerData?: Record<string, any> | undefined;
8256
8844
  } | {
8257
8845
  type: string;
8258
8846
  id?: string | undefined;
@@ -8301,6 +8889,10 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
8301
8889
  type: string;
8302
8890
  file: string;
8303
8891
  providerData?: Record<string, any> | undefined;
8892
+ } | {
8893
+ type: string;
8894
+ file: string;
8895
+ providerData?: Record<string, any> | undefined;
8304
8896
  } | {
8305
8897
  type: string;
8306
8898
  id?: string | undefined;
@@ -8362,6 +8954,10 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
8362
8954
  type: string;
8363
8955
  file: string;
8364
8956
  providerData?: Record<string, any> | undefined;
8957
+ } | {
8958
+ type: string;
8959
+ file: string;
8960
+ providerData?: Record<string, any> | undefined;
8365
8961
  } | {
8366
8962
  type: string;
8367
8963
  id?: string | undefined;
@@ -8411,6 +9007,10 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
8411
9007
  type: string;
8412
9008
  file: string;
8413
9009
  providerData?: Record<string, any> | undefined;
9010
+ } | {
9011
+ type: string;
9012
+ file: string;
9013
+ providerData?: Record<string, any> | undefined;
8414
9014
  } | {
8415
9015
  type: string;
8416
9016
  id?: string | undefined;
@@ -8459,6 +9059,10 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
8459
9059
  type: string;
8460
9060
  file: string;
8461
9061
  providerData?: Record<string, any> | undefined;
9062
+ } | {
9063
+ type: string;
9064
+ file: string;
9065
+ providerData?: Record<string, any> | undefined;
8462
9066
  } | {
8463
9067
  type: string;
8464
9068
  id?: string | undefined;
@@ -8512,9 +9116,39 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
8512
9116
  stream_options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
8513
9117
  temperature: z.ZodOptional<z.ZodNumber>;
8514
9118
  timeout: z.ZodOptional<z.ZodNumber>;
8515
- tools: z.ZodOptional<z.ZodArray<z.ZodObject<{
8516
- type: z.ZodLiteral<"function">;
8517
- function: z.ZodObject<{
9119
+ tools: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
9120
+ type: z.ZodDefault<z.ZodString>;
9121
+ function: z.ZodNullable<z.ZodOptional<z.ZodObject<{
9122
+ name: z.ZodString;
9123
+ description: z.ZodOptional<z.ZodString>;
9124
+ parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
9125
+ }, "strip", z.ZodTypeAny, {
9126
+ name: string;
9127
+ description?: string | undefined;
9128
+ parameters?: Record<string, any> | undefined;
9129
+ }, {
9130
+ name: string;
9131
+ description?: string | undefined;
9132
+ parameters?: Record<string, any> | undefined;
9133
+ }>>>;
9134
+ }, "strip", z.ZodAny, z.objectOutputType<{
9135
+ type: z.ZodDefault<z.ZodString>;
9136
+ function: z.ZodNullable<z.ZodOptional<z.ZodObject<{
9137
+ name: z.ZodString;
9138
+ description: z.ZodOptional<z.ZodString>;
9139
+ parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
9140
+ }, "strip", z.ZodTypeAny, {
9141
+ name: string;
9142
+ description?: string | undefined;
9143
+ parameters?: Record<string, any> | undefined;
9144
+ }, {
9145
+ name: string;
9146
+ description?: string | undefined;
9147
+ parameters?: Record<string, any> | undefined;
9148
+ }>>>;
9149
+ }, z.ZodAny, "strip">, z.objectInputType<{
9150
+ type: z.ZodDefault<z.ZodString>;
9151
+ function: z.ZodNullable<z.ZodOptional<z.ZodObject<{
8518
9152
  name: z.ZodString;
8519
9153
  description: z.ZodOptional<z.ZodString>;
8520
9154
  parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
@@ -8526,22 +9160,23 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
8526
9160
  name: string;
8527
9161
  description?: string | undefined;
8528
9162
  parameters?: Record<string, any> | undefined;
8529
- }>;
8530
- }, "strip", z.ZodTypeAny, {
8531
- function: {
9163
+ }>>>;
9164
+ }, z.ZodAny, "strip">>, Record<string, any>, z.objectInputType<{
9165
+ type: z.ZodDefault<z.ZodString>;
9166
+ function: z.ZodNullable<z.ZodOptional<z.ZodObject<{
9167
+ name: z.ZodString;
9168
+ description: z.ZodOptional<z.ZodString>;
9169
+ parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
9170
+ }, "strip", z.ZodTypeAny, {
8532
9171
  name: string;
8533
9172
  description?: string | undefined;
8534
9173
  parameters?: Record<string, any> | undefined;
8535
- };
8536
- type: "function";
8537
- }, {
8538
- function: {
9174
+ }, {
8539
9175
  name: string;
8540
9176
  description?: string | undefined;
8541
9177
  parameters?: Record<string, any> | undefined;
8542
- };
8543
- type: "function";
8544
- }>, "many">>;
9178
+ }>>>;
9179
+ }, z.ZodAny, "strip">>, "many">>;
8545
9180
  response_format: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
8546
9181
  reasoning_effort: z.ZodOptional<z.ZodString>;
8547
9182
  tool_choice: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["auto", "none", "required"]>, z.ZodOptional<z.ZodObject<{
@@ -8731,6 +9366,19 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
8731
9366
  type: string;
8732
9367
  } | undefined;
8733
9368
  annotations?: (string | Record<string, any>)[] | undefined;
9369
+ }>, z.ZodObject<{
9370
+ type: z.ZodString;
9371
+ } & {
9372
+ file: z.ZodString;
9373
+ providerData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
9374
+ }, "strip", z.ZodTypeAny, {
9375
+ type: string;
9376
+ file: string;
9377
+ providerData?: Record<string, any> | undefined;
9378
+ }, {
9379
+ type: string;
9380
+ file: string;
9381
+ providerData?: Record<string, any> | undefined;
8734
9382
  }>, z.ZodObject<{
8735
9383
  type: z.ZodString;
8736
9384
  text: z.ZodString;
@@ -8756,6 +9404,10 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
8756
9404
  type: string;
8757
9405
  file: string;
8758
9406
  providerData?: Record<string, any> | undefined;
9407
+ } | {
9408
+ type: string;
9409
+ file: string;
9410
+ providerData?: Record<string, any> | undefined;
8759
9411
  } | {
8760
9412
  type: string;
8761
9413
  id?: string | undefined;
@@ -8791,6 +9443,10 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
8791
9443
  type: string;
8792
9444
  file: string;
8793
9445
  providerData?: Record<string, any> | undefined;
9446
+ } | {
9447
+ type: string;
9448
+ file: string;
9449
+ providerData?: Record<string, any> | undefined;
8794
9450
  } | {
8795
9451
  type: string;
8796
9452
  id?: string | undefined;
@@ -8916,6 +9572,10 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
8916
9572
  type: string;
8917
9573
  file: string;
8918
9574
  providerData?: Record<string, any> | undefined;
9575
+ } | {
9576
+ type: string;
9577
+ file: string;
9578
+ providerData?: Record<string, any> | undefined;
8919
9579
  } | {
8920
9580
  type: string;
8921
9581
  id?: string | undefined;
@@ -8964,6 +9624,10 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
8964
9624
  type: string;
8965
9625
  file: string;
8966
9626
  providerData?: Record<string, any> | undefined;
9627
+ } | {
9628
+ type: string;
9629
+ file: string;
9630
+ providerData?: Record<string, any> | undefined;
8967
9631
  } | {
8968
9632
  type: string;
8969
9633
  id?: string | undefined;
@@ -9025,6 +9689,10 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
9025
9689
  type: string;
9026
9690
  file: string;
9027
9691
  providerData?: Record<string, any> | undefined;
9692
+ } | {
9693
+ type: string;
9694
+ file: string;
9695
+ providerData?: Record<string, any> | undefined;
9028
9696
  } | {
9029
9697
  type: string;
9030
9698
  id?: string | undefined;
@@ -9074,6 +9742,10 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
9074
9742
  type: string;
9075
9743
  file: string;
9076
9744
  providerData?: Record<string, any> | undefined;
9745
+ } | {
9746
+ type: string;
9747
+ file: string;
9748
+ providerData?: Record<string, any> | undefined;
9077
9749
  } | {
9078
9750
  type: string;
9079
9751
  id?: string | undefined;
@@ -9122,6 +9794,10 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
9122
9794
  type: string;
9123
9795
  file: string;
9124
9796
  providerData?: Record<string, any> | undefined;
9797
+ } | {
9798
+ type: string;
9799
+ file: string;
9800
+ providerData?: Record<string, any> | undefined;
9125
9801
  } | {
9126
9802
  type: string;
9127
9803
  id?: string | undefined;
@@ -9291,6 +9967,19 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
9291
9967
  type: string;
9292
9968
  } | undefined;
9293
9969
  annotations?: (string | Record<string, any>)[] | undefined;
9970
+ }>, z.ZodObject<{
9971
+ type: z.ZodString;
9972
+ } & {
9973
+ file: z.ZodString;
9974
+ providerData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
9975
+ }, "strip", z.ZodTypeAny, {
9976
+ type: string;
9977
+ file: string;
9978
+ providerData?: Record<string, any> | undefined;
9979
+ }, {
9980
+ type: string;
9981
+ file: string;
9982
+ providerData?: Record<string, any> | undefined;
9294
9983
  }>, z.ZodObject<{
9295
9984
  type: z.ZodString;
9296
9985
  text: z.ZodString;
@@ -9316,6 +10005,10 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
9316
10005
  type: string;
9317
10006
  file: string;
9318
10007
  providerData?: Record<string, any> | undefined;
10008
+ } | {
10009
+ type: string;
10010
+ file: string;
10011
+ providerData?: Record<string, any> | undefined;
9319
10012
  } | {
9320
10013
  type: string;
9321
10014
  id?: string | undefined;
@@ -9351,6 +10044,10 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
9351
10044
  type: string;
9352
10045
  file: string;
9353
10046
  providerData?: Record<string, any> | undefined;
10047
+ } | {
10048
+ type: string;
10049
+ file: string;
10050
+ providerData?: Record<string, any> | undefined;
9354
10051
  } | {
9355
10052
  type: string;
9356
10053
  id?: string | undefined;
@@ -9476,6 +10173,10 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
9476
10173
  type: string;
9477
10174
  file: string;
9478
10175
  providerData?: Record<string, any> | undefined;
10176
+ } | {
10177
+ type: string;
10178
+ file: string;
10179
+ providerData?: Record<string, any> | undefined;
9479
10180
  } | {
9480
10181
  type: string;
9481
10182
  id?: string | undefined;
@@ -9524,6 +10225,10 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
9524
10225
  type: string;
9525
10226
  file: string;
9526
10227
  providerData?: Record<string, any> | undefined;
10228
+ } | {
10229
+ type: string;
10230
+ file: string;
10231
+ providerData?: Record<string, any> | undefined;
9527
10232
  } | {
9528
10233
  type: string;
9529
10234
  id?: string | undefined;
@@ -9585,6 +10290,10 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
9585
10290
  type: string;
9586
10291
  file: string;
9587
10292
  providerData?: Record<string, any> | undefined;
10293
+ } | {
10294
+ type: string;
10295
+ file: string;
10296
+ providerData?: Record<string, any> | undefined;
9588
10297
  } | {
9589
10298
  type: string;
9590
10299
  id?: string | undefined;
@@ -9634,6 +10343,10 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
9634
10343
  type: string;
9635
10344
  file: string;
9636
10345
  providerData?: Record<string, any> | undefined;
10346
+ } | {
10347
+ type: string;
10348
+ file: string;
10349
+ providerData?: Record<string, any> | undefined;
9637
10350
  } | {
9638
10351
  type: string;
9639
10352
  id?: string | undefined;
@@ -9682,6 +10395,10 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
9682
10395
  type: string;
9683
10396
  file: string;
9684
10397
  providerData?: Record<string, any> | undefined;
10398
+ } | {
10399
+ type: string;
10400
+ file: string;
10401
+ providerData?: Record<string, any> | undefined;
9685
10402
  } | {
9686
10403
  type: string;
9687
10404
  id?: string | undefined;
@@ -9851,6 +10568,19 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
9851
10568
  type: string;
9852
10569
  } | undefined;
9853
10570
  annotations?: (string | Record<string, any>)[] | undefined;
10571
+ }>, z.ZodObject<{
10572
+ type: z.ZodString;
10573
+ } & {
10574
+ file: z.ZodString;
10575
+ providerData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
10576
+ }, "strip", z.ZodTypeAny, {
10577
+ type: string;
10578
+ file: string;
10579
+ providerData?: Record<string, any> | undefined;
10580
+ }, {
10581
+ type: string;
10582
+ file: string;
10583
+ providerData?: Record<string, any> | undefined;
9854
10584
  }>, z.ZodObject<{
9855
10585
  type: z.ZodString;
9856
10586
  text: z.ZodString;
@@ -9876,6 +10606,10 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
9876
10606
  type: string;
9877
10607
  file: string;
9878
10608
  providerData?: Record<string, any> | undefined;
10609
+ } | {
10610
+ type: string;
10611
+ file: string;
10612
+ providerData?: Record<string, any> | undefined;
9879
10613
  } | {
9880
10614
  type: string;
9881
10615
  id?: string | undefined;
@@ -9911,6 +10645,10 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
9911
10645
  type: string;
9912
10646
  file: string;
9913
10647
  providerData?: Record<string, any> | undefined;
10648
+ } | {
10649
+ type: string;
10650
+ file: string;
10651
+ providerData?: Record<string, any> | undefined;
9914
10652
  } | {
9915
10653
  type: string;
9916
10654
  id?: string | undefined;
@@ -10036,6 +10774,10 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
10036
10774
  type: string;
10037
10775
  file: string;
10038
10776
  providerData?: Record<string, any> | undefined;
10777
+ } | {
10778
+ type: string;
10779
+ file: string;
10780
+ providerData?: Record<string, any> | undefined;
10039
10781
  } | {
10040
10782
  type: string;
10041
10783
  id?: string | undefined;
@@ -10084,6 +10826,10 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
10084
10826
  type: string;
10085
10827
  file: string;
10086
10828
  providerData?: Record<string, any> | undefined;
10829
+ } | {
10830
+ type: string;
10831
+ file: string;
10832
+ providerData?: Record<string, any> | undefined;
10087
10833
  } | {
10088
10834
  type: string;
10089
10835
  id?: string | undefined;
@@ -10145,6 +10891,10 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
10145
10891
  type: string;
10146
10892
  file: string;
10147
10893
  providerData?: Record<string, any> | undefined;
10894
+ } | {
10895
+ type: string;
10896
+ file: string;
10897
+ providerData?: Record<string, any> | undefined;
10148
10898
  } | {
10149
10899
  type: string;
10150
10900
  id?: string | undefined;
@@ -10194,6 +10944,10 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
10194
10944
  type: string;
10195
10945
  file: string;
10196
10946
  providerData?: Record<string, any> | undefined;
10947
+ } | {
10948
+ type: string;
10949
+ file: string;
10950
+ providerData?: Record<string, any> | undefined;
10197
10951
  } | {
10198
10952
  type: string;
10199
10953
  id?: string | undefined;
@@ -10242,6 +10996,10 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
10242
10996
  type: string;
10243
10997
  file: string;
10244
10998
  providerData?: Record<string, any> | undefined;
10999
+ } | {
11000
+ type: string;
11001
+ file: string;
11002
+ providerData?: Record<string, any> | undefined;
10245
11003
  } | {
10246
11004
  type: string;
10247
11005
  id?: string | undefined;
@@ -10691,6 +11449,19 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
10691
11449
  type: string;
10692
11450
  } | undefined;
10693
11451
  annotations?: (string | Record<string, any>)[] | undefined;
11452
+ }>, z.ZodObject<{
11453
+ type: z.ZodString;
11454
+ } & {
11455
+ file: z.ZodString;
11456
+ providerData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
11457
+ }, "strip", z.ZodTypeAny, {
11458
+ type: string;
11459
+ file: string;
11460
+ providerData?: Record<string, any> | undefined;
11461
+ }, {
11462
+ type: string;
11463
+ file: string;
11464
+ providerData?: Record<string, any> | undefined;
10694
11465
  }>, z.ZodObject<{
10695
11466
  type: z.ZodString;
10696
11467
  text: z.ZodString;
@@ -10716,6 +11487,10 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
10716
11487
  type: string;
10717
11488
  file: string;
10718
11489
  providerData?: Record<string, any> | undefined;
11490
+ } | {
11491
+ type: string;
11492
+ file: string;
11493
+ providerData?: Record<string, any> | undefined;
10719
11494
  } | {
10720
11495
  type: string;
10721
11496
  id?: string | undefined;
@@ -10751,6 +11526,10 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
10751
11526
  type: string;
10752
11527
  file: string;
10753
11528
  providerData?: Record<string, any> | undefined;
11529
+ } | {
11530
+ type: string;
11531
+ file: string;
11532
+ providerData?: Record<string, any> | undefined;
10754
11533
  } | {
10755
11534
  type: string;
10756
11535
  id?: string | undefined;
@@ -10876,6 +11655,10 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
10876
11655
  type: string;
10877
11656
  file: string;
10878
11657
  providerData?: Record<string, any> | undefined;
11658
+ } | {
11659
+ type: string;
11660
+ file: string;
11661
+ providerData?: Record<string, any> | undefined;
10879
11662
  } | {
10880
11663
  type: string;
10881
11664
  id?: string | undefined;
@@ -10924,6 +11707,10 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
10924
11707
  type: string;
10925
11708
  file: string;
10926
11709
  providerData?: Record<string, any> | undefined;
11710
+ } | {
11711
+ type: string;
11712
+ file: string;
11713
+ providerData?: Record<string, any> | undefined;
10927
11714
  } | {
10928
11715
  type: string;
10929
11716
  id?: string | undefined;
@@ -10985,6 +11772,10 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
10985
11772
  type: string;
10986
11773
  file: string;
10987
11774
  providerData?: Record<string, any> | undefined;
11775
+ } | {
11776
+ type: string;
11777
+ file: string;
11778
+ providerData?: Record<string, any> | undefined;
10988
11779
  } | {
10989
11780
  type: string;
10990
11781
  id?: string | undefined;
@@ -11034,6 +11825,10 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
11034
11825
  type: string;
11035
11826
  file: string;
11036
11827
  providerData?: Record<string, any> | undefined;
11828
+ } | {
11829
+ type: string;
11830
+ file: string;
11831
+ providerData?: Record<string, any> | undefined;
11037
11832
  } | {
11038
11833
  type: string;
11039
11834
  id?: string | undefined;
@@ -11082,6 +11877,10 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
11082
11877
  type: string;
11083
11878
  file: string;
11084
11879
  providerData?: Record<string, any> | undefined;
11880
+ } | {
11881
+ type: string;
11882
+ file: string;
11883
+ providerData?: Record<string, any> | undefined;
11085
11884
  } | {
11086
11885
  type: string;
11087
11886
  id?: string | undefined;
@@ -11275,6 +12074,19 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
11275
12074
  type: string;
11276
12075
  } | undefined;
11277
12076
  annotations?: (string | Record<string, any>)[] | undefined;
12077
+ }>, z.ZodObject<{
12078
+ type: z.ZodString;
12079
+ } & {
12080
+ file: z.ZodString;
12081
+ providerData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
12082
+ }, "strip", z.ZodTypeAny, {
12083
+ type: string;
12084
+ file: string;
12085
+ providerData?: Record<string, any> | undefined;
12086
+ }, {
12087
+ type: string;
12088
+ file: string;
12089
+ providerData?: Record<string, any> | undefined;
11278
12090
  }>, z.ZodObject<{
11279
12091
  type: z.ZodString;
11280
12092
  text: z.ZodString;
@@ -11300,6 +12112,10 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
11300
12112
  type: string;
11301
12113
  file: string;
11302
12114
  providerData?: Record<string, any> | undefined;
12115
+ } | {
12116
+ type: string;
12117
+ file: string;
12118
+ providerData?: Record<string, any> | undefined;
11303
12119
  } | {
11304
12120
  type: string;
11305
12121
  id?: string | undefined;
@@ -11335,6 +12151,10 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
11335
12151
  type: string;
11336
12152
  file: string;
11337
12153
  providerData?: Record<string, any> | undefined;
12154
+ } | {
12155
+ type: string;
12156
+ file: string;
12157
+ providerData?: Record<string, any> | undefined;
11338
12158
  } | {
11339
12159
  type: string;
11340
12160
  id?: string | undefined;
@@ -11460,6 +12280,10 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
11460
12280
  type: string;
11461
12281
  file: string;
11462
12282
  providerData?: Record<string, any> | undefined;
12283
+ } | {
12284
+ type: string;
12285
+ file: string;
12286
+ providerData?: Record<string, any> | undefined;
11463
12287
  } | {
11464
12288
  type: string;
11465
12289
  id?: string | undefined;
@@ -11508,6 +12332,10 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
11508
12332
  type: string;
11509
12333
  file: string;
11510
12334
  providerData?: Record<string, any> | undefined;
12335
+ } | {
12336
+ type: string;
12337
+ file: string;
12338
+ providerData?: Record<string, any> | undefined;
11511
12339
  } | {
11512
12340
  type: string;
11513
12341
  id?: string | undefined;
@@ -11569,6 +12397,10 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
11569
12397
  type: string;
11570
12398
  file: string;
11571
12399
  providerData?: Record<string, any> | undefined;
12400
+ } | {
12401
+ type: string;
12402
+ file: string;
12403
+ providerData?: Record<string, any> | undefined;
11572
12404
  } | {
11573
12405
  type: string;
11574
12406
  id?: string | undefined;
@@ -11618,6 +12450,10 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
11618
12450
  type: string;
11619
12451
  file: string;
11620
12452
  providerData?: Record<string, any> | undefined;
12453
+ } | {
12454
+ type: string;
12455
+ file: string;
12456
+ providerData?: Record<string, any> | undefined;
11621
12457
  } | {
11622
12458
  type: string;
11623
12459
  id?: string | undefined;
@@ -11666,6 +12502,10 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
11666
12502
  type: string;
11667
12503
  file: string;
11668
12504
  providerData?: Record<string, any> | undefined;
12505
+ } | {
12506
+ type: string;
12507
+ file: string;
12508
+ providerData?: Record<string, any> | undefined;
11669
12509
  } | {
11670
12510
  type: string;
11671
12511
  id?: string | undefined;
@@ -11719,9 +12559,9 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
11719
12559
  stream_options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
11720
12560
  temperature: z.ZodOptional<z.ZodNumber>;
11721
12561
  timeout: z.ZodOptional<z.ZodNumber>;
11722
- tools: z.ZodOptional<z.ZodArray<z.ZodObject<{
11723
- type: z.ZodLiteral<"function">;
11724
- function: z.ZodObject<{
12562
+ tools: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
12563
+ type: z.ZodDefault<z.ZodString>;
12564
+ function: z.ZodNullable<z.ZodOptional<z.ZodObject<{
11725
12565
  name: z.ZodString;
11726
12566
  description: z.ZodOptional<z.ZodString>;
11727
12567
  parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
@@ -11733,22 +12573,53 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
11733
12573
  name: string;
11734
12574
  description?: string | undefined;
11735
12575
  parameters?: Record<string, any> | undefined;
11736
- }>;
11737
- }, "strip", z.ZodTypeAny, {
11738
- function: {
12576
+ }>>>;
12577
+ }, "strip", z.ZodAny, z.objectOutputType<{
12578
+ type: z.ZodDefault<z.ZodString>;
12579
+ function: z.ZodNullable<z.ZodOptional<z.ZodObject<{
12580
+ name: z.ZodString;
12581
+ description: z.ZodOptional<z.ZodString>;
12582
+ parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
12583
+ }, "strip", z.ZodTypeAny, {
12584
+ name: string;
12585
+ description?: string | undefined;
12586
+ parameters?: Record<string, any> | undefined;
12587
+ }, {
12588
+ name: string;
12589
+ description?: string | undefined;
12590
+ parameters?: Record<string, any> | undefined;
12591
+ }>>>;
12592
+ }, z.ZodAny, "strip">, z.objectInputType<{
12593
+ type: z.ZodDefault<z.ZodString>;
12594
+ function: z.ZodNullable<z.ZodOptional<z.ZodObject<{
12595
+ name: z.ZodString;
12596
+ description: z.ZodOptional<z.ZodString>;
12597
+ parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
12598
+ }, "strip", z.ZodTypeAny, {
12599
+ name: string;
12600
+ description?: string | undefined;
12601
+ parameters?: Record<string, any> | undefined;
12602
+ }, {
12603
+ name: string;
12604
+ description?: string | undefined;
12605
+ parameters?: Record<string, any> | undefined;
12606
+ }>>>;
12607
+ }, z.ZodAny, "strip">>, Record<string, any>, z.objectInputType<{
12608
+ type: z.ZodDefault<z.ZodString>;
12609
+ function: z.ZodNullable<z.ZodOptional<z.ZodObject<{
12610
+ name: z.ZodString;
12611
+ description: z.ZodOptional<z.ZodString>;
12612
+ parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
12613
+ }, "strip", z.ZodTypeAny, {
11739
12614
  name: string;
11740
12615
  description?: string | undefined;
11741
12616
  parameters?: Record<string, any> | undefined;
11742
- };
11743
- type: "function";
11744
- }, {
11745
- function: {
12617
+ }, {
11746
12618
  name: string;
11747
12619
  description?: string | undefined;
11748
12620
  parameters?: Record<string, any> | undefined;
11749
- };
11750
- type: "function";
11751
- }>, "many">>;
12621
+ }>>>;
12622
+ }, z.ZodAny, "strip">>, "many">>;
11752
12623
  response_format: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
11753
12624
  reasoning_effort: z.ZodOptional<z.ZodString>;
11754
12625
  tool_choice: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["auto", "none", "required"]>, z.ZodOptional<z.ZodObject<{
@@ -11938,6 +12809,19 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
11938
12809
  type: string;
11939
12810
  } | undefined;
11940
12811
  annotations?: (string | Record<string, any>)[] | undefined;
12812
+ }>, z.ZodObject<{
12813
+ type: z.ZodString;
12814
+ } & {
12815
+ file: z.ZodString;
12816
+ providerData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
12817
+ }, "strip", z.ZodTypeAny, {
12818
+ type: string;
12819
+ file: string;
12820
+ providerData?: Record<string, any> | undefined;
12821
+ }, {
12822
+ type: string;
12823
+ file: string;
12824
+ providerData?: Record<string, any> | undefined;
11941
12825
  }>, z.ZodObject<{
11942
12826
  type: z.ZodString;
11943
12827
  text: z.ZodString;
@@ -11963,6 +12847,10 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
11963
12847
  type: string;
11964
12848
  file: string;
11965
12849
  providerData?: Record<string, any> | undefined;
12850
+ } | {
12851
+ type: string;
12852
+ file: string;
12853
+ providerData?: Record<string, any> | undefined;
11966
12854
  } | {
11967
12855
  type: string;
11968
12856
  id?: string | undefined;
@@ -11998,6 +12886,10 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
11998
12886
  type: string;
11999
12887
  file: string;
12000
12888
  providerData?: Record<string, any> | undefined;
12889
+ } | {
12890
+ type: string;
12891
+ file: string;
12892
+ providerData?: Record<string, any> | undefined;
12001
12893
  } | {
12002
12894
  type: string;
12003
12895
  id?: string | undefined;
@@ -12123,6 +13015,10 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
12123
13015
  type: string;
12124
13016
  file: string;
12125
13017
  providerData?: Record<string, any> | undefined;
13018
+ } | {
13019
+ type: string;
13020
+ file: string;
13021
+ providerData?: Record<string, any> | undefined;
12126
13022
  } | {
12127
13023
  type: string;
12128
13024
  id?: string | undefined;
@@ -12171,6 +13067,10 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
12171
13067
  type: string;
12172
13068
  file: string;
12173
13069
  providerData?: Record<string, any> | undefined;
13070
+ } | {
13071
+ type: string;
13072
+ file: string;
13073
+ providerData?: Record<string, any> | undefined;
12174
13074
  } | {
12175
13075
  type: string;
12176
13076
  id?: string | undefined;
@@ -12232,6 +13132,10 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
12232
13132
  type: string;
12233
13133
  file: string;
12234
13134
  providerData?: Record<string, any> | undefined;
13135
+ } | {
13136
+ type: string;
13137
+ file: string;
13138
+ providerData?: Record<string, any> | undefined;
12235
13139
  } | {
12236
13140
  type: string;
12237
13141
  id?: string | undefined;
@@ -12281,6 +13185,10 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
12281
13185
  type: string;
12282
13186
  file: string;
12283
13187
  providerData?: Record<string, any> | undefined;
13188
+ } | {
13189
+ type: string;
13190
+ file: string;
13191
+ providerData?: Record<string, any> | undefined;
12284
13192
  } | {
12285
13193
  type: string;
12286
13194
  id?: string | undefined;
@@ -12329,6 +13237,10 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
12329
13237
  type: string;
12330
13238
  file: string;
12331
13239
  providerData?: Record<string, any> | undefined;
13240
+ } | {
13241
+ type: string;
13242
+ file: string;
13243
+ providerData?: Record<string, any> | undefined;
12332
13244
  } | {
12333
13245
  type: string;
12334
13246
  id?: string | undefined;
@@ -12498,6 +13410,19 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
12498
13410
  type: string;
12499
13411
  } | undefined;
12500
13412
  annotations?: (string | Record<string, any>)[] | undefined;
13413
+ }>, z.ZodObject<{
13414
+ type: z.ZodString;
13415
+ } & {
13416
+ file: z.ZodString;
13417
+ providerData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
13418
+ }, "strip", z.ZodTypeAny, {
13419
+ type: string;
13420
+ file: string;
13421
+ providerData?: Record<string, any> | undefined;
13422
+ }, {
13423
+ type: string;
13424
+ file: string;
13425
+ providerData?: Record<string, any> | undefined;
12501
13426
  }>, z.ZodObject<{
12502
13427
  type: z.ZodString;
12503
13428
  text: z.ZodString;
@@ -12523,6 +13448,10 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
12523
13448
  type: string;
12524
13449
  file: string;
12525
13450
  providerData?: Record<string, any> | undefined;
13451
+ } | {
13452
+ type: string;
13453
+ file: string;
13454
+ providerData?: Record<string, any> | undefined;
12526
13455
  } | {
12527
13456
  type: string;
12528
13457
  id?: string | undefined;
@@ -12558,6 +13487,10 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
12558
13487
  type: string;
12559
13488
  file: string;
12560
13489
  providerData?: Record<string, any> | undefined;
13490
+ } | {
13491
+ type: string;
13492
+ file: string;
13493
+ providerData?: Record<string, any> | undefined;
12561
13494
  } | {
12562
13495
  type: string;
12563
13496
  id?: string | undefined;
@@ -12683,6 +13616,10 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
12683
13616
  type: string;
12684
13617
  file: string;
12685
13618
  providerData?: Record<string, any> | undefined;
13619
+ } | {
13620
+ type: string;
13621
+ file: string;
13622
+ providerData?: Record<string, any> | undefined;
12686
13623
  } | {
12687
13624
  type: string;
12688
13625
  id?: string | undefined;
@@ -12731,6 +13668,10 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
12731
13668
  type: string;
12732
13669
  file: string;
12733
13670
  providerData?: Record<string, any> | undefined;
13671
+ } | {
13672
+ type: string;
13673
+ file: string;
13674
+ providerData?: Record<string, any> | undefined;
12734
13675
  } | {
12735
13676
  type: string;
12736
13677
  id?: string | undefined;
@@ -12792,6 +13733,10 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
12792
13733
  type: string;
12793
13734
  file: string;
12794
13735
  providerData?: Record<string, any> | undefined;
13736
+ } | {
13737
+ type: string;
13738
+ file: string;
13739
+ providerData?: Record<string, any> | undefined;
12795
13740
  } | {
12796
13741
  type: string;
12797
13742
  id?: string | undefined;
@@ -12841,6 +13786,10 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
12841
13786
  type: string;
12842
13787
  file: string;
12843
13788
  providerData?: Record<string, any> | undefined;
13789
+ } | {
13790
+ type: string;
13791
+ file: string;
13792
+ providerData?: Record<string, any> | undefined;
12844
13793
  } | {
12845
13794
  type: string;
12846
13795
  id?: string | undefined;
@@ -12889,6 +13838,10 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
12889
13838
  type: string;
12890
13839
  file: string;
12891
13840
  providerData?: Record<string, any> | undefined;
13841
+ } | {
13842
+ type: string;
13843
+ file: string;
13844
+ providerData?: Record<string, any> | undefined;
12892
13845
  } | {
12893
13846
  type: string;
12894
13847
  id?: string | undefined;
@@ -13058,6 +14011,19 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
13058
14011
  type: string;
13059
14012
  } | undefined;
13060
14013
  annotations?: (string | Record<string, any>)[] | undefined;
14014
+ }>, z.ZodObject<{
14015
+ type: z.ZodString;
14016
+ } & {
14017
+ file: z.ZodString;
14018
+ providerData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
14019
+ }, "strip", z.ZodTypeAny, {
14020
+ type: string;
14021
+ file: string;
14022
+ providerData?: Record<string, any> | undefined;
14023
+ }, {
14024
+ type: string;
14025
+ file: string;
14026
+ providerData?: Record<string, any> | undefined;
13061
14027
  }>, z.ZodObject<{
13062
14028
  type: z.ZodString;
13063
14029
  text: z.ZodString;
@@ -13083,6 +14049,10 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
13083
14049
  type: string;
13084
14050
  file: string;
13085
14051
  providerData?: Record<string, any> | undefined;
14052
+ } | {
14053
+ type: string;
14054
+ file: string;
14055
+ providerData?: Record<string, any> | undefined;
13086
14056
  } | {
13087
14057
  type: string;
13088
14058
  id?: string | undefined;
@@ -13118,6 +14088,10 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
13118
14088
  type: string;
13119
14089
  file: string;
13120
14090
  providerData?: Record<string, any> | undefined;
14091
+ } | {
14092
+ type: string;
14093
+ file: string;
14094
+ providerData?: Record<string, any> | undefined;
13121
14095
  } | {
13122
14096
  type: string;
13123
14097
  id?: string | undefined;
@@ -13243,6 +14217,10 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
13243
14217
  type: string;
13244
14218
  file: string;
13245
14219
  providerData?: Record<string, any> | undefined;
14220
+ } | {
14221
+ type: string;
14222
+ file: string;
14223
+ providerData?: Record<string, any> | undefined;
13246
14224
  } | {
13247
14225
  type: string;
13248
14226
  id?: string | undefined;
@@ -13291,6 +14269,10 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
13291
14269
  type: string;
13292
14270
  file: string;
13293
14271
  providerData?: Record<string, any> | undefined;
14272
+ } | {
14273
+ type: string;
14274
+ file: string;
14275
+ providerData?: Record<string, any> | undefined;
13294
14276
  } | {
13295
14277
  type: string;
13296
14278
  id?: string | undefined;
@@ -13352,6 +14334,10 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
13352
14334
  type: string;
13353
14335
  file: string;
13354
14336
  providerData?: Record<string, any> | undefined;
14337
+ } | {
14338
+ type: string;
14339
+ file: string;
14340
+ providerData?: Record<string, any> | undefined;
13355
14341
  } | {
13356
14342
  type: string;
13357
14343
  id?: string | undefined;
@@ -13401,6 +14387,10 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
13401
14387
  type: string;
13402
14388
  file: string;
13403
14389
  providerData?: Record<string, any> | undefined;
14390
+ } | {
14391
+ type: string;
14392
+ file: string;
14393
+ providerData?: Record<string, any> | undefined;
13404
14394
  } | {
13405
14395
  type: string;
13406
14396
  id?: string | undefined;
@@ -13449,6 +14439,10 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
13449
14439
  type: string;
13450
14440
  file: string;
13451
14441
  providerData?: Record<string, any> | undefined;
14442
+ } | {
14443
+ type: string;
14444
+ file: string;
14445
+ providerData?: Record<string, any> | undefined;
13452
14446
  } | {
13453
14447
  type: string;
13454
14448
  id?: string | undefined;
@@ -13898,6 +14892,19 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
13898
14892
  type: string;
13899
14893
  } | undefined;
13900
14894
  annotations?: (string | Record<string, any>)[] | undefined;
14895
+ }>, z.ZodObject<{
14896
+ type: z.ZodString;
14897
+ } & {
14898
+ file: z.ZodString;
14899
+ providerData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
14900
+ }, "strip", z.ZodTypeAny, {
14901
+ type: string;
14902
+ file: string;
14903
+ providerData?: Record<string, any> | undefined;
14904
+ }, {
14905
+ type: string;
14906
+ file: string;
14907
+ providerData?: Record<string, any> | undefined;
13901
14908
  }>, z.ZodObject<{
13902
14909
  type: z.ZodString;
13903
14910
  text: z.ZodString;
@@ -13923,6 +14930,10 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
13923
14930
  type: string;
13924
14931
  file: string;
13925
14932
  providerData?: Record<string, any> | undefined;
14933
+ } | {
14934
+ type: string;
14935
+ file: string;
14936
+ providerData?: Record<string, any> | undefined;
13926
14937
  } | {
13927
14938
  type: string;
13928
14939
  id?: string | undefined;
@@ -13958,6 +14969,10 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
13958
14969
  type: string;
13959
14970
  file: string;
13960
14971
  providerData?: Record<string, any> | undefined;
14972
+ } | {
14973
+ type: string;
14974
+ file: string;
14975
+ providerData?: Record<string, any> | undefined;
13961
14976
  } | {
13962
14977
  type: string;
13963
14978
  id?: string | undefined;
@@ -14083,6 +15098,10 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
14083
15098
  type: string;
14084
15099
  file: string;
14085
15100
  providerData?: Record<string, any> | undefined;
15101
+ } | {
15102
+ type: string;
15103
+ file: string;
15104
+ providerData?: Record<string, any> | undefined;
14086
15105
  } | {
14087
15106
  type: string;
14088
15107
  id?: string | undefined;
@@ -14131,6 +15150,10 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
14131
15150
  type: string;
14132
15151
  file: string;
14133
15152
  providerData?: Record<string, any> | undefined;
15153
+ } | {
15154
+ type: string;
15155
+ file: string;
15156
+ providerData?: Record<string, any> | undefined;
14134
15157
  } | {
14135
15158
  type: string;
14136
15159
  id?: string | undefined;
@@ -14192,6 +15215,10 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
14192
15215
  type: string;
14193
15216
  file: string;
14194
15217
  providerData?: Record<string, any> | undefined;
15218
+ } | {
15219
+ type: string;
15220
+ file: string;
15221
+ providerData?: Record<string, any> | undefined;
14195
15222
  } | {
14196
15223
  type: string;
14197
15224
  id?: string | undefined;
@@ -14241,6 +15268,10 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
14241
15268
  type: string;
14242
15269
  file: string;
14243
15270
  providerData?: Record<string, any> | undefined;
15271
+ } | {
15272
+ type: string;
15273
+ file: string;
15274
+ providerData?: Record<string, any> | undefined;
14244
15275
  } | {
14245
15276
  type: string;
14246
15277
  id?: string | undefined;
@@ -14289,6 +15320,10 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
14289
15320
  type: string;
14290
15321
  file: string;
14291
15322
  providerData?: Record<string, any> | undefined;
15323
+ } | {
15324
+ type: string;
15325
+ file: string;
15326
+ providerData?: Record<string, any> | undefined;
14292
15327
  } | {
14293
15328
  type: string;
14294
15329
  id?: string | undefined;
@@ -14482,6 +15517,19 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
14482
15517
  type: string;
14483
15518
  } | undefined;
14484
15519
  annotations?: (string | Record<string, any>)[] | undefined;
15520
+ }>, z.ZodObject<{
15521
+ type: z.ZodString;
15522
+ } & {
15523
+ file: z.ZodString;
15524
+ providerData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
15525
+ }, "strip", z.ZodTypeAny, {
15526
+ type: string;
15527
+ file: string;
15528
+ providerData?: Record<string, any> | undefined;
15529
+ }, {
15530
+ type: string;
15531
+ file: string;
15532
+ providerData?: Record<string, any> | undefined;
14485
15533
  }>, z.ZodObject<{
14486
15534
  type: z.ZodString;
14487
15535
  text: z.ZodString;
@@ -14507,6 +15555,10 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
14507
15555
  type: string;
14508
15556
  file: string;
14509
15557
  providerData?: Record<string, any> | undefined;
15558
+ } | {
15559
+ type: string;
15560
+ file: string;
15561
+ providerData?: Record<string, any> | undefined;
14510
15562
  } | {
14511
15563
  type: string;
14512
15564
  id?: string | undefined;
@@ -14542,6 +15594,10 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
14542
15594
  type: string;
14543
15595
  file: string;
14544
15596
  providerData?: Record<string, any> | undefined;
15597
+ } | {
15598
+ type: string;
15599
+ file: string;
15600
+ providerData?: Record<string, any> | undefined;
14545
15601
  } | {
14546
15602
  type: string;
14547
15603
  id?: string | undefined;
@@ -14667,6 +15723,10 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
14667
15723
  type: string;
14668
15724
  file: string;
14669
15725
  providerData?: Record<string, any> | undefined;
15726
+ } | {
15727
+ type: string;
15728
+ file: string;
15729
+ providerData?: Record<string, any> | undefined;
14670
15730
  } | {
14671
15731
  type: string;
14672
15732
  id?: string | undefined;
@@ -14715,6 +15775,10 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
14715
15775
  type: string;
14716
15776
  file: string;
14717
15777
  providerData?: Record<string, any> | undefined;
15778
+ } | {
15779
+ type: string;
15780
+ file: string;
15781
+ providerData?: Record<string, any> | undefined;
14718
15782
  } | {
14719
15783
  type: string;
14720
15784
  id?: string | undefined;
@@ -14776,6 +15840,10 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
14776
15840
  type: string;
14777
15841
  file: string;
14778
15842
  providerData?: Record<string, any> | undefined;
15843
+ } | {
15844
+ type: string;
15845
+ file: string;
15846
+ providerData?: Record<string, any> | undefined;
14779
15847
  } | {
14780
15848
  type: string;
14781
15849
  id?: string | undefined;
@@ -14825,6 +15893,10 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
14825
15893
  type: string;
14826
15894
  file: string;
14827
15895
  providerData?: Record<string, any> | undefined;
15896
+ } | {
15897
+ type: string;
15898
+ file: string;
15899
+ providerData?: Record<string, any> | undefined;
14828
15900
  } | {
14829
15901
  type: string;
14830
15902
  id?: string | undefined;
@@ -14873,6 +15945,10 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
14873
15945
  type: string;
14874
15946
  file: string;
14875
15947
  providerData?: Record<string, any> | undefined;
15948
+ } | {
15949
+ type: string;
15950
+ file: string;
15951
+ providerData?: Record<string, any> | undefined;
14876
15952
  } | {
14877
15953
  type: string;
14878
15954
  id?: string | undefined;
@@ -14926,9 +16002,9 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
14926
16002
  stream_options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
14927
16003
  temperature: z.ZodOptional<z.ZodNumber>;
14928
16004
  timeout: z.ZodOptional<z.ZodNumber>;
14929
- tools: z.ZodOptional<z.ZodArray<z.ZodObject<{
14930
- type: z.ZodLiteral<"function">;
14931
- function: z.ZodObject<{
16005
+ tools: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
16006
+ type: z.ZodDefault<z.ZodString>;
16007
+ function: z.ZodNullable<z.ZodOptional<z.ZodObject<{
14932
16008
  name: z.ZodString;
14933
16009
  description: z.ZodOptional<z.ZodString>;
14934
16010
  parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
@@ -14940,22 +16016,53 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
14940
16016
  name: string;
14941
16017
  description?: string | undefined;
14942
16018
  parameters?: Record<string, any> | undefined;
14943
- }>;
14944
- }, "strip", z.ZodTypeAny, {
14945
- function: {
16019
+ }>>>;
16020
+ }, "strip", z.ZodAny, z.objectOutputType<{
16021
+ type: z.ZodDefault<z.ZodString>;
16022
+ function: z.ZodNullable<z.ZodOptional<z.ZodObject<{
16023
+ name: z.ZodString;
16024
+ description: z.ZodOptional<z.ZodString>;
16025
+ parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
16026
+ }, "strip", z.ZodTypeAny, {
14946
16027
  name: string;
14947
16028
  description?: string | undefined;
14948
16029
  parameters?: Record<string, any> | undefined;
14949
- };
14950
- type: "function";
14951
- }, {
14952
- function: {
16030
+ }, {
14953
16031
  name: string;
14954
16032
  description?: string | undefined;
14955
16033
  parameters?: Record<string, any> | undefined;
14956
- };
14957
- type: "function";
14958
- }>, "many">>;
16034
+ }>>>;
16035
+ }, z.ZodAny, "strip">, z.objectInputType<{
16036
+ type: z.ZodDefault<z.ZodString>;
16037
+ function: z.ZodNullable<z.ZodOptional<z.ZodObject<{
16038
+ name: z.ZodString;
16039
+ description: z.ZodOptional<z.ZodString>;
16040
+ parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
16041
+ }, "strip", z.ZodTypeAny, {
16042
+ name: string;
16043
+ description?: string | undefined;
16044
+ parameters?: Record<string, any> | undefined;
16045
+ }, {
16046
+ name: string;
16047
+ description?: string | undefined;
16048
+ parameters?: Record<string, any> | undefined;
16049
+ }>>>;
16050
+ }, z.ZodAny, "strip">>, Record<string, any>, z.objectInputType<{
16051
+ type: z.ZodDefault<z.ZodString>;
16052
+ function: z.ZodNullable<z.ZodOptional<z.ZodObject<{
16053
+ name: z.ZodString;
16054
+ description: z.ZodOptional<z.ZodString>;
16055
+ parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
16056
+ }, "strip", z.ZodTypeAny, {
16057
+ name: string;
16058
+ description?: string | undefined;
16059
+ parameters?: Record<string, any> | undefined;
16060
+ }, {
16061
+ name: string;
16062
+ description?: string | undefined;
16063
+ parameters?: Record<string, any> | undefined;
16064
+ }>>>;
16065
+ }, z.ZodAny, "strip">>, "many">>;
14959
16066
  response_format: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
14960
16067
  reasoning_effort: z.ZodOptional<z.ZodString>;
14961
16068
  tool_choice: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["auto", "none", "required"]>, z.ZodOptional<z.ZodObject<{
@@ -14988,4 +16095,4 @@ export declare const KeywordsPayloadSchema: z.ZodObject<{
14988
16095
  user: z.ZodOptional<z.ZodString>;
14989
16096
  }, z.ZodAny, "strip">>;
14990
16097
  export type KeywordsPayload = z.infer<typeof KeywordsPayloadSchema>;
14991
- export { KeywordsAIParamsSchema, BasicLLMParamsSchema, BasicEmbeddingParamsSchema, MessageSchema, ToolCallSchema, ToolChoiceSchema, FunctionToolSchema, UsageSchema, MetadataSchema, PostHogIntegrationSchema, CustomerSchema, CacheOptionsSchema, RetryParamsSchema, LoadBalanceGroupSchema, LoadBalanceModelSchema, EvaluationParamsSchema, PromptParamSchema, OverrideConfigSchema, };
16098
+ export { KeywordsAIParamsSchema, BasicLLMParamsSchema, BasicEmbeddingParamsSchema, MessageSchema, ToolCallSchema, ToolChoiceSchema, FunctionToolSchema, FlexibleToolSchema, UsageSchema, MetadataSchema, PostHogIntegrationSchema, CustomerSchema, CacheOptionsSchema, RetryParamsSchema, LoadBalanceGroupSchema, LoadBalanceModelSchema, EvaluationParamsSchema, PromptParamSchema, OverrideConfigSchema, };