@convex-dev/agent 0.1.5-alpha.1 → 0.1.5-alpha.3

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.
@@ -299,6 +299,7 @@ export declare const schema: import("convex/server").SchemaDefinition<{
299
299
  image: string | ArrayBuffer;
300
300
  } | {
301
301
  providerOptions?: Record<string, Record<string, any>> | undefined;
302
+ filename?: string | undefined;
302
303
  type: "file";
303
304
  mimeType: string;
304
305
  data: string | ArrayBuffer;
@@ -312,6 +313,7 @@ export declare const schema: import("convex/server").SchemaDefinition<{
312
313
  text: string;
313
314
  } | {
314
315
  providerOptions?: Record<string, Record<string, any>> | undefined;
316
+ filename?: string | undefined;
315
317
  type: "file";
316
318
  mimeType: string;
317
319
  data: string | ArrayBuffer;
@@ -432,6 +434,7 @@ export declare const schema: import("convex/server").SchemaDefinition<{
432
434
  image: string | ArrayBuffer;
433
435
  } | {
434
436
  providerOptions?: Record<string, Record<string, any>> | undefined;
437
+ filename?: string | undefined;
435
438
  type: "file";
436
439
  mimeType: string;
437
440
  data: string | ArrayBuffer;
@@ -445,6 +448,7 @@ export declare const schema: import("convex/server").SchemaDefinition<{
445
448
  text: string;
446
449
  } | {
447
450
  providerOptions?: Record<string, Record<string, any>> | undefined;
451
+ filename?: string | undefined;
448
452
  type: "file";
449
453
  mimeType: string;
450
454
  data: string | ArrayBuffer;
@@ -502,6 +506,7 @@ export declare const schema: import("convex/server").SchemaDefinition<{
502
506
  image: string | ArrayBuffer;
503
507
  } | {
504
508
  providerOptions?: Record<string, Record<string, any>> | undefined;
509
+ filename?: string | undefined;
505
510
  type: "file";
506
511
  mimeType: string;
507
512
  data: string | ArrayBuffer;
@@ -519,6 +524,7 @@ export declare const schema: import("convex/server").SchemaDefinition<{
519
524
  image: string | ArrayBuffer;
520
525
  } | {
521
526
  providerOptions?: Record<string, Record<string, any>> | undefined;
527
+ filename?: string | undefined;
522
528
  type: "file";
523
529
  mimeType: string;
524
530
  data: string | ArrayBuffer;
@@ -533,6 +539,7 @@ export declare const schema: import("convex/server").SchemaDefinition<{
533
539
  image: string | ArrayBuffer;
534
540
  } | {
535
541
  providerOptions?: Record<string, Record<string, any>> | undefined;
542
+ filename?: string | undefined;
536
543
  type: "file";
537
544
  mimeType: string;
538
545
  data: string | ArrayBuffer;
@@ -547,6 +554,7 @@ export declare const schema: import("convex/server").SchemaDefinition<{
547
554
  image: string | ArrayBuffer;
548
555
  } | {
549
556
  providerOptions?: Record<string, Record<string, any>> | undefined;
557
+ filename?: string | undefined;
550
558
  type: "file";
551
559
  mimeType: string;
552
560
  data: string | ArrayBuffer;
@@ -570,15 +578,17 @@ export declare const schema: import("convex/server").SchemaDefinition<{
570
578
  providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
571
579
  }, "required", "type" | "providerOptions" | `providerOptions.${string}` | "image" | "mimeType">, import("convex/values").VObject<{
572
580
  providerOptions?: Record<string, Record<string, any>> | undefined;
581
+ filename?: string | undefined;
573
582
  type: "file";
574
583
  mimeType: string;
575
584
  data: string | ArrayBuffer;
576
585
  }, {
577
586
  type: import("convex/values").VLiteral<"file", "required">;
578
587
  data: import("convex/values").VUnion<string | ArrayBuffer, [import("convex/values").VString<string, "required">, import("convex/values").VBytes<ArrayBuffer, "required">], "required", never>;
588
+ filename: import("convex/values").VString<string | undefined, "optional">;
579
589
  mimeType: import("convex/values").VString<string, "required">;
580
590
  providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
581
- }, "required", "type" | "providerOptions" | `providerOptions.${string}` | "mimeType" | "data">], "required", "type" | "providerOptions" | "text" | `providerOptions.${string}` | "image" | "mimeType" | "data">, "required">], "required", never>;
591
+ }, "required", "type" | "providerOptions" | `providerOptions.${string}` | "mimeType" | "data" | "filename">], "required", "type" | "providerOptions" | "text" | `providerOptions.${string}` | "image" | "mimeType" | "data" | "filename">, "required">], "required", never>;
582
592
  providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
583
593
  }, "required", "providerOptions" | "role" | `providerOptions.${string}` | "content">, import("convex/values").VObject<{
584
594
  providerOptions?: Record<string, Record<string, any>> | undefined;
@@ -589,6 +599,7 @@ export declare const schema: import("convex/server").SchemaDefinition<{
589
599
  text: string;
590
600
  } | {
591
601
  providerOptions?: Record<string, Record<string, any>> | undefined;
602
+ filename?: string | undefined;
592
603
  type: "file";
593
604
  mimeType: string;
594
605
  data: string | ArrayBuffer;
@@ -616,6 +627,7 @@ export declare const schema: import("convex/server").SchemaDefinition<{
616
627
  text: string;
617
628
  } | {
618
629
  providerOptions?: Record<string, Record<string, any>> | undefined;
630
+ filename?: string | undefined;
619
631
  type: "file";
620
632
  mimeType: string;
621
633
  data: string | ArrayBuffer;
@@ -640,6 +652,7 @@ export declare const schema: import("convex/server").SchemaDefinition<{
640
652
  text: string;
641
653
  } | {
642
654
  providerOptions?: Record<string, Record<string, any>> | undefined;
655
+ filename?: string | undefined;
643
656
  type: "file";
644
657
  mimeType: string;
645
658
  data: string | ArrayBuffer;
@@ -664,6 +677,7 @@ export declare const schema: import("convex/server").SchemaDefinition<{
664
677
  text: string;
665
678
  } | {
666
679
  providerOptions?: Record<string, Record<string, any>> | undefined;
680
+ filename?: string | undefined;
667
681
  type: "file";
668
682
  mimeType: string;
669
683
  data: string | ArrayBuffer;
@@ -692,15 +706,17 @@ export declare const schema: import("convex/server").SchemaDefinition<{
692
706
  providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
693
707
  }, "required", "type" | "providerOptions" | "text" | `providerOptions.${string}`>, import("convex/values").VObject<{
694
708
  providerOptions?: Record<string, Record<string, any>> | undefined;
709
+ filename?: string | undefined;
695
710
  type: "file";
696
711
  mimeType: string;
697
712
  data: string | ArrayBuffer;
698
713
  }, {
699
714
  type: import("convex/values").VLiteral<"file", "required">;
700
715
  data: import("convex/values").VUnion<string | ArrayBuffer, [import("convex/values").VString<string, "required">, import("convex/values").VBytes<ArrayBuffer, "required">], "required", never>;
716
+ filename: import("convex/values").VString<string | undefined, "optional">;
701
717
  mimeType: import("convex/values").VString<string, "required">;
702
718
  providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
703
- }, "required", "type" | "providerOptions" | `providerOptions.${string}` | "mimeType" | "data">, import("convex/values").VObject<{
719
+ }, "required", "type" | "providerOptions" | `providerOptions.${string}` | "mimeType" | "data" | "filename">, import("convex/values").VObject<{
704
720
  providerOptions?: Record<string, Record<string, any>> | undefined;
705
721
  signature?: string | undefined;
706
722
  type: "reasoning";
@@ -730,7 +746,7 @@ export declare const schema: import("convex/server").SchemaDefinition<{
730
746
  toolName: import("convex/values").VString<string, "required">;
731
747
  args: import("convex/values").VAny<any, "required", string>;
732
748
  providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
733
- }, "required", "type" | "providerOptions" | `providerOptions.${string}` | "toolCallId" | "toolName" | "args" | `args.${string}`>], "required", "type" | "providerOptions" | "text" | `providerOptions.${string}` | "mimeType" | "data" | "signature" | "toolCallId" | "toolName" | "args" | `args.${string}`>, "required">], "required", never>;
749
+ }, "required", "type" | "providerOptions" | `providerOptions.${string}` | "toolCallId" | "toolName" | "args" | `args.${string}`>], "required", "type" | "providerOptions" | "text" | `providerOptions.${string}` | "mimeType" | "data" | "filename" | "signature" | "toolCallId" | "toolName" | "args" | `args.${string}`>, "required">], "required", never>;
734
750
  providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
735
751
  }, "required", "providerOptions" | "role" | `providerOptions.${string}` | "content">, import("convex/values").VObject<{
736
752
  providerOptions?: Record<string, Record<string, any>> | undefined;
@@ -1039,6 +1055,7 @@ export declare const schema: import("convex/server").SchemaDefinition<{
1039
1055
  image: string | ArrayBuffer;
1040
1056
  } | {
1041
1057
  providerOptions?: Record<string, Record<string, any>> | undefined;
1058
+ filename?: string | undefined;
1042
1059
  type: "file";
1043
1060
  mimeType: string;
1044
1061
  data: string | ArrayBuffer;
@@ -1052,6 +1069,7 @@ export declare const schema: import("convex/server").SchemaDefinition<{
1052
1069
  text: string;
1053
1070
  } | {
1054
1071
  providerOptions?: Record<string, Record<string, any>> | undefined;
1072
+ filename?: string | undefined;
1055
1073
  type: "file";
1056
1074
  mimeType: string;
1057
1075
  data: string | ArrayBuffer;
@@ -1199,6 +1217,7 @@ export declare const schema: import("convex/server").SchemaDefinition<{
1199
1217
  image: string | ArrayBuffer;
1200
1218
  } | {
1201
1219
  providerOptions?: Record<string, Record<string, any>> | undefined;
1220
+ filename?: string | undefined;
1202
1221
  type: "file";
1203
1222
  mimeType: string;
1204
1223
  data: string | ArrayBuffer;
@@ -1212,6 +1231,7 @@ export declare const schema: import("convex/server").SchemaDefinition<{
1212
1231
  text: string;
1213
1232
  } | {
1214
1233
  providerOptions?: Record<string, Record<string, any>> | undefined;
1234
+ filename?: string | undefined;
1215
1235
  type: "file";
1216
1236
  mimeType: string;
1217
1237
  data: string | ArrayBuffer;
@@ -1357,6 +1377,7 @@ export declare const schema: import("convex/server").SchemaDefinition<{
1357
1377
  image: string | ArrayBuffer;
1358
1378
  } | {
1359
1379
  providerOptions?: Record<string, Record<string, any>> | undefined;
1380
+ filename?: string | undefined;
1360
1381
  type: "file";
1361
1382
  mimeType: string;
1362
1383
  data: string | ArrayBuffer;
@@ -1370,6 +1391,7 @@ export declare const schema: import("convex/server").SchemaDefinition<{
1370
1391
  text: string;
1371
1392
  } | {
1372
1393
  providerOptions?: Record<string, Record<string, any>> | undefined;
1394
+ filename?: string | undefined;
1373
1395
  type: "file";
1374
1396
  mimeType: string;
1375
1397
  data: string | ArrayBuffer;
@@ -1439,6 +1461,7 @@ export declare const schema: import("convex/server").SchemaDefinition<{
1439
1461
  image: string | ArrayBuffer;
1440
1462
  } | {
1441
1463
  providerOptions?: Record<string, Record<string, any>> | undefined;
1464
+ filename?: string | undefined;
1442
1465
  type: "file";
1443
1466
  mimeType: string;
1444
1467
  data: string | ArrayBuffer;
@@ -1452,6 +1475,7 @@ export declare const schema: import("convex/server").SchemaDefinition<{
1452
1475
  text: string;
1453
1476
  } | {
1454
1477
  providerOptions?: Record<string, Record<string, any>> | undefined;
1478
+ filename?: string | undefined;
1455
1479
  type: "file";
1456
1480
  mimeType: string;
1457
1481
  data: string | ArrayBuffer;
@@ -1513,6 +1537,7 @@ export declare const schema: import("convex/server").SchemaDefinition<{
1513
1537
  image: string | ArrayBuffer;
1514
1538
  } | {
1515
1539
  providerOptions?: Record<string, Record<string, any>> | undefined;
1540
+ filename?: string | undefined;
1516
1541
  type: "file";
1517
1542
  mimeType: string;
1518
1543
  data: string | ArrayBuffer;
@@ -1526,6 +1551,7 @@ export declare const schema: import("convex/server").SchemaDefinition<{
1526
1551
  text: string;
1527
1552
  } | {
1528
1553
  providerOptions?: Record<string, Record<string, any>> | undefined;
1554
+ filename?: string | undefined;
1529
1555
  type: "file";
1530
1556
  mimeType: string;
1531
1557
  data: string | ArrayBuffer;
@@ -1586,6 +1612,7 @@ export declare const schema: import("convex/server").SchemaDefinition<{
1586
1612
  image: string | ArrayBuffer;
1587
1613
  } | {
1588
1614
  providerOptions?: Record<string, Record<string, any>> | undefined;
1615
+ filename?: string | undefined;
1589
1616
  type: "file";
1590
1617
  mimeType: string;
1591
1618
  data: string | ArrayBuffer;
@@ -1599,6 +1626,7 @@ export declare const schema: import("convex/server").SchemaDefinition<{
1599
1626
  text: string;
1600
1627
  } | {
1601
1628
  providerOptions?: Record<string, Record<string, any>> | undefined;
1629
+ filename?: string | undefined;
1602
1630
  type: "file";
1603
1631
  mimeType: string;
1604
1632
  data: string | ArrayBuffer;
@@ -1656,6 +1684,7 @@ export declare const schema: import("convex/server").SchemaDefinition<{
1656
1684
  image: string | ArrayBuffer;
1657
1685
  } | {
1658
1686
  providerOptions?: Record<string, Record<string, any>> | undefined;
1687
+ filename?: string | undefined;
1659
1688
  type: "file";
1660
1689
  mimeType: string;
1661
1690
  data: string | ArrayBuffer;
@@ -1673,6 +1702,7 @@ export declare const schema: import("convex/server").SchemaDefinition<{
1673
1702
  image: string | ArrayBuffer;
1674
1703
  } | {
1675
1704
  providerOptions?: Record<string, Record<string, any>> | undefined;
1705
+ filename?: string | undefined;
1676
1706
  type: "file";
1677
1707
  mimeType: string;
1678
1708
  data: string | ArrayBuffer;
@@ -1687,6 +1717,7 @@ export declare const schema: import("convex/server").SchemaDefinition<{
1687
1717
  image: string | ArrayBuffer;
1688
1718
  } | {
1689
1719
  providerOptions?: Record<string, Record<string, any>> | undefined;
1720
+ filename?: string | undefined;
1690
1721
  type: "file";
1691
1722
  mimeType: string;
1692
1723
  data: string | ArrayBuffer;
@@ -1701,6 +1732,7 @@ export declare const schema: import("convex/server").SchemaDefinition<{
1701
1732
  image: string | ArrayBuffer;
1702
1733
  } | {
1703
1734
  providerOptions?: Record<string, Record<string, any>> | undefined;
1735
+ filename?: string | undefined;
1704
1736
  type: "file";
1705
1737
  mimeType: string;
1706
1738
  data: string | ArrayBuffer;
@@ -1724,15 +1756,17 @@ export declare const schema: import("convex/server").SchemaDefinition<{
1724
1756
  providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
1725
1757
  }, "required", "type" | "providerOptions" | `providerOptions.${string}` | "image" | "mimeType">, import("convex/values").VObject<{
1726
1758
  providerOptions?: Record<string, Record<string, any>> | undefined;
1759
+ filename?: string | undefined;
1727
1760
  type: "file";
1728
1761
  mimeType: string;
1729
1762
  data: string | ArrayBuffer;
1730
1763
  }, {
1731
1764
  type: import("convex/values").VLiteral<"file", "required">;
1732
1765
  data: import("convex/values").VUnion<string | ArrayBuffer, [import("convex/values").VString<string, "required">, import("convex/values").VBytes<ArrayBuffer, "required">], "required", never>;
1766
+ filename: import("convex/values").VString<string | undefined, "optional">;
1733
1767
  mimeType: import("convex/values").VString<string, "required">;
1734
1768
  providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
1735
- }, "required", "type" | "providerOptions" | `providerOptions.${string}` | "mimeType" | "data">], "required", "type" | "providerOptions" | "text" | `providerOptions.${string}` | "image" | "mimeType" | "data">, "required">], "required", never>;
1769
+ }, "required", "type" | "providerOptions" | `providerOptions.${string}` | "mimeType" | "data" | "filename">], "required", "type" | "providerOptions" | "text" | `providerOptions.${string}` | "image" | "mimeType" | "data" | "filename">, "required">], "required", never>;
1736
1770
  providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
1737
1771
  }, "required", "providerOptions" | "role" | `providerOptions.${string}` | "content">, import("convex/values").VObject<{
1738
1772
  providerOptions?: Record<string, Record<string, any>> | undefined;
@@ -1743,6 +1777,7 @@ export declare const schema: import("convex/server").SchemaDefinition<{
1743
1777
  text: string;
1744
1778
  } | {
1745
1779
  providerOptions?: Record<string, Record<string, any>> | undefined;
1780
+ filename?: string | undefined;
1746
1781
  type: "file";
1747
1782
  mimeType: string;
1748
1783
  data: string | ArrayBuffer;
@@ -1770,6 +1805,7 @@ export declare const schema: import("convex/server").SchemaDefinition<{
1770
1805
  text: string;
1771
1806
  } | {
1772
1807
  providerOptions?: Record<string, Record<string, any>> | undefined;
1808
+ filename?: string | undefined;
1773
1809
  type: "file";
1774
1810
  mimeType: string;
1775
1811
  data: string | ArrayBuffer;
@@ -1794,6 +1830,7 @@ export declare const schema: import("convex/server").SchemaDefinition<{
1794
1830
  text: string;
1795
1831
  } | {
1796
1832
  providerOptions?: Record<string, Record<string, any>> | undefined;
1833
+ filename?: string | undefined;
1797
1834
  type: "file";
1798
1835
  mimeType: string;
1799
1836
  data: string | ArrayBuffer;
@@ -1818,6 +1855,7 @@ export declare const schema: import("convex/server").SchemaDefinition<{
1818
1855
  text: string;
1819
1856
  } | {
1820
1857
  providerOptions?: Record<string, Record<string, any>> | undefined;
1858
+ filename?: string | undefined;
1821
1859
  type: "file";
1822
1860
  mimeType: string;
1823
1861
  data: string | ArrayBuffer;
@@ -1846,15 +1884,17 @@ export declare const schema: import("convex/server").SchemaDefinition<{
1846
1884
  providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
1847
1885
  }, "required", "type" | "providerOptions" | "text" | `providerOptions.${string}`>, import("convex/values").VObject<{
1848
1886
  providerOptions?: Record<string, Record<string, any>> | undefined;
1887
+ filename?: string | undefined;
1849
1888
  type: "file";
1850
1889
  mimeType: string;
1851
1890
  data: string | ArrayBuffer;
1852
1891
  }, {
1853
1892
  type: import("convex/values").VLiteral<"file", "required">;
1854
1893
  data: import("convex/values").VUnion<string | ArrayBuffer, [import("convex/values").VString<string, "required">, import("convex/values").VBytes<ArrayBuffer, "required">], "required", never>;
1894
+ filename: import("convex/values").VString<string | undefined, "optional">;
1855
1895
  mimeType: import("convex/values").VString<string, "required">;
1856
1896
  providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
1857
- }, "required", "type" | "providerOptions" | `providerOptions.${string}` | "mimeType" | "data">, import("convex/values").VObject<{
1897
+ }, "required", "type" | "providerOptions" | `providerOptions.${string}` | "mimeType" | "data" | "filename">, import("convex/values").VObject<{
1858
1898
  providerOptions?: Record<string, Record<string, any>> | undefined;
1859
1899
  signature?: string | undefined;
1860
1900
  type: "reasoning";
@@ -1884,7 +1924,7 @@ export declare const schema: import("convex/server").SchemaDefinition<{
1884
1924
  toolName: import("convex/values").VString<string, "required">;
1885
1925
  args: import("convex/values").VAny<any, "required", string>;
1886
1926
  providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
1887
- }, "required", "type" | "providerOptions" | `providerOptions.${string}` | "toolCallId" | "toolName" | "args" | `args.${string}`>], "required", "type" | "providerOptions" | "text" | `providerOptions.${string}` | "mimeType" | "data" | "signature" | "toolCallId" | "toolName" | "args" | `args.${string}`>, "required">], "required", never>;
1927
+ }, "required", "type" | "providerOptions" | `providerOptions.${string}` | "toolCallId" | "toolName" | "args" | `args.${string}`>], "required", "type" | "providerOptions" | "text" | `providerOptions.${string}` | "mimeType" | "data" | "filename" | "signature" | "toolCallId" | "toolName" | "args" | `args.${string}`>, "required">], "required", never>;
1888
1928
  providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
1889
1929
  }, "required", "providerOptions" | "role" | `providerOptions.${string}` | "content">, import("convex/values").VObject<{
1890
1930
  providerOptions?: Record<string, Record<string, any>> | undefined;
@@ -2865,6 +2905,7 @@ export declare const vv: {
2865
2905
  image: string | ArrayBuffer;
2866
2906
  } | {
2867
2907
  providerOptions?: Record<string, Record<string, any>> | undefined;
2908
+ filename?: string | undefined;
2868
2909
  type: "file";
2869
2910
  mimeType: string;
2870
2911
  data: string | ArrayBuffer;
@@ -2878,6 +2919,7 @@ export declare const vv: {
2878
2919
  text: string;
2879
2920
  } | {
2880
2921
  providerOptions?: Record<string, Record<string, any>> | undefined;
2922
+ filename?: string | undefined;
2881
2923
  type: "file";
2882
2924
  mimeType: string;
2883
2925
  data: string | ArrayBuffer;
@@ -3061,6 +3103,7 @@ export declare const vv: {
3061
3103
  image: string | ArrayBuffer;
3062
3104
  } | {
3063
3105
  providerOptions?: Record<string, Record<string, any>> | undefined;
3106
+ filename?: string | undefined;
3064
3107
  type: "file";
3065
3108
  mimeType: string;
3066
3109
  data: string | ArrayBuffer;
@@ -3074,6 +3117,7 @@ export declare const vv: {
3074
3117
  text: string;
3075
3118
  } | {
3076
3119
  providerOptions?: Record<string, Record<string, any>> | undefined;
3120
+ filename?: string | undefined;
3077
3121
  type: "file";
3078
3122
  mimeType: string;
3079
3123
  data: string | ArrayBuffer;
@@ -3631,6 +3675,7 @@ export declare const vv: {
3631
3675
  image: string | ArrayBuffer;
3632
3676
  } | {
3633
3677
  providerOptions?: Record<string, Record<string, any>> | undefined;
3678
+ filename?: string | undefined;
3634
3679
  type: "file";
3635
3680
  mimeType: string;
3636
3681
  data: string | ArrayBuffer;
@@ -3644,6 +3689,7 @@ export declare const vv: {
3644
3689
  text: string;
3645
3690
  } | {
3646
3691
  providerOptions?: Record<string, Record<string, any>> | undefined;
3692
+ filename?: string | undefined;
3647
3693
  type: "file";
3648
3694
  mimeType: string;
3649
3695
  data: string | ArrayBuffer;
@@ -3827,6 +3873,7 @@ export declare const vv: {
3827
3873
  image: string | ArrayBuffer;
3828
3874
  } | {
3829
3875
  providerOptions?: Record<string, Record<string, any>> | undefined;
3876
+ filename?: string | undefined;
3830
3877
  type: "file";
3831
3878
  mimeType: string;
3832
3879
  data: string | ArrayBuffer;
@@ -3840,6 +3887,7 @@ export declare const vv: {
3840
3887
  text: string;
3841
3888
  } | {
3842
3889
  providerOptions?: Record<string, Record<string, any>> | undefined;
3890
+ filename?: string | undefined;
3843
3891
  type: "file";
3844
3892
  mimeType: string;
3845
3893
  data: string | ArrayBuffer;
@@ -4360,6 +4408,7 @@ export declare const vv: {
4360
4408
  image: string | ArrayBuffer;
4361
4409
  } | {
4362
4410
  providerOptions?: Record<string, Record<string, any>> | undefined;
4411
+ filename?: string | undefined;
4363
4412
  type: "file";
4364
4413
  mimeType: string;
4365
4414
  data: string | ArrayBuffer;
@@ -4373,6 +4422,7 @@ export declare const vv: {
4373
4422
  text: string;
4374
4423
  } | {
4375
4424
  providerOptions?: Record<string, Record<string, any>> | undefined;
4425
+ filename?: string | undefined;
4376
4426
  type: "file";
4377
4427
  mimeType: string;
4378
4428
  data: string | ArrayBuffer;
@@ -4493,6 +4543,7 @@ export declare const vv: {
4493
4543
  image: string | ArrayBuffer;
4494
4544
  } | {
4495
4545
  providerOptions?: Record<string, Record<string, any>> | undefined;
4546
+ filename?: string | undefined;
4496
4547
  type: "file";
4497
4548
  mimeType: string;
4498
4549
  data: string | ArrayBuffer;
@@ -4506,6 +4557,7 @@ export declare const vv: {
4506
4557
  text: string;
4507
4558
  } | {
4508
4559
  providerOptions?: Record<string, Record<string, any>> | undefined;
4560
+ filename?: string | undefined;
4509
4561
  type: "file";
4510
4562
  mimeType: string;
4511
4563
  data: string | ArrayBuffer;
@@ -4563,6 +4615,7 @@ export declare const vv: {
4563
4615
  image: string | ArrayBuffer;
4564
4616
  } | {
4565
4617
  providerOptions?: Record<string, Record<string, any>> | undefined;
4618
+ filename?: string | undefined;
4566
4619
  type: "file";
4567
4620
  mimeType: string;
4568
4621
  data: string | ArrayBuffer;
@@ -4580,6 +4633,7 @@ export declare const vv: {
4580
4633
  image: string | ArrayBuffer;
4581
4634
  } | {
4582
4635
  providerOptions?: Record<string, Record<string, any>> | undefined;
4636
+ filename?: string | undefined;
4583
4637
  type: "file";
4584
4638
  mimeType: string;
4585
4639
  data: string | ArrayBuffer;
@@ -4594,6 +4648,7 @@ export declare const vv: {
4594
4648
  image: string | ArrayBuffer;
4595
4649
  } | {
4596
4650
  providerOptions?: Record<string, Record<string, any>> | undefined;
4651
+ filename?: string | undefined;
4597
4652
  type: "file";
4598
4653
  mimeType: string;
4599
4654
  data: string | ArrayBuffer;
@@ -4608,6 +4663,7 @@ export declare const vv: {
4608
4663
  image: string | ArrayBuffer;
4609
4664
  } | {
4610
4665
  providerOptions?: Record<string, Record<string, any>> | undefined;
4666
+ filename?: string | undefined;
4611
4667
  type: "file";
4612
4668
  mimeType: string;
4613
4669
  data: string | ArrayBuffer;
@@ -4631,15 +4687,17 @@ export declare const vv: {
4631
4687
  providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
4632
4688
  }, "required", "type" | "providerOptions" | `providerOptions.${string}` | "image" | "mimeType">, import("convex/values").VObject<{
4633
4689
  providerOptions?: Record<string, Record<string, any>> | undefined;
4690
+ filename?: string | undefined;
4634
4691
  type: "file";
4635
4692
  mimeType: string;
4636
4693
  data: string | ArrayBuffer;
4637
4694
  }, {
4638
4695
  type: import("convex/values").VLiteral<"file", "required">;
4639
4696
  data: import("convex/values").VUnion<string | ArrayBuffer, [import("convex/values").VString<string, "required">, import("convex/values").VBytes<ArrayBuffer, "required">], "required", never>;
4697
+ filename: import("convex/values").VString<string | undefined, "optional">;
4640
4698
  mimeType: import("convex/values").VString<string, "required">;
4641
4699
  providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
4642
- }, "required", "type" | "providerOptions" | `providerOptions.${string}` | "mimeType" | "data">], "required", "type" | "providerOptions" | "text" | `providerOptions.${string}` | "image" | "mimeType" | "data">, "required">], "required", never>;
4700
+ }, "required", "type" | "providerOptions" | `providerOptions.${string}` | "mimeType" | "data" | "filename">], "required", "type" | "providerOptions" | "text" | `providerOptions.${string}` | "image" | "mimeType" | "data" | "filename">, "required">], "required", never>;
4643
4701
  providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
4644
4702
  }, "required", "providerOptions" | "role" | `providerOptions.${string}` | "content">, import("convex/values").VObject<{
4645
4703
  providerOptions?: Record<string, Record<string, any>> | undefined;
@@ -4650,6 +4708,7 @@ export declare const vv: {
4650
4708
  text: string;
4651
4709
  } | {
4652
4710
  providerOptions?: Record<string, Record<string, any>> | undefined;
4711
+ filename?: string | undefined;
4653
4712
  type: "file";
4654
4713
  mimeType: string;
4655
4714
  data: string | ArrayBuffer;
@@ -4677,6 +4736,7 @@ export declare const vv: {
4677
4736
  text: string;
4678
4737
  } | {
4679
4738
  providerOptions?: Record<string, Record<string, any>> | undefined;
4739
+ filename?: string | undefined;
4680
4740
  type: "file";
4681
4741
  mimeType: string;
4682
4742
  data: string | ArrayBuffer;
@@ -4701,6 +4761,7 @@ export declare const vv: {
4701
4761
  text: string;
4702
4762
  } | {
4703
4763
  providerOptions?: Record<string, Record<string, any>> | undefined;
4764
+ filename?: string | undefined;
4704
4765
  type: "file";
4705
4766
  mimeType: string;
4706
4767
  data: string | ArrayBuffer;
@@ -4725,6 +4786,7 @@ export declare const vv: {
4725
4786
  text: string;
4726
4787
  } | {
4727
4788
  providerOptions?: Record<string, Record<string, any>> | undefined;
4789
+ filename?: string | undefined;
4728
4790
  type: "file";
4729
4791
  mimeType: string;
4730
4792
  data: string | ArrayBuffer;
@@ -4753,15 +4815,17 @@ export declare const vv: {
4753
4815
  providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
4754
4816
  }, "required", "type" | "providerOptions" | "text" | `providerOptions.${string}`>, import("convex/values").VObject<{
4755
4817
  providerOptions?: Record<string, Record<string, any>> | undefined;
4818
+ filename?: string | undefined;
4756
4819
  type: "file";
4757
4820
  mimeType: string;
4758
4821
  data: string | ArrayBuffer;
4759
4822
  }, {
4760
4823
  type: import("convex/values").VLiteral<"file", "required">;
4761
4824
  data: import("convex/values").VUnion<string | ArrayBuffer, [import("convex/values").VString<string, "required">, import("convex/values").VBytes<ArrayBuffer, "required">], "required", never>;
4825
+ filename: import("convex/values").VString<string | undefined, "optional">;
4762
4826
  mimeType: import("convex/values").VString<string, "required">;
4763
4827
  providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
4764
- }, "required", "type" | "providerOptions" | `providerOptions.${string}` | "mimeType" | "data">, import("convex/values").VObject<{
4828
+ }, "required", "type" | "providerOptions" | `providerOptions.${string}` | "mimeType" | "data" | "filename">, import("convex/values").VObject<{
4765
4829
  providerOptions?: Record<string, Record<string, any>> | undefined;
4766
4830
  signature?: string | undefined;
4767
4831
  type: "reasoning";
@@ -4791,7 +4855,7 @@ export declare const vv: {
4791
4855
  toolName: import("convex/values").VString<string, "required">;
4792
4856
  args: import("convex/values").VAny<any, "required", string>;
4793
4857
  providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
4794
- }, "required", "type" | "providerOptions" | `providerOptions.${string}` | "toolCallId" | "toolName" | "args" | `args.${string}`>], "required", "type" | "providerOptions" | "text" | `providerOptions.${string}` | "mimeType" | "data" | "signature" | "toolCallId" | "toolName" | "args" | `args.${string}`>, "required">], "required", never>;
4858
+ }, "required", "type" | "providerOptions" | `providerOptions.${string}` | "toolCallId" | "toolName" | "args" | `args.${string}`>], "required", "type" | "providerOptions" | "text" | `providerOptions.${string}` | "mimeType" | "data" | "filename" | "signature" | "toolCallId" | "toolName" | "args" | `args.${string}`>, "required">], "required", never>;
4795
4859
  providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
4796
4860
  }, "required", "providerOptions" | "role" | `providerOptions.${string}` | "content">, import("convex/values").VObject<{
4797
4861
  providerOptions?: Record<string, Record<string, any>> | undefined;
@@ -5100,6 +5164,7 @@ export declare const vv: {
5100
5164
  image: string | ArrayBuffer;
5101
5165
  } | {
5102
5166
  providerOptions?: Record<string, Record<string, any>> | undefined;
5167
+ filename?: string | undefined;
5103
5168
  type: "file";
5104
5169
  mimeType: string;
5105
5170
  data: string | ArrayBuffer;
@@ -5113,6 +5178,7 @@ export declare const vv: {
5113
5178
  text: string;
5114
5179
  } | {
5115
5180
  providerOptions?: Record<string, Record<string, any>> | undefined;
5181
+ filename?: string | undefined;
5116
5182
  type: "file";
5117
5183
  mimeType: string;
5118
5184
  data: string | ArrayBuffer;
@@ -5260,6 +5326,7 @@ export declare const vv: {
5260
5326
  image: string | ArrayBuffer;
5261
5327
  } | {
5262
5328
  providerOptions?: Record<string, Record<string, any>> | undefined;
5329
+ filename?: string | undefined;
5263
5330
  type: "file";
5264
5331
  mimeType: string;
5265
5332
  data: string | ArrayBuffer;
@@ -5273,6 +5340,7 @@ export declare const vv: {
5273
5340
  text: string;
5274
5341
  } | {
5275
5342
  providerOptions?: Record<string, Record<string, any>> | undefined;
5343
+ filename?: string | undefined;
5276
5344
  type: "file";
5277
5345
  mimeType: string;
5278
5346
  data: string | ArrayBuffer;
@@ -5418,6 +5486,7 @@ export declare const vv: {
5418
5486
  image: string | ArrayBuffer;
5419
5487
  } | {
5420
5488
  providerOptions?: Record<string, Record<string, any>> | undefined;
5489
+ filename?: string | undefined;
5421
5490
  type: "file";
5422
5491
  mimeType: string;
5423
5492
  data: string | ArrayBuffer;
@@ -5431,6 +5500,7 @@ export declare const vv: {
5431
5500
  text: string;
5432
5501
  } | {
5433
5502
  providerOptions?: Record<string, Record<string, any>> | undefined;
5503
+ filename?: string | undefined;
5434
5504
  type: "file";
5435
5505
  mimeType: string;
5436
5506
  data: string | ArrayBuffer;
@@ -5500,6 +5570,7 @@ export declare const vv: {
5500
5570
  image: string | ArrayBuffer;
5501
5571
  } | {
5502
5572
  providerOptions?: Record<string, Record<string, any>> | undefined;
5573
+ filename?: string | undefined;
5503
5574
  type: "file";
5504
5575
  mimeType: string;
5505
5576
  data: string | ArrayBuffer;
@@ -5513,6 +5584,7 @@ export declare const vv: {
5513
5584
  text: string;
5514
5585
  } | {
5515
5586
  providerOptions?: Record<string, Record<string, any>> | undefined;
5587
+ filename?: string | undefined;
5516
5588
  type: "file";
5517
5589
  mimeType: string;
5518
5590
  data: string | ArrayBuffer;
@@ -5574,6 +5646,7 @@ export declare const vv: {
5574
5646
  image: string | ArrayBuffer;
5575
5647
  } | {
5576
5648
  providerOptions?: Record<string, Record<string, any>> | undefined;
5649
+ filename?: string | undefined;
5577
5650
  type: "file";
5578
5651
  mimeType: string;
5579
5652
  data: string | ArrayBuffer;
@@ -5587,6 +5660,7 @@ export declare const vv: {
5587
5660
  text: string;
5588
5661
  } | {
5589
5662
  providerOptions?: Record<string, Record<string, any>> | undefined;
5663
+ filename?: string | undefined;
5590
5664
  type: "file";
5591
5665
  mimeType: string;
5592
5666
  data: string | ArrayBuffer;
@@ -5647,6 +5721,7 @@ export declare const vv: {
5647
5721
  image: string | ArrayBuffer;
5648
5722
  } | {
5649
5723
  providerOptions?: Record<string, Record<string, any>> | undefined;
5724
+ filename?: string | undefined;
5650
5725
  type: "file";
5651
5726
  mimeType: string;
5652
5727
  data: string | ArrayBuffer;
@@ -5660,6 +5735,7 @@ export declare const vv: {
5660
5735
  text: string;
5661
5736
  } | {
5662
5737
  providerOptions?: Record<string, Record<string, any>> | undefined;
5738
+ filename?: string | undefined;
5663
5739
  type: "file";
5664
5740
  mimeType: string;
5665
5741
  data: string | ArrayBuffer;
@@ -5717,6 +5793,7 @@ export declare const vv: {
5717
5793
  image: string | ArrayBuffer;
5718
5794
  } | {
5719
5795
  providerOptions?: Record<string, Record<string, any>> | undefined;
5796
+ filename?: string | undefined;
5720
5797
  type: "file";
5721
5798
  mimeType: string;
5722
5799
  data: string | ArrayBuffer;
@@ -5734,6 +5811,7 @@ export declare const vv: {
5734
5811
  image: string | ArrayBuffer;
5735
5812
  } | {
5736
5813
  providerOptions?: Record<string, Record<string, any>> | undefined;
5814
+ filename?: string | undefined;
5737
5815
  type: "file";
5738
5816
  mimeType: string;
5739
5817
  data: string | ArrayBuffer;
@@ -5748,6 +5826,7 @@ export declare const vv: {
5748
5826
  image: string | ArrayBuffer;
5749
5827
  } | {
5750
5828
  providerOptions?: Record<string, Record<string, any>> | undefined;
5829
+ filename?: string | undefined;
5751
5830
  type: "file";
5752
5831
  mimeType: string;
5753
5832
  data: string | ArrayBuffer;
@@ -5762,6 +5841,7 @@ export declare const vv: {
5762
5841
  image: string | ArrayBuffer;
5763
5842
  } | {
5764
5843
  providerOptions?: Record<string, Record<string, any>> | undefined;
5844
+ filename?: string | undefined;
5765
5845
  type: "file";
5766
5846
  mimeType: string;
5767
5847
  data: string | ArrayBuffer;
@@ -5785,15 +5865,17 @@ export declare const vv: {
5785
5865
  providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
5786
5866
  }, "required", "type" | "providerOptions" | `providerOptions.${string}` | "image" | "mimeType">, import("convex/values").VObject<{
5787
5867
  providerOptions?: Record<string, Record<string, any>> | undefined;
5868
+ filename?: string | undefined;
5788
5869
  type: "file";
5789
5870
  mimeType: string;
5790
5871
  data: string | ArrayBuffer;
5791
5872
  }, {
5792
5873
  type: import("convex/values").VLiteral<"file", "required">;
5793
5874
  data: import("convex/values").VUnion<string | ArrayBuffer, [import("convex/values").VString<string, "required">, import("convex/values").VBytes<ArrayBuffer, "required">], "required", never>;
5875
+ filename: import("convex/values").VString<string | undefined, "optional">;
5794
5876
  mimeType: import("convex/values").VString<string, "required">;
5795
5877
  providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
5796
- }, "required", "type" | "providerOptions" | `providerOptions.${string}` | "mimeType" | "data">], "required", "type" | "providerOptions" | "text" | `providerOptions.${string}` | "image" | "mimeType" | "data">, "required">], "required", never>;
5878
+ }, "required", "type" | "providerOptions" | `providerOptions.${string}` | "mimeType" | "data" | "filename">], "required", "type" | "providerOptions" | "text" | `providerOptions.${string}` | "image" | "mimeType" | "data" | "filename">, "required">], "required", never>;
5797
5879
  providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
5798
5880
  }, "required", "providerOptions" | "role" | `providerOptions.${string}` | "content">, import("convex/values").VObject<{
5799
5881
  providerOptions?: Record<string, Record<string, any>> | undefined;
@@ -5804,6 +5886,7 @@ export declare const vv: {
5804
5886
  text: string;
5805
5887
  } | {
5806
5888
  providerOptions?: Record<string, Record<string, any>> | undefined;
5889
+ filename?: string | undefined;
5807
5890
  type: "file";
5808
5891
  mimeType: string;
5809
5892
  data: string | ArrayBuffer;
@@ -5831,6 +5914,7 @@ export declare const vv: {
5831
5914
  text: string;
5832
5915
  } | {
5833
5916
  providerOptions?: Record<string, Record<string, any>> | undefined;
5917
+ filename?: string | undefined;
5834
5918
  type: "file";
5835
5919
  mimeType: string;
5836
5920
  data: string | ArrayBuffer;
@@ -5855,6 +5939,7 @@ export declare const vv: {
5855
5939
  text: string;
5856
5940
  } | {
5857
5941
  providerOptions?: Record<string, Record<string, any>> | undefined;
5942
+ filename?: string | undefined;
5858
5943
  type: "file";
5859
5944
  mimeType: string;
5860
5945
  data: string | ArrayBuffer;
@@ -5879,6 +5964,7 @@ export declare const vv: {
5879
5964
  text: string;
5880
5965
  } | {
5881
5966
  providerOptions?: Record<string, Record<string, any>> | undefined;
5967
+ filename?: string | undefined;
5882
5968
  type: "file";
5883
5969
  mimeType: string;
5884
5970
  data: string | ArrayBuffer;
@@ -5907,15 +5993,17 @@ export declare const vv: {
5907
5993
  providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
5908
5994
  }, "required", "type" | "providerOptions" | "text" | `providerOptions.${string}`>, import("convex/values").VObject<{
5909
5995
  providerOptions?: Record<string, Record<string, any>> | undefined;
5996
+ filename?: string | undefined;
5910
5997
  type: "file";
5911
5998
  mimeType: string;
5912
5999
  data: string | ArrayBuffer;
5913
6000
  }, {
5914
6001
  type: import("convex/values").VLiteral<"file", "required">;
5915
6002
  data: import("convex/values").VUnion<string | ArrayBuffer, [import("convex/values").VString<string, "required">, import("convex/values").VBytes<ArrayBuffer, "required">], "required", never>;
6003
+ filename: import("convex/values").VString<string | undefined, "optional">;
5916
6004
  mimeType: import("convex/values").VString<string, "required">;
5917
6005
  providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
5918
- }, "required", "type" | "providerOptions" | `providerOptions.${string}` | "mimeType" | "data">, import("convex/values").VObject<{
6006
+ }, "required", "type" | "providerOptions" | `providerOptions.${string}` | "mimeType" | "data" | "filename">, import("convex/values").VObject<{
5919
6007
  providerOptions?: Record<string, Record<string, any>> | undefined;
5920
6008
  signature?: string | undefined;
5921
6009
  type: "reasoning";
@@ -5945,7 +6033,7 @@ export declare const vv: {
5945
6033
  toolName: import("convex/values").VString<string, "required">;
5946
6034
  args: import("convex/values").VAny<any, "required", string>;
5947
6035
  providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
5948
- }, "required", "type" | "providerOptions" | `providerOptions.${string}` | "toolCallId" | "toolName" | "args" | `args.${string}`>], "required", "type" | "providerOptions" | "text" | `providerOptions.${string}` | "mimeType" | "data" | "signature" | "toolCallId" | "toolName" | "args" | `args.${string}`>, "required">], "required", never>;
6036
+ }, "required", "type" | "providerOptions" | `providerOptions.${string}` | "toolCallId" | "toolName" | "args" | `args.${string}`>], "required", "type" | "providerOptions" | "text" | `providerOptions.${string}` | "mimeType" | "data" | "filename" | "signature" | "toolCallId" | "toolName" | "args" | `args.${string}`>, "required">], "required", never>;
5949
6037
  providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
5950
6038
  }, "required", "providerOptions" | "role" | `providerOptions.${string}` | "content">, import("convex/values").VObject<{
5951
6039
  providerOptions?: Record<string, Record<string, any>> | undefined;
@@ -6648,6 +6736,7 @@ export declare const vMessageDoc: import("convex/values").VObject<{
6648
6736
  image: string | ArrayBuffer;
6649
6737
  } | {
6650
6738
  providerOptions?: Record<string, Record<string, any>> | undefined;
6739
+ filename?: string | undefined;
6651
6740
  type: "file";
6652
6741
  mimeType: string;
6653
6742
  data: string | ArrayBuffer;
@@ -6661,6 +6750,7 @@ export declare const vMessageDoc: import("convex/values").VObject<{
6661
6750
  text: string;
6662
6751
  } | {
6663
6752
  providerOptions?: Record<string, Record<string, any>> | undefined;
6753
+ filename?: string | undefined;
6664
6754
  type: "file";
6665
6755
  mimeType: string;
6666
6756
  data: string | ArrayBuffer;
@@ -6797,6 +6887,7 @@ export declare const vMessageDoc: import("convex/values").VObject<{
6797
6887
  image: string | ArrayBuffer;
6798
6888
  } | {
6799
6889
  providerOptions?: Record<string, Record<string, any>> | undefined;
6890
+ filename?: string | undefined;
6800
6891
  type: "file";
6801
6892
  mimeType: string;
6802
6893
  data: string | ArrayBuffer;
@@ -6810,6 +6901,7 @@ export declare const vMessageDoc: import("convex/values").VObject<{
6810
6901
  text: string;
6811
6902
  } | {
6812
6903
  providerOptions?: Record<string, Record<string, any>> | undefined;
6904
+ filename?: string | undefined;
6813
6905
  type: "file";
6814
6906
  mimeType: string;
6815
6907
  data: string | ArrayBuffer;
@@ -6867,6 +6959,7 @@ export declare const vMessageDoc: import("convex/values").VObject<{
6867
6959
  image: string | ArrayBuffer;
6868
6960
  } | {
6869
6961
  providerOptions?: Record<string, Record<string, any>> | undefined;
6962
+ filename?: string | undefined;
6870
6963
  type: "file";
6871
6964
  mimeType: string;
6872
6965
  data: string | ArrayBuffer;
@@ -6884,6 +6977,7 @@ export declare const vMessageDoc: import("convex/values").VObject<{
6884
6977
  image: string | ArrayBuffer;
6885
6978
  } | {
6886
6979
  providerOptions?: Record<string, Record<string, any>> | undefined;
6980
+ filename?: string | undefined;
6887
6981
  type: "file";
6888
6982
  mimeType: string;
6889
6983
  data: string | ArrayBuffer;
@@ -6898,6 +6992,7 @@ export declare const vMessageDoc: import("convex/values").VObject<{
6898
6992
  image: string | ArrayBuffer;
6899
6993
  } | {
6900
6994
  providerOptions?: Record<string, Record<string, any>> | undefined;
6995
+ filename?: string | undefined;
6901
6996
  type: "file";
6902
6997
  mimeType: string;
6903
6998
  data: string | ArrayBuffer;
@@ -6912,6 +7007,7 @@ export declare const vMessageDoc: import("convex/values").VObject<{
6912
7007
  image: string | ArrayBuffer;
6913
7008
  } | {
6914
7009
  providerOptions?: Record<string, Record<string, any>> | undefined;
7010
+ filename?: string | undefined;
6915
7011
  type: "file";
6916
7012
  mimeType: string;
6917
7013
  data: string | ArrayBuffer;
@@ -6935,15 +7031,17 @@ export declare const vMessageDoc: import("convex/values").VObject<{
6935
7031
  providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
6936
7032
  }, "required", "type" | "providerOptions" | `providerOptions.${string}` | "image" | "mimeType">, import("convex/values").VObject<{
6937
7033
  providerOptions?: Record<string, Record<string, any>> | undefined;
7034
+ filename?: string | undefined;
6938
7035
  type: "file";
6939
7036
  mimeType: string;
6940
7037
  data: string | ArrayBuffer;
6941
7038
  }, {
6942
7039
  type: import("convex/values").VLiteral<"file", "required">;
6943
7040
  data: import("convex/values").VUnion<string | ArrayBuffer, [import("convex/values").VString<string, "required">, import("convex/values").VBytes<ArrayBuffer, "required">], "required", never>;
7041
+ filename: import("convex/values").VString<string | undefined, "optional">;
6944
7042
  mimeType: import("convex/values").VString<string, "required">;
6945
7043
  providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
6946
- }, "required", "type" | "providerOptions" | `providerOptions.${string}` | "mimeType" | "data">], "required", "type" | "providerOptions" | "text" | `providerOptions.${string}` | "image" | "mimeType" | "data">, "required">], "required", never>;
7044
+ }, "required", "type" | "providerOptions" | `providerOptions.${string}` | "mimeType" | "data" | "filename">], "required", "type" | "providerOptions" | "text" | `providerOptions.${string}` | "image" | "mimeType" | "data" | "filename">, "required">], "required", never>;
6947
7045
  providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
6948
7046
  }, "required", "providerOptions" | "role" | `providerOptions.${string}` | "content">, import("convex/values").VObject<{
6949
7047
  providerOptions?: Record<string, Record<string, any>> | undefined;
@@ -6954,6 +7052,7 @@ export declare const vMessageDoc: import("convex/values").VObject<{
6954
7052
  text: string;
6955
7053
  } | {
6956
7054
  providerOptions?: Record<string, Record<string, any>> | undefined;
7055
+ filename?: string | undefined;
6957
7056
  type: "file";
6958
7057
  mimeType: string;
6959
7058
  data: string | ArrayBuffer;
@@ -6981,6 +7080,7 @@ export declare const vMessageDoc: import("convex/values").VObject<{
6981
7080
  text: string;
6982
7081
  } | {
6983
7082
  providerOptions?: Record<string, Record<string, any>> | undefined;
7083
+ filename?: string | undefined;
6984
7084
  type: "file";
6985
7085
  mimeType: string;
6986
7086
  data: string | ArrayBuffer;
@@ -7005,6 +7105,7 @@ export declare const vMessageDoc: import("convex/values").VObject<{
7005
7105
  text: string;
7006
7106
  } | {
7007
7107
  providerOptions?: Record<string, Record<string, any>> | undefined;
7108
+ filename?: string | undefined;
7008
7109
  type: "file";
7009
7110
  mimeType: string;
7010
7111
  data: string | ArrayBuffer;
@@ -7029,6 +7130,7 @@ export declare const vMessageDoc: import("convex/values").VObject<{
7029
7130
  text: string;
7030
7131
  } | {
7031
7132
  providerOptions?: Record<string, Record<string, any>> | undefined;
7133
+ filename?: string | undefined;
7032
7134
  type: "file";
7033
7135
  mimeType: string;
7034
7136
  data: string | ArrayBuffer;
@@ -7057,15 +7159,17 @@ export declare const vMessageDoc: import("convex/values").VObject<{
7057
7159
  providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
7058
7160
  }, "required", "type" | "providerOptions" | "text" | `providerOptions.${string}`>, import("convex/values").VObject<{
7059
7161
  providerOptions?: Record<string, Record<string, any>> | undefined;
7162
+ filename?: string | undefined;
7060
7163
  type: "file";
7061
7164
  mimeType: string;
7062
7165
  data: string | ArrayBuffer;
7063
7166
  }, {
7064
7167
  type: import("convex/values").VLiteral<"file", "required">;
7065
7168
  data: import("convex/values").VUnion<string | ArrayBuffer, [import("convex/values").VString<string, "required">, import("convex/values").VBytes<ArrayBuffer, "required">], "required", never>;
7169
+ filename: import("convex/values").VString<string | undefined, "optional">;
7066
7170
  mimeType: import("convex/values").VString<string, "required">;
7067
7171
  providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
7068
- }, "required", "type" | "providerOptions" | `providerOptions.${string}` | "mimeType" | "data">, import("convex/values").VObject<{
7172
+ }, "required", "type" | "providerOptions" | `providerOptions.${string}` | "mimeType" | "data" | "filename">, import("convex/values").VObject<{
7069
7173
  providerOptions?: Record<string, Record<string, any>> | undefined;
7070
7174
  signature?: string | undefined;
7071
7175
  type: "reasoning";
@@ -7095,7 +7199,7 @@ export declare const vMessageDoc: import("convex/values").VObject<{
7095
7199
  toolName: import("convex/values").VString<string, "required">;
7096
7200
  args: import("convex/values").VAny<any, "required", string>;
7097
7201
  providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
7098
- }, "required", "type" | "providerOptions" | `providerOptions.${string}` | "toolCallId" | "toolName" | "args" | `args.${string}`>], "required", "type" | "providerOptions" | "text" | `providerOptions.${string}` | "mimeType" | "data" | "signature" | "toolCallId" | "toolName" | "args" | `args.${string}`>, "required">], "required", never>;
7202
+ }, "required", "type" | "providerOptions" | `providerOptions.${string}` | "toolCallId" | "toolName" | "args" | `args.${string}`>], "required", "type" | "providerOptions" | "text" | `providerOptions.${string}` | "mimeType" | "data" | "filename" | "signature" | "toolCallId" | "toolName" | "args" | `args.${string}`>, "required">], "required", never>;
7099
7203
  providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
7100
7204
  }, "required", "providerOptions" | "role" | `providerOptions.${string}` | "content">, import("convex/values").VObject<{
7101
7205
  providerOptions?: Record<string, Record<string, any>> | undefined;