librechat-data-provider 0.8.403 → 0.8.405
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/index.es.js +1 -1
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/react-query/index.es.js +1 -1
- package/dist/react-query/index.es.js.map +1 -1
- package/dist/types/api-endpoints.d.ts +1 -0
- package/dist/types/config.d.ts +1724 -679
- package/dist/types/data-service.d.ts +3 -0
- package/dist/types/file-config.d.ts +18 -18
- package/dist/types/mcp.d.ts +36 -42
- package/dist/types/models.d.ts +6 -136
- package/dist/types/schemas.d.ts +295 -0
- package/package.json +2 -1
|
@@ -221,6 +221,9 @@ export declare function getPromptGroup(id: string): Promise<t.TPromptGroup>;
|
|
|
221
221
|
export declare function createPrompt(payload: t.TCreatePrompt): Promise<t.TCreatePromptResponse>;
|
|
222
222
|
export declare function addPromptToGroup(groupId: string, payload: t.TCreatePrompt): Promise<t.TCreatePromptResponse>;
|
|
223
223
|
export declare function updatePromptGroup(variables: t.TUpdatePromptGroupVariables): Promise<t.TUpdatePromptGroupResponse>;
|
|
224
|
+
export declare function recordPromptGroupUsage(groupId: string): Promise<{
|
|
225
|
+
numberOfGenerations: number;
|
|
226
|
+
}>;
|
|
224
227
|
export declare function deletePrompt(payload: t.TDeletePromptVariables): Promise<t.TDeletePromptResponse>;
|
|
225
228
|
export declare function makePromptProduction(id: string): Promise<t.TMakePromptProductionResponse>;
|
|
226
229
|
export declare function updatePromptLabels(variables: t.TUpdatePromptLabelsRequest): Promise<t.TUpdatePromptLabelsResponse>;
|
|
@@ -120,19 +120,19 @@ export declare const endpointFileConfigSchema: z.ZodObject<{
|
|
|
120
120
|
fileLimit: z.ZodOptional<z.ZodNumber>;
|
|
121
121
|
fileSizeLimit: z.ZodOptional<z.ZodNumber>;
|
|
122
122
|
totalSizeLimit: z.ZodOptional<z.ZodNumber>;
|
|
123
|
-
supportedMimeTypes: z.ZodOptional<z.
|
|
123
|
+
supportedMimeTypes: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
124
124
|
}, "strip", z.ZodTypeAny, {
|
|
125
125
|
disabled?: boolean | undefined;
|
|
126
126
|
fileLimit?: number | undefined;
|
|
127
127
|
fileSizeLimit?: number | undefined;
|
|
128
128
|
totalSizeLimit?: number | undefined;
|
|
129
|
-
supportedMimeTypes?:
|
|
129
|
+
supportedMimeTypes?: string[] | undefined;
|
|
130
130
|
}, {
|
|
131
131
|
disabled?: boolean | undefined;
|
|
132
132
|
fileLimit?: number | undefined;
|
|
133
133
|
fileSizeLimit?: number | undefined;
|
|
134
134
|
totalSizeLimit?: number | undefined;
|
|
135
|
-
supportedMimeTypes?:
|
|
135
|
+
supportedMimeTypes?: string[] | undefined;
|
|
136
136
|
}>;
|
|
137
137
|
export declare const fileConfigSchema: z.ZodObject<{
|
|
138
138
|
endpoints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
@@ -140,19 +140,19 @@ export declare const fileConfigSchema: z.ZodObject<{
|
|
|
140
140
|
fileLimit: z.ZodOptional<z.ZodNumber>;
|
|
141
141
|
fileSizeLimit: z.ZodOptional<z.ZodNumber>;
|
|
142
142
|
totalSizeLimit: z.ZodOptional<z.ZodNumber>;
|
|
143
|
-
supportedMimeTypes: z.ZodOptional<z.
|
|
143
|
+
supportedMimeTypes: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
144
144
|
}, "strip", z.ZodTypeAny, {
|
|
145
145
|
disabled?: boolean | undefined;
|
|
146
146
|
fileLimit?: number | undefined;
|
|
147
147
|
fileSizeLimit?: number | undefined;
|
|
148
148
|
totalSizeLimit?: number | undefined;
|
|
149
|
-
supportedMimeTypes?:
|
|
149
|
+
supportedMimeTypes?: string[] | undefined;
|
|
150
150
|
}, {
|
|
151
151
|
disabled?: boolean | undefined;
|
|
152
152
|
fileLimit?: number | undefined;
|
|
153
153
|
fileSizeLimit?: number | undefined;
|
|
154
154
|
totalSizeLimit?: number | undefined;
|
|
155
|
-
supportedMimeTypes?:
|
|
155
|
+
supportedMimeTypes?: string[] | undefined;
|
|
156
156
|
}>>>;
|
|
157
157
|
serverFileSizeLimit: z.ZodOptional<z.ZodNumber>;
|
|
158
158
|
avatarSizeLimit: z.ZodOptional<z.ZodNumber>;
|
|
@@ -184,18 +184,18 @@ export declare const fileConfigSchema: z.ZodObject<{
|
|
|
184
184
|
quality?: number | undefined;
|
|
185
185
|
}>>;
|
|
186
186
|
ocr: z.ZodOptional<z.ZodObject<{
|
|
187
|
-
supportedMimeTypes: z.ZodOptional<z.
|
|
187
|
+
supportedMimeTypes: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
188
188
|
}, "strip", z.ZodTypeAny, {
|
|
189
|
-
supportedMimeTypes?:
|
|
189
|
+
supportedMimeTypes?: string[] | undefined;
|
|
190
190
|
}, {
|
|
191
|
-
supportedMimeTypes?:
|
|
191
|
+
supportedMimeTypes?: string[] | undefined;
|
|
192
192
|
}>>;
|
|
193
193
|
text: z.ZodOptional<z.ZodObject<{
|
|
194
|
-
supportedMimeTypes: z.ZodOptional<z.
|
|
194
|
+
supportedMimeTypes: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
195
195
|
}, "strip", z.ZodTypeAny, {
|
|
196
|
-
supportedMimeTypes?:
|
|
196
|
+
supportedMimeTypes?: string[] | undefined;
|
|
197
197
|
}, {
|
|
198
|
-
supportedMimeTypes?:
|
|
198
|
+
supportedMimeTypes?: string[] | undefined;
|
|
199
199
|
}>>;
|
|
200
200
|
}, "strip", z.ZodTypeAny, {
|
|
201
201
|
endpoints?: Record<string, {
|
|
@@ -203,7 +203,7 @@ export declare const fileConfigSchema: z.ZodObject<{
|
|
|
203
203
|
fileLimit?: number | undefined;
|
|
204
204
|
fileSizeLimit?: number | undefined;
|
|
205
205
|
totalSizeLimit?: number | undefined;
|
|
206
|
-
supportedMimeTypes?:
|
|
206
|
+
supportedMimeTypes?: string[] | undefined;
|
|
207
207
|
}> | undefined;
|
|
208
208
|
serverFileSizeLimit?: number | undefined;
|
|
209
209
|
avatarSizeLimit?: number | undefined;
|
|
@@ -219,10 +219,10 @@ export declare const fileConfigSchema: z.ZodObject<{
|
|
|
219
219
|
quality?: number | undefined;
|
|
220
220
|
} | undefined;
|
|
221
221
|
ocr?: {
|
|
222
|
-
supportedMimeTypes?:
|
|
222
|
+
supportedMimeTypes?: string[] | undefined;
|
|
223
223
|
} | undefined;
|
|
224
224
|
text?: {
|
|
225
|
-
supportedMimeTypes?:
|
|
225
|
+
supportedMimeTypes?: string[] | undefined;
|
|
226
226
|
} | undefined;
|
|
227
227
|
}, {
|
|
228
228
|
endpoints?: Record<string, {
|
|
@@ -230,7 +230,7 @@ export declare const fileConfigSchema: z.ZodObject<{
|
|
|
230
230
|
fileLimit?: number | undefined;
|
|
231
231
|
fileSizeLimit?: number | undefined;
|
|
232
232
|
totalSizeLimit?: number | undefined;
|
|
233
|
-
supportedMimeTypes?:
|
|
233
|
+
supportedMimeTypes?: string[] | undefined;
|
|
234
234
|
}> | undefined;
|
|
235
235
|
serverFileSizeLimit?: number | undefined;
|
|
236
236
|
avatarSizeLimit?: number | undefined;
|
|
@@ -246,10 +246,10 @@ export declare const fileConfigSchema: z.ZodObject<{
|
|
|
246
246
|
quality?: number | undefined;
|
|
247
247
|
} | undefined;
|
|
248
248
|
ocr?: {
|
|
249
|
-
supportedMimeTypes?:
|
|
249
|
+
supportedMimeTypes?: string[] | undefined;
|
|
250
250
|
} | undefined;
|
|
251
251
|
text?: {
|
|
252
|
-
supportedMimeTypes?:
|
|
252
|
+
supportedMimeTypes?: string[] | undefined;
|
|
253
253
|
} | undefined;
|
|
254
254
|
}>;
|
|
255
255
|
export type TFileConfig = z.infer<typeof fileConfigSchema>;
|
package/dist/types/mcp.d.ts
CHANGED
|
@@ -134,7 +134,7 @@ export declare const StdioOptionsSchema: z.ZodObject<{
|
|
|
134
134
|
description: string;
|
|
135
135
|
}>>>;
|
|
136
136
|
} & {
|
|
137
|
-
type: z.
|
|
137
|
+
type: z.ZodDefault<z.ZodLiteral<"stdio">>;
|
|
138
138
|
/**
|
|
139
139
|
* The executable to run to start the server.
|
|
140
140
|
*/
|
|
@@ -151,14 +151,13 @@ export declare const StdioOptionsSchema: z.ZodObject<{
|
|
|
151
151
|
*/
|
|
152
152
|
env: z.ZodEffects<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>, Record<string, string> | undefined, Record<string, string> | undefined>;
|
|
153
153
|
/**
|
|
154
|
-
* How to handle stderr of the child process.
|
|
155
|
-
*
|
|
156
|
-
*
|
|
157
|
-
*
|
|
158
|
-
* The default is "inherit", meaning messages to stderr will be printed to the parent process's stderr.
|
|
154
|
+
* How to handle stderr of the child process.
|
|
155
|
+
* Accepts: 'pipe' | 'ignore' | 'inherit' | file descriptor number.
|
|
156
|
+
* Defaults to "inherit".
|
|
159
157
|
*/
|
|
160
|
-
stderr: z.ZodOptional<z.
|
|
158
|
+
stderr: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["pipe", "ignore", "inherit"]>, z.ZodNumber]>>;
|
|
161
159
|
}, "strip", z.ZodTypeAny, {
|
|
160
|
+
type: "stdio";
|
|
162
161
|
command: string;
|
|
163
162
|
args: string[];
|
|
164
163
|
title?: string | undefined;
|
|
@@ -169,7 +168,6 @@ export declare const StdioOptionsSchema: z.ZodObject<{
|
|
|
169
168
|
sseReadTimeout?: number | undefined;
|
|
170
169
|
initTimeout?: number | undefined;
|
|
171
170
|
chatMenu?: boolean | undefined;
|
|
172
|
-
type?: "stdio" | undefined;
|
|
173
171
|
serverInstructions?: string | boolean | undefined;
|
|
174
172
|
requiresOAuth?: boolean | undefined;
|
|
175
173
|
oauth?: {
|
|
@@ -200,7 +198,7 @@ export declare const StdioOptionsSchema: z.ZodObject<{
|
|
|
200
198
|
description: string;
|
|
201
199
|
}> | undefined;
|
|
202
200
|
env?: Record<string, string> | undefined;
|
|
203
|
-
stderr?:
|
|
201
|
+
stderr?: number | "pipe" | "ignore" | "inherit" | undefined;
|
|
204
202
|
}, {
|
|
205
203
|
command: string;
|
|
206
204
|
args: string[];
|
|
@@ -243,7 +241,7 @@ export declare const StdioOptionsSchema: z.ZodObject<{
|
|
|
243
241
|
description: string;
|
|
244
242
|
}> | undefined;
|
|
245
243
|
env?: Record<string, string> | undefined;
|
|
246
|
-
stderr?:
|
|
244
|
+
stderr?: number | "pipe" | "ignore" | "inherit" | undefined;
|
|
247
245
|
}>;
|
|
248
246
|
export declare const WebSocketOptionsSchema: z.ZodObject<{
|
|
249
247
|
/** Display name for the MCP server - only letters, numbers, and spaces allowed */
|
|
@@ -379,9 +377,10 @@ export declare const WebSocketOptionsSchema: z.ZodObject<{
|
|
|
379
377
|
description: string;
|
|
380
378
|
}>>>;
|
|
381
379
|
} & {
|
|
382
|
-
type: z.
|
|
380
|
+
type: z.ZodDefault<z.ZodLiteral<"websocket">>;
|
|
383
381
|
url: z.ZodEffects<z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodString>, string, string>;
|
|
384
382
|
}, "strip", z.ZodTypeAny, {
|
|
383
|
+
type: "websocket";
|
|
385
384
|
url: string;
|
|
386
385
|
title?: string | undefined;
|
|
387
386
|
description?: string | undefined;
|
|
@@ -391,7 +390,6 @@ export declare const WebSocketOptionsSchema: z.ZodObject<{
|
|
|
391
390
|
sseReadTimeout?: number | undefined;
|
|
392
391
|
initTimeout?: number | undefined;
|
|
393
392
|
chatMenu?: boolean | undefined;
|
|
394
|
-
type?: "websocket" | undefined;
|
|
395
393
|
serverInstructions?: string | boolean | undefined;
|
|
396
394
|
requiresOAuth?: boolean | undefined;
|
|
397
395
|
oauth?: {
|
|
@@ -596,10 +594,11 @@ export declare const SSEOptionsSchema: z.ZodObject<{
|
|
|
596
594
|
description: string;
|
|
597
595
|
}>>>;
|
|
598
596
|
} & {
|
|
599
|
-
type: z.
|
|
597
|
+
type: z.ZodDefault<z.ZodLiteral<"sse">>;
|
|
600
598
|
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
601
599
|
url: z.ZodEffects<z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodString>, string, string>;
|
|
602
600
|
}, "strip", z.ZodTypeAny, {
|
|
601
|
+
type: "sse";
|
|
603
602
|
url: string;
|
|
604
603
|
title?: string | undefined;
|
|
605
604
|
description?: string | undefined;
|
|
@@ -609,7 +608,6 @@ export declare const SSEOptionsSchema: z.ZodObject<{
|
|
|
609
608
|
sseReadTimeout?: number | undefined;
|
|
610
609
|
initTimeout?: number | undefined;
|
|
611
610
|
chatMenu?: boolean | undefined;
|
|
612
|
-
type?: "sse" | undefined;
|
|
613
611
|
serverInstructions?: string | boolean | undefined;
|
|
614
612
|
requiresOAuth?: boolean | undefined;
|
|
615
613
|
oauth?: {
|
|
@@ -1036,7 +1034,7 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1036
1034
|
description: string;
|
|
1037
1035
|
}>>>;
|
|
1038
1036
|
} & {
|
|
1039
|
-
type: z.
|
|
1037
|
+
type: z.ZodDefault<z.ZodLiteral<"stdio">>;
|
|
1040
1038
|
/**
|
|
1041
1039
|
* The executable to run to start the server.
|
|
1042
1040
|
*/
|
|
@@ -1053,14 +1051,13 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1053
1051
|
*/
|
|
1054
1052
|
env: z.ZodEffects<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>, Record<string, string> | undefined, Record<string, string> | undefined>;
|
|
1055
1053
|
/**
|
|
1056
|
-
* How to handle stderr of the child process.
|
|
1057
|
-
*
|
|
1058
|
-
*
|
|
1059
|
-
*
|
|
1060
|
-
* The default is "inherit", meaning messages to stderr will be printed to the parent process's stderr.
|
|
1054
|
+
* How to handle stderr of the child process.
|
|
1055
|
+
* Accepts: 'pipe' | 'ignore' | 'inherit' | file descriptor number.
|
|
1056
|
+
* Defaults to "inherit".
|
|
1061
1057
|
*/
|
|
1062
|
-
stderr: z.ZodOptional<z.
|
|
1058
|
+
stderr: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["pipe", "ignore", "inherit"]>, z.ZodNumber]>>;
|
|
1063
1059
|
}, "strip", z.ZodTypeAny, {
|
|
1060
|
+
type: "stdio";
|
|
1064
1061
|
command: string;
|
|
1065
1062
|
args: string[];
|
|
1066
1063
|
title?: string | undefined;
|
|
@@ -1071,7 +1068,6 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1071
1068
|
sseReadTimeout?: number | undefined;
|
|
1072
1069
|
initTimeout?: number | undefined;
|
|
1073
1070
|
chatMenu?: boolean | undefined;
|
|
1074
|
-
type?: "stdio" | undefined;
|
|
1075
1071
|
serverInstructions?: string | boolean | undefined;
|
|
1076
1072
|
requiresOAuth?: boolean | undefined;
|
|
1077
1073
|
oauth?: {
|
|
@@ -1102,7 +1098,7 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1102
1098
|
description: string;
|
|
1103
1099
|
}> | undefined;
|
|
1104
1100
|
env?: Record<string, string> | undefined;
|
|
1105
|
-
stderr?:
|
|
1101
|
+
stderr?: number | "pipe" | "ignore" | "inherit" | undefined;
|
|
1106
1102
|
}, {
|
|
1107
1103
|
command: string;
|
|
1108
1104
|
args: string[];
|
|
@@ -1145,7 +1141,7 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1145
1141
|
description: string;
|
|
1146
1142
|
}> | undefined;
|
|
1147
1143
|
env?: Record<string, string> | undefined;
|
|
1148
|
-
stderr?:
|
|
1144
|
+
stderr?: number | "pipe" | "ignore" | "inherit" | undefined;
|
|
1149
1145
|
}>, z.ZodObject<{
|
|
1150
1146
|
/** Display name for the MCP server - only letters, numbers, and spaces allowed */
|
|
1151
1147
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -1280,9 +1276,10 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1280
1276
|
description: string;
|
|
1281
1277
|
}>>>;
|
|
1282
1278
|
} & {
|
|
1283
|
-
type: z.
|
|
1279
|
+
type: z.ZodDefault<z.ZodLiteral<"websocket">>;
|
|
1284
1280
|
url: z.ZodEffects<z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodString>, string, string>;
|
|
1285
1281
|
}, "strip", z.ZodTypeAny, {
|
|
1282
|
+
type: "websocket";
|
|
1286
1283
|
url: string;
|
|
1287
1284
|
title?: string | undefined;
|
|
1288
1285
|
description?: string | undefined;
|
|
@@ -1292,7 +1289,6 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1292
1289
|
sseReadTimeout?: number | undefined;
|
|
1293
1290
|
initTimeout?: number | undefined;
|
|
1294
1291
|
chatMenu?: boolean | undefined;
|
|
1295
|
-
type?: "websocket" | undefined;
|
|
1296
1292
|
serverInstructions?: string | boolean | undefined;
|
|
1297
1293
|
requiresOAuth?: boolean | undefined;
|
|
1298
1294
|
oauth?: {
|
|
@@ -1496,10 +1492,11 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1496
1492
|
description: string;
|
|
1497
1493
|
}>>>;
|
|
1498
1494
|
} & {
|
|
1499
|
-
type: z.
|
|
1495
|
+
type: z.ZodDefault<z.ZodLiteral<"sse">>;
|
|
1500
1496
|
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1501
1497
|
url: z.ZodEffects<z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodString>, string, string>;
|
|
1502
1498
|
}, "strip", z.ZodTypeAny, {
|
|
1499
|
+
type: "sse";
|
|
1503
1500
|
url: string;
|
|
1504
1501
|
title?: string | undefined;
|
|
1505
1502
|
description?: string | undefined;
|
|
@@ -1509,7 +1506,6 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1509
1506
|
sseReadTimeout?: number | undefined;
|
|
1510
1507
|
initTimeout?: number | undefined;
|
|
1511
1508
|
chatMenu?: boolean | undefined;
|
|
1512
|
-
type?: "sse" | undefined;
|
|
1513
1509
|
serverInstructions?: string | boolean | undefined;
|
|
1514
1510
|
requiresOAuth?: boolean | undefined;
|
|
1515
1511
|
oauth?: {
|
|
@@ -1935,7 +1931,7 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
|
|
|
1935
1931
|
description: string;
|
|
1936
1932
|
}>>>;
|
|
1937
1933
|
} & {
|
|
1938
|
-
type: z.
|
|
1934
|
+
type: z.ZodDefault<z.ZodLiteral<"stdio">>;
|
|
1939
1935
|
/**
|
|
1940
1936
|
* The executable to run to start the server.
|
|
1941
1937
|
*/
|
|
@@ -1952,14 +1948,13 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
|
|
|
1952
1948
|
*/
|
|
1953
1949
|
env: z.ZodEffects<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>, Record<string, string> | undefined, Record<string, string> | undefined>;
|
|
1954
1950
|
/**
|
|
1955
|
-
* How to handle stderr of the child process.
|
|
1956
|
-
*
|
|
1957
|
-
*
|
|
1958
|
-
*
|
|
1959
|
-
* The default is "inherit", meaning messages to stderr will be printed to the parent process's stderr.
|
|
1951
|
+
* How to handle stderr of the child process.
|
|
1952
|
+
* Accepts: 'pipe' | 'ignore' | 'inherit' | file descriptor number.
|
|
1953
|
+
* Defaults to "inherit".
|
|
1960
1954
|
*/
|
|
1961
|
-
stderr: z.ZodOptional<z.
|
|
1955
|
+
stderr: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["pipe", "ignore", "inherit"]>, z.ZodNumber]>>;
|
|
1962
1956
|
}, "strip", z.ZodTypeAny, {
|
|
1957
|
+
type: "stdio";
|
|
1963
1958
|
command: string;
|
|
1964
1959
|
args: string[];
|
|
1965
1960
|
title?: string | undefined;
|
|
@@ -1970,7 +1965,6 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
|
|
|
1970
1965
|
sseReadTimeout?: number | undefined;
|
|
1971
1966
|
initTimeout?: number | undefined;
|
|
1972
1967
|
chatMenu?: boolean | undefined;
|
|
1973
|
-
type?: "stdio" | undefined;
|
|
1974
1968
|
serverInstructions?: string | boolean | undefined;
|
|
1975
1969
|
requiresOAuth?: boolean | undefined;
|
|
1976
1970
|
oauth?: {
|
|
@@ -2001,7 +1995,7 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
|
|
|
2001
1995
|
description: string;
|
|
2002
1996
|
}> | undefined;
|
|
2003
1997
|
env?: Record<string, string> | undefined;
|
|
2004
|
-
stderr?:
|
|
1998
|
+
stderr?: number | "pipe" | "ignore" | "inherit" | undefined;
|
|
2005
1999
|
}, {
|
|
2006
2000
|
command: string;
|
|
2007
2001
|
args: string[];
|
|
@@ -2044,7 +2038,7 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
|
|
|
2044
2038
|
description: string;
|
|
2045
2039
|
}> | undefined;
|
|
2046
2040
|
env?: Record<string, string> | undefined;
|
|
2047
|
-
stderr?:
|
|
2041
|
+
stderr?: number | "pipe" | "ignore" | "inherit" | undefined;
|
|
2048
2042
|
}>, z.ZodObject<{
|
|
2049
2043
|
/** Display name for the MCP server - only letters, numbers, and spaces allowed */
|
|
2050
2044
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -2179,9 +2173,10 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
|
|
|
2179
2173
|
description: string;
|
|
2180
2174
|
}>>>;
|
|
2181
2175
|
} & {
|
|
2182
|
-
type: z.
|
|
2176
|
+
type: z.ZodDefault<z.ZodLiteral<"websocket">>;
|
|
2183
2177
|
url: z.ZodEffects<z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodString>, string, string>;
|
|
2184
2178
|
}, "strip", z.ZodTypeAny, {
|
|
2179
|
+
type: "websocket";
|
|
2185
2180
|
url: string;
|
|
2186
2181
|
title?: string | undefined;
|
|
2187
2182
|
description?: string | undefined;
|
|
@@ -2191,7 +2186,6 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
|
|
|
2191
2186
|
sseReadTimeout?: number | undefined;
|
|
2192
2187
|
initTimeout?: number | undefined;
|
|
2193
2188
|
chatMenu?: boolean | undefined;
|
|
2194
|
-
type?: "websocket" | undefined;
|
|
2195
2189
|
serverInstructions?: string | boolean | undefined;
|
|
2196
2190
|
requiresOAuth?: boolean | undefined;
|
|
2197
2191
|
oauth?: {
|
|
@@ -2395,10 +2389,11 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
|
|
|
2395
2389
|
description: string;
|
|
2396
2390
|
}>>>;
|
|
2397
2391
|
} & {
|
|
2398
|
-
type: z.
|
|
2392
|
+
type: z.ZodDefault<z.ZodLiteral<"sse">>;
|
|
2399
2393
|
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2400
2394
|
url: z.ZodEffects<z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodString>, string, string>;
|
|
2401
2395
|
}, "strip", z.ZodTypeAny, {
|
|
2396
|
+
type: "sse";
|
|
2402
2397
|
url: string;
|
|
2403
2398
|
title?: string | undefined;
|
|
2404
2399
|
description?: string | undefined;
|
|
@@ -2408,7 +2403,6 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
|
|
|
2408
2403
|
sseReadTimeout?: number | undefined;
|
|
2409
2404
|
initTimeout?: number | undefined;
|
|
2410
2405
|
chatMenu?: boolean | undefined;
|
|
2411
|
-
type?: "sse" | undefined;
|
|
2412
2406
|
serverInstructions?: string | boolean | undefined;
|
|
2413
2407
|
requiresOAuth?: boolean | undefined;
|
|
2414
2408
|
oauth?: {
|