librechat-data-provider 0.8.402 → 0.8.404
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/accessPermissions.d.ts +744 -0
- package/dist/types/actions.d.ts +118 -0
- package/dist/types/api-endpoints.d.ts +150 -0
- package/dist/types/artifacts.d.ts +97 -0
- package/dist/types/azure.d.ts +22 -0
- package/dist/types/bedrock.d.ts +1220 -0
- package/dist/types/config.d.ts +14849 -0
- package/dist/types/config.spec.d.ts +1 -0
- package/dist/types/createPayload.d.ts +5 -0
- package/dist/types/data-service.d.ts +287 -0
- package/dist/types/feedback.d.ts +36 -0
- package/dist/types/file-config.d.ts +263 -0
- package/dist/types/file-config.spec.d.ts +1 -0
- package/dist/types/generate.d.ts +597 -0
- package/dist/types/headers-helpers.d.ts +2 -0
- package/{src/index.ts → dist/types/index.d.ts} +0 -15
- package/dist/types/keys.d.ts +92 -0
- package/dist/types/mcp.d.ts +2760 -0
- package/dist/types/messages.d.ts +10 -0
- package/dist/types/models.d.ts +1547 -0
- package/dist/types/parameterSettings.d.ts +69 -0
- package/dist/types/parsers.d.ts +110 -0
- package/dist/types/permissions.d.ts +522 -0
- package/dist/types/react-query/react-query-service.d.ts +85 -0
- package/dist/types/request.d.ts +25 -0
- package/dist/types/roles.d.ts +554 -0
- package/dist/types/roles.spec.d.ts +1 -0
- package/dist/types/schemas.d.ts +5110 -0
- package/dist/types/schemas.spec.d.ts +1 -0
- package/dist/types/types/agents.d.ts +433 -0
- package/dist/types/types/assistants.d.ts +547 -0
- package/dist/types/types/files.d.ts +172 -0
- package/dist/types/types/graph.d.ts +135 -0
- package/{src/types/mcpServers.ts → dist/types/types/mcpServers.d.ts} +12 -18
- package/dist/types/types/mutations.d.ts +209 -0
- package/dist/types/types/queries.d.ts +169 -0
- package/dist/types/types/runs.d.ts +36 -0
- package/dist/types/types/web.d.ts +520 -0
- package/dist/types/types.d.ts +503 -0
- package/dist/types/utils.d.ts +12 -0
- package/package.json +5 -1
- package/babel.config.js +0 -4
- package/check_updates.sh +0 -52
- package/jest.config.js +0 -19
- package/react-query/package-lock.json +0 -292
- package/react-query/package.json +0 -10
- package/rollup.config.js +0 -74
- package/server-rollup.config.js +0 -40
- package/specs/actions.spec.ts +0 -2533
- package/specs/api-endpoints-subdir.spec.ts +0 -140
- package/specs/api-endpoints.spec.ts +0 -74
- package/specs/azure.spec.ts +0 -844
- package/specs/bedrock.spec.ts +0 -862
- package/specs/filetypes.spec.ts +0 -175
- package/specs/generate.spec.ts +0 -770
- package/specs/headers-helpers.spec.ts +0 -24
- package/specs/mcp.spec.ts +0 -147
- package/specs/openapiSpecs.ts +0 -524
- package/specs/parsers.spec.ts +0 -601
- package/specs/request-interceptor.spec.ts +0 -304
- package/specs/utils.spec.ts +0 -196
- package/src/accessPermissions.ts +0 -346
- package/src/actions.ts +0 -813
- package/src/api-endpoints.ts +0 -440
- package/src/artifacts.ts +0 -3104
- package/src/azure.ts +0 -328
- package/src/bedrock.ts +0 -425
- package/src/config.spec.ts +0 -315
- package/src/config.ts +0 -2006
- package/src/createPayload.ts +0 -46
- package/src/data-service.ts +0 -1087
- package/src/feedback.ts +0 -141
- package/src/file-config.spec.ts +0 -1248
- package/src/file-config.ts +0 -764
- package/src/generate.ts +0 -634
- package/src/headers-helpers.ts +0 -13
- package/src/keys.ts +0 -99
- package/src/mcp.ts +0 -271
- package/src/messages.ts +0 -50
- package/src/models.ts +0 -69
- package/src/parameterSettings.ts +0 -1111
- package/src/parsers.ts +0 -563
- package/src/permissions.ts +0 -188
- package/src/react-query/react-query-service.ts +0 -566
- package/src/request.ts +0 -171
- package/src/roles.spec.ts +0 -132
- package/src/roles.ts +0 -225
- package/src/schemas.spec.ts +0 -355
- package/src/schemas.ts +0 -1234
- package/src/types/agents.ts +0 -470
- package/src/types/assistants.ts +0 -654
- package/src/types/files.ts +0 -191
- package/src/types/graph.ts +0 -145
- package/src/types/mutations.ts +0 -422
- package/src/types/queries.ts +0 -208
- package/src/types/runs.ts +0 -40
- package/src/types/web.ts +0 -588
- package/src/types.ts +0 -676
- package/src/utils.ts +0 -85
- package/tsconfig.json +0 -28
- package/tsconfig.spec.json +0 -10
- /package/{src/react-query/index.ts → dist/types/react-query/index.d.ts} +0 -0
- /package/{src/types/index.ts → dist/types/types/index.d.ts} +0 -0
|
@@ -1,292 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "librechat-data-provider/react-query",
|
|
3
|
-
"lockfileVersion": 3,
|
|
4
|
-
"requires": true,
|
|
5
|
-
"packages": {
|
|
6
|
-
"": {
|
|
7
|
-
"name": "librechat-data-provider/react-query",
|
|
8
|
-
"dependencies": {
|
|
9
|
-
"axios": "^1.13.5"
|
|
10
|
-
}
|
|
11
|
-
},
|
|
12
|
-
"node_modules/asynckit": {
|
|
13
|
-
"version": "0.4.0",
|
|
14
|
-
"resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz",
|
|
15
|
-
"integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==",
|
|
16
|
-
"license": "MIT"
|
|
17
|
-
},
|
|
18
|
-
"node_modules/axios": {
|
|
19
|
-
"version": "1.13.5",
|
|
20
|
-
"resolved": "https://registry.npmjs.org/axios/-/axios-1.13.5.tgz",
|
|
21
|
-
"integrity": "sha512-cz4ur7Vb0xS4/KUN0tPWe44eqxrIu31me+fbang3ijiNscE129POzipJJA6zniq2C/Z6sJCjMimjS8Lc/GAs8Q==",
|
|
22
|
-
"license": "MIT",
|
|
23
|
-
"dependencies": {
|
|
24
|
-
"follow-redirects": "^1.15.11",
|
|
25
|
-
"form-data": "^4.0.5",
|
|
26
|
-
"proxy-from-env": "^1.1.0"
|
|
27
|
-
}
|
|
28
|
-
},
|
|
29
|
-
"node_modules/call-bind-apply-helpers": {
|
|
30
|
-
"version": "1.0.2",
|
|
31
|
-
"resolved": "https://registry.npmjs.org/call-bind-apply-helpers/-/call-bind-apply-helpers-1.0.2.tgz",
|
|
32
|
-
"integrity": "sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ==",
|
|
33
|
-
"license": "MIT",
|
|
34
|
-
"dependencies": {
|
|
35
|
-
"es-errors": "^1.3.0",
|
|
36
|
-
"function-bind": "^1.1.2"
|
|
37
|
-
},
|
|
38
|
-
"engines": {
|
|
39
|
-
"node": ">= 0.4"
|
|
40
|
-
}
|
|
41
|
-
},
|
|
42
|
-
"node_modules/combined-stream": {
|
|
43
|
-
"version": "1.0.8",
|
|
44
|
-
"resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz",
|
|
45
|
-
"integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==",
|
|
46
|
-
"license": "MIT",
|
|
47
|
-
"dependencies": {
|
|
48
|
-
"delayed-stream": "~1.0.0"
|
|
49
|
-
},
|
|
50
|
-
"engines": {
|
|
51
|
-
"node": ">= 0.8"
|
|
52
|
-
}
|
|
53
|
-
},
|
|
54
|
-
"node_modules/delayed-stream": {
|
|
55
|
-
"version": "1.0.0",
|
|
56
|
-
"resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz",
|
|
57
|
-
"integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==",
|
|
58
|
-
"license": "MIT",
|
|
59
|
-
"engines": {
|
|
60
|
-
"node": ">=0.4.0"
|
|
61
|
-
}
|
|
62
|
-
},
|
|
63
|
-
"node_modules/dunder-proto": {
|
|
64
|
-
"version": "1.0.1",
|
|
65
|
-
"resolved": "https://registry.npmjs.org/dunder-proto/-/dunder-proto-1.0.1.tgz",
|
|
66
|
-
"integrity": "sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==",
|
|
67
|
-
"license": "MIT",
|
|
68
|
-
"dependencies": {
|
|
69
|
-
"call-bind-apply-helpers": "^1.0.1",
|
|
70
|
-
"es-errors": "^1.3.0",
|
|
71
|
-
"gopd": "^1.2.0"
|
|
72
|
-
},
|
|
73
|
-
"engines": {
|
|
74
|
-
"node": ">= 0.4"
|
|
75
|
-
}
|
|
76
|
-
},
|
|
77
|
-
"node_modules/es-define-property": {
|
|
78
|
-
"version": "1.0.1",
|
|
79
|
-
"resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.1.tgz",
|
|
80
|
-
"integrity": "sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==",
|
|
81
|
-
"license": "MIT",
|
|
82
|
-
"engines": {
|
|
83
|
-
"node": ">= 0.4"
|
|
84
|
-
}
|
|
85
|
-
},
|
|
86
|
-
"node_modules/es-errors": {
|
|
87
|
-
"version": "1.3.0",
|
|
88
|
-
"resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz",
|
|
89
|
-
"integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==",
|
|
90
|
-
"license": "MIT",
|
|
91
|
-
"engines": {
|
|
92
|
-
"node": ">= 0.4"
|
|
93
|
-
}
|
|
94
|
-
},
|
|
95
|
-
"node_modules/es-object-atoms": {
|
|
96
|
-
"version": "1.1.1",
|
|
97
|
-
"resolved": "https://registry.npmjs.org/es-object-atoms/-/es-object-atoms-1.1.1.tgz",
|
|
98
|
-
"integrity": "sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA==",
|
|
99
|
-
"license": "MIT",
|
|
100
|
-
"dependencies": {
|
|
101
|
-
"es-errors": "^1.3.0"
|
|
102
|
-
},
|
|
103
|
-
"engines": {
|
|
104
|
-
"node": ">= 0.4"
|
|
105
|
-
}
|
|
106
|
-
},
|
|
107
|
-
"node_modules/es-set-tostringtag": {
|
|
108
|
-
"version": "2.1.0",
|
|
109
|
-
"resolved": "https://registry.npmjs.org/es-set-tostringtag/-/es-set-tostringtag-2.1.0.tgz",
|
|
110
|
-
"integrity": "sha512-j6vWzfrGVfyXxge+O0x5sh6cvxAog0a/4Rdd2K36zCMV5eJ+/+tOAngRO8cODMNWbVRdVlmGZQL2YS3yR8bIUA==",
|
|
111
|
-
"license": "MIT",
|
|
112
|
-
"dependencies": {
|
|
113
|
-
"es-errors": "^1.3.0",
|
|
114
|
-
"get-intrinsic": "^1.2.6",
|
|
115
|
-
"has-tostringtag": "^1.0.2",
|
|
116
|
-
"hasown": "^2.0.2"
|
|
117
|
-
},
|
|
118
|
-
"engines": {
|
|
119
|
-
"node": ">= 0.4"
|
|
120
|
-
}
|
|
121
|
-
},
|
|
122
|
-
"node_modules/follow-redirects": {
|
|
123
|
-
"version": "1.15.11",
|
|
124
|
-
"resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.11.tgz",
|
|
125
|
-
"integrity": "sha512-deG2P0JfjrTxl50XGCDyfI97ZGVCxIpfKYmfyrQ54n5FO/0gfIES8C/Psl6kWVDolizcaaxZJnTS0QSMxvnsBQ==",
|
|
126
|
-
"funding": [
|
|
127
|
-
{
|
|
128
|
-
"type": "individual",
|
|
129
|
-
"url": "https://github.com/sponsors/RubenVerborgh"
|
|
130
|
-
}
|
|
131
|
-
],
|
|
132
|
-
"license": "MIT",
|
|
133
|
-
"engines": {
|
|
134
|
-
"node": ">=4.0"
|
|
135
|
-
},
|
|
136
|
-
"peerDependenciesMeta": {
|
|
137
|
-
"debug": {
|
|
138
|
-
"optional": true
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
},
|
|
142
|
-
"node_modules/form-data": {
|
|
143
|
-
"version": "4.0.5",
|
|
144
|
-
"resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.5.tgz",
|
|
145
|
-
"integrity": "sha512-8RipRLol37bNs2bhoV67fiTEvdTrbMUYcFTiy3+wuuOnUog2QBHCZWXDRijWQfAkhBj2Uf5UnVaiWwA5vdd82w==",
|
|
146
|
-
"license": "MIT",
|
|
147
|
-
"dependencies": {
|
|
148
|
-
"asynckit": "^0.4.0",
|
|
149
|
-
"combined-stream": "^1.0.8",
|
|
150
|
-
"es-set-tostringtag": "^2.1.0",
|
|
151
|
-
"hasown": "^2.0.2",
|
|
152
|
-
"mime-types": "^2.1.12"
|
|
153
|
-
},
|
|
154
|
-
"engines": {
|
|
155
|
-
"node": ">= 6"
|
|
156
|
-
}
|
|
157
|
-
},
|
|
158
|
-
"node_modules/function-bind": {
|
|
159
|
-
"version": "1.1.2",
|
|
160
|
-
"resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz",
|
|
161
|
-
"integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==",
|
|
162
|
-
"license": "MIT",
|
|
163
|
-
"funding": {
|
|
164
|
-
"url": "https://github.com/sponsors/ljharb"
|
|
165
|
-
}
|
|
166
|
-
},
|
|
167
|
-
"node_modules/get-intrinsic": {
|
|
168
|
-
"version": "1.3.0",
|
|
169
|
-
"resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.3.0.tgz",
|
|
170
|
-
"integrity": "sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ==",
|
|
171
|
-
"license": "MIT",
|
|
172
|
-
"dependencies": {
|
|
173
|
-
"call-bind-apply-helpers": "^1.0.2",
|
|
174
|
-
"es-define-property": "^1.0.1",
|
|
175
|
-
"es-errors": "^1.3.0",
|
|
176
|
-
"es-object-atoms": "^1.1.1",
|
|
177
|
-
"function-bind": "^1.1.2",
|
|
178
|
-
"get-proto": "^1.0.1",
|
|
179
|
-
"gopd": "^1.2.0",
|
|
180
|
-
"has-symbols": "^1.1.0",
|
|
181
|
-
"hasown": "^2.0.2",
|
|
182
|
-
"math-intrinsics": "^1.1.0"
|
|
183
|
-
},
|
|
184
|
-
"engines": {
|
|
185
|
-
"node": ">= 0.4"
|
|
186
|
-
},
|
|
187
|
-
"funding": {
|
|
188
|
-
"url": "https://github.com/sponsors/ljharb"
|
|
189
|
-
}
|
|
190
|
-
},
|
|
191
|
-
"node_modules/get-proto": {
|
|
192
|
-
"version": "1.0.1",
|
|
193
|
-
"resolved": "https://registry.npmjs.org/get-proto/-/get-proto-1.0.1.tgz",
|
|
194
|
-
"integrity": "sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==",
|
|
195
|
-
"license": "MIT",
|
|
196
|
-
"dependencies": {
|
|
197
|
-
"dunder-proto": "^1.0.1",
|
|
198
|
-
"es-object-atoms": "^1.0.0"
|
|
199
|
-
},
|
|
200
|
-
"engines": {
|
|
201
|
-
"node": ">= 0.4"
|
|
202
|
-
}
|
|
203
|
-
},
|
|
204
|
-
"node_modules/gopd": {
|
|
205
|
-
"version": "1.2.0",
|
|
206
|
-
"resolved": "https://registry.npmjs.org/gopd/-/gopd-1.2.0.tgz",
|
|
207
|
-
"integrity": "sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==",
|
|
208
|
-
"license": "MIT",
|
|
209
|
-
"engines": {
|
|
210
|
-
"node": ">= 0.4"
|
|
211
|
-
},
|
|
212
|
-
"funding": {
|
|
213
|
-
"url": "https://github.com/sponsors/ljharb"
|
|
214
|
-
}
|
|
215
|
-
},
|
|
216
|
-
"node_modules/has-symbols": {
|
|
217
|
-
"version": "1.1.0",
|
|
218
|
-
"resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.1.0.tgz",
|
|
219
|
-
"integrity": "sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==",
|
|
220
|
-
"license": "MIT",
|
|
221
|
-
"engines": {
|
|
222
|
-
"node": ">= 0.4"
|
|
223
|
-
},
|
|
224
|
-
"funding": {
|
|
225
|
-
"url": "https://github.com/sponsors/ljharb"
|
|
226
|
-
}
|
|
227
|
-
},
|
|
228
|
-
"node_modules/has-tostringtag": {
|
|
229
|
-
"version": "1.0.2",
|
|
230
|
-
"resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.2.tgz",
|
|
231
|
-
"integrity": "sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==",
|
|
232
|
-
"license": "MIT",
|
|
233
|
-
"dependencies": {
|
|
234
|
-
"has-symbols": "^1.0.3"
|
|
235
|
-
},
|
|
236
|
-
"engines": {
|
|
237
|
-
"node": ">= 0.4"
|
|
238
|
-
},
|
|
239
|
-
"funding": {
|
|
240
|
-
"url": "https://github.com/sponsors/ljharb"
|
|
241
|
-
}
|
|
242
|
-
},
|
|
243
|
-
"node_modules/hasown": {
|
|
244
|
-
"version": "2.0.2",
|
|
245
|
-
"resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz",
|
|
246
|
-
"integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==",
|
|
247
|
-
"license": "MIT",
|
|
248
|
-
"dependencies": {
|
|
249
|
-
"function-bind": "^1.1.2"
|
|
250
|
-
},
|
|
251
|
-
"engines": {
|
|
252
|
-
"node": ">= 0.4"
|
|
253
|
-
}
|
|
254
|
-
},
|
|
255
|
-
"node_modules/math-intrinsics": {
|
|
256
|
-
"version": "1.1.0",
|
|
257
|
-
"resolved": "https://registry.npmjs.org/math-intrinsics/-/math-intrinsics-1.1.0.tgz",
|
|
258
|
-
"integrity": "sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==",
|
|
259
|
-
"license": "MIT",
|
|
260
|
-
"engines": {
|
|
261
|
-
"node": ">= 0.4"
|
|
262
|
-
}
|
|
263
|
-
},
|
|
264
|
-
"node_modules/mime-db": {
|
|
265
|
-
"version": "1.52.0",
|
|
266
|
-
"resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz",
|
|
267
|
-
"integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==",
|
|
268
|
-
"license": "MIT",
|
|
269
|
-
"engines": {
|
|
270
|
-
"node": ">= 0.6"
|
|
271
|
-
}
|
|
272
|
-
},
|
|
273
|
-
"node_modules/mime-types": {
|
|
274
|
-
"version": "2.1.35",
|
|
275
|
-
"resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz",
|
|
276
|
-
"integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==",
|
|
277
|
-
"license": "MIT",
|
|
278
|
-
"dependencies": {
|
|
279
|
-
"mime-db": "1.52.0"
|
|
280
|
-
},
|
|
281
|
-
"engines": {
|
|
282
|
-
"node": ">= 0.6"
|
|
283
|
-
}
|
|
284
|
-
},
|
|
285
|
-
"node_modules/proxy-from-env": {
|
|
286
|
-
"version": "1.1.0",
|
|
287
|
-
"resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz",
|
|
288
|
-
"integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==",
|
|
289
|
-
"license": "MIT"
|
|
290
|
-
}
|
|
291
|
-
}
|
|
292
|
-
}
|
package/react-query/package.json
DELETED
package/rollup.config.js
DELETED
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
import typescript from 'rollup-plugin-typescript2';
|
|
2
|
-
import resolve from '@rollup/plugin-node-resolve';
|
|
3
|
-
import pkg from './package.json';
|
|
4
|
-
import peerDepsExternal from 'rollup-plugin-peer-deps-external';
|
|
5
|
-
import commonjs from '@rollup/plugin-commonjs';
|
|
6
|
-
import replace from '@rollup/plugin-replace';
|
|
7
|
-
import terser from '@rollup/plugin-terser';
|
|
8
|
-
|
|
9
|
-
const plugins = [
|
|
10
|
-
peerDepsExternal(),
|
|
11
|
-
resolve(),
|
|
12
|
-
replace({
|
|
13
|
-
__IS_DEV__: process.env.NODE_ENV === 'development',
|
|
14
|
-
}),
|
|
15
|
-
commonjs(),
|
|
16
|
-
typescript({
|
|
17
|
-
tsconfig: './tsconfig.json',
|
|
18
|
-
useTsconfigDeclarationDir: true,
|
|
19
|
-
}),
|
|
20
|
-
terser(),
|
|
21
|
-
];
|
|
22
|
-
|
|
23
|
-
export default [
|
|
24
|
-
{
|
|
25
|
-
input: 'src/index.ts',
|
|
26
|
-
output: [
|
|
27
|
-
{
|
|
28
|
-
file: pkg.main,
|
|
29
|
-
format: 'cjs',
|
|
30
|
-
sourcemap: true,
|
|
31
|
-
exports: 'named',
|
|
32
|
-
},
|
|
33
|
-
{
|
|
34
|
-
file: pkg.module,
|
|
35
|
-
format: 'esm',
|
|
36
|
-
sourcemap: true,
|
|
37
|
-
exports: 'named',
|
|
38
|
-
},
|
|
39
|
-
],
|
|
40
|
-
...{
|
|
41
|
-
external: [
|
|
42
|
-
...Object.keys(pkg.dependencies || {}),
|
|
43
|
-
...Object.keys(pkg.devDependencies || {}),
|
|
44
|
-
...Object.keys(pkg.peerDependencies || {}),
|
|
45
|
-
'react',
|
|
46
|
-
'react-dom',
|
|
47
|
-
],
|
|
48
|
-
preserveSymlinks: true,
|
|
49
|
-
plugins,
|
|
50
|
-
},
|
|
51
|
-
},
|
|
52
|
-
// Separate bundle for react-query related part
|
|
53
|
-
{
|
|
54
|
-
input: 'src/react-query/index.ts',
|
|
55
|
-
output: [
|
|
56
|
-
{
|
|
57
|
-
file: 'dist/react-query/index.es.js',
|
|
58
|
-
format: 'esm',
|
|
59
|
-
exports: 'named',
|
|
60
|
-
sourcemap: true,
|
|
61
|
-
},
|
|
62
|
-
],
|
|
63
|
-
external: [
|
|
64
|
-
...Object.keys(pkg.dependencies || {}),
|
|
65
|
-
...Object.keys(pkg.devDependencies || {}),
|
|
66
|
-
...Object.keys(pkg.peerDependencies || {}),
|
|
67
|
-
'react',
|
|
68
|
-
'react-dom',
|
|
69
|
-
// 'librechat-data-provider', // Marking main part as external
|
|
70
|
-
],
|
|
71
|
-
preserveSymlinks: true,
|
|
72
|
-
plugins,
|
|
73
|
-
},
|
|
74
|
-
];
|
package/server-rollup.config.js
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import path from 'path';
|
|
2
|
-
import resolve from '@rollup/plugin-node-resolve';
|
|
3
|
-
import commonjs from '@rollup/plugin-commonjs';
|
|
4
|
-
import alias from '@rollup/plugin-alias';
|
|
5
|
-
import json from '@rollup/plugin-json';
|
|
6
|
-
|
|
7
|
-
const rootPath = path.resolve(__dirname, '../../');
|
|
8
|
-
const rootServerPath = path.resolve(__dirname, '../../api');
|
|
9
|
-
const entryPath = path.resolve(rootPath, 'api/server/index.js');
|
|
10
|
-
|
|
11
|
-
console.log('entryPath', entryPath);
|
|
12
|
-
|
|
13
|
-
// Define custom aliases here
|
|
14
|
-
const customAliases = {
|
|
15
|
-
entries: [{ find: '~', replacement: rootServerPath }],
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
export default {
|
|
19
|
-
input: entryPath,
|
|
20
|
-
output: {
|
|
21
|
-
dir: 'test_bundle',
|
|
22
|
-
format: 'es',
|
|
23
|
-
},
|
|
24
|
-
plugins: [
|
|
25
|
-
alias(customAliases),
|
|
26
|
-
resolve({
|
|
27
|
-
preferBuiltins: true,
|
|
28
|
-
extensions: ['.js', '.json', '.node'],
|
|
29
|
-
}),
|
|
30
|
-
commonjs(),
|
|
31
|
-
json(),
|
|
32
|
-
],
|
|
33
|
-
external: (id) => {
|
|
34
|
-
// More selective external function
|
|
35
|
-
if (/node_modules/.test(id)) {
|
|
36
|
-
return !id.startsWith('langchain/');
|
|
37
|
-
}
|
|
38
|
-
return false;
|
|
39
|
-
},
|
|
40
|
-
};
|