@convex-dev/agent 0.2.8-alpha.4 → 0.2.8-alpha.6

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.
Files changed (49) hide show
  1. package/dist/client/definePlaygroundAPI.d.ts +5 -5
  2. package/dist/client/index.d.ts +5 -5
  3. package/dist/client/index.d.ts.map +1 -1
  4. package/dist/client/index.js +2 -3
  5. package/dist/client/index.js.map +1 -1
  6. package/dist/client/messages.d.ts +1 -1
  7. package/dist/client/search.d.ts +1 -1
  8. package/dist/client/streaming.d.ts +17 -12
  9. package/dist/client/streaming.d.ts.map +1 -1
  10. package/dist/client/streaming.js +49 -2
  11. package/dist/client/streaming.js.map +1 -1
  12. package/dist/client/types.d.ts +7 -1
  13. package/dist/client/types.d.ts.map +1 -1
  14. package/dist/component/_generated/api.d.ts +8 -8
  15. package/dist/component/messages.d.ts +11 -11
  16. package/dist/component/schema.d.ts +20 -20
  17. package/dist/component/streams.d.ts.map +1 -1
  18. package/dist/component/streams.js +1 -0
  19. package/dist/component/streams.js.map +1 -1
  20. package/dist/deltas.d.ts +2 -6
  21. package/dist/deltas.d.ts.map +1 -1
  22. package/dist/deltas.js +52 -49
  23. package/dist/deltas.js.map +1 -1
  24. package/dist/react/useDeltaStreams.d.ts +10 -0
  25. package/dist/react/useDeltaStreams.d.ts.map +1 -0
  26. package/dist/react/useDeltaStreams.js +101 -0
  27. package/dist/react/useDeltaStreams.js.map +1 -0
  28. package/dist/react/useStreamingUIMessages.d.ts.map +1 -1
  29. package/dist/react/useStreamingUIMessages.js +66 -181
  30. package/dist/react/useStreamingUIMessages.js.map +1 -1
  31. package/dist/react/useUIMessages.d.ts.map +1 -1
  32. package/dist/react/useUIMessages.js +4 -1
  33. package/dist/react/useUIMessages.js.map +1 -1
  34. package/dist/validators.d.ts +78 -78
  35. package/dist/validators.js +1 -1
  36. package/dist/validators.js.map +1 -1
  37. package/package.json +7 -5
  38. package/src/client/index.ts +2 -1
  39. package/src/client/streaming.test.ts +2 -2
  40. package/src/client/streaming.ts +58 -5
  41. package/src/client/types.ts +7 -0
  42. package/src/component/_generated/api.d.ts +8 -8
  43. package/src/component/streams.ts +1 -0
  44. package/src/deltas.ts +62 -54
  45. package/src/react/useDeltaStreams.ts +155 -0
  46. package/src/react/useStreamingUIMessages.ts +94 -251
  47. package/src/react/useUIMessages.ts +5 -2
  48. package/src/validators.ts +1 -1
  49. package/dist/package.json +0 -3
@@ -210,10 +210,10 @@ export declare const vReasoningDetails: import("convex/values").VArray<({
210
210
  data: import("convex/values").VString<string, "required">;
211
211
  }, "required", "type" | "data">], "required", "type" | "providerOptions" | "text" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "data" | "signature">, "required">;
212
212
  export declare const vSourcePart: import("convex/values").VUnion<{
213
+ title?: string | undefined;
213
214
  providerOptions?: Record<string, Record<string, any>> | undefined;
214
215
  providerMetadata?: Record<string, Record<string, any>> | undefined;
215
216
  id: string;
216
- title: string;
217
217
  type: "source";
218
218
  sourceType: "url";
219
219
  url: string;
@@ -227,10 +227,10 @@ export declare const vSourcePart: import("convex/values").VUnion<{
227
227
  mediaType: string;
228
228
  sourceType: "document";
229
229
  }, [import("convex/values").VObject<{
230
+ title?: string | undefined;
230
231
  providerOptions?: Record<string, Record<string, any>> | undefined;
231
232
  providerMetadata?: Record<string, Record<string, any>> | undefined;
232
233
  id: string;
233
- title: string;
234
234
  type: "source";
235
235
  sourceType: "url";
236
236
  url: string;
@@ -239,7 +239,7 @@ export declare const vSourcePart: import("convex/values").VUnion<{
239
239
  sourceType: import("convex/values").VLiteral<"url", "required">;
240
240
  id: import("convex/values").VString<string, "required">;
241
241
  url: import("convex/values").VString<string, "required">;
242
- title: import("convex/values").VString<string, "required">;
242
+ title: import("convex/values").VString<string | undefined, "optional">;
243
243
  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>;
244
244
  providerMetadata: 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>;
245
245
  }, "required", "id" | "title" | "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "sourceType" | "url">, import("convex/values").VObject<{
@@ -819,10 +819,10 @@ export declare const vAssistantContent: import("convex/values").VUnion<string |
819
819
  toolCallId: string;
820
820
  toolName: string;
821
821
  } | {
822
+ title?: string | undefined;
822
823
  providerOptions?: Record<string, Record<string, any>> | undefined;
823
824
  providerMetadata?: Record<string, Record<string, any>> | undefined;
824
825
  id: string;
825
- title: string;
826
826
  type: "source";
827
827
  sourceType: "url";
828
828
  url: string;
@@ -908,10 +908,10 @@ export declare const vAssistantContent: import("convex/values").VUnion<string |
908
908
  toolCallId: string;
909
909
  toolName: string;
910
910
  } | {
911
+ title?: string | undefined;
911
912
  providerOptions?: Record<string, Record<string, any>> | undefined;
912
913
  providerMetadata?: Record<string, Record<string, any>> | undefined;
913
914
  id: string;
914
- title: string;
915
915
  type: "source";
916
916
  sourceType: "url";
917
917
  url: string;
@@ -997,10 +997,10 @@ export declare const vAssistantContent: import("convex/values").VUnion<string |
997
997
  toolCallId: string;
998
998
  toolName: string;
999
999
  } | {
1000
+ title?: string | undefined;
1000
1001
  providerOptions?: Record<string, Record<string, any>> | undefined;
1001
1002
  providerMetadata?: Record<string, Record<string, any>> | undefined;
1002
1003
  id: string;
1003
- title: string;
1004
1004
  type: "source";
1005
1005
  sourceType: "url";
1006
1006
  url: string;
@@ -1244,10 +1244,10 @@ export declare const vAssistantContent: import("convex/values").VUnion<string |
1244
1244
  mimeType: import("convex/values").VString<string | undefined, "optional">;
1245
1245
  }, "required", "type" | "mimeType" | "data">], "required", "type" | "text" | "mimeType" | "data">, "optional">;
1246
1246
  }, "required", "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "output" | "result" | "isError" | "experimental_content" | "output.type" | "output.value" | `output.value.${string}` | `result.${string}`>, import("convex/values").VUnion<{
1247
+ title?: string | undefined;
1247
1248
  providerOptions?: Record<string, Record<string, any>> | undefined;
1248
1249
  providerMetadata?: Record<string, Record<string, any>> | undefined;
1249
1250
  id: string;
1250
- title: string;
1251
1251
  type: "source";
1252
1252
  sourceType: "url";
1253
1253
  url: string;
@@ -1261,10 +1261,10 @@ export declare const vAssistantContent: import("convex/values").VUnion<string |
1261
1261
  mediaType: string;
1262
1262
  sourceType: "document";
1263
1263
  }, [import("convex/values").VObject<{
1264
+ title?: string | undefined;
1264
1265
  providerOptions?: Record<string, Record<string, any>> | undefined;
1265
1266
  providerMetadata?: Record<string, Record<string, any>> | undefined;
1266
1267
  id: string;
1267
- title: string;
1268
1268
  type: "source";
1269
1269
  sourceType: "url";
1270
1270
  url: string;
@@ -1273,7 +1273,7 @@ export declare const vAssistantContent: import("convex/values").VUnion<string |
1273
1273
  sourceType: import("convex/values").VLiteral<"url", "required">;
1274
1274
  id: import("convex/values").VString<string, "required">;
1275
1275
  url: import("convex/values").VString<string, "required">;
1276
- title: import("convex/values").VString<string, "required">;
1276
+ title: import("convex/values").VString<string | undefined, "optional">;
1277
1277
  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>;
1278
1278
  providerMetadata: 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>;
1279
1279
  }, "required", "id" | "title" | "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "sourceType" | "url">, import("convex/values").VObject<{
@@ -1385,10 +1385,10 @@ export declare const vContent: import("convex/values").VUnion<string | ({
1385
1385
  toolCallId: string;
1386
1386
  toolName: string;
1387
1387
  } | {
1388
+ title?: string | undefined;
1388
1389
  providerOptions?: Record<string, Record<string, any>> | undefined;
1389
1390
  providerMetadata?: Record<string, Record<string, any>> | undefined;
1390
1391
  id: string;
1391
- title: string;
1392
1392
  type: "source";
1393
1393
  sourceType: "url";
1394
1394
  url: string;
@@ -1600,10 +1600,10 @@ export declare const vContent: import("convex/values").VUnion<string | ({
1600
1600
  toolCallId: string;
1601
1601
  toolName: string;
1602
1602
  } | {
1603
+ title?: string | undefined;
1603
1604
  providerOptions?: Record<string, Record<string, any>> | undefined;
1604
1605
  providerMetadata?: Record<string, Record<string, any>> | undefined;
1605
1606
  id: string;
1606
- title: string;
1607
1607
  type: "source";
1608
1608
  sourceType: "url";
1609
1609
  url: string;
@@ -1689,10 +1689,10 @@ export declare const vContent: import("convex/values").VUnion<string | ({
1689
1689
  toolCallId: string;
1690
1690
  toolName: string;
1691
1691
  } | {
1692
+ title?: string | undefined;
1692
1693
  providerOptions?: Record<string, Record<string, any>> | undefined;
1693
1694
  providerMetadata?: Record<string, Record<string, any>> | undefined;
1694
1695
  id: string;
1695
- title: string;
1696
1696
  type: "source";
1697
1697
  sourceType: "url";
1698
1698
  url: string;
@@ -1778,10 +1778,10 @@ export declare const vContent: import("convex/values").VUnion<string | ({
1778
1778
  toolCallId: string;
1779
1779
  toolName: string;
1780
1780
  } | {
1781
+ title?: string | undefined;
1781
1782
  providerOptions?: Record<string, Record<string, any>> | undefined;
1782
1783
  providerMetadata?: Record<string, Record<string, any>> | undefined;
1783
1784
  id: string;
1784
- title: string;
1785
1785
  type: "source";
1786
1786
  sourceType: "url";
1787
1787
  url: string;
@@ -2025,10 +2025,10 @@ export declare const vContent: import("convex/values").VUnion<string | ({
2025
2025
  mimeType: import("convex/values").VString<string | undefined, "optional">;
2026
2026
  }, "required", "type" | "mimeType" | "data">], "required", "type" | "text" | "mimeType" | "data">, "optional">;
2027
2027
  }, "required", "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "output" | "result" | "isError" | "experimental_content" | "output.type" | "output.value" | `output.value.${string}` | `result.${string}`>, import("convex/values").VUnion<{
2028
+ title?: string | undefined;
2028
2029
  providerOptions?: Record<string, Record<string, any>> | undefined;
2029
2030
  providerMetadata?: Record<string, Record<string, any>> | undefined;
2030
2031
  id: string;
2031
- title: string;
2032
2032
  type: "source";
2033
2033
  sourceType: "url";
2034
2034
  url: string;
@@ -2042,10 +2042,10 @@ export declare const vContent: import("convex/values").VUnion<string | ({
2042
2042
  mediaType: string;
2043
2043
  sourceType: "document";
2044
2044
  }, [import("convex/values").VObject<{
2045
+ title?: string | undefined;
2045
2046
  providerOptions?: Record<string, Record<string, any>> | undefined;
2046
2047
  providerMetadata?: Record<string, Record<string, any>> | undefined;
2047
2048
  id: string;
2048
- title: string;
2049
2049
  type: "source";
2050
2050
  sourceType: "url";
2051
2051
  url: string;
@@ -2054,7 +2054,7 @@ export declare const vContent: import("convex/values").VUnion<string | ({
2054
2054
  sourceType: import("convex/values").VLiteral<"url", "required">;
2055
2055
  id: import("convex/values").VString<string, "required">;
2056
2056
  url: import("convex/values").VString<string, "required">;
2057
- title: import("convex/values").VString<string, "required">;
2057
+ title: import("convex/values").VString<string | undefined, "optional">;
2058
2058
  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>;
2059
2059
  providerMetadata: 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>;
2060
2060
  }, "required", "id" | "title" | "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "sourceType" | "url">, import("convex/values").VObject<{
@@ -2473,10 +2473,10 @@ export declare const vAssistantMessage: import("convex/values").VObject<{
2473
2473
  toolCallId: string;
2474
2474
  toolName: string;
2475
2475
  } | {
2476
+ title?: string | undefined;
2476
2477
  providerOptions?: Record<string, Record<string, any>> | undefined;
2477
2478
  providerMetadata?: Record<string, Record<string, any>> | undefined;
2478
2479
  id: string;
2479
- title: string;
2480
2480
  type: "source";
2481
2481
  sourceType: "url";
2482
2482
  url: string;
@@ -2565,10 +2565,10 @@ export declare const vAssistantMessage: import("convex/values").VObject<{
2565
2565
  toolCallId: string;
2566
2566
  toolName: string;
2567
2567
  } | {
2568
+ title?: string | undefined;
2568
2569
  providerOptions?: Record<string, Record<string, any>> | undefined;
2569
2570
  providerMetadata?: Record<string, Record<string, any>> | undefined;
2570
2571
  id: string;
2571
- title: string;
2572
2572
  type: "source";
2573
2573
  sourceType: "url";
2574
2574
  url: string;
@@ -2654,10 +2654,10 @@ export declare const vAssistantMessage: import("convex/values").VObject<{
2654
2654
  toolCallId: string;
2655
2655
  toolName: string;
2656
2656
  } | {
2657
+ title?: string | undefined;
2657
2658
  providerOptions?: Record<string, Record<string, any>> | undefined;
2658
2659
  providerMetadata?: Record<string, Record<string, any>> | undefined;
2659
2660
  id: string;
2660
- title: string;
2661
2661
  type: "source";
2662
2662
  sourceType: "url";
2663
2663
  url: string;
@@ -2743,10 +2743,10 @@ export declare const vAssistantMessage: import("convex/values").VObject<{
2743
2743
  toolCallId: string;
2744
2744
  toolName: string;
2745
2745
  } | {
2746
+ title?: string | undefined;
2746
2747
  providerOptions?: Record<string, Record<string, any>> | undefined;
2747
2748
  providerMetadata?: Record<string, Record<string, any>> | undefined;
2748
2749
  id: string;
2749
- title: string;
2750
2750
  type: "source";
2751
2751
  sourceType: "url";
2752
2752
  url: string;
@@ -2990,10 +2990,10 @@ export declare const vAssistantMessage: import("convex/values").VObject<{
2990
2990
  mimeType: import("convex/values").VString<string | undefined, "optional">;
2991
2991
  }, "required", "type" | "mimeType" | "data">], "required", "type" | "text" | "mimeType" | "data">, "optional">;
2992
2992
  }, "required", "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "output" | "result" | "isError" | "experimental_content" | "output.type" | "output.value" | `output.value.${string}` | `result.${string}`>, import("convex/values").VUnion<{
2993
+ title?: string | undefined;
2993
2994
  providerOptions?: Record<string, Record<string, any>> | undefined;
2994
2995
  providerMetadata?: Record<string, Record<string, any>> | undefined;
2995
2996
  id: string;
2996
- title: string;
2997
2997
  type: "source";
2998
2998
  sourceType: "url";
2999
2999
  url: string;
@@ -3007,10 +3007,10 @@ export declare const vAssistantMessage: import("convex/values").VObject<{
3007
3007
  mediaType: string;
3008
3008
  sourceType: "document";
3009
3009
  }, [import("convex/values").VObject<{
3010
+ title?: string | undefined;
3010
3011
  providerOptions?: Record<string, Record<string, any>> | undefined;
3011
3012
  providerMetadata?: Record<string, Record<string, any>> | undefined;
3012
3013
  id: string;
3013
- title: string;
3014
3014
  type: "source";
3015
3015
  sourceType: "url";
3016
3016
  url: string;
@@ -3019,7 +3019,7 @@ export declare const vAssistantMessage: import("convex/values").VObject<{
3019
3019
  sourceType: import("convex/values").VLiteral<"url", "required">;
3020
3020
  id: import("convex/values").VString<string, "required">;
3021
3021
  url: import("convex/values").VString<string, "required">;
3022
- title: import("convex/values").VString<string, "required">;
3022
+ title: import("convex/values").VString<string | undefined, "optional">;
3023
3023
  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>;
3024
3024
  providerMetadata: 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>;
3025
3025
  }, "required", "id" | "title" | "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "sourceType" | "url">, import("convex/values").VObject<{
@@ -3408,10 +3408,10 @@ export declare const vMessage: import("convex/values").VUnion<{
3408
3408
  toolCallId: string;
3409
3409
  toolName: string;
3410
3410
  } | {
3411
+ title?: string | undefined;
3411
3412
  providerOptions?: Record<string, Record<string, any>> | undefined;
3412
3413
  providerMetadata?: Record<string, Record<string, any>> | undefined;
3413
3414
  id: string;
3414
- title: string;
3415
3415
  type: "source";
3416
3416
  sourceType: "url";
3417
3417
  url: string;
@@ -3660,10 +3660,10 @@ export declare const vMessage: import("convex/values").VUnion<{
3660
3660
  toolCallId: string;
3661
3661
  toolName: string;
3662
3662
  } | {
3663
+ title?: string | undefined;
3663
3664
  providerOptions?: Record<string, Record<string, any>> | undefined;
3664
3665
  providerMetadata?: Record<string, Record<string, any>> | undefined;
3665
3666
  id: string;
3666
- title: string;
3667
3667
  type: "source";
3668
3668
  sourceType: "url";
3669
3669
  url: string;
@@ -3752,10 +3752,10 @@ export declare const vMessage: import("convex/values").VUnion<{
3752
3752
  toolCallId: string;
3753
3753
  toolName: string;
3754
3754
  } | {
3755
+ title?: string | undefined;
3755
3756
  providerOptions?: Record<string, Record<string, any>> | undefined;
3756
3757
  providerMetadata?: Record<string, Record<string, any>> | undefined;
3757
3758
  id: string;
3758
- title: string;
3759
3759
  type: "source";
3760
3760
  sourceType: "url";
3761
3761
  url: string;
@@ -3841,10 +3841,10 @@ export declare const vMessage: import("convex/values").VUnion<{
3841
3841
  toolCallId: string;
3842
3842
  toolName: string;
3843
3843
  } | {
3844
+ title?: string | undefined;
3844
3845
  providerOptions?: Record<string, Record<string, any>> | undefined;
3845
3846
  providerMetadata?: Record<string, Record<string, any>> | undefined;
3846
3847
  id: string;
3847
- title: string;
3848
3848
  type: "source";
3849
3849
  sourceType: "url";
3850
3850
  url: string;
@@ -3930,10 +3930,10 @@ export declare const vMessage: import("convex/values").VUnion<{
3930
3930
  toolCallId: string;
3931
3931
  toolName: string;
3932
3932
  } | {
3933
+ title?: string | undefined;
3933
3934
  providerOptions?: Record<string, Record<string, any>> | undefined;
3934
3935
  providerMetadata?: Record<string, Record<string, any>> | undefined;
3935
3936
  id: string;
3936
- title: string;
3937
3937
  type: "source";
3938
3938
  sourceType: "url";
3939
3939
  url: string;
@@ -4177,10 +4177,10 @@ export declare const vMessage: import("convex/values").VUnion<{
4177
4177
  mimeType: import("convex/values").VString<string | undefined, "optional">;
4178
4178
  }, "required", "type" | "mimeType" | "data">], "required", "type" | "text" | "mimeType" | "data">, "optional">;
4179
4179
  }, "required", "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "output" | "result" | "isError" | "experimental_content" | "output.type" | "output.value" | `output.value.${string}` | `result.${string}`>, import("convex/values").VUnion<{
4180
+ title?: string | undefined;
4180
4181
  providerOptions?: Record<string, Record<string, any>> | undefined;
4181
4182
  providerMetadata?: Record<string, Record<string, any>> | undefined;
4182
4183
  id: string;
4183
- title: string;
4184
4184
  type: "source";
4185
4185
  sourceType: "url";
4186
4186
  url: string;
@@ -4194,10 +4194,10 @@ export declare const vMessage: import("convex/values").VUnion<{
4194
4194
  mediaType: string;
4195
4195
  sourceType: "document";
4196
4196
  }, [import("convex/values").VObject<{
4197
+ title?: string | undefined;
4197
4198
  providerOptions?: Record<string, Record<string, any>> | undefined;
4198
4199
  providerMetadata?: Record<string, Record<string, any>> | undefined;
4199
4200
  id: string;
4200
- title: string;
4201
4201
  type: "source";
4202
4202
  sourceType: "url";
4203
4203
  url: string;
@@ -4206,7 +4206,7 @@ export declare const vMessage: import("convex/values").VUnion<{
4206
4206
  sourceType: import("convex/values").VLiteral<"url", "required">;
4207
4207
  id: import("convex/values").VString<string, "required">;
4208
4208
  url: import("convex/values").VString<string, "required">;
4209
- title: import("convex/values").VString<string, "required">;
4209
+ title: import("convex/values").VString<string | undefined, "optional">;
4210
4210
  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>;
4211
4211
  providerMetadata: 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>;
4212
4212
  }, "required", "id" | "title" | "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "sourceType" | "url">, import("convex/values").VObject<{
@@ -4767,10 +4767,10 @@ export declare const vMessageWithMetadataInternal: import("convex/values").VObje
4767
4767
  toolCallId: string;
4768
4768
  toolName: string;
4769
4769
  } | {
4770
+ title?: string | undefined;
4770
4771
  providerOptions?: Record<string, Record<string, any>> | undefined;
4771
4772
  providerMetadata?: Record<string, Record<string, any>> | undefined;
4772
4773
  id: string;
4773
- title: string;
4774
4774
  type: "source";
4775
4775
  sourceType: "url";
4776
4776
  url: string;
@@ -4932,10 +4932,10 @@ export declare const vMessageWithMetadataInternal: import("convex/values").VObje
4932
4932
  toolCallId: string;
4933
4933
  toolName: string;
4934
4934
  } | {
4935
+ title?: string | undefined;
4935
4936
  providerOptions?: Record<string, Record<string, any>> | undefined;
4936
4937
  providerMetadata?: Record<string, Record<string, any>> | undefined;
4937
4938
  id: string;
4938
- title: string;
4939
4939
  type: "source";
4940
4940
  sourceType: "url";
4941
4941
  url: string;
@@ -5184,10 +5184,10 @@ export declare const vMessageWithMetadataInternal: import("convex/values").VObje
5184
5184
  toolCallId: string;
5185
5185
  toolName: string;
5186
5186
  } | {
5187
+ title?: string | undefined;
5187
5188
  providerOptions?: Record<string, Record<string, any>> | undefined;
5188
5189
  providerMetadata?: Record<string, Record<string, any>> | undefined;
5189
5190
  id: string;
5190
- title: string;
5191
5191
  type: "source";
5192
5192
  sourceType: "url";
5193
5193
  url: string;
@@ -5276,10 +5276,10 @@ export declare const vMessageWithMetadataInternal: import("convex/values").VObje
5276
5276
  toolCallId: string;
5277
5277
  toolName: string;
5278
5278
  } | {
5279
+ title?: string | undefined;
5279
5280
  providerOptions?: Record<string, Record<string, any>> | undefined;
5280
5281
  providerMetadata?: Record<string, Record<string, any>> | undefined;
5281
5282
  id: string;
5282
- title: string;
5283
5283
  type: "source";
5284
5284
  sourceType: "url";
5285
5285
  url: string;
@@ -5365,10 +5365,10 @@ export declare const vMessageWithMetadataInternal: import("convex/values").VObje
5365
5365
  toolCallId: string;
5366
5366
  toolName: string;
5367
5367
  } | {
5368
+ title?: string | undefined;
5368
5369
  providerOptions?: Record<string, Record<string, any>> | undefined;
5369
5370
  providerMetadata?: Record<string, Record<string, any>> | undefined;
5370
5371
  id: string;
5371
- title: string;
5372
5372
  type: "source";
5373
5373
  sourceType: "url";
5374
5374
  url: string;
@@ -5454,10 +5454,10 @@ export declare const vMessageWithMetadataInternal: import("convex/values").VObje
5454
5454
  toolCallId: string;
5455
5455
  toolName: string;
5456
5456
  } | {
5457
+ title?: string | undefined;
5457
5458
  providerOptions?: Record<string, Record<string, any>> | undefined;
5458
5459
  providerMetadata?: Record<string, Record<string, any>> | undefined;
5459
5460
  id: string;
5460
- title: string;
5461
5461
  type: "source";
5462
5462
  sourceType: "url";
5463
5463
  url: string;
@@ -5701,10 +5701,10 @@ export declare const vMessageWithMetadataInternal: import("convex/values").VObje
5701
5701
  mimeType: import("convex/values").VString<string | undefined, "optional">;
5702
5702
  }, "required", "type" | "mimeType" | "data">], "required", "type" | "text" | "mimeType" | "data">, "optional">;
5703
5703
  }, "required", "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "output" | "result" | "isError" | "experimental_content" | "output.type" | "output.value" | `output.value.${string}` | `result.${string}`>, import("convex/values").VUnion<{
5704
+ title?: string | undefined;
5704
5705
  providerOptions?: Record<string, Record<string, any>> | undefined;
5705
5706
  providerMetadata?: Record<string, Record<string, any>> | undefined;
5706
5707
  id: string;
5707
- title: string;
5708
5708
  type: "source";
5709
5709
  sourceType: "url";
5710
5710
  url: string;
@@ -5718,10 +5718,10 @@ export declare const vMessageWithMetadataInternal: import("convex/values").VObje
5718
5718
  mediaType: string;
5719
5719
  sourceType: "document";
5720
5720
  }, [import("convex/values").VObject<{
5721
+ title?: string | undefined;
5721
5722
  providerOptions?: Record<string, Record<string, any>> | undefined;
5722
5723
  providerMetadata?: Record<string, Record<string, any>> | undefined;
5723
5724
  id: string;
5724
- title: string;
5725
5725
  type: "source";
5726
5726
  sourceType: "url";
5727
5727
  url: string;
@@ -5730,7 +5730,7 @@ export declare const vMessageWithMetadataInternal: import("convex/values").VObje
5730
5730
  sourceType: import("convex/values").VLiteral<"url", "required">;
5731
5731
  id: import("convex/values").VString<string, "required">;
5732
5732
  url: import("convex/values").VString<string, "required">;
5733
- title: import("convex/values").VString<string, "required">;
5733
+ title: import("convex/values").VString<string | undefined, "optional">;
5734
5734
  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>;
5735
5735
  providerMetadata: 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>;
5736
5736
  }, "required", "id" | "title" | "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "sourceType" | "url">, import("convex/values").VObject<{
@@ -6369,10 +6369,10 @@ export declare const vMessageWithMetadata: import("convex/values").VObject<{
6369
6369
  toolCallId: string;
6370
6370
  toolName: string;
6371
6371
  } | {
6372
+ title?: string | undefined;
6372
6373
  providerOptions?: Record<string, Record<string, any>> | undefined;
6373
6374
  providerMetadata?: Record<string, Record<string, any>> | undefined;
6374
6375
  id: string;
6375
- title: string;
6376
6376
  type: "source";
6377
6377
  sourceType: "url";
6378
6378
  url: string;
@@ -6535,10 +6535,10 @@ export declare const vMessageWithMetadata: import("convex/values").VObject<{
6535
6535
  toolCallId: string;
6536
6536
  toolName: string;
6537
6537
  } | {
6538
+ title?: string | undefined;
6538
6539
  providerOptions?: Record<string, Record<string, any>> | undefined;
6539
6540
  providerMetadata?: Record<string, Record<string, any>> | undefined;
6540
6541
  id: string;
6541
- title: string;
6542
6542
  type: "source";
6543
6543
  sourceType: "url";
6544
6544
  url: string;
@@ -6787,10 +6787,10 @@ export declare const vMessageWithMetadata: import("convex/values").VObject<{
6787
6787
  toolCallId: string;
6788
6788
  toolName: string;
6789
6789
  } | {
6790
+ title?: string | undefined;
6790
6791
  providerOptions?: Record<string, Record<string, any>> | undefined;
6791
6792
  providerMetadata?: Record<string, Record<string, any>> | undefined;
6792
6793
  id: string;
6793
- title: string;
6794
6794
  type: "source";
6795
6795
  sourceType: "url";
6796
6796
  url: string;
@@ -6879,10 +6879,10 @@ export declare const vMessageWithMetadata: import("convex/values").VObject<{
6879
6879
  toolCallId: string;
6880
6880
  toolName: string;
6881
6881
  } | {
6882
+ title?: string | undefined;
6882
6883
  providerOptions?: Record<string, Record<string, any>> | undefined;
6883
6884
  providerMetadata?: Record<string, Record<string, any>> | undefined;
6884
6885
  id: string;
6885
- title: string;
6886
6886
  type: "source";
6887
6887
  sourceType: "url";
6888
6888
  url: string;
@@ -6968,10 +6968,10 @@ export declare const vMessageWithMetadata: import("convex/values").VObject<{
6968
6968
  toolCallId: string;
6969
6969
  toolName: string;
6970
6970
  } | {
6971
+ title?: string | undefined;
6971
6972
  providerOptions?: Record<string, Record<string, any>> | undefined;
6972
6973
  providerMetadata?: Record<string, Record<string, any>> | undefined;
6973
6974
  id: string;
6974
- title: string;
6975
6975
  type: "source";
6976
6976
  sourceType: "url";
6977
6977
  url: string;
@@ -7057,10 +7057,10 @@ export declare const vMessageWithMetadata: import("convex/values").VObject<{
7057
7057
  toolCallId: string;
7058
7058
  toolName: string;
7059
7059
  } | {
7060
+ title?: string | undefined;
7060
7061
  providerOptions?: Record<string, Record<string, any>> | undefined;
7061
7062
  providerMetadata?: Record<string, Record<string, any>> | undefined;
7062
7063
  id: string;
7063
- title: string;
7064
7064
  type: "source";
7065
7065
  sourceType: "url";
7066
7066
  url: string;
@@ -7304,10 +7304,10 @@ export declare const vMessageWithMetadata: import("convex/values").VObject<{
7304
7304
  mimeType: import("convex/values").VString<string | undefined, "optional">;
7305
7305
  }, "required", "type" | "mimeType" | "data">], "required", "type" | "text" | "mimeType" | "data">, "optional">;
7306
7306
  }, "required", "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "output" | "result" | "isError" | "experimental_content" | "output.type" | "output.value" | `output.value.${string}` | `result.${string}`>, import("convex/values").VUnion<{
7307
+ title?: string | undefined;
7307
7308
  providerOptions?: Record<string, Record<string, any>> | undefined;
7308
7309
  providerMetadata?: Record<string, Record<string, any>> | undefined;
7309
7310
  id: string;
7310
- title: string;
7311
7311
  type: "source";
7312
7312
  sourceType: "url";
7313
7313
  url: string;
@@ -7321,10 +7321,10 @@ export declare const vMessageWithMetadata: import("convex/values").VObject<{
7321
7321
  mediaType: string;
7322
7322
  sourceType: "document";
7323
7323
  }, [import("convex/values").VObject<{
7324
+ title?: string | undefined;
7324
7325
  providerOptions?: Record<string, Record<string, any>> | undefined;
7325
7326
  providerMetadata?: Record<string, Record<string, any>> | undefined;
7326
7327
  id: string;
7327
- title: string;
7328
7328
  type: "source";
7329
7329
  sourceType: "url";
7330
7330
  url: string;
@@ -7333,7 +7333,7 @@ export declare const vMessageWithMetadata: import("convex/values").VObject<{
7333
7333
  sourceType: import("convex/values").VLiteral<"url", "required">;
7334
7334
  id: import("convex/values").VString<string, "required">;
7335
7335
  url: import("convex/values").VString<string, "required">;
7336
- title: import("convex/values").VString<string, "required">;
7336
+ title: import("convex/values").VString<string | undefined, "optional">;
7337
7337
  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>;
7338
7338
  providerMetadata: 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>;
7339
7339
  }, "required", "id" | "title" | "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "sourceType" | "url">, import("convex/values").VObject<{
@@ -8025,10 +8025,10 @@ export declare const vTextArgs: import("convex/values").VObject<{
8025
8025
  toolCallId: string;
8026
8026
  toolName: string;
8027
8027
  } | {
8028
+ title?: string | undefined;
8028
8029
  providerOptions?: Record<string, Record<string, any>> | undefined;
8029
8030
  providerMetadata?: Record<string, Record<string, any>> | undefined;
8030
8031
  id: string;
8031
- title: string;
8032
8032
  type: "source";
8033
8033
  sourceType: "url";
8034
8034
  url: string;
@@ -8244,10 +8244,10 @@ export declare const vTextArgs: import("convex/values").VObject<{
8244
8244
  toolCallId: string;
8245
8245
  toolName: string;
8246
8246
  } | {
8247
+ title?: string | undefined;
8247
8248
  providerOptions?: Record<string, Record<string, any>> | undefined;
8248
8249
  providerMetadata?: Record<string, Record<string, any>> | undefined;
8249
8250
  id: string;
8250
- title: string;
8251
8251
  type: "source";
8252
8252
  sourceType: "url";
8253
8253
  url: string;
@@ -8407,10 +8407,10 @@ export declare const vTextArgs: import("convex/values").VObject<{
8407
8407
  toolCallId: string;
8408
8408
  toolName: string;
8409
8409
  } | {
8410
+ title?: string | undefined;
8410
8411
  providerOptions?: Record<string, Record<string, any>> | undefined;
8411
8412
  providerMetadata?: Record<string, Record<string, any>> | undefined;
8412
8413
  id: string;
8413
- title: string;
8414
8414
  type: "source";
8415
8415
  sourceType: "url";
8416
8416
  url: string;
@@ -8659,10 +8659,10 @@ export declare const vTextArgs: import("convex/values").VObject<{
8659
8659
  toolCallId: string;
8660
8660
  toolName: string;
8661
8661
  } | {
8662
+ title?: string | undefined;
8662
8663
  providerOptions?: Record<string, Record<string, any>> | undefined;
8663
8664
  providerMetadata?: Record<string, Record<string, any>> | undefined;
8664
8665
  id: string;
8665
- title: string;
8666
8666
  type: "source";
8667
8667
  sourceType: "url";
8668
8668
  url: string;
@@ -8751,10 +8751,10 @@ export declare const vTextArgs: import("convex/values").VObject<{
8751
8751
  toolCallId: string;
8752
8752
  toolName: string;
8753
8753
  } | {
8754
+ title?: string | undefined;
8754
8755
  providerOptions?: Record<string, Record<string, any>> | undefined;
8755
8756
  providerMetadata?: Record<string, Record<string, any>> | undefined;
8756
8757
  id: string;
8757
- title: string;
8758
8758
  type: "source";
8759
8759
  sourceType: "url";
8760
8760
  url: string;
@@ -8840,10 +8840,10 @@ export declare const vTextArgs: import("convex/values").VObject<{
8840
8840
  toolCallId: string;
8841
8841
  toolName: string;
8842
8842
  } | {
8843
+ title?: string | undefined;
8843
8844
  providerOptions?: Record<string, Record<string, any>> | undefined;
8844
8845
  providerMetadata?: Record<string, Record<string, any>> | undefined;
8845
8846
  id: string;
8846
- title: string;
8847
8847
  type: "source";
8848
8848
  sourceType: "url";
8849
8849
  url: string;
@@ -8929,10 +8929,10 @@ export declare const vTextArgs: import("convex/values").VObject<{
8929
8929
  toolCallId: string;
8930
8930
  toolName: string;
8931
8931
  } | {
8932
+ title?: string | undefined;
8932
8933
  providerOptions?: Record<string, Record<string, any>> | undefined;
8933
8934
  providerMetadata?: Record<string, Record<string, any>> | undefined;
8934
8935
  id: string;
8935
- title: string;
8936
8936
  type: "source";
8937
8937
  sourceType: "url";
8938
8938
  url: string;
@@ -9176,10 +9176,10 @@ export declare const vTextArgs: import("convex/values").VObject<{
9176
9176
  mimeType: import("convex/values").VString<string | undefined, "optional">;
9177
9177
  }, "required", "type" | "mimeType" | "data">], "required", "type" | "text" | "mimeType" | "data">, "optional">;
9178
9178
  }, "required", "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "output" | "result" | "isError" | "experimental_content" | "output.type" | "output.value" | `output.value.${string}` | `result.${string}`>, import("convex/values").VUnion<{
9179
+ title?: string | undefined;
9179
9180
  providerOptions?: Record<string, Record<string, any>> | undefined;
9180
9181
  providerMetadata?: Record<string, Record<string, any>> | undefined;
9181
9182
  id: string;
9182
- title: string;
9183
9183
  type: "source";
9184
9184
  sourceType: "url";
9185
9185
  url: string;
@@ -9193,10 +9193,10 @@ export declare const vTextArgs: import("convex/values").VObject<{
9193
9193
  mediaType: string;
9194
9194
  sourceType: "document";
9195
9195
  }, [import("convex/values").VObject<{
9196
+ title?: string | undefined;
9196
9197
  providerOptions?: Record<string, Record<string, any>> | undefined;
9197
9198
  providerMetadata?: Record<string, Record<string, any>> | undefined;
9198
9199
  id: string;
9199
- title: string;
9200
9200
  type: "source";
9201
9201
  sourceType: "url";
9202
9202
  url: string;
@@ -9205,7 +9205,7 @@ export declare const vTextArgs: import("convex/values").VObject<{
9205
9205
  sourceType: import("convex/values").VLiteral<"url", "required">;
9206
9206
  id: import("convex/values").VString<string, "required">;
9207
9207
  url: import("convex/values").VString<string, "required">;
9208
- title: import("convex/values").VString<string, "required">;
9208
+ title: import("convex/values").VString<string | undefined, "optional">;
9209
9209
  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>;
9210
9210
  providerMetadata: 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>;
9211
9211
  }, "required", "id" | "title" | "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "sourceType" | "url">, import("convex/values").VObject<{
@@ -9672,10 +9672,10 @@ export declare const vSafeObjectArgs: import("convex/values").VObject<{
9672
9672
  toolCallId: string;
9673
9673
  toolName: string;
9674
9674
  } | {
9675
+ title?: string | undefined;
9675
9676
  providerOptions?: Record<string, Record<string, any>> | undefined;
9676
9677
  providerMetadata?: Record<string, Record<string, any>> | undefined;
9677
9678
  id: string;
9678
- title: string;
9679
9679
  type: "source";
9680
9680
  sourceType: "url";
9681
9681
  url: string;
@@ -9871,10 +9871,10 @@ export declare const vSafeObjectArgs: import("convex/values").VObject<{
9871
9871
  toolCallId: string;
9872
9872
  toolName: string;
9873
9873
  } | {
9874
+ title?: string | undefined;
9874
9875
  providerOptions?: Record<string, Record<string, any>> | undefined;
9875
9876
  providerMetadata?: Record<string, Record<string, any>> | undefined;
9876
9877
  id: string;
9877
- title: string;
9878
9878
  type: "source";
9879
9879
  sourceType: "url";
9880
9880
  url: string;
@@ -10034,10 +10034,10 @@ export declare const vSafeObjectArgs: import("convex/values").VObject<{
10034
10034
  toolCallId: string;
10035
10035
  toolName: string;
10036
10036
  } | {
10037
+ title?: string | undefined;
10037
10038
  providerOptions?: Record<string, Record<string, any>> | undefined;
10038
10039
  providerMetadata?: Record<string, Record<string, any>> | undefined;
10039
10040
  id: string;
10040
- title: string;
10041
10041
  type: "source";
10042
10042
  sourceType: "url";
10043
10043
  url: string;
@@ -10286,10 +10286,10 @@ export declare const vSafeObjectArgs: import("convex/values").VObject<{
10286
10286
  toolCallId: string;
10287
10287
  toolName: string;
10288
10288
  } | {
10289
+ title?: string | undefined;
10289
10290
  providerOptions?: Record<string, Record<string, any>> | undefined;
10290
10291
  providerMetadata?: Record<string, Record<string, any>> | undefined;
10291
10292
  id: string;
10292
- title: string;
10293
10293
  type: "source";
10294
10294
  sourceType: "url";
10295
10295
  url: string;
@@ -10378,10 +10378,10 @@ export declare const vSafeObjectArgs: import("convex/values").VObject<{
10378
10378
  toolCallId: string;
10379
10379
  toolName: string;
10380
10380
  } | {
10381
+ title?: string | undefined;
10381
10382
  providerOptions?: Record<string, Record<string, any>> | undefined;
10382
10383
  providerMetadata?: Record<string, Record<string, any>> | undefined;
10383
10384
  id: string;
10384
- title: string;
10385
10385
  type: "source";
10386
10386
  sourceType: "url";
10387
10387
  url: string;
@@ -10467,10 +10467,10 @@ export declare const vSafeObjectArgs: import("convex/values").VObject<{
10467
10467
  toolCallId: string;
10468
10468
  toolName: string;
10469
10469
  } | {
10470
+ title?: string | undefined;
10470
10471
  providerOptions?: Record<string, Record<string, any>> | undefined;
10471
10472
  providerMetadata?: Record<string, Record<string, any>> | undefined;
10472
10473
  id: string;
10473
- title: string;
10474
10474
  type: "source";
10475
10475
  sourceType: "url";
10476
10476
  url: string;
@@ -10556,10 +10556,10 @@ export declare const vSafeObjectArgs: import("convex/values").VObject<{
10556
10556
  toolCallId: string;
10557
10557
  toolName: string;
10558
10558
  } | {
10559
+ title?: string | undefined;
10559
10560
  providerOptions?: Record<string, Record<string, any>> | undefined;
10560
10561
  providerMetadata?: Record<string, Record<string, any>> | undefined;
10561
10562
  id: string;
10562
- title: string;
10563
10563
  type: "source";
10564
10564
  sourceType: "url";
10565
10565
  url: string;
@@ -10803,10 +10803,10 @@ export declare const vSafeObjectArgs: import("convex/values").VObject<{
10803
10803
  mimeType: import("convex/values").VString<string | undefined, "optional">;
10804
10804
  }, "required", "type" | "mimeType" | "data">], "required", "type" | "text" | "mimeType" | "data">, "optional">;
10805
10805
  }, "required", "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "output" | "result" | "isError" | "experimental_content" | "output.type" | "output.value" | `output.value.${string}` | `result.${string}`>, import("convex/values").VUnion<{
10806
+ title?: string | undefined;
10806
10807
  providerOptions?: Record<string, Record<string, any>> | undefined;
10807
10808
  providerMetadata?: Record<string, Record<string, any>> | undefined;
10808
10809
  id: string;
10809
- title: string;
10810
10810
  type: "source";
10811
10811
  sourceType: "url";
10812
10812
  url: string;
@@ -10820,10 +10820,10 @@ export declare const vSafeObjectArgs: import("convex/values").VObject<{
10820
10820
  mediaType: string;
10821
10821
  sourceType: "document";
10822
10822
  }, [import("convex/values").VObject<{
10823
+ title?: string | undefined;
10823
10824
  providerOptions?: Record<string, Record<string, any>> | undefined;
10824
10825
  providerMetadata?: Record<string, Record<string, any>> | undefined;
10825
10826
  id: string;
10826
- title: string;
10827
10827
  type: "source";
10828
10828
  sourceType: "url";
10829
10829
  url: string;
@@ -10832,7 +10832,7 @@ export declare const vSafeObjectArgs: import("convex/values").VObject<{
10832
10832
  sourceType: import("convex/values").VLiteral<"url", "required">;
10833
10833
  id: import("convex/values").VString<string, "required">;
10834
10834
  url: import("convex/values").VString<string, "required">;
10835
- title: import("convex/values").VString<string, "required">;
10835
+ title: import("convex/values").VString<string | undefined, "optional">;
10836
10836
  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>;
10837
10837
  providerMetadata: 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>;
10838
10838
  }, "required", "id" | "title" | "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "sourceType" | "url">, import("convex/values").VObject<{
@@ -11406,10 +11406,10 @@ export declare const vMessageDoc: import("convex/values").VObject<{
11406
11406
  toolCallId: string;
11407
11407
  toolName: string;
11408
11408
  } | {
11409
+ title?: string | undefined;
11409
11410
  providerOptions?: Record<string, Record<string, any>> | undefined;
11410
11411
  providerMetadata?: Record<string, Record<string, any>> | undefined;
11411
11412
  id: string;
11412
- title: string;
11413
11413
  type: "source";
11414
11414
  sourceType: "url";
11415
11415
  url: string;
@@ -11647,10 +11647,10 @@ export declare const vMessageDoc: import("convex/values").VObject<{
11647
11647
  toolCallId: string;
11648
11648
  toolName: string;
11649
11649
  } | {
11650
+ title?: string | undefined;
11650
11651
  providerOptions?: Record<string, Record<string, any>> | undefined;
11651
11652
  providerMetadata?: Record<string, Record<string, any>> | undefined;
11652
11653
  id: string;
11653
- title: string;
11654
11654
  type: "source";
11655
11655
  sourceType: "url";
11656
11656
  url: string;
@@ -11899,10 +11899,10 @@ export declare const vMessageDoc: import("convex/values").VObject<{
11899
11899
  toolCallId: string;
11900
11900
  toolName: string;
11901
11901
  } | {
11902
+ title?: string | undefined;
11902
11903
  providerOptions?: Record<string, Record<string, any>> | undefined;
11903
11904
  providerMetadata?: Record<string, Record<string, any>> | undefined;
11904
11905
  id: string;
11905
- title: string;
11906
11906
  type: "source";
11907
11907
  sourceType: "url";
11908
11908
  url: string;
@@ -11991,10 +11991,10 @@ export declare const vMessageDoc: import("convex/values").VObject<{
11991
11991
  toolCallId: string;
11992
11992
  toolName: string;
11993
11993
  } | {
11994
+ title?: string | undefined;
11994
11995
  providerOptions?: Record<string, Record<string, any>> | undefined;
11995
11996
  providerMetadata?: Record<string, Record<string, any>> | undefined;
11996
11997
  id: string;
11997
- title: string;
11998
11998
  type: "source";
11999
11999
  sourceType: "url";
12000
12000
  url: string;
@@ -12080,10 +12080,10 @@ export declare const vMessageDoc: import("convex/values").VObject<{
12080
12080
  toolCallId: string;
12081
12081
  toolName: string;
12082
12082
  } | {
12083
+ title?: string | undefined;
12083
12084
  providerOptions?: Record<string, Record<string, any>> | undefined;
12084
12085
  providerMetadata?: Record<string, Record<string, any>> | undefined;
12085
12086
  id: string;
12086
- title: string;
12087
12087
  type: "source";
12088
12088
  sourceType: "url";
12089
12089
  url: string;
@@ -12169,10 +12169,10 @@ export declare const vMessageDoc: import("convex/values").VObject<{
12169
12169
  toolCallId: string;
12170
12170
  toolName: string;
12171
12171
  } | {
12172
+ title?: string | undefined;
12172
12173
  providerOptions?: Record<string, Record<string, any>> | undefined;
12173
12174
  providerMetadata?: Record<string, Record<string, any>> | undefined;
12174
12175
  id: string;
12175
- title: string;
12176
12176
  type: "source";
12177
12177
  sourceType: "url";
12178
12178
  url: string;
@@ -12416,10 +12416,10 @@ export declare const vMessageDoc: import("convex/values").VObject<{
12416
12416
  mimeType: import("convex/values").VString<string | undefined, "optional">;
12417
12417
  }, "required", "type" | "mimeType" | "data">], "required", "type" | "text" | "mimeType" | "data">, "optional">;
12418
12418
  }, "required", "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "output" | "result" | "isError" | "experimental_content" | "output.type" | "output.value" | `output.value.${string}` | `result.${string}`>, import("convex/values").VUnion<{
12419
+ title?: string | undefined;
12419
12420
  providerOptions?: Record<string, Record<string, any>> | undefined;
12420
12421
  providerMetadata?: Record<string, Record<string, any>> | undefined;
12421
12422
  id: string;
12422
- title: string;
12423
12423
  type: "source";
12424
12424
  sourceType: "url";
12425
12425
  url: string;
@@ -12433,10 +12433,10 @@ export declare const vMessageDoc: import("convex/values").VObject<{
12433
12433
  mediaType: string;
12434
12434
  sourceType: "document";
12435
12435
  }, [import("convex/values").VObject<{
12436
+ title?: string | undefined;
12436
12437
  providerOptions?: Record<string, Record<string, any>> | undefined;
12437
12438
  providerMetadata?: Record<string, Record<string, any>> | undefined;
12438
12439
  id: string;
12439
- title: string;
12440
12440
  type: "source";
12441
12441
  sourceType: "url";
12442
12442
  url: string;
@@ -12445,7 +12445,7 @@ export declare const vMessageDoc: import("convex/values").VObject<{
12445
12445
  sourceType: import("convex/values").VLiteral<"url", "required">;
12446
12446
  id: import("convex/values").VString<string, "required">;
12447
12447
  url: import("convex/values").VString<string, "required">;
12448
- title: import("convex/values").VString<string, "required">;
12448
+ title: import("convex/values").VString<string | undefined, "optional">;
12449
12449
  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>;
12450
12450
  providerMetadata: 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>;
12451
12451
  }, "required", "id" | "title" | "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "sourceType" | "url">, import("convex/values").VObject<{