diff --git a/api/package.json b/api/package.json index 9d5eace50c..27ce4743b6 100644 --- a/api/package.json +++ b/api/package.json @@ -48,7 +48,7 @@ "@langchain/google-genai": "^0.2.13", "@langchain/google-vertexai": "^0.2.13", "@langchain/textsplitters": "^0.1.0", - "@librechat/agents": "^2.4.58", + "@librechat/agents": "^2.4.59", "@librechat/api": "*", "@librechat/data-schemas": "*", "@node-saml/passport-saml": "^5.0.0", diff --git a/package-lock.json b/package-lock.json index 55bb1b1100..7ab3c94627 100644 --- a/package-lock.json +++ b/package-lock.json @@ -64,7 +64,7 @@ "@langchain/google-genai": "^0.2.13", "@langchain/google-vertexai": "^0.2.13", "@langchain/textsplitters": "^0.1.0", - "@librechat/agents": "^2.4.58", + "@librechat/agents": "^2.4.59", "@librechat/api": "*", "@librechat/data-schemas": "*", "@node-saml/passport-saml": "^5.0.0", @@ -19050,13 +19050,13 @@ } }, "node_modules/@langchain/langgraph": { - "version": "0.3.6", - "resolved": "https://registry.npmjs.org/@langchain/langgraph/-/langgraph-0.3.6.tgz", - "integrity": "sha512-TMRUEPb/eC5mS8XdY6gwLGX2druwFDxSWUQDXHHNsbrqhIrL3BPlw+UumjcKBQ8wvhk3gEspg4aHXGq8mAqbRA==", + "version": "0.3.7", + "resolved": "https://registry.npmjs.org/@langchain/langgraph/-/langgraph-0.3.7.tgz", + "integrity": "sha512-Cc0VUtuwFziCNqTNvD1QUNpMzhe9r8tTDIxFgpCwbF8oTNXxZ1tcd/iY9wr7gV5WhZm8DHEpZf3h4z3gFNeNMA==", "license": "MIT", "dependencies": { "@langchain/langgraph-checkpoint": "~0.0.18", - "@langchain/langgraph-sdk": "~0.0.32", + "@langchain/langgraph-sdk": "~0.0.90", "uuid": "^10.0.0", "zod": "^3.25.32" }, @@ -19102,9 +19102,9 @@ } }, "node_modules/@langchain/langgraph-sdk": { - "version": "0.0.89", - "resolved": "https://registry.npmjs.org/@langchain/langgraph-sdk/-/langgraph-sdk-0.0.89.tgz", - "integrity": "sha512-TFNFfhVxAljV4dFJa53otnT3Ox0uN24ZdW7AfV1rTPe4QTnonxlRGEUl3SSky1CaaVxYaHN9dJyn9zyhxr2jVQ==", + "version": "0.0.92", + "resolved": "https://registry.npmjs.org/@langchain/langgraph-sdk/-/langgraph-sdk-0.0.92.tgz", + "integrity": "sha512-YL3uPo4At0q96Jk1v7uPctpf/NuKYlbHuQzuS03lQDvvzkLNBmw6ZRKr8SFmgZwmiHz2CNMfBP21kmb9aq/9Ug==", "license": "MIT", "dependencies": { "@types/json-schema": "^7.0.15", @@ -19114,7 +19114,8 @@ }, "peerDependencies": { "@langchain/core": ">=0.2.31 <0.4.0", - "react": "^18 || ^19" + "react": "^18 || ^19", + "react-dom": "^18 || ^19" }, "peerDependenciesMeta": { "@langchain/core": { @@ -19122,6 +19123,9 @@ }, "react": { "optional": true + }, + "react-dom": { + "optional": true } } }, @@ -19343,9 +19347,9 @@ } }, "node_modules/@librechat/agents": { - "version": "2.4.58", - "resolved": "https://registry.npmjs.org/@librechat/agents/-/agents-2.4.58.tgz", - "integrity": "sha512-vQo1CE3Ea3qsPZByNwUhBkCwb4A3SrVoz0PmDdNWVQLZjPpxP2hPYB6wQ0GwUyfSVhgKZikw4/y8/RCW57Folg==", + "version": "2.4.59", + "resolved": "https://registry.npmjs.org/@librechat/agents/-/agents-2.4.59.tgz", + "integrity": "sha512-fgf5bAGGM/Qp6wcDitf1plDSyvVpe7C+VQMOLveqJG1sPSQjdGgCFdTGyL+rH56M7JEw1di/ab1BhpuFZcLT6g==", "license": "MIT", "dependencies": { "@langchain/anthropic": "^0.3.24", @@ -19358,7 +19362,7 @@ "@langchain/langgraph": "^0.3.4", "@langchain/mistralai": "^0.2.1", "@langchain/ollama": "^0.2.3", - "@langchain/openai": "^0.5.16", + "@langchain/openai": "^0.5.18", "@langchain/xai": "^0.0.3", "cheerio": "^1.0.0", "dotenv": "^16.4.7", @@ -19894,10 +19898,27 @@ } } }, + "node_modules/@librechat/agents/node_modules/@langchain/openai": { + "version": "0.5.18", + "resolved": "https://registry.npmjs.org/@langchain/openai/-/openai-0.5.18.tgz", + "integrity": "sha512-CX1kOTbT5xVFNdtLjnM0GIYNf+P7oMSu+dGCFxxWRa3dZwWiuyuBXCm+dToUGxDLnsHuV1bKBtIzrY1mLq/A1Q==", + "license": "MIT", + "dependencies": { + "js-tiktoken": "^1.0.12", + "openai": "^5.3.0", + "zod": "^3.25.32" + }, + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "@langchain/core": ">=0.3.58 <0.4.0" + } + }, "node_modules/@librechat/agents/node_modules/agent-base": { - "version": "7.1.3", - "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.1.3.tgz", - "integrity": "sha512-jRR5wdylq8CkOe6hei19GGZnxM6rBGwFl3Bg0YItGDimvjGtAvdZk4Pu6Cl4u4Igsws4a1fd1Vq3ezrhn4KmFw==", + "version": "7.1.4", + "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.1.4.tgz", + "integrity": "sha512-MnA+YT8fwfJPgBx3m60MNqakm30XOkyIoH1y6huTQvC0PwZG7ki8NacLBcrPbNoo8vEZy7Jpuk7+jMO+CUovTQ==", "license": "MIT", "engines": { "node": ">= 14" @@ -19916,6 +19937,27 @@ "node": ">= 14" } }, + "node_modules/@librechat/agents/node_modules/openai": { + "version": "5.9.0", + "resolved": "https://registry.npmjs.org/openai/-/openai-5.9.0.tgz", + "integrity": "sha512-cmLC0pfqLLhBGxE4aZPyRPjydgYCncppV2ClQkKmW79hNjCvmzkfhz8rN5/YVDmjVQlFV+UsF1JIuNjNgeagyQ==", + "license": "Apache-2.0", + "bin": { + "openai": "bin/cli" + }, + "peerDependencies": { + "ws": "^8.18.0", + "zod": "^3.23.8" + }, + "peerDependenciesMeta": { + "ws": { + "optional": true + }, + "zod": { + "optional": true + } + } + }, "node_modules/@librechat/agents/node_modules/uuid": { "version": "10.0.0", "resolved": "https://registry.npmjs.org/uuid/-/uuid-10.0.0.tgz", @@ -46494,7 +46536,7 @@ "typescript": "^5.0.4" }, "peerDependencies": { - "@librechat/agents": "^2.4.58", + "@librechat/agents": "^2.4.59", "@librechat/data-schemas": "*", "@modelcontextprotocol/sdk": "^1.13.3", "axios": "^1.8.2", diff --git a/package.json b/package.json index 8789ee8841..2476067535 100644 --- a/package.json +++ b/package.json @@ -115,7 +115,6 @@ "typescript-eslint": "^8.24.0" }, "overrides": { - "@langchain/openai": "^0.5.16", "axios": "1.8.2", "elliptic": "^6.6.1", "mdast-util-gfm-autolink-literal": "2.0.0", diff --git a/packages/api/package.json b/packages/api/package.json index cb292a14f3..6043f62cf3 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -69,7 +69,7 @@ "registry": "https://registry.npmjs.org/" }, "peerDependencies": { - "@librechat/agents": "^2.4.58", + "@librechat/agents": "^2.4.59", "@librechat/data-schemas": "*", "@modelcontextprotocol/sdk": "^1.13.3", "axios": "^1.8.2",