librechat-data-provider 0.8.509 → 0.8.521
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{data-service-XTxx76uB.js → data-service-DOIF4BkW.js} +1195 -91
- package/dist/data-service-DOIF4BkW.js.map +1 -0
- package/dist/{data-service-BsdHkdKS.mjs → data-service-pwrlWjJs.mjs} +1046 -92
- package/dist/data-service-pwrlWjJs.mjs.map +1 -0
- package/dist/index.js +457 -57
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +425 -58
- package/dist/index.mjs.map +1 -1
- package/dist/react-query/index.js +1 -1
- package/dist/react-query/index.js.map +1 -1
- package/dist/react-query/index.mjs +1 -1
- package/dist/react-query/index.mjs.map +1 -1
- package/dist/types/actions.d.ts +1 -1
- package/dist/types/api-endpoints.d.ts +10 -2
- package/dist/types/bedrock.d.ts +52 -0
- package/dist/types/config.d.ts +4142 -183
- package/dist/types/data-service.d.ts +27 -14
- package/dist/types/feedback.d.ts +9 -1
- package/dist/types/file-config.d.ts +41 -5
- package/dist/types/generate.d.ts +6 -0
- package/dist/types/keys.d.ts +6 -2
- package/dist/types/mcp.d.ts +45 -24
- package/dist/types/messages.d.ts +8 -0
- package/dist/types/models.d.ts +108 -0
- package/dist/types/parameterSettings.d.ts +2 -2
- package/dist/types/parsers.d.ts +3 -1
- package/dist/types/react-query/react-query-service.d.ts +2 -7
- package/dist/types/request.d.ts +3 -1
- package/dist/types/schemas.d.ts +167 -8
- package/dist/types/types/agents.d.ts +211 -1
- package/dist/types/types/assistants.d.ts +77 -5
- package/dist/types/types/files.d.ts +18 -7
- package/dist/types/types/mcpServers.d.ts +25 -0
- package/dist/types/types/mutations.d.ts +1 -0
- package/dist/types/types/queries.d.ts +17 -3
- package/dist/types/types/runs.d.ts +114 -25
- package/dist/types/types/skills.d.ts +25 -6
- package/dist/types/types.d.ts +115 -2
- package/dist/types/upload.d.ts +2 -0
- package/package.json +4 -4
- package/dist/data-service-BsdHkdKS.mjs.map +0 -1
- package/dist/data-service-XTxx76uB.js.map +0 -1
package/dist/types/models.d.ts
CHANGED
|
@@ -29,6 +29,14 @@ export type TModelSpec = {
|
|
|
29
29
|
showOnLanding?: boolean;
|
|
30
30
|
/** Conversation starter prompts shown on the chat landing while this spec is active. */
|
|
31
31
|
conversation_starters?: string[];
|
|
32
|
+
/**
|
|
33
|
+
* When false, the spec is omitted from the model selector menu and from the
|
|
34
|
+
* client startup config, but remains usable when invoked explicitly by name
|
|
35
|
+
* via the `spec` field (server-side resolution uses the full, unfiltered list).
|
|
36
|
+
* Unlike `showIconInMenu` (which only hides the icon), this hides the whole entry.
|
|
37
|
+
* Defaults to true (listed).
|
|
38
|
+
*/
|
|
39
|
+
showInMenu?: boolean;
|
|
32
40
|
iconURL?: string | EModelEndpoint;
|
|
33
41
|
authType?: AuthType;
|
|
34
42
|
/** Hide the chat input tool badge row while this model spec is active. */
|
|
@@ -36,6 +44,30 @@ export type TModelSpec = {
|
|
|
36
44
|
webSearch?: boolean;
|
|
37
45
|
fileSearch?: boolean;
|
|
38
46
|
executeCode?: boolean;
|
|
47
|
+
memory?: boolean;
|
|
48
|
+
/** Equip the spec's ephemeral agent with the `ask_user_question` HITL tool. */
|
|
49
|
+
askUserQuestion?: boolean;
|
|
50
|
+
/**
|
|
51
|
+
* Let the model dispatch tool calls in the background (poll results via
|
|
52
|
+
* `check_background_task`). Code execution is background-NATIVE: when the
|
|
53
|
+
* admin enables the `run_in_background` agent capability, an
|
|
54
|
+
* `executeCode: true` spec backgrounds code with no flag here. `true` opts
|
|
55
|
+
* in every other eligible tool; a string array opts in only the named
|
|
56
|
+
* tools, matched against the spec's resolved tool ids (e.g.
|
|
57
|
+
* `['slow_report_mcp_analytics']`; `execute_code` and `bash_tool` both
|
|
58
|
+
* select the code pair). `false`, the empty list, or a list that omits the
|
|
59
|
+
* code pair explicitly opts it back out. Requires the `run_in_background`
|
|
60
|
+
* agent capability.
|
|
61
|
+
*/
|
|
62
|
+
runInBackground?: boolean | string[];
|
|
63
|
+
/**
|
|
64
|
+
* Inject the `intent` label param so each call streams a live status label.
|
|
65
|
+
* `true` opts in every eligible tool; a string array opts in only the named
|
|
66
|
+
* tools, matched against the spec's resolved tool ids (e.g.
|
|
67
|
+
* `['web_search', 'search_code_mcp_github']`). Requires the `tool_intents`
|
|
68
|
+
* agent capability to be enabled by the admin.
|
|
69
|
+
*/
|
|
70
|
+
describeIntent?: boolean | string[];
|
|
39
71
|
artifacts?: string | boolean;
|
|
40
72
|
mcpServers?: string[];
|
|
41
73
|
skills?: boolean | string[];
|
|
@@ -64,6 +96,7 @@ export declare const tModelSpecSchema: z.ZodObject<{
|
|
|
64
96
|
endpointType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>>;
|
|
65
97
|
isArchived: z.ZodOptional<z.ZodBoolean>;
|
|
66
98
|
pinned: z.ZodOptional<z.ZodBoolean>;
|
|
99
|
+
isShared: z.ZodOptional<z.ZodBoolean>;
|
|
67
100
|
messages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
68
101
|
tools: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodObject<{
|
|
69
102
|
name: z.ZodString;
|
|
@@ -183,6 +216,8 @@ export declare const tModelSpecSchema: z.ZodObject<{
|
|
|
183
216
|
imageDetail: z.ZodOptional<z.ZodNativeEnum<typeof import("./schemas").ImageDetail>>;
|
|
184
217
|
reasoning_effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("./schemas").ReasoningEffort>>>;
|
|
185
218
|
reasoning_summary: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("./schemas").ReasoningSummary>>>;
|
|
219
|
+
reasoning_mode: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("./schemas").ReasoningMode>>>;
|
|
220
|
+
reasoning_context: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("./schemas").ReasoningContext>>>;
|
|
186
221
|
verbosity: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("./schemas").Verbosity>>>;
|
|
187
222
|
useResponsesApi: z.ZodOptional<z.ZodBoolean>;
|
|
188
223
|
effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("./schemas").AnthropicEffort>>>;
|
|
@@ -268,6 +303,7 @@ export declare const tModelSpecSchema: z.ZodObject<{
|
|
|
268
303
|
model?: string | null | undefined;
|
|
269
304
|
endpointType?: EModelEndpoint | null | undefined;
|
|
270
305
|
pinned?: boolean | undefined;
|
|
306
|
+
isShared?: boolean | undefined;
|
|
271
307
|
tools?: string[] | {
|
|
272
308
|
name: string;
|
|
273
309
|
pluginKey: string;
|
|
@@ -318,6 +354,8 @@ export declare const tModelSpecSchema: z.ZodObject<{
|
|
|
318
354
|
imageDetail?: import("./schemas").ImageDetail | undefined;
|
|
319
355
|
reasoning_effort?: import("./schemas").ReasoningEffort | null | undefined;
|
|
320
356
|
reasoning_summary?: import("./schemas").ReasoningSummary | null | undefined;
|
|
357
|
+
reasoning_mode?: import("./schemas").ReasoningMode | null | undefined;
|
|
358
|
+
reasoning_context?: import("./schemas").ReasoningContext | null | undefined;
|
|
321
359
|
verbosity?: import("./schemas").Verbosity | null | undefined;
|
|
322
360
|
useResponsesApi?: boolean | undefined;
|
|
323
361
|
effort?: import("./schemas").AnthropicEffort | null | undefined;
|
|
@@ -367,6 +405,7 @@ export declare const tModelSpecSchema: z.ZodObject<{
|
|
|
367
405
|
model?: string | null | undefined;
|
|
368
406
|
endpointType?: EModelEndpoint | null | undefined;
|
|
369
407
|
pinned?: boolean | undefined;
|
|
408
|
+
isShared?: boolean | undefined;
|
|
370
409
|
tools?: string[] | {
|
|
371
410
|
name: string;
|
|
372
411
|
pluginKey: string;
|
|
@@ -417,6 +456,8 @@ export declare const tModelSpecSchema: z.ZodObject<{
|
|
|
417
456
|
imageDetail?: import("./schemas").ImageDetail | undefined;
|
|
418
457
|
reasoning_effort?: import("./schemas").ReasoningEffort | null | undefined;
|
|
419
458
|
reasoning_summary?: import("./schemas").ReasoningSummary | null | undefined;
|
|
459
|
+
reasoning_mode?: import("./schemas").ReasoningMode | null | undefined;
|
|
460
|
+
reasoning_context?: import("./schemas").ReasoningContext | null | undefined;
|
|
420
461
|
verbosity?: import("./schemas").Verbosity | null | undefined;
|
|
421
462
|
useResponsesApi?: boolean | undefined;
|
|
422
463
|
effort?: import("./schemas").AnthropicEffort | null | undefined;
|
|
@@ -472,12 +513,17 @@ export declare const tModelSpecSchema: z.ZodObject<{
|
|
|
472
513
|
showIconInHeader: z.ZodOptional<z.ZodBoolean>;
|
|
473
514
|
showOnLanding: z.ZodOptional<z.ZodBoolean>;
|
|
474
515
|
conversation_starters: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
516
|
+
showInMenu: z.ZodOptional<z.ZodBoolean>;
|
|
475
517
|
iconURL: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNativeEnum<typeof EModelEndpoint>]>>;
|
|
476
518
|
authType: z.ZodOptional<z.ZodNativeEnum<typeof AuthType>>;
|
|
477
519
|
hideBadgeRow: z.ZodOptional<z.ZodBoolean>;
|
|
478
520
|
webSearch: z.ZodOptional<z.ZodBoolean>;
|
|
479
521
|
fileSearch: z.ZodOptional<z.ZodBoolean>;
|
|
480
522
|
executeCode: z.ZodOptional<z.ZodBoolean>;
|
|
523
|
+
memory: z.ZodOptional<z.ZodBoolean>;
|
|
524
|
+
askUserQuestion: z.ZodOptional<z.ZodBoolean>;
|
|
525
|
+
runInBackground: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodArray<z.ZodString, "many">]>>;
|
|
526
|
+
describeIntent: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodArray<z.ZodString, "many">]>>;
|
|
481
527
|
artifacts: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodBoolean]>>;
|
|
482
528
|
mcpServers: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
483
529
|
skills: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodArray<z.ZodString, "many">]>>;
|
|
@@ -502,6 +548,7 @@ export declare const tModelSpecSchema: z.ZodObject<{
|
|
|
502
548
|
model?: string | null | undefined;
|
|
503
549
|
endpointType?: EModelEndpoint | null | undefined;
|
|
504
550
|
pinned?: boolean | undefined;
|
|
551
|
+
isShared?: boolean | undefined;
|
|
505
552
|
tools?: string[] | {
|
|
506
553
|
name: string;
|
|
507
554
|
pluginKey: string;
|
|
@@ -552,6 +599,8 @@ export declare const tModelSpecSchema: z.ZodObject<{
|
|
|
552
599
|
imageDetail?: import("./schemas").ImageDetail | undefined;
|
|
553
600
|
reasoning_effort?: import("./schemas").ReasoningEffort | null | undefined;
|
|
554
601
|
reasoning_summary?: import("./schemas").ReasoningSummary | null | undefined;
|
|
602
|
+
reasoning_mode?: import("./schemas").ReasoningMode | null | undefined;
|
|
603
|
+
reasoning_context?: import("./schemas").ReasoningContext | null | undefined;
|
|
555
604
|
verbosity?: import("./schemas").Verbosity | null | undefined;
|
|
556
605
|
useResponsesApi?: boolean | undefined;
|
|
557
606
|
effort?: import("./schemas").AnthropicEffort | null | undefined;
|
|
@@ -609,11 +658,16 @@ export declare const tModelSpecSchema: z.ZodObject<{
|
|
|
609
658
|
showIconInHeader?: boolean | undefined;
|
|
610
659
|
showOnLanding?: boolean | undefined;
|
|
611
660
|
conversation_starters?: string[] | undefined;
|
|
661
|
+
showInMenu?: boolean | undefined;
|
|
612
662
|
authType?: AuthType | undefined;
|
|
613
663
|
hideBadgeRow?: boolean | undefined;
|
|
614
664
|
webSearch?: boolean | undefined;
|
|
615
665
|
fileSearch?: boolean | undefined;
|
|
616
666
|
executeCode?: boolean | undefined;
|
|
667
|
+
memory?: boolean | undefined;
|
|
668
|
+
askUserQuestion?: boolean | undefined;
|
|
669
|
+
runInBackground?: boolean | string[] | undefined;
|
|
670
|
+
describeIntent?: boolean | string[] | undefined;
|
|
617
671
|
mcpServers?: string[] | undefined;
|
|
618
672
|
skills?: boolean | string[] | undefined;
|
|
619
673
|
subagents?: {
|
|
@@ -629,6 +683,7 @@ export declare const tModelSpecSchema: z.ZodObject<{
|
|
|
629
683
|
model?: string | null | undefined;
|
|
630
684
|
endpointType?: EModelEndpoint | null | undefined;
|
|
631
685
|
pinned?: boolean | undefined;
|
|
686
|
+
isShared?: boolean | undefined;
|
|
632
687
|
tools?: string[] | {
|
|
633
688
|
name: string;
|
|
634
689
|
pluginKey: string;
|
|
@@ -679,6 +734,8 @@ export declare const tModelSpecSchema: z.ZodObject<{
|
|
|
679
734
|
imageDetail?: import("./schemas").ImageDetail | undefined;
|
|
680
735
|
reasoning_effort?: import("./schemas").ReasoningEffort | null | undefined;
|
|
681
736
|
reasoning_summary?: import("./schemas").ReasoningSummary | null | undefined;
|
|
737
|
+
reasoning_mode?: import("./schemas").ReasoningMode | null | undefined;
|
|
738
|
+
reasoning_context?: import("./schemas").ReasoningContext | null | undefined;
|
|
682
739
|
verbosity?: import("./schemas").Verbosity | null | undefined;
|
|
683
740
|
useResponsesApi?: boolean | undefined;
|
|
684
741
|
effort?: import("./schemas").AnthropicEffort | null | undefined;
|
|
@@ -736,11 +793,16 @@ export declare const tModelSpecSchema: z.ZodObject<{
|
|
|
736
793
|
showIconInHeader?: boolean | undefined;
|
|
737
794
|
showOnLanding?: boolean | undefined;
|
|
738
795
|
conversation_starters?: string[] | undefined;
|
|
796
|
+
showInMenu?: boolean | undefined;
|
|
739
797
|
authType?: AuthType | undefined;
|
|
740
798
|
hideBadgeRow?: boolean | undefined;
|
|
741
799
|
webSearch?: boolean | undefined;
|
|
742
800
|
fileSearch?: boolean | undefined;
|
|
743
801
|
executeCode?: boolean | undefined;
|
|
802
|
+
memory?: boolean | undefined;
|
|
803
|
+
askUserQuestion?: boolean | undefined;
|
|
804
|
+
runInBackground?: boolean | string[] | undefined;
|
|
805
|
+
describeIntent?: boolean | string[] | undefined;
|
|
744
806
|
mcpServers?: string[] | undefined;
|
|
745
807
|
skills?: boolean | string[] | undefined;
|
|
746
808
|
subagents?: {
|
|
@@ -762,6 +824,7 @@ export declare const specsConfigSchema: z.ZodObject<{
|
|
|
762
824
|
endpointType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>>;
|
|
763
825
|
isArchived: z.ZodOptional<z.ZodBoolean>;
|
|
764
826
|
pinned: z.ZodOptional<z.ZodBoolean>;
|
|
827
|
+
isShared: z.ZodOptional<z.ZodBoolean>;
|
|
765
828
|
messages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
766
829
|
tools: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodObject<{
|
|
767
830
|
name: z.ZodString;
|
|
@@ -881,6 +944,8 @@ export declare const specsConfigSchema: z.ZodObject<{
|
|
|
881
944
|
imageDetail: z.ZodOptional<z.ZodNativeEnum<typeof import("./schemas").ImageDetail>>;
|
|
882
945
|
reasoning_effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("./schemas").ReasoningEffort>>>;
|
|
883
946
|
reasoning_summary: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("./schemas").ReasoningSummary>>>;
|
|
947
|
+
reasoning_mode: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("./schemas").ReasoningMode>>>;
|
|
948
|
+
reasoning_context: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("./schemas").ReasoningContext>>>;
|
|
884
949
|
verbosity: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("./schemas").Verbosity>>>;
|
|
885
950
|
useResponsesApi: z.ZodOptional<z.ZodBoolean>;
|
|
886
951
|
effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("./schemas").AnthropicEffort>>>;
|
|
@@ -966,6 +1031,7 @@ export declare const specsConfigSchema: z.ZodObject<{
|
|
|
966
1031
|
model?: string | null | undefined;
|
|
967
1032
|
endpointType?: EModelEndpoint | null | undefined;
|
|
968
1033
|
pinned?: boolean | undefined;
|
|
1034
|
+
isShared?: boolean | undefined;
|
|
969
1035
|
tools?: string[] | {
|
|
970
1036
|
name: string;
|
|
971
1037
|
pluginKey: string;
|
|
@@ -1016,6 +1082,8 @@ export declare const specsConfigSchema: z.ZodObject<{
|
|
|
1016
1082
|
imageDetail?: import("./schemas").ImageDetail | undefined;
|
|
1017
1083
|
reasoning_effort?: import("./schemas").ReasoningEffort | null | undefined;
|
|
1018
1084
|
reasoning_summary?: import("./schemas").ReasoningSummary | null | undefined;
|
|
1085
|
+
reasoning_mode?: import("./schemas").ReasoningMode | null | undefined;
|
|
1086
|
+
reasoning_context?: import("./schemas").ReasoningContext | null | undefined;
|
|
1019
1087
|
verbosity?: import("./schemas").Verbosity | null | undefined;
|
|
1020
1088
|
useResponsesApi?: boolean | undefined;
|
|
1021
1089
|
effort?: import("./schemas").AnthropicEffort | null | undefined;
|
|
@@ -1065,6 +1133,7 @@ export declare const specsConfigSchema: z.ZodObject<{
|
|
|
1065
1133
|
model?: string | null | undefined;
|
|
1066
1134
|
endpointType?: EModelEndpoint | null | undefined;
|
|
1067
1135
|
pinned?: boolean | undefined;
|
|
1136
|
+
isShared?: boolean | undefined;
|
|
1068
1137
|
tools?: string[] | {
|
|
1069
1138
|
name: string;
|
|
1070
1139
|
pluginKey: string;
|
|
@@ -1115,6 +1184,8 @@ export declare const specsConfigSchema: z.ZodObject<{
|
|
|
1115
1184
|
imageDetail?: import("./schemas").ImageDetail | undefined;
|
|
1116
1185
|
reasoning_effort?: import("./schemas").ReasoningEffort | null | undefined;
|
|
1117
1186
|
reasoning_summary?: import("./schemas").ReasoningSummary | null | undefined;
|
|
1187
|
+
reasoning_mode?: import("./schemas").ReasoningMode | null | undefined;
|
|
1188
|
+
reasoning_context?: import("./schemas").ReasoningContext | null | undefined;
|
|
1118
1189
|
verbosity?: import("./schemas").Verbosity | null | undefined;
|
|
1119
1190
|
useResponsesApi?: boolean | undefined;
|
|
1120
1191
|
effort?: import("./schemas").AnthropicEffort | null | undefined;
|
|
@@ -1170,12 +1241,17 @@ export declare const specsConfigSchema: z.ZodObject<{
|
|
|
1170
1241
|
showIconInHeader: z.ZodOptional<z.ZodBoolean>;
|
|
1171
1242
|
showOnLanding: z.ZodOptional<z.ZodBoolean>;
|
|
1172
1243
|
conversation_starters: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1244
|
+
showInMenu: z.ZodOptional<z.ZodBoolean>;
|
|
1173
1245
|
iconURL: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNativeEnum<typeof EModelEndpoint>]>>;
|
|
1174
1246
|
authType: z.ZodOptional<z.ZodNativeEnum<typeof AuthType>>;
|
|
1175
1247
|
hideBadgeRow: z.ZodOptional<z.ZodBoolean>;
|
|
1176
1248
|
webSearch: z.ZodOptional<z.ZodBoolean>;
|
|
1177
1249
|
fileSearch: z.ZodOptional<z.ZodBoolean>;
|
|
1178
1250
|
executeCode: z.ZodOptional<z.ZodBoolean>;
|
|
1251
|
+
memory: z.ZodOptional<z.ZodBoolean>;
|
|
1252
|
+
askUserQuestion: z.ZodOptional<z.ZodBoolean>;
|
|
1253
|
+
runInBackground: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodArray<z.ZodString, "many">]>>;
|
|
1254
|
+
describeIntent: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodArray<z.ZodString, "many">]>>;
|
|
1179
1255
|
artifacts: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodBoolean]>>;
|
|
1180
1256
|
mcpServers: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1181
1257
|
skills: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodArray<z.ZodString, "many">]>>;
|
|
@@ -1200,6 +1276,7 @@ export declare const specsConfigSchema: z.ZodObject<{
|
|
|
1200
1276
|
model?: string | null | undefined;
|
|
1201
1277
|
endpointType?: EModelEndpoint | null | undefined;
|
|
1202
1278
|
pinned?: boolean | undefined;
|
|
1279
|
+
isShared?: boolean | undefined;
|
|
1203
1280
|
tools?: string[] | {
|
|
1204
1281
|
name: string;
|
|
1205
1282
|
pluginKey: string;
|
|
@@ -1250,6 +1327,8 @@ export declare const specsConfigSchema: z.ZodObject<{
|
|
|
1250
1327
|
imageDetail?: import("./schemas").ImageDetail | undefined;
|
|
1251
1328
|
reasoning_effort?: import("./schemas").ReasoningEffort | null | undefined;
|
|
1252
1329
|
reasoning_summary?: import("./schemas").ReasoningSummary | null | undefined;
|
|
1330
|
+
reasoning_mode?: import("./schemas").ReasoningMode | null | undefined;
|
|
1331
|
+
reasoning_context?: import("./schemas").ReasoningContext | null | undefined;
|
|
1253
1332
|
verbosity?: import("./schemas").Verbosity | null | undefined;
|
|
1254
1333
|
useResponsesApi?: boolean | undefined;
|
|
1255
1334
|
effort?: import("./schemas").AnthropicEffort | null | undefined;
|
|
@@ -1307,11 +1386,16 @@ export declare const specsConfigSchema: z.ZodObject<{
|
|
|
1307
1386
|
showIconInHeader?: boolean | undefined;
|
|
1308
1387
|
showOnLanding?: boolean | undefined;
|
|
1309
1388
|
conversation_starters?: string[] | undefined;
|
|
1389
|
+
showInMenu?: boolean | undefined;
|
|
1310
1390
|
authType?: AuthType | undefined;
|
|
1311
1391
|
hideBadgeRow?: boolean | undefined;
|
|
1312
1392
|
webSearch?: boolean | undefined;
|
|
1313
1393
|
fileSearch?: boolean | undefined;
|
|
1314
1394
|
executeCode?: boolean | undefined;
|
|
1395
|
+
memory?: boolean | undefined;
|
|
1396
|
+
askUserQuestion?: boolean | undefined;
|
|
1397
|
+
runInBackground?: boolean | string[] | undefined;
|
|
1398
|
+
describeIntent?: boolean | string[] | undefined;
|
|
1315
1399
|
mcpServers?: string[] | undefined;
|
|
1316
1400
|
skills?: boolean | string[] | undefined;
|
|
1317
1401
|
subagents?: {
|
|
@@ -1327,6 +1411,7 @@ export declare const specsConfigSchema: z.ZodObject<{
|
|
|
1327
1411
|
model?: string | null | undefined;
|
|
1328
1412
|
endpointType?: EModelEndpoint | null | undefined;
|
|
1329
1413
|
pinned?: boolean | undefined;
|
|
1414
|
+
isShared?: boolean | undefined;
|
|
1330
1415
|
tools?: string[] | {
|
|
1331
1416
|
name: string;
|
|
1332
1417
|
pluginKey: string;
|
|
@@ -1377,6 +1462,8 @@ export declare const specsConfigSchema: z.ZodObject<{
|
|
|
1377
1462
|
imageDetail?: import("./schemas").ImageDetail | undefined;
|
|
1378
1463
|
reasoning_effort?: import("./schemas").ReasoningEffort | null | undefined;
|
|
1379
1464
|
reasoning_summary?: import("./schemas").ReasoningSummary | null | undefined;
|
|
1465
|
+
reasoning_mode?: import("./schemas").ReasoningMode | null | undefined;
|
|
1466
|
+
reasoning_context?: import("./schemas").ReasoningContext | null | undefined;
|
|
1380
1467
|
verbosity?: import("./schemas").Verbosity | null | undefined;
|
|
1381
1468
|
useResponsesApi?: boolean | undefined;
|
|
1382
1469
|
effort?: import("./schemas").AnthropicEffort | null | undefined;
|
|
@@ -1434,11 +1521,16 @@ export declare const specsConfigSchema: z.ZodObject<{
|
|
|
1434
1521
|
showIconInHeader?: boolean | undefined;
|
|
1435
1522
|
showOnLanding?: boolean | undefined;
|
|
1436
1523
|
conversation_starters?: string[] | undefined;
|
|
1524
|
+
showInMenu?: boolean | undefined;
|
|
1437
1525
|
authType?: AuthType | undefined;
|
|
1438
1526
|
hideBadgeRow?: boolean | undefined;
|
|
1439
1527
|
webSearch?: boolean | undefined;
|
|
1440
1528
|
fileSearch?: boolean | undefined;
|
|
1441
1529
|
executeCode?: boolean | undefined;
|
|
1530
|
+
memory?: boolean | undefined;
|
|
1531
|
+
askUserQuestion?: boolean | undefined;
|
|
1532
|
+
runInBackground?: boolean | string[] | undefined;
|
|
1533
|
+
describeIntent?: boolean | string[] | undefined;
|
|
1442
1534
|
mcpServers?: string[] | undefined;
|
|
1443
1535
|
skills?: boolean | string[] | undefined;
|
|
1444
1536
|
subagents?: {
|
|
@@ -1459,6 +1551,7 @@ export declare const specsConfigSchema: z.ZodObject<{
|
|
|
1459
1551
|
model?: string | null | undefined;
|
|
1460
1552
|
endpointType?: EModelEndpoint | null | undefined;
|
|
1461
1553
|
pinned?: boolean | undefined;
|
|
1554
|
+
isShared?: boolean | undefined;
|
|
1462
1555
|
tools?: string[] | {
|
|
1463
1556
|
name: string;
|
|
1464
1557
|
pluginKey: string;
|
|
@@ -1509,6 +1602,8 @@ export declare const specsConfigSchema: z.ZodObject<{
|
|
|
1509
1602
|
imageDetail?: import("./schemas").ImageDetail | undefined;
|
|
1510
1603
|
reasoning_effort?: import("./schemas").ReasoningEffort | null | undefined;
|
|
1511
1604
|
reasoning_summary?: import("./schemas").ReasoningSummary | null | undefined;
|
|
1605
|
+
reasoning_mode?: import("./schemas").ReasoningMode | null | undefined;
|
|
1606
|
+
reasoning_context?: import("./schemas").ReasoningContext | null | undefined;
|
|
1512
1607
|
verbosity?: import("./schemas").Verbosity | null | undefined;
|
|
1513
1608
|
useResponsesApi?: boolean | undefined;
|
|
1514
1609
|
effort?: import("./schemas").AnthropicEffort | null | undefined;
|
|
@@ -1566,11 +1661,16 @@ export declare const specsConfigSchema: z.ZodObject<{
|
|
|
1566
1661
|
showIconInHeader?: boolean | undefined;
|
|
1567
1662
|
showOnLanding?: boolean | undefined;
|
|
1568
1663
|
conversation_starters?: string[] | undefined;
|
|
1664
|
+
showInMenu?: boolean | undefined;
|
|
1569
1665
|
authType?: AuthType | undefined;
|
|
1570
1666
|
hideBadgeRow?: boolean | undefined;
|
|
1571
1667
|
webSearch?: boolean | undefined;
|
|
1572
1668
|
fileSearch?: boolean | undefined;
|
|
1573
1669
|
executeCode?: boolean | undefined;
|
|
1670
|
+
memory?: boolean | undefined;
|
|
1671
|
+
askUserQuestion?: boolean | undefined;
|
|
1672
|
+
runInBackground?: boolean | string[] | undefined;
|
|
1673
|
+
describeIntent?: boolean | string[] | undefined;
|
|
1574
1674
|
mcpServers?: string[] | undefined;
|
|
1575
1675
|
skills?: boolean | string[] | undefined;
|
|
1576
1676
|
subagents?: {
|
|
@@ -1591,6 +1691,7 @@ export declare const specsConfigSchema: z.ZodObject<{
|
|
|
1591
1691
|
model?: string | null | undefined;
|
|
1592
1692
|
endpointType?: EModelEndpoint | null | undefined;
|
|
1593
1693
|
pinned?: boolean | undefined;
|
|
1694
|
+
isShared?: boolean | undefined;
|
|
1594
1695
|
tools?: string[] | {
|
|
1595
1696
|
name: string;
|
|
1596
1697
|
pluginKey: string;
|
|
@@ -1641,6 +1742,8 @@ export declare const specsConfigSchema: z.ZodObject<{
|
|
|
1641
1742
|
imageDetail?: import("./schemas").ImageDetail | undefined;
|
|
1642
1743
|
reasoning_effort?: import("./schemas").ReasoningEffort | null | undefined;
|
|
1643
1744
|
reasoning_summary?: import("./schemas").ReasoningSummary | null | undefined;
|
|
1745
|
+
reasoning_mode?: import("./schemas").ReasoningMode | null | undefined;
|
|
1746
|
+
reasoning_context?: import("./schemas").ReasoningContext | null | undefined;
|
|
1644
1747
|
verbosity?: import("./schemas").Verbosity | null | undefined;
|
|
1645
1748
|
useResponsesApi?: boolean | undefined;
|
|
1646
1749
|
effort?: import("./schemas").AnthropicEffort | null | undefined;
|
|
@@ -1698,11 +1801,16 @@ export declare const specsConfigSchema: z.ZodObject<{
|
|
|
1698
1801
|
showIconInHeader?: boolean | undefined;
|
|
1699
1802
|
showOnLanding?: boolean | undefined;
|
|
1700
1803
|
conversation_starters?: string[] | undefined;
|
|
1804
|
+
showInMenu?: boolean | undefined;
|
|
1701
1805
|
authType?: AuthType | undefined;
|
|
1702
1806
|
hideBadgeRow?: boolean | undefined;
|
|
1703
1807
|
webSearch?: boolean | undefined;
|
|
1704
1808
|
fileSearch?: boolean | undefined;
|
|
1705
1809
|
executeCode?: boolean | undefined;
|
|
1810
|
+
memory?: boolean | undefined;
|
|
1811
|
+
askUserQuestion?: boolean | undefined;
|
|
1812
|
+
runInBackground?: boolean | string[] | undefined;
|
|
1813
|
+
describeIntent?: boolean | string[] | undefined;
|
|
1706
1814
|
mcpServers?: string[] | undefined;
|
|
1707
1815
|
skills?: boolean | string[] | undefined;
|
|
1708
1816
|
subagents?: {
|
|
@@ -17,7 +17,7 @@ export declare const librechat: {
|
|
|
17
17
|
readonly labelCode: true;
|
|
18
18
|
readonly type: "number";
|
|
19
19
|
readonly component: "input";
|
|
20
|
-
readonly placeholder: "
|
|
20
|
+
readonly placeholder: "com_endpoint_default";
|
|
21
21
|
readonly placeholderCode: true;
|
|
22
22
|
readonly description: "com_endpoint_context_info";
|
|
23
23
|
readonly descriptionCode: true;
|
|
@@ -54,7 +54,7 @@ export declare const librechat: {
|
|
|
54
54
|
readonly labelCode: true;
|
|
55
55
|
readonly description: "com_ui_file_token_limit_desc";
|
|
56
56
|
readonly descriptionCode: true;
|
|
57
|
-
readonly placeholder: "
|
|
57
|
+
readonly placeholder: "com_endpoint_default";
|
|
58
58
|
readonly placeholderCode: true;
|
|
59
59
|
readonly type: "number";
|
|
60
60
|
readonly component: "input";
|
package/dist/types/parsers.d.ts
CHANGED
|
@@ -30,7 +30,9 @@ export declare const parseCompactConvo: ({ endpoint, endpointType, conversation,
|
|
|
30
30
|
possibleValues?: TPossibleValues;
|
|
31
31
|
defaultParamsEndpoint?: string | null;
|
|
32
32
|
}) => Omit<s.TConversation, "iconURL"> | null;
|
|
33
|
-
export declare function parseTextParts(contentParts: Array<a.TMessageContentParts | undefined>, skipReasoning?: boolean
|
|
33
|
+
export declare function parseTextParts(contentParts: Array<a.TMessageContentParts | undefined>, skipReasoning?: boolean, options?: {
|
|
34
|
+
includeSteer?: boolean;
|
|
35
|
+
}): string;
|
|
34
36
|
export declare const SEPARATORS: string[];
|
|
35
37
|
export declare function findLastSeparatorIndex(text: string, separators?: string[]): number;
|
|
36
38
|
export declare function replaceSpecialVars({ text, user, now: inputNow, timezone, }: {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { UseQueryOptions, UseMutationResult, QueryObserverResult } from '@tanstack/react-query';
|
|
2
|
+
import type { MCPReinitializeResponse } from '../types/mcpServers';
|
|
2
3
|
import { MCPServerConnectionStatusResponse } from '../types/queries';
|
|
3
4
|
import * as permissions from '../accessPermissions';
|
|
4
5
|
import { ResourceType } from '../accessPermissions';
|
|
@@ -29,13 +30,7 @@ export declare const useRequestPasswordResetMutation: () => UseMutationResult<t.
|
|
|
29
30
|
export declare const useResetPasswordMutation: () => UseMutationResult<unknown, unknown, t.TResetPassword, unknown>;
|
|
30
31
|
export declare const useAvailablePluginsQuery: <TData = s.TPlugin[]>(config?: UseQueryOptions<s.TPlugin[], unknown, TData>) => QueryObserverResult<TData>;
|
|
31
32
|
export declare const useUpdateUserPluginsMutation: (_options?: m.UpdatePluginAuthOptions) => UseMutationResult<t.TUser, unknown, t.TUpdateUserPlugins, unknown>;
|
|
32
|
-
export declare const useReinitializeMCPServerMutation: () => UseMutationResult<
|
|
33
|
-
success: boolean;
|
|
34
|
-
message: string;
|
|
35
|
-
serverName: string;
|
|
36
|
-
oauthRequired?: boolean;
|
|
37
|
-
oauthUrl?: string;
|
|
38
|
-
}, unknown, string, unknown>;
|
|
33
|
+
export declare const useReinitializeMCPServerMutation: () => UseMutationResult<MCPReinitializeResponse, unknown, string, unknown>;
|
|
39
34
|
export declare const useCancelMCPOAuthMutation: () => UseMutationResult<m.CancelMCPOAuthResponse, unknown, string, unknown>;
|
|
40
35
|
export declare const useGetCustomConfigSpeechQuery: (config?: UseQueryOptions<t.TCustomConfigSpeechResponse>) => QueryObserverResult<t.TCustomConfigSpeechResponse>;
|
|
41
36
|
export declare const useUpdateFeedbackMutation: (conversationId: string, messageId: string) => UseMutationResult<t.TUpdateFeedbackResponse, Error, t.TUpdateFeedbackRequest>;
|
package/dist/types/request.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AxiosRequestConfig } from 'axios';
|
|
1
|
+
import type { AxiosRequestConfig } from 'axios';
|
|
2
2
|
import type * as t from './types';
|
|
3
3
|
declare function _get<T>(url: string, options?: AxiosRequestConfig): Promise<T>;
|
|
4
4
|
declare function _getResponse<T>(url: string, options?: AxiosRequestConfig): Promise<T>;
|
|
@@ -9,6 +9,7 @@ declare function _put(url: string, data?: any): Promise<any>;
|
|
|
9
9
|
declare function _delete<T>(url: string): Promise<T>;
|
|
10
10
|
declare function _deleteWithOptions<T>(url: string, options?: AxiosRequestConfig): Promise<T>;
|
|
11
11
|
declare function _patch(url: string, data?: any): Promise<any>;
|
|
12
|
+
declare function _authenticatedFetch(url: string, options?: RequestInit): Promise<Response>;
|
|
12
13
|
declare const _default: {
|
|
13
14
|
get: typeof _get;
|
|
14
15
|
getResponse: typeof _getResponse;
|
|
@@ -19,6 +20,7 @@ declare const _default: {
|
|
|
19
20
|
delete: typeof _delete;
|
|
20
21
|
deleteWithOptions: typeof _deleteWithOptions;
|
|
21
22
|
patch: typeof _patch;
|
|
23
|
+
authenticatedFetch: typeof _authenticatedFetch;
|
|
22
24
|
refreshToken: (retry?: boolean) => Promise<t.TRefreshTokenResponse | undefined>;
|
|
23
25
|
dispatchTokenUpdatedEvent: (token: string) => void;
|
|
24
26
|
};
|