📦 chore: bump MCP SDK to v1.25.1 and fix packages/api ghost dependencies (#11128)

* chore: bump `@modelcontextprotocol/sdk` to v1.25.1

* chore: update dependencies in package-lock.json and package.json

- Bump versions of several `@smithy` packages to improve compatibility and performance.
- Add `@aws-sdk/client-bedrock-runtime` and `@smithy/node-http-handler` as peer dependencies.
- Update `https-proxy-agent` to version 7.0.6 for enhanced security and functionality.
- Remove outdated dependencies to streamline the project.

* fix: update httpsAgent type in fetchModels function

- Changed the type of httpsAgent from HttpsProxyAgent to HttpsProxyAgent<string> for improved type safety and clarity in the fetchModels function.
This commit is contained in:
Danny Avila 2025-12-28 11:49:41 -05:00 committed by GitHub
parent c7b2d42279
commit eeb5522464
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 1182 additions and 8339 deletions

View file

@ -47,7 +47,7 @@
"@librechat/api": "*",
"@librechat/data-schemas": "*",
"@microsoft/microsoft-graph-client": "^3.0.7",
"@modelcontextprotocol/sdk": "^1.24.3",
"@modelcontextprotocol/sdk": "^1.25.1",
"@node-saml/passport-saml": "^5.1.0",
"@smithy/node-http-handler": "^4.4.5",
"axios": "^1.12.1",

9512
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -79,6 +79,7 @@
"registry": "https://registry.npmjs.org/"
},
"peerDependencies": {
"@aws-sdk/client-bedrock-runtime": "^3.941.0",
"@aws-sdk/client-s3": "^3.758.0",
"@azure/identity": "^4.7.0",
"@azure/search-documents": "^12.0.0",
@ -87,7 +88,8 @@
"@langchain/core": "^0.3.80",
"@librechat/agents": "^3.0.61",
"@librechat/data-schemas": "*",
"@modelcontextprotocol/sdk": "^1.24.3",
"@modelcontextprotocol/sdk": "^1.25.1",
"@smithy/node-http-handler": "^4.4.5",
"axios": "^1.12.1",
"connect-redis": "^8.1.0",
"diff": "^7.0.0",
@ -96,6 +98,7 @@
"express-session": "^1.18.2",
"firebase": "^11.0.2",
"form-data": "^4.0.4",
"https-proxy-agent": "^7.0.6",
"ioredis": "^5.3.2",
"js-yaml": "^4.1.1",
"jsonwebtoken": "^9.0.0",

View file

@ -130,7 +130,7 @@ export async function fetchModels({
const options: {
headers: Record<string, string>;
timeout: number;
httpsAgent?: HttpsProxyAgent;
httpsAgent?: HttpsProxyAgent<string>;
} = {
headers: {
...(headers ?? {}),