librechat-data-provider 0.8.507 → 0.8.509

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.
@@ -25,7 +25,7 @@ export * from './types/graph';
25
25
  export * from './accessPermissions';
26
26
  export * from './keys';
27
27
  export * from './headers-helpers';
28
- export { loginPage, registerPage, apiBaseUrl, buildLoginRedirectUrl } from './api-endpoints';
28
+ export { loginPage, registerPage, apiBaseUrl, sharedFileDownload, buildLoginRedirectUrl, } from './api-endpoints';
29
29
  export { default as request } from './request';
30
30
  export { dataService };
31
31
  import * as dataService from './data-service';
@@ -1,6 +1,7 @@
1
1
  export declare enum QueryKeys {
2
2
  messages = "messages",
3
3
  sharedMessages = "sharedMessages",
4
+ sharedStartupConfig = "sharedStartupConfig",
4
5
  sharedLinks = "sharedLinks",
5
6
  allConversations = "allConversations",
6
7
  archivedConversations = "archivedConversations",
@@ -188,6 +188,7 @@ export declare const tModelSpecSchema: z.ZodObject<{
188
188
  effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("./schemas").AnthropicEffort>>>;
189
189
  thinkingDisplay: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("./schemas").ThinkingDisplay>>>;
190
190
  web_search: z.ZodOptional<z.ZodBoolean>;
191
+ url_context: z.ZodOptional<z.ZodBoolean>;
191
192
  disableStreaming: z.ZodOptional<z.ZodBoolean>;
192
193
  assistant_id: z.ZodOptional<z.ZodString>;
193
194
  agent_id: z.ZodOptional<z.ZodString>;
@@ -322,6 +323,7 @@ export declare const tModelSpecSchema: z.ZodObject<{
322
323
  effort?: import("./schemas").AnthropicEffort | null | undefined;
323
324
  thinkingDisplay?: import("./schemas").ThinkingDisplay | null | undefined;
324
325
  web_search?: boolean | undefined;
326
+ url_context?: boolean | undefined;
325
327
  disableStreaming?: boolean | undefined;
326
328
  assistant_id?: string | undefined;
327
329
  agent_id?: string | undefined;
@@ -420,6 +422,7 @@ export declare const tModelSpecSchema: z.ZodObject<{
420
422
  effort?: import("./schemas").AnthropicEffort | null | undefined;
421
423
  thinkingDisplay?: import("./schemas").ThinkingDisplay | null | undefined;
422
424
  web_search?: boolean | undefined;
425
+ url_context?: boolean | undefined;
423
426
  disableStreaming?: boolean | undefined;
424
427
  assistant_id?: string | undefined;
425
428
  agent_id?: string | undefined;
@@ -554,6 +557,7 @@ export declare const tModelSpecSchema: z.ZodObject<{
554
557
  effort?: import("./schemas").AnthropicEffort | null | undefined;
555
558
  thinkingDisplay?: import("./schemas").ThinkingDisplay | null | undefined;
556
559
  web_search?: boolean | undefined;
560
+ url_context?: boolean | undefined;
557
561
  disableStreaming?: boolean | undefined;
558
562
  assistant_id?: string | undefined;
559
563
  agent_id?: string | undefined;
@@ -680,6 +684,7 @@ export declare const tModelSpecSchema: z.ZodObject<{
680
684
  effort?: import("./schemas").AnthropicEffort | null | undefined;
681
685
  thinkingDisplay?: import("./schemas").ThinkingDisplay | null | undefined;
682
686
  web_search?: boolean | undefined;
687
+ url_context?: boolean | undefined;
683
688
  disableStreaming?: boolean | undefined;
684
689
  assistant_id?: string | undefined;
685
690
  agent_id?: string | undefined;
@@ -881,6 +886,7 @@ export declare const specsConfigSchema: z.ZodObject<{
881
886
  effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("./schemas").AnthropicEffort>>>;
882
887
  thinkingDisplay: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("./schemas").ThinkingDisplay>>>;
883
888
  web_search: z.ZodOptional<z.ZodBoolean>;
889
+ url_context: z.ZodOptional<z.ZodBoolean>;
884
890
  disableStreaming: z.ZodOptional<z.ZodBoolean>;
885
891
  assistant_id: z.ZodOptional<z.ZodString>;
886
892
  agent_id: z.ZodOptional<z.ZodString>;
@@ -1015,6 +1021,7 @@ export declare const specsConfigSchema: z.ZodObject<{
1015
1021
  effort?: import("./schemas").AnthropicEffort | null | undefined;
1016
1022
  thinkingDisplay?: import("./schemas").ThinkingDisplay | null | undefined;
1017
1023
  web_search?: boolean | undefined;
1024
+ url_context?: boolean | undefined;
1018
1025
  disableStreaming?: boolean | undefined;
1019
1026
  assistant_id?: string | undefined;
1020
1027
  agent_id?: string | undefined;
@@ -1113,6 +1120,7 @@ export declare const specsConfigSchema: z.ZodObject<{
1113
1120
  effort?: import("./schemas").AnthropicEffort | null | undefined;
1114
1121
  thinkingDisplay?: import("./schemas").ThinkingDisplay | null | undefined;
1115
1122
  web_search?: boolean | undefined;
1123
+ url_context?: boolean | undefined;
1116
1124
  disableStreaming?: boolean | undefined;
1117
1125
  assistant_id?: string | undefined;
1118
1126
  agent_id?: string | undefined;
@@ -1247,6 +1255,7 @@ export declare const specsConfigSchema: z.ZodObject<{
1247
1255
  effort?: import("./schemas").AnthropicEffort | null | undefined;
1248
1256
  thinkingDisplay?: import("./schemas").ThinkingDisplay | null | undefined;
1249
1257
  web_search?: boolean | undefined;
1258
+ url_context?: boolean | undefined;
1250
1259
  disableStreaming?: boolean | undefined;
1251
1260
  assistant_id?: string | undefined;
1252
1261
  agent_id?: string | undefined;
@@ -1373,6 +1382,7 @@ export declare const specsConfigSchema: z.ZodObject<{
1373
1382
  effort?: import("./schemas").AnthropicEffort | null | undefined;
1374
1383
  thinkingDisplay?: import("./schemas").ThinkingDisplay | null | undefined;
1375
1384
  web_search?: boolean | undefined;
1385
+ url_context?: boolean | undefined;
1376
1386
  disableStreaming?: boolean | undefined;
1377
1387
  assistant_id?: string | undefined;
1378
1388
  agent_id?: string | undefined;
@@ -1504,6 +1514,7 @@ export declare const specsConfigSchema: z.ZodObject<{
1504
1514
  effort?: import("./schemas").AnthropicEffort | null | undefined;
1505
1515
  thinkingDisplay?: import("./schemas").ThinkingDisplay | null | undefined;
1506
1516
  web_search?: boolean | undefined;
1517
+ url_context?: boolean | undefined;
1507
1518
  disableStreaming?: boolean | undefined;
1508
1519
  assistant_id?: string | undefined;
1509
1520
  agent_id?: string | undefined;
@@ -1635,6 +1646,7 @@ export declare const specsConfigSchema: z.ZodObject<{
1635
1646
  effort?: import("./schemas").AnthropicEffort | null | undefined;
1636
1647
  thinkingDisplay?: import("./schemas").ThinkingDisplay | null | undefined;
1637
1648
  web_search?: boolean | undefined;
1649
+ url_context?: boolean | undefined;
1638
1650
  disableStreaming?: boolean | undefined;
1639
1651
  assistant_id?: string | undefined;
1640
1652
  agent_id?: string | undefined;
@@ -877,6 +877,14 @@ export declare const tMessageSchema: z.ZodObject<{
877
877
  * what actually ran, not the current catalog).
878
878
  */
879
879
  alwaysAppliedSkills: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
880
+ /**
881
+ * Verbatim excerpts the user quoted (via the "Add to chat" selection
882
+ * popup) to reference on this turn. UI metadata that `MessageQuotes`
883
+ * renders above the user bubble so the references persist on reload. The
884
+ * excerpts are merged into the user message text sent to the model at
885
+ * request time and counted in the user message token count.
886
+ */
887
+ quotes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
880
888
  }, "strip", z.ZodTypeAny, {
881
889
  conversationId: string | null;
882
890
  title: string | null;
@@ -917,6 +925,7 @@ export declare const tMessageSchema: z.ZodObject<{
917
925
  } | undefined;
918
926
  manualSkills?: string[] | undefined;
919
927
  alwaysAppliedSkills?: string[] | undefined;
928
+ quotes?: string[] | undefined;
920
929
  }, {
921
930
  conversationId: string | null;
922
931
  parentMessageId: string | null;
@@ -957,6 +966,7 @@ export declare const tMessageSchema: z.ZodObject<{
957
966
  } | undefined;
958
967
  manualSkills?: string[] | undefined;
959
968
  alwaysAppliedSkills?: string[] | undefined;
969
+ quotes?: string[] | undefined;
960
970
  }>;
961
971
  export type MemoryArtifact = {
962
972
  key: string;
@@ -1135,6 +1145,7 @@ export declare const tConversationSchema: z.ZodObject<{
1135
1145
  effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof AnthropicEffort>>>;
1136
1146
  thinkingDisplay: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ThinkingDisplay>>>;
1137
1147
  web_search: z.ZodOptional<z.ZodBoolean>;
1148
+ url_context: z.ZodOptional<z.ZodBoolean>;
1138
1149
  disableStreaming: z.ZodOptional<z.ZodBoolean>;
1139
1150
  assistant_id: z.ZodOptional<z.ZodString>;
1140
1151
  agent_id: z.ZodOptional<z.ZodString>;
@@ -1228,6 +1239,7 @@ export declare const tConversationSchema: z.ZodObject<{
1228
1239
  effort?: AnthropicEffort | null | undefined;
1229
1240
  thinkingDisplay?: ThinkingDisplay | null | undefined;
1230
1241
  web_search?: boolean | undefined;
1242
+ url_context?: boolean | undefined;
1231
1243
  disableStreaming?: boolean | undefined;
1232
1244
  assistant_id?: string | undefined;
1233
1245
  agent_id?: string | undefined;
@@ -1318,6 +1330,7 @@ export declare const tConversationSchema: z.ZodObject<{
1318
1330
  effort?: AnthropicEffort | null | undefined;
1319
1331
  thinkingDisplay?: ThinkingDisplay | null | undefined;
1320
1332
  web_search?: boolean | undefined;
1333
+ url_context?: boolean | undefined;
1321
1334
  disableStreaming?: boolean | undefined;
1322
1335
  assistant_id?: string | undefined;
1323
1336
  agent_id?: string | undefined;
@@ -1470,6 +1483,7 @@ export declare const tPresetSchema: z.ZodObject<{
1470
1483
  effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof AnthropicEffort>>>;
1471
1484
  thinkingDisplay: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ThinkingDisplay>>>;
1472
1485
  web_search: z.ZodOptional<z.ZodBoolean>;
1486
+ url_context: z.ZodOptional<z.ZodBoolean>;
1473
1487
  disableStreaming: z.ZodOptional<z.ZodBoolean>;
1474
1488
  assistant_id: z.ZodOptional<z.ZodString>;
1475
1489
  agent_id: z.ZodOptional<z.ZodString>;
@@ -1564,6 +1578,7 @@ export declare const tPresetSchema: z.ZodObject<{
1564
1578
  effort?: AnthropicEffort | null | undefined;
1565
1579
  thinkingDisplay?: ThinkingDisplay | null | undefined;
1566
1580
  web_search?: boolean | undefined;
1581
+ url_context?: boolean | undefined;
1567
1582
  disableStreaming?: boolean | undefined;
1568
1583
  assistant_id?: string | undefined;
1569
1584
  agent_id?: string | undefined;
@@ -1654,6 +1669,7 @@ export declare const tPresetSchema: z.ZodObject<{
1654
1669
  effort?: AnthropicEffort | null | undefined;
1655
1670
  thinkingDisplay?: ThinkingDisplay | null | undefined;
1656
1671
  web_search?: boolean | undefined;
1672
+ url_context?: boolean | undefined;
1657
1673
  disableStreaming?: boolean | undefined;
1658
1674
  assistant_id?: string | undefined;
1659
1675
  agent_id?: string | undefined;
@@ -1812,6 +1828,7 @@ export declare const tConvoUpdateSchema: z.ZodObject<{
1812
1828
  effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof AnthropicEffort>>>;
1813
1829
  thinkingDisplay: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ThinkingDisplay>>>;
1814
1830
  web_search: z.ZodOptional<z.ZodBoolean>;
1831
+ url_context: z.ZodOptional<z.ZodBoolean>;
1815
1832
  disableStreaming: z.ZodOptional<z.ZodBoolean>;
1816
1833
  assistant_id: z.ZodOptional<z.ZodString>;
1817
1834
  agent_id: z.ZodOptional<z.ZodString>;
@@ -1906,6 +1923,7 @@ export declare const tConvoUpdateSchema: z.ZodObject<{
1906
1923
  effort?: AnthropicEffort | null | undefined;
1907
1924
  thinkingDisplay?: ThinkingDisplay | null | undefined;
1908
1925
  web_search?: boolean | undefined;
1926
+ url_context?: boolean | undefined;
1909
1927
  disableStreaming?: boolean | undefined;
1910
1928
  assistant_id?: string | undefined;
1911
1929
  agent_id?: string | undefined;
@@ -1996,6 +2014,7 @@ export declare const tConvoUpdateSchema: z.ZodObject<{
1996
2014
  effort?: AnthropicEffort | null | undefined;
1997
2015
  thinkingDisplay?: ThinkingDisplay | null | undefined;
1998
2016
  web_search?: boolean | undefined;
2017
+ url_context?: boolean | undefined;
1999
2018
  disableStreaming?: boolean | undefined;
2000
2019
  assistant_id?: string | undefined;
2001
2020
  agent_id?: string | undefined;
@@ -2154,6 +2173,7 @@ export declare const tQueryParamsSchema: z.ZodObject<Pick<{
2154
2173
  effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof AnthropicEffort>>>;
2155
2174
  thinkingDisplay: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ThinkingDisplay>>>;
2156
2175
  web_search: z.ZodOptional<z.ZodBoolean>;
2176
+ url_context: z.ZodOptional<z.ZodBoolean>;
2157
2177
  disableStreaming: z.ZodOptional<z.ZodBoolean>;
2158
2178
  assistant_id: z.ZodOptional<z.ZodString>;
2159
2179
  agent_id: z.ZodOptional<z.ZodString>;
@@ -2176,7 +2196,7 @@ export declare const tQueryParamsSchema: z.ZodObject<Pick<{
2176
2196
  resendImages: z.ZodOptional<z.ZodBoolean>;
2177
2197
  /** @deprecated Prefer `modelLabel` over `chatGptLabel` */
2178
2198
  chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2179
- }, "model" | "promptPrefix" | "temperature" | "topP" | "topK" | "top_p" | "frequency_penalty" | "presence_penalty" | "maxOutputTokens" | "maxContextTokens" | "max_tokens" | "promptCache" | "promptCacheTtl" | "thinking" | "thinkingBudget" | "thinkingLevel" | "resendFiles" | "imageDetail" | "reasoning_effort" | "reasoning_summary" | "verbosity" | "useResponsesApi" | "effort" | "thinkingDisplay" | "web_search" | "disableStreaming" | "assistant_id" | "agent_id" | "region" | "maxTokens" | "instructions" | "append_current_datetime" | "stop" | "spec" | "fileTokenLimit"> & {
2199
+ }, "model" | "promptPrefix" | "temperature" | "topP" | "topK" | "top_p" | "frequency_penalty" | "presence_penalty" | "maxOutputTokens" | "maxContextTokens" | "max_tokens" | "promptCache" | "promptCacheTtl" | "thinking" | "thinkingBudget" | "thinkingLevel" | "resendFiles" | "imageDetail" | "reasoning_effort" | "reasoning_summary" | "verbosity" | "useResponsesApi" | "effort" | "thinkingDisplay" | "web_search" | "url_context" | "disableStreaming" | "assistant_id" | "agent_id" | "region" | "maxTokens" | "instructions" | "append_current_datetime" | "stop" | "spec" | "fileTokenLimit"> & {
2180
2200
  /** @endpoints openAI, custom, azureOpenAI, google, anthropic, assistants, azureAssistants, bedrock, agents */
2181
2201
  endpoint: z.ZodNullable<z.ZodUnion<[z.ZodNativeEnum<typeof EModelEndpoint>, z.ZodString]>>;
2182
2202
  }, "strip", z.ZodTypeAny, {
@@ -2206,6 +2226,7 @@ export declare const tQueryParamsSchema: z.ZodObject<Pick<{
2206
2226
  effort?: AnthropicEffort | null | undefined;
2207
2227
  thinkingDisplay?: ThinkingDisplay | null | undefined;
2208
2228
  web_search?: boolean | undefined;
2229
+ url_context?: boolean | undefined;
2209
2230
  disableStreaming?: boolean | undefined;
2210
2231
  assistant_id?: string | undefined;
2211
2232
  agent_id?: string | undefined;
@@ -2243,6 +2264,7 @@ export declare const tQueryParamsSchema: z.ZodObject<Pick<{
2243
2264
  effort?: AnthropicEffort | null | undefined;
2244
2265
  thinkingDisplay?: ThinkingDisplay | null | undefined;
2245
2266
  web_search?: boolean | undefined;
2267
+ url_context?: boolean | undefined;
2246
2268
  disableStreaming?: boolean | undefined;
2247
2269
  assistant_id?: string | undefined;
2248
2270
  agent_id?: string | undefined;
@@ -2393,6 +2415,7 @@ export declare const tModelSpecPresetSchema: z.ZodObject<Omit<{
2393
2415
  effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof AnthropicEffort>>>;
2394
2416
  thinkingDisplay: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ThinkingDisplay>>>;
2395
2417
  web_search: z.ZodOptional<z.ZodBoolean>;
2418
+ url_context: z.ZodOptional<z.ZodBoolean>;
2396
2419
  disableStreaming: z.ZodOptional<z.ZodBoolean>;
2397
2420
  assistant_id: z.ZodOptional<z.ZodString>;
2398
2421
  agent_id: z.ZodOptional<z.ZodString>;
@@ -2479,6 +2502,7 @@ export declare const tModelSpecPresetSchema: z.ZodObject<Omit<{
2479
2502
  effort?: AnthropicEffort | null | undefined;
2480
2503
  thinkingDisplay?: ThinkingDisplay | null | undefined;
2481
2504
  web_search?: boolean | undefined;
2505
+ url_context?: boolean | undefined;
2482
2506
  disableStreaming?: boolean | undefined;
2483
2507
  assistant_id?: string | undefined;
2484
2508
  agent_id?: string | undefined;
@@ -2553,6 +2577,7 @@ export declare const tModelSpecPresetSchema: z.ZodObject<Omit<{
2553
2577
  effort?: AnthropicEffort | null | undefined;
2554
2578
  thinkingDisplay?: ThinkingDisplay | null | undefined;
2555
2579
  web_search?: boolean | undefined;
2580
+ url_context?: boolean | undefined;
2556
2581
  disableStreaming?: boolean | undefined;
2557
2582
  assistant_id?: string | undefined;
2558
2583
  agent_id?: string | undefined;
@@ -2768,6 +2793,7 @@ export declare const googleBaseSchema: z.ZodObject<Pick<{
2768
2793
  effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof AnthropicEffort>>>;
2769
2794
  thinkingDisplay: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ThinkingDisplay>>>;
2770
2795
  web_search: z.ZodOptional<z.ZodBoolean>;
2796
+ url_context: z.ZodOptional<z.ZodBoolean>;
2771
2797
  disableStreaming: z.ZodOptional<z.ZodBoolean>;
2772
2798
  assistant_id: z.ZodOptional<z.ZodString>;
2773
2799
  agent_id: z.ZodOptional<z.ZodString>;
@@ -2790,7 +2816,7 @@ export declare const googleBaseSchema: z.ZodObject<Pick<{
2790
2816
  resendImages: z.ZodOptional<z.ZodBoolean>;
2791
2817
  /** @deprecated Prefer `modelLabel` over `chatGptLabel` */
2792
2818
  chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2793
- }, "model" | "modelLabel" | "promptPrefix" | "temperature" | "topP" | "topK" | "maxOutputTokens" | "maxContextTokens" | "thinking" | "thinkingBudget" | "thinkingLevel" | "artifacts" | "examples" | "chatProjectId" | "web_search" | "greeting" | "spec" | "iconURL" | "fileTokenLimit">, "strip", z.ZodTypeAny, {
2819
+ }, "model" | "modelLabel" | "promptPrefix" | "temperature" | "topP" | "topK" | "maxOutputTokens" | "maxContextTokens" | "thinking" | "thinkingBudget" | "thinkingLevel" | "artifacts" | "examples" | "chatProjectId" | "web_search" | "url_context" | "greeting" | "spec" | "iconURL" | "fileTokenLimit">, "strip", z.ZodTypeAny, {
2794
2820
  model?: string | null | undefined;
2795
2821
  modelLabel?: string | null | undefined;
2796
2822
  promptPrefix?: string | null | undefined;
@@ -2813,6 +2839,7 @@ export declare const googleBaseSchema: z.ZodObject<Pick<{
2813
2839
  }[] | undefined;
2814
2840
  chatProjectId?: string | null | undefined;
2815
2841
  web_search?: boolean | undefined;
2842
+ url_context?: boolean | undefined;
2816
2843
  greeting?: string | undefined;
2817
2844
  spec?: string | null | undefined;
2818
2845
  iconURL?: string | null | undefined;
@@ -2840,6 +2867,7 @@ export declare const googleBaseSchema: z.ZodObject<Pick<{
2840
2867
  }[] | undefined;
2841
2868
  chatProjectId?: string | null | undefined;
2842
2869
  web_search?: boolean | undefined;
2870
+ url_context?: boolean | undefined;
2843
2871
  greeting?: string | undefined;
2844
2872
  spec?: string | null | undefined;
2845
2873
  iconURL?: string | null | undefined;
@@ -2983,6 +3011,7 @@ export declare const googleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
2983
3011
  effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof AnthropicEffort>>>;
2984
3012
  thinkingDisplay: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ThinkingDisplay>>>;
2985
3013
  web_search: z.ZodOptional<z.ZodBoolean>;
3014
+ url_context: z.ZodOptional<z.ZodBoolean>;
2986
3015
  disableStreaming: z.ZodOptional<z.ZodBoolean>;
2987
3016
  assistant_id: z.ZodOptional<z.ZodString>;
2988
3017
  agent_id: z.ZodOptional<z.ZodString>;
@@ -3005,7 +3034,7 @@ export declare const googleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
3005
3034
  resendImages: z.ZodOptional<z.ZodBoolean>;
3006
3035
  /** @deprecated Prefer `modelLabel` over `chatGptLabel` */
3007
3036
  chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3008
- }, "model" | "modelLabel" | "promptPrefix" | "temperature" | "topP" | "topK" | "maxOutputTokens" | "maxContextTokens" | "thinking" | "thinkingBudget" | "thinkingLevel" | "artifacts" | "examples" | "chatProjectId" | "web_search" | "greeting" | "spec" | "iconURL" | "fileTokenLimit">, "strip", z.ZodTypeAny, {
3037
+ }, "model" | "modelLabel" | "promptPrefix" | "temperature" | "topP" | "topK" | "maxOutputTokens" | "maxContextTokens" | "thinking" | "thinkingBudget" | "thinkingLevel" | "artifacts" | "examples" | "chatProjectId" | "web_search" | "url_context" | "greeting" | "spec" | "iconURL" | "fileTokenLimit">, "strip", z.ZodTypeAny, {
3009
3038
  model?: string | null | undefined;
3010
3039
  modelLabel?: string | null | undefined;
3011
3040
  promptPrefix?: string | null | undefined;
@@ -3028,6 +3057,7 @@ export declare const googleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
3028
3057
  }[] | undefined;
3029
3058
  chatProjectId?: string | null | undefined;
3030
3059
  web_search?: boolean | undefined;
3060
+ url_context?: boolean | undefined;
3031
3061
  greeting?: string | undefined;
3032
3062
  spec?: string | null | undefined;
3033
3063
  iconURL?: string | null | undefined;
@@ -3055,6 +3085,7 @@ export declare const googleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
3055
3085
  }[] | undefined;
3056
3086
  chatProjectId?: string | null | undefined;
3057
3087
  web_search?: boolean | undefined;
3088
+ url_context?: boolean | undefined;
3058
3089
  greeting?: string | undefined;
3059
3090
  spec?: string | null | undefined;
3060
3091
  iconURL?: string | null | undefined;
@@ -3082,6 +3113,7 @@ export declare const googleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
3082
3113
  }[] | undefined;
3083
3114
  chatProjectId?: string | null | undefined;
3084
3115
  web_search?: boolean | undefined;
3116
+ url_context?: boolean | undefined;
3085
3117
  greeting?: string | undefined;
3086
3118
  spec?: string | null | undefined;
3087
3119
  iconURL?: string | null | undefined;
@@ -3115,12 +3147,14 @@ export declare const googleGenConfigSchema: z.ZodOptional<z.ZodObject<{
3115
3147
  includeThoughts?: boolean | undefined;
3116
3148
  }>>;
3117
3149
  web_search: z.ZodOptional<z.ZodBoolean>;
3150
+ url_context: z.ZodOptional<z.ZodBoolean>;
3118
3151
  }, "strip", z.ZodTypeAny, {
3119
3152
  temperature?: number | undefined;
3120
3153
  topP?: number | undefined;
3121
3154
  topK?: number | undefined;
3122
3155
  maxOutputTokens?: number | undefined;
3123
3156
  web_search?: boolean | undefined;
3157
+ url_context?: boolean | undefined;
3124
3158
  presencePenalty?: number | undefined;
3125
3159
  frequencyPenalty?: number | undefined;
3126
3160
  stopSequences?: string[] | undefined;
@@ -3135,6 +3169,7 @@ export declare const googleGenConfigSchema: z.ZodOptional<z.ZodObject<{
3135
3169
  topK?: string | number | undefined;
3136
3170
  maxOutputTokens?: string | number | undefined;
3137
3171
  web_search?: boolean | undefined;
3172
+ url_context?: boolean | undefined;
3138
3173
  presencePenalty?: string | number | undefined;
3139
3174
  frequencyPenalty?: string | number | undefined;
3140
3175
  stopSequences?: string[] | undefined;
@@ -3283,6 +3318,7 @@ export declare const assistantSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
3283
3318
  effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof AnthropicEffort>>>;
3284
3319
  thinkingDisplay: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ThinkingDisplay>>>;
3285
3320
  web_search: z.ZodOptional<z.ZodBoolean>;
3321
+ url_context: z.ZodOptional<z.ZodBoolean>;
3286
3322
  disableStreaming: z.ZodOptional<z.ZodBoolean>;
3287
3323
  assistant_id: z.ZodOptional<z.ZodString>;
3288
3324
  agent_id: z.ZodOptional<z.ZodString>;
@@ -3488,6 +3524,7 @@ export declare const compactAssistantSchema: z.ZodCatch<z.ZodEffects<z.ZodObject
3488
3524
  effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof AnthropicEffort>>>;
3489
3525
  thinkingDisplay: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ThinkingDisplay>>>;
3490
3526
  web_search: z.ZodOptional<z.ZodBoolean>;
3527
+ url_context: z.ZodOptional<z.ZodBoolean>;
3491
3528
  disableStreaming: z.ZodOptional<z.ZodBoolean>;
3492
3529
  assistant_id: z.ZodOptional<z.ZodString>;
3493
3530
  agent_id: z.ZodOptional<z.ZodString>;
@@ -3689,6 +3726,7 @@ export declare const agentsBaseSchema: z.ZodObject<Pick<{
3689
3726
  effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof AnthropicEffort>>>;
3690
3727
  thinkingDisplay: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ThinkingDisplay>>>;
3691
3728
  web_search: z.ZodOptional<z.ZodBoolean>;
3729
+ url_context: z.ZodOptional<z.ZodBoolean>;
3692
3730
  disableStreaming: z.ZodOptional<z.ZodBoolean>;
3693
3731
  assistant_id: z.ZodOptional<z.ZodString>;
3694
3732
  agent_id: z.ZodOptional<z.ZodString>;
@@ -3882,6 +3920,7 @@ export declare const agentsSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
3882
3920
  effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof AnthropicEffort>>>;
3883
3921
  thinkingDisplay: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ThinkingDisplay>>>;
3884
3922
  web_search: z.ZodOptional<z.ZodBoolean>;
3923
+ url_context: z.ZodOptional<z.ZodBoolean>;
3885
3924
  disableStreaming: z.ZodOptional<z.ZodBoolean>;
3886
3925
  assistant_id: z.ZodOptional<z.ZodString>;
3887
3926
  agent_id: z.ZodOptional<z.ZodString>;
@@ -4107,6 +4146,7 @@ export declare const openAIBaseSchema: z.ZodObject<Pick<{
4107
4146
  effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof AnthropicEffort>>>;
4108
4147
  thinkingDisplay: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ThinkingDisplay>>>;
4109
4148
  web_search: z.ZodOptional<z.ZodBoolean>;
4149
+ url_context: z.ZodOptional<z.ZodBoolean>;
4110
4150
  disableStreaming: z.ZodOptional<z.ZodBoolean>;
4111
4151
  assistant_id: z.ZodOptional<z.ZodString>;
4112
4152
  agent_id: z.ZodOptional<z.ZodString>;
@@ -4320,6 +4360,7 @@ export declare const openAISchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
4320
4360
  effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof AnthropicEffort>>>;
4321
4361
  thinkingDisplay: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ThinkingDisplay>>>;
4322
4362
  web_search: z.ZodOptional<z.ZodBoolean>;
4363
+ url_context: z.ZodOptional<z.ZodBoolean>;
4323
4364
  disableStreaming: z.ZodOptional<z.ZodBoolean>;
4324
4365
  assistant_id: z.ZodOptional<z.ZodString>;
4325
4366
  agent_id: z.ZodOptional<z.ZodString>;
@@ -4559,6 +4600,7 @@ export declare const openRouterSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<
4559
4600
  effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof AnthropicEffort>>>;
4560
4601
  thinkingDisplay: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ThinkingDisplay>>>;
4561
4602
  web_search: z.ZodOptional<z.ZodBoolean>;
4603
+ url_context: z.ZodOptional<z.ZodBoolean>;
4562
4604
  disableStreaming: z.ZodOptional<z.ZodBoolean>;
4563
4605
  assistant_id: z.ZodOptional<z.ZodString>;
4564
4606
  agent_id: z.ZodOptional<z.ZodString>;
@@ -4719,6 +4761,7 @@ export declare const openRouterSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<
4719
4761
  effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof AnthropicEffort>>>;
4720
4762
  thinkingDisplay: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ThinkingDisplay>>>;
4721
4763
  web_search: z.ZodOptional<z.ZodBoolean>;
4764
+ url_context: z.ZodOptional<z.ZodBoolean>;
4722
4765
  disableStreaming: z.ZodOptional<z.ZodBoolean>;
4723
4766
  assistant_id: z.ZodOptional<z.ZodString>;
4724
4767
  agent_id: z.ZodOptional<z.ZodString>;
@@ -4964,6 +5007,7 @@ export declare const compactGoogleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pi
4964
5007
  effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof AnthropicEffort>>>;
4965
5008
  thinkingDisplay: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ThinkingDisplay>>>;
4966
5009
  web_search: z.ZodOptional<z.ZodBoolean>;
5010
+ url_context: z.ZodOptional<z.ZodBoolean>;
4967
5011
  disableStreaming: z.ZodOptional<z.ZodBoolean>;
4968
5012
  assistant_id: z.ZodOptional<z.ZodString>;
4969
5013
  agent_id: z.ZodOptional<z.ZodString>;
@@ -4986,7 +5030,7 @@ export declare const compactGoogleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pi
4986
5030
  resendImages: z.ZodOptional<z.ZodBoolean>;
4987
5031
  /** @deprecated Prefer `modelLabel` over `chatGptLabel` */
4988
5032
  chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4989
- }, "model" | "modelLabel" | "promptPrefix" | "temperature" | "topP" | "topK" | "maxOutputTokens" | "maxContextTokens" | "thinking" | "thinkingBudget" | "thinkingLevel" | "artifacts" | "examples" | "chatProjectId" | "web_search" | "greeting" | "spec" | "iconURL" | "fileTokenLimit">, "strip", z.ZodTypeAny, {
5033
+ }, "model" | "modelLabel" | "promptPrefix" | "temperature" | "topP" | "topK" | "maxOutputTokens" | "maxContextTokens" | "thinking" | "thinkingBudget" | "thinkingLevel" | "artifacts" | "examples" | "chatProjectId" | "web_search" | "url_context" | "greeting" | "spec" | "iconURL" | "fileTokenLimit">, "strip", z.ZodTypeAny, {
4990
5034
  model?: string | null | undefined;
4991
5035
  modelLabel?: string | null | undefined;
4992
5036
  promptPrefix?: string | null | undefined;
@@ -5009,6 +5053,7 @@ export declare const compactGoogleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pi
5009
5053
  }[] | undefined;
5010
5054
  chatProjectId?: string | null | undefined;
5011
5055
  web_search?: boolean | undefined;
5056
+ url_context?: boolean | undefined;
5012
5057
  greeting?: string | undefined;
5013
5058
  spec?: string | null | undefined;
5014
5059
  iconURL?: string | null | undefined;
@@ -5036,6 +5081,7 @@ export declare const compactGoogleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pi
5036
5081
  }[] | undefined;
5037
5082
  chatProjectId?: string | null | undefined;
5038
5083
  web_search?: boolean | undefined;
5084
+ url_context?: boolean | undefined;
5039
5085
  greeting?: string | undefined;
5040
5086
  spec?: string | null | undefined;
5041
5087
  iconURL?: string | null | undefined;
@@ -5063,6 +5109,7 @@ export declare const compactGoogleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pi
5063
5109
  }[] | undefined;
5064
5110
  chatProjectId?: string | null | undefined;
5065
5111
  web_search?: boolean | undefined;
5112
+ url_context?: boolean | undefined;
5066
5113
  greeting?: string | undefined;
5067
5114
  spec?: string | null | undefined;
5068
5115
  iconURL?: string | null | undefined;
@@ -5206,6 +5253,7 @@ export declare const anthropicBaseSchema: z.ZodObject<Pick<{
5206
5253
  effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof AnthropicEffort>>>;
5207
5254
  thinkingDisplay: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ThinkingDisplay>>>;
5208
5255
  web_search: z.ZodOptional<z.ZodBoolean>;
5256
+ url_context: z.ZodOptional<z.ZodBoolean>;
5209
5257
  disableStreaming: z.ZodOptional<z.ZodBoolean>;
5210
5258
  assistant_id: z.ZodOptional<z.ZodString>;
5211
5259
  agent_id: z.ZodOptional<z.ZodString>;
@@ -5417,6 +5465,7 @@ export declare const anthropicSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
5417
5465
  effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof AnthropicEffort>>>;
5418
5466
  thinkingDisplay: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ThinkingDisplay>>>;
5419
5467
  web_search: z.ZodOptional<z.ZodBoolean>;
5468
+ url_context: z.ZodOptional<z.ZodBoolean>;
5420
5469
  disableStreaming: z.ZodOptional<z.ZodBoolean>;
5421
5470
  assistant_id: z.ZodOptional<z.ZodString>;
5422
5471
  agent_id: z.ZodOptional<z.ZodString>;
@@ -5707,6 +5756,7 @@ export declare const compactAgentsBaseSchema: z.ZodObject<Pick<{
5707
5756
  effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof AnthropicEffort>>>;
5708
5757
  thinkingDisplay: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ThinkingDisplay>>>;
5709
5758
  web_search: z.ZodOptional<z.ZodBoolean>;
5759
+ url_context: z.ZodOptional<z.ZodBoolean>;
5710
5760
  disableStreaming: z.ZodOptional<z.ZodBoolean>;
5711
5761
  assistant_id: z.ZodOptional<z.ZodString>;
5712
5762
  agent_id: z.ZodOptional<z.ZodString>;
@@ -5884,6 +5934,7 @@ export declare const compactAgentsSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pi
5884
5934
  effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof AnthropicEffort>>>;
5885
5935
  thinkingDisplay: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ThinkingDisplay>>>;
5886
5936
  web_search: z.ZodOptional<z.ZodBoolean>;
5937
+ url_context: z.ZodOptional<z.ZodBoolean>;
5887
5938
  disableStreaming: z.ZodOptional<z.ZodBoolean>;
5888
5939
  assistant_id: z.ZodOptional<z.ZodString>;
5889
5940
  agent_id: z.ZodOptional<z.ZodString>;
@@ -1,10 +1,10 @@
1
- import * as types from '../types';
2
- import * as r from '../roles';
3
- import * as p from '../permissions';
4
- import { Tools, Assistant, AssistantCreateParams, AssistantUpdateParams, FunctionTool, AssistantDocument, Agent, AgentCreateParams, AgentUpdateParams } from './assistants';
5
- import { Action, ActionMetadata } from './agents';
6
1
  import type { InfiniteData, QueryKey } from '@tanstack/react-query';
7
2
  import type { TSkill, TSkillFile, TCreateSkill, TUpdateSkillVariables, TUpdateSkillResponse, TDeleteSkillResponse, TUploadSkillFileVariables, TDeleteSkillFileVariables, TDeleteSkillFileResponse, TSkillListResponse } from './skills';
3
+ import { Tools, Assistant, AssistantCreateParams, AssistantUpdateParams, FunctionTool, AssistantDocument, Agent, AgentCreateParams, AgentUpdateParams } from './assistants';
4
+ import { Action, ActionMetadata } from './agents';
5
+ import * as p from '../permissions';
6
+ import * as types from '../types';
7
+ import * as r from '../roles';
8
8
  export type MutationOptions<Response, Request, Context = unknown, Error = unknown, Snapshot = void> = {
9
9
  onSuccess?: (data: Response, variables: Request, context?: Context) => void;
10
10
  onMutate?: (variables: Request) => Snapshot | Promise<Snapshot>;
@@ -255,6 +255,8 @@ export type TSharedLinkResponse = Pick<TSharedLink, 'shareId'> & Pick<TSharedLin
255
255
  export type TSharedLinkGetResponse = Omit<TSharedLinkResponse, 'shareId'> & {
256
256
  shareId: string | null;
257
257
  success: boolean;
258
+ /** Per-link "share files" choice; absent on legacy links (treated as enabled). */
259
+ snapshotFiles?: boolean;
258
260
  };
259
261
  export type TConversationTagsResponse = TConversationTag[];
260
262
  export type TConversationTagRequest = Partial<Omit<TConversationTag, 'createdAt' | 'updatedAt' | 'count' | 'user'>> & {
@@ -318,6 +320,8 @@ export type TConfig = {
318
320
  defaultParamsEndpoint?: string;
319
321
  reasoningFormat?: ReasoningParameterFormat;
320
322
  reasoningKey?: ReasoningResponseKey;
323
+ includeReasoningContent?: boolean;
324
+ includeReasoningHistory?: boolean;
321
325
  paramDefinitions?: Partial<SettingDefinition>[];
322
326
  };
323
327
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "librechat-data-provider",
3
- "version": "0.8.507",
3
+ "version": "0.8.509",
4
4
  "description": "data services for librechat apps",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",