Enhanced ChatGPT Clone: Features Agents, MCP, Skills, DeepSeek, Anthropic, AWS, OpenAI, Responses API, Azure, Groq, o1, GPT-5, Mistral, OpenRouter, Vertex AI, Gemini, Artifacts, AI model switching, message search, Code Interpreter, langchain, DALL-E-3, OpenAPI Actions, Functions, Secure Multi-User Auth, Presets, open-source for self-hosting. Active
TypeScript aianthropicartifactsawsazurechatgptchatgpt-cloneclaudeclonedeepseekgeminigooglegpt-5librechatmcpo1openairesponses-apivisionwebui
🔃 fix: Draft Clearing, Claude Titles, Remove Default Vision Max Tokens (#6501)
Danny Avila4b85fe920661
diff --git a/api/app/clients/AnthropicClient.js b/api/app/clients/AnthropicClient.jsindex 8331e54bfb..a1fc03a256 100644--- a/api/app/clients/AnthropicClient.js+++ b/api/app/clients/AnthropicClient.js@@ -2,6 +2,7 @@ const Anthropic = require('@anthropic-ai/sdk');const { HttpsProxyAgent } = require('https-proxy-agent');const {Constants,+ ErrorTypes,EModelEndpoint,anthropicSettings,getResponseSender,@@ -147,12 +148,17 @@ class AnthropicClient extends BaseClient {this.maxPromptTokens =this.options.maxPromptTokens || this.maxContextTokens - this.maxResponseTokens;- if (this.maxPromptTokens + this.maxResponseTokens > this.maxContextTokens) {- throw new Error(- `maxPromptTokens + maxOutputTokens (${this.maxPromptTokens} + ${this.maxResponseTokens} = ${- this.maxPromptTokens + this.maxResponseTokens- }) must be less than or equal to maxContextTokens (${this.maxContextTokens})`,- );+ const reservedTokens = this.maxPromptTokens + this.maxResponseTokens;+ if (reservedTokens > this.maxContextTokens) {+ const info = `Total Possible Tokens + Max Output Tokens must be less than or equal to Max Context Tokens: ${this.maxPromptTokens} (total possible output) + ${this.maxResponseTokens} (max output) = ${reservedTokens}/${this.maxContextTokens} (max context)`;+ const errorMessage = `{ "type": "${ErrorTypes.INPUT_LENGTH}", "info": "${info}" }`;+ logger.warn(info);+ throw new Error(errorMessage);+ } else if (this.maxResponseTokens === this.maxContextTokens) {+ const info = `Max Output Tokens must be less than Max Context Tokens: ${this.maxResponseTokens} (max output) = ${this.maxContextTokens} (max context)`;+ const errorMessage = `{ "type": "${ErrorTypes.INPUT_LENGTH}", "info": "${info}" }`;+ logger.warn(info);+ throw new Error(errorMessage);}this.sender =diff --git a/api/app/clients/OpenAIClient.js b/api/app/clients/OpenAIClient.jsindex 0874225ed8..d1184e5f7b 100644--- a/api/app/clients/OpenAIClient.js+++ b/api/app/clients/OpenAIClient.js@@ -1185,10 +1185,6 @@ ${convo}opts.httpAgent = new HttpsProxyAgent(this.options.proxy);}- if (this.isVisionModel) {- modelOptions.max_tokens = 4000;- }-/** @type {TAzureConfig | undefined} */const azureConfig = this.options?.req?.app?.locals?.[EModelEndpoint.azureOpenAI];diff --git a/api/package.json b/api/package.jsonindex 2ee9df6016..9a6eb3688d 100644--- a/api/package.json+++ b/api/package.json@@ -49,7 +49,7 @@"@langchain/google-genai": "^0.1.11","@langchain/google-vertexai": "^0.2.2","@langchain/textsplitters": "^0.1.0",- "@librechat/agents": "^2.3.93",+ "@librechat/agents": "^2.3.94","@librechat/data-schemas": "*","@waylaidwanderer/fetch-event-source": "^3.0.1","axios": "^1.8.2",diff --git a/api/server/controllers/agents/v1.js b/api/server/controllers/agents/v1.jsindex 731dee69a2..52e6ed2fc9 100644--- a/api/server/controllers/agents/v1.js+++ b/api/server/controllers/agents/v1.js@@ -212,6 +212,11 @@ const duplicateAgentHandler = async (req, res) => {tool_resources: _tool_resources = {},...cloneData} = agent;+ cloneData.name = `${agent.name} (${new Date().toLocaleString('en-US', {+ dateStyle: 'short',+ timeStyle: 'short',+ hour12: false,+ })})`;if (_tool_resources?.[EToolResources.ocr]) {cloneData.tool_resources = {diff --git a/api/server/services/ToolService.js b/api/server/services/ToolService.jsindex 969ca8d8ff..ad2d3632b4 100644--- a/api/server/services/ToolService.js+++ b/api/server/services/ToolService.js@@ -425,21 +425,16 @@ async function loadAgentTools({ req, res, agent, tool_resources, openAIApiKey })}const endpointsConfig = await getEndpointsConfig(req);- const capabilities = endpointsConfig?.[EModelEndpoint.agents]?.capabilities ?? [];- const areToolsEnabled = capabilities.includes(AgentCapabilities.tools);- if (!areToolsEnabled) {- logger.debug('Tools are not enabled for this agent.');- return {};- }-- const isFileSearchEnabled = capabilities.includes(AgentCapabilities.file_search);- const isCodeEnabled = capabilities.includes(AgentCapabilities.execute_code);- const areActionsEnabled = capabilities.includes(AgentCapabilities.actions);+ const enabledCapabilities = new Set(endpointsConfig?.[EModelEndpoint.agents]?.capabilities ?? []);+ const checkCapability = (capability) => enabledCapabilities.has(capability);+ const areToolsEnabled = checkCapability(AgentCapabilities.tools);const _agentTools = agent.tools?.filter((tool) => {- if (tool === Tools.file_search && !isFileSearchEnabled) {+ if (tool === Tools.file_search && !checkCapability(AgentCapabilities.file_search)) {+ return false;+ } else if (tool === Tools.execute_code && !checkCapability(AgentCapabilities.execute_code)) {return false;- } else if (tool === Tools.execute_code && !isCodeEnabled) {+ } else if (!areToolsEnabled && !tool.includes(actionDelimiter)) {return false;}return true;@@ -473,6 +468,10 @@ async function loadAgentTools({ req, res, agent, tool_resources, openAIApiKey })continue;}+ if (!areToolsEnabled) {+ continue;+ }+if (tool.mcp === true) {agentTools.push(tool);continue;@@ -505,7 +504,7 @@ async function loadAgentTools({ req, res, agent, tool_resources, openAIApiKey })return map;}, {});- if (!areActionsEnabled) {+ if (!checkCapability(AgentCapabilities.actions)) {return {tools: agentTools,toolContextMap,diff --git a/client/src/components/Chat/Input/ChatForm.tsx b/client/src/components/Chat/Input/ChatForm.tsxindex 442d32a45e..29592abeaa 100644--- a/client/src/components/Chat/Input/ChatForm.tsx+++ b/client/src/components/Chat/Input/ChatForm.tsx@@ -93,7 +93,7 @@ const ChatForm = ({ index = 0 }) => {} = useAddedChatContext();const showStopAdded = useRecoilValue(store.showStopButtonByIndex(addedIndex));- const { clearDraft } = useAutoSave({+ useAutoSave({conversationId: useMemo(() => conversation?.conversationId, [conversation]),textAreaRef,files,@@ -101,7 +101,7 @@ const ChatForm = ({ index = 0 }) => {});const assistantMap = useAssistantsMapContext();- const { submitMessage, submitPrompt } = useSubmitMessage({ clearDraft });+ const { submitMessage, submitPrompt } = useSubmitMessage();const { endpoint: _endpoint, endpointType } = conversation ?? { endpoint: null };const endpoint = endpointType ?? _endpoint;diff --git a/client/src/hooks/Input/useAutoSave.ts b/client/src/hooks/Input/useAutoSave.tsindex 70e3ab2bf2..6b7be2437d 100644--- a/client/src/hooks/Input/useAutoSave.ts+++ b/client/src/hooks/Input/useAutoSave.ts@@ -7,6 +7,10 @@ import { useChatFormContext } from '~/Providers';import { useGetFiles } from '~/data-provider';import store from '~/store';+const clearDraft = debounce((id?: string | null) => {+ localStorage.removeItem(`${LocalStorageKeys.TEXT_DRAFT}${id ?? ''}`);+}, 2500);+export const useAutoSave = ({conversationId,textAreaRef,@@ -103,7 +107,7 @@ export const useAutoSave = ({}// Save the draft of the current conversation before switchingif (textAreaRef.current.value === '') {- localStorage.removeItem(`${LocalStorageKeys.TEXT_DRAFT}${id}`);+ clearDraft(id);} else {localStorage.setItem(`${LocalStorageKeys.TEXT_DRAFT}${id}`,@@ -208,13 +212,4 @@ export const useAutoSave = ({);}}, [files, conversationId, saveDrafts, currentConversationId, fileIds]);-- const clearDraft = useCallback(() => {- if (conversationId != null && conversationId) {- localStorage.removeItem(`${LocalStorageKeys.TEXT_DRAFT}${conversationId}`);- localStorage.removeItem(`${LocalStorageKeys.FILES_DRAFT}${conversationId}`);- }- }, [conversationId]);-- return { clearDraft };};diff --git a/client/src/hooks/Messages/useSubmitMessage.ts b/client/src/hooks/Messages/useSubmitMessage.tsindex f69ee6ee9a..1ed468d61a 100644--- a/client/src/hooks/Messages/useSubmitMessage.ts+++ b/client/src/hooks/Messages/useSubmitMessage.ts@@ -14,7 +14,7 @@ const appendIndex = (index: number, value?: string) => {return `${value}${Constants.COMMON_DIVIDER}${index}`;};-export default function useSubmitMessage(helpers?: { clearDraft?: () => void }) {+export default function useSubmitMessage() {const { user } = useAuthContext();const methods = useChatFormContext();const { ask, index, getMessages, setMessages, latestMessage } = useChatContext();@@ -66,12 +66,10 @@ export default function useSubmitMessage(helpers?: { clearDraft?: () => void }));}methods.reset();- helpers?.clearDraft && helpers.clearDraft();},[ask,methods,- helpers,addedIndex,addedConvo,setMessages,diff --git a/client/src/hooks/SSE/useSSE.ts b/client/src/hooks/SSE/useSSE.tsindex 92f03090e5..3e5b3eda4d 100644--- a/client/src/hooks/SSE/useSSE.ts+++ b/client/src/hooks/SSE/useSSE.ts@@ -4,9 +4,11 @@ import { SSE } from 'sse.js';import { useSetRecoilState } from 'recoil';import {request,+ Constants,/* @ts-ignore */createPayload,isAgentsEndpoint,+ LocalStorageKeys,removeNullishValues,isAssistantsEndpoint,} from 'librechat-data-provider';@@ -18,6 +20,16 @@ import { useAuthContext } from '~/hooks/AuthContext';import useEventHandlers from './useEventHandlers';import store from '~/store';+const clearDraft = (conversationId?: string | null) => {+ if (conversationId) {+ localStorage.removeItem(`${LocalStorageKeys.TEXT_DRAFT}${conversationId}`);+ localStorage.removeItem(`${LocalStorageKeys.FILES_DRAFT}${conversationId}`);+ } else {+ localStorage.removeItem(`${LocalStorageKeys.TEXT_DRAFT}${Constants.NEW_CONVO}`);+ localStorage.removeItem(`${LocalStorageKeys.FILES_DRAFT}${Constants.NEW_CONVO}`);+ }+};+type ChatHelpers = Pick<EventHandlerParams,| 'setMessages'@@ -112,6 +124,7 @@ export default function useSSE(const data = JSON.parse(e.data);if (data.final != null) {+ clearDraft(submission.conversationId);const { plugins } = data;finalHandler(data, { ...submission, plugins } as EventSubmission);(startupConfig?.balance?.enabled ?? false) && balanceQuery.refetch();diff --git a/client/src/locales/en/translation.json b/client/src/locales/en/translation.jsonindex 67a05d1962..0fd7ac01e4 100644--- a/client/src/locales/en/translation.json+++ b/client/src/locales/en/translation.json@@ -264,7 +264,7 @@"com_error_files_upload": "An error occurred while uploading the file.","com_error_files_upload_canceled": "The file upload request was canceled. Note: the file upload may still be processing and will need to be manually deleted.","com_error_files_validation": "An error occurred while validating the file.",- "com_error_input_length": "The latest message token count is too long, exceeding the token limit ({{0}} respectively). Please shorten your message, adjust the max context size from the conversation parameters, or fork the conversation to continue.",+ "com_error_input_length": "The latest message token count is too long, exceeding the token limit, or your token limit parameters are misconfigured, adversely affecting the context window. More info: {{0}}. Please shorten your message, adjust the max context size from the conversation parameters, or fork the conversation to continue.","com_error_invalid_user_key": "Invalid key provided. Please provide a valid key and try again.","com_error_moderation": "It appears that the content submitted has been flagged by our moderation system for not aligning with our community guidelines. We're unable to proceed with this specific topic. If you have any other questions or topics you'd like to explore, please edit your message, or create a new conversation.","com_error_no_base_url": "No base URL found. Please provide one and try again.",@@ -848,4 +848,4 @@"com_ui_zoom": "Zoom","com_user_message": "You","com_warning_resubmit_unsupported": "Resubmitting the AI message is not supported for this endpoint."-}\ No newline at end of file+}diff --git a/package-lock.json b/package-lock.jsonindex 7a9c0798dd..c29b53cd21 100644--- a/package-lock.json+++ b/package-lock.json@@ -65,7 +65,7 @@"@langchain/google-genai": "^0.1.11","@langchain/google-vertexai": "^0.2.2","@langchain/textsplitters": "^0.1.0",- "@librechat/agents": "^2.3.93",+ "@librechat/agents": "^2.3.94","@librechat/data-schemas": "*","@waylaidwanderer/fetch-event-source": "^3.0.1","axios": "^1.8.2",@@ -670,866 +670,318 @@}}},- "api/node_modules/@librechat/agents": {- "version": "2.3.93",- "resolved": "https://registry.npmjs.org/@librechat/agents/-/agents-2.3.93.tgz",- "integrity": "sha512-TlGpxfO+fBs+6xecNlX2mQcHh7BdAGRsBBri1DNpzAaPclMVWQGxIdUGJBqrqcnrlVLKkb4xctExxmmXe9mt0A==",+ "api/node_modules/@types/node": {+ "version": "18.19.14",+ "resolved": "https://registry.npmjs.org/@types/node/-/node-18.19.14.tgz",+ "integrity": "sha512-EnQ4Us2rmOS64nHDWr0XqAD8DsO6f3XR6lf9UIIrZQpUzPVdN/oPuEzfDWNHSyXLvoGgjuEm/sPwFGSSs35Wtg==","dependencies": {- "@aws-crypto/sha256-js": "^5.2.0",- "@aws-sdk/credential-provider-node": "^3.613.0",- "@aws-sdk/types": "^3.609.0",- "@langchain/anthropic": "^0.3.14",- "@langchain/aws": "^0.1.7",- "@langchain/community": "^0.3.35",- "@langchain/core": "^0.3.40",- "@langchain/deepseek": "^0.0.1",- "@langchain/google-genai": "^0.1.11",- "@langchain/google-vertexai": "^0.2.2",- "@langchain/langgraph": "^0.2.49",- "@langchain/mistralai": "^0.0.26",- "@langchain/ollama": "^0.1.5",- "@langchain/openai": "^0.4.2",- "@langchain/xai": "^0.0.2",- "@smithy/eventstream-codec": "^2.2.0",- "@smithy/protocol-http": "^3.0.6",- "@smithy/signature-v4": "^2.0.10",- "@smithy/util-utf8": "^2.0.0",- "dotenv": "^16.4.7",- "https-proxy-agent": "^7.0.6",- "nanoid": "^3.3.7"- },+ "undici-types": "~5.26.4"+ }+ },+ "api/node_modules/@types/whatwg-url": {+ "version": "11.0.5",+ "resolved": "https://registry.npmjs.org/@types/whatwg-url/-/whatwg-url-11.0.5.tgz",+ "integrity": "sha512-coYR071JRaHa+xoEvvYqvnIHaVqaYrLPbsufM9BF63HkwI5Lgmy2QR8Q5K/lYDYo5AK82wOvSOS0UsLTpTG7uQ==",+ "dependencies": {+ "@types/webidl-conversions": "*"+ }+ },+ "api/node_modules/agent-base": {+ "version": "7.1.3",+ "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.1.3.tgz",+ "integrity": "sha512-jRR5wdylq8CkOe6hei19GGZnxM6rBGwFl3Bg0YItGDimvjGtAvdZk4Pu6Cl4u4Igsws4a1fd1Vq3ezrhn4KmFw==",+ "license": "MIT","engines": {- "node": ">=14.0.0"+ "node": ">= 14"}},- "api/node_modules/@librechat/agents/node_modules/@langchain/community": {- "version": "0.3.36",- "resolved": "https://registry.npmjs.org/@langchain/community/-/community-0.3.36.tgz",- "integrity": "sha512-4jBB4yqux8CGfCwlBbtXck5qP0yJPwDvtwI4KUN2j/At+zSZn1FyTL11G75ctG2b5GO7u+cR6QatDXIPooJphA==",+ "api/node_modules/bson": {+ "version": "6.10.3",+ "resolved": "https://registry.npmjs.org/bson/-/bson-6.10.3.tgz",+ "integrity": "sha512-MTxGsqgYTwfshYWTRdmZRC+M7FnG1b4y7RO7p2k3X24Wq0yv1m77Wsj0BzlPzd/IowgESfsruQCUToa7vbOpPQ==",+ "engines": {+ "node": ">=16.20.1"+ }+ },+ "api/node_modules/cookie-parser": {+ "version": "1.4.7",+ "resolved": "https://registry.npmjs.org/cookie-parser/-/cookie-parser-1.4.7.tgz",+ "integrity": "sha512-nGUvgXnotP3BsjiLX2ypbQnWoGUPIIfHQNZkkC668ntrzGWEZVW70HDEB1qnNGMicPje6EttlIgzo51YSwNQGw==","dependencies": {- "@langchain/openai": ">=0.2.0 <0.5.0",- "binary-extensions": "^2.2.0",- "expr-eval": "^2.0.2",- "flat": "^5.0.2",- "js-yaml": "^4.1.0",- "langchain": ">=0.2.3 <0.3.0 || >=0.3.4 <0.4.0",- "langsmith": ">=0.2.8 <0.4.0",- "uuid": "^10.0.0",- "zod": "^3.22.3",- "zod-to-json-schema": "^3.22.5"+ "cookie": "0.7.2",+ "cookie-signature": "1.0.6"},"engines": {- "node": ">=18"+ "node": ">= 0.8.0"+ }+ },+ "api/node_modules/express-rate-limit": {+ "version": "7.4.1",+ "resolved": "https://registry.npmjs.org/express-rate-limit/-/express-rate-limit-7.4.1.tgz",+ "integrity": "sha512-KS3efpnpIDVIXopMc65EMbWbUht7qvTCdtCR2dD/IZmi9MIkopYESwyRqLgv8Pfu589+KqDqOdzJWW7AHoACeg==",+ "engines": {+ "node": ">= 16"+ },+ "funding": {+ "url": "https://github.com/sponsors/express-rate-limit"},"peerDependencies": {- "@arcjet/redact": "^v1.0.0-alpha.23",- "@aws-crypto/sha256-js": "^5.0.0",- "@aws-sdk/client-bedrock-agent-runtime": "^3.749.0",- "@aws-sdk/client-bedrock-runtime": "^3.749.0",- "@aws-sdk/client-dynamodb": "^3.749.0",- "@aws-sdk/client-kendra": "^3.749.0",- "@aws-sdk/client-lambda": "^3.749.0",- "@aws-sdk/client-s3": "^3.749.0",- "@aws-sdk/client-sagemaker-runtime": "^3.749.0",- "@aws-sdk/client-sfn": "^3.749.0",- "@aws-sdk/credential-provider-node": "^3.388.0",- "@azure/search-documents": "^12.0.0",- "@azure/storage-blob": "^12.15.0",- "@browserbasehq/sdk": "*",- "@browserbasehq/stagehand": "^1.0.0",- "@clickhouse/client": "^0.2.5",- "@cloudflare/ai": "*",- "@datastax/astra-db-ts": "^1.0.0",- "@elastic/elasticsearch": "^8.4.0",- "@getmetal/metal-sdk": "*",- "@getzep/zep-cloud": "^1.0.6",- "@getzep/zep-js": "^0.9.0",- "@gomomento/sdk": "^1.51.1",- "@gomomento/sdk-core": "^1.51.1",- "@google-ai/generativelanguage": "*",- "@google-cloud/storage": "^6.10.1 || ^7.7.0",- "@gradientai/nodejs-sdk": "^1.2.0",- "@huggingface/inference": "^2.6.4",- "@huggingface/transformers": "^3.2.3",- "@ibm-cloud/watsonx-ai": "*",- "@lancedb/lancedb": "^0.12.0",- "@langchain/core": ">=0.2.21 <0.4.0",- "@layerup/layerup-security": "^1.5.12",- "@libsql/client": "^0.14.0",- "@mendable/firecrawl-js": "^1.4.3",- "@mlc-ai/web-llm": "*",- "@mozilla/readability": "*",- "@neondatabase/serverless": "*",- "@notionhq/client": "^2.2.10",- "@opensearch-project/opensearch": "*",- "@pinecone-database/pinecone": "*",- "@planetscale/database": "^1.8.0",- "@premai/prem-sdk": "^0.3.25",- "@qdrant/js-client-rest": "^1.8.2",- "@raycast/api": "^1.55.2",- "@rockset/client": "^0.9.1",- "@smithy/eventstream-codec": "^2.0.5",- "@smithy/protocol-http": "^3.0.6",- "@smithy/signature-v4": "^2.0.10",- "@smithy/util-utf8": "^2.0.0",- "@spider-cloud/spider-client": "^0.0.21",- "@supabase/supabase-js": "^2.45.0",- "@tensorflow-models/universal-sentence-encoder": "*",- "@tensorflow/tfjs-converter": "*",- "@tensorflow/tfjs-core": "*",- "@upstash/ratelimit": "^1.1.3 || ^2.0.3",- "@upstash/redis": "^1.20.6",- "@upstash/vector": "^1.1.1",- "@vercel/kv": "*",- "@vercel/postgres": "*",- "@writerai/writer-sdk": "^0.40.2",- "@xata.io/client": "^0.28.0",- "@zilliz/milvus2-sdk-node": ">=2.3.5",- "apify-client": "^2.7.1",- "assemblyai": "^4.6.0",- "better-sqlite3": ">=9.4.0 <12.0.0",- "cassandra-driver": "^4.7.2",- "cborg": "^4.1.1",- "cheerio": "^1.0.0-rc.12",- "chromadb": "*",- "closevector-common": "0.1.3",- "closevector-node": "0.1.6",- "closevector-web": "0.1.6",- "cohere-ai": "*",- "convex": "^1.3.1",- "crypto-js": "^4.2.0",- "d3-dsv": "^2.0.0",- "discord.js": "^14.14.1",- "dria": "^0.0.3",- "duck-duck-scrape": "^2.2.5",- "epub2": "^3.0.1",- "fast-xml-parser": "*",- "firebase-admin": "^11.9.0 || ^12.0.0",- "google-auth-library": "*",- "googleapis": "*",- "hnswlib-node": "^3.0.0",- "html-to-text": "^9.0.5",- "ibm-cloud-sdk-core": "*",- "ignore": "^5.2.0",- "interface-datastore": "^8.2.11",- "ioredis": "^5.3.2",- "it-all": "^3.0.4",- "jsdom": "*",- "jsonwebtoken": "^9.0.2",- "llmonitor": "^0.5.9",- "lodash": "^4.17.21",- "lunary": "^0.7.10",- "mammoth": "^1.6.0",- "mariadb": "^3.4.0",- "mongodb": ">=5.2.0",- "mysql2": "^3.9.8",- "neo4j-driver": "*",- "notion-to-md": "^3.1.0",- "officeparser": "^4.0.4",- "openai": "*",- "pdf-parse": "1.1.1",- "pg": "^8.11.0",- "pg-copy-streams": "^6.0.5",- "pickleparser": "^0.2.1",- "playwright": "^1.32.1",- "portkey-ai": "^0.1.11",- "puppeteer": "*",- "pyodide": ">=0.24.1 <0.27.0",- "redis": "*",- "replicate": "*",- "sonix-speech-recognition": "^2.1.1",- "srt-parser-2": "^1.2.3",- "typeorm": "^0.3.20",- "typesense": "^1.5.3",- "usearch": "^1.1.1",- "voy-search": "0.6.2",- "weaviate-ts-client": "*",- "web-auth-library": "^1.0.3",- "word-extractor": "*",- "ws": "^8.14.2",- "youtubei.js": "*"+ "express": "4 || 5 || ^5.0.0-beta.1"+ }+ },+ "api/node_modules/express/node_modules/cookie": {+ "version": "0.7.1",+ "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.7.1.tgz",+ "integrity": "sha512-6DnInpx7SJ2AK3+CTUE/ZM0vWTUboZCegxhC2xiIydHR9jNuTAASBrfEpHhiGOZw/nX51bHt6YQl8jsGo4y/0w==",+ "extraneous": true,+ "engines": {+ "node": ">= 0.6"+ }+ },+ "api/node_modules/follow-redirects": {+ "version": "1.15.9",+ "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.9.tgz",+ "integrity": "sha512-gew4GsXizNgdoRyqmyfMHyAmXsZDk6mHkSxZFCzW9gwlbtOW44CDtYavM+y+72qD/Vq2l550kMF52DT8fOLJqQ==",+ "dev": true,+ "funding": [+ {+ "type": "individual",+ "url": "https://github.com/sponsors/RubenVerborgh"+ }+ ],+ "license": "MIT",+ "engines": {+ "node": ">=4.0"},"peerDependenciesMeta": {- "@arcjet/redact": {- "optional": true- },- "@aws-crypto/sha256-js": {- "optional": true- },- "@aws-sdk/client-bedrock-agent-runtime": {- "optional": true- },- "@aws-sdk/client-bedrock-runtime": {- "optional": true- },- "@aws-sdk/client-dynamodb": {- "optional": true- },- "@aws-sdk/client-kendra": {+ "debug": {"optional": true- },- "@aws-sdk/client-lambda": {- "optional": true- },- "@aws-sdk/client-s3": {- "optional": true- },- "@aws-sdk/client-sagemaker-runtime": {- "optional": true- },- "@aws-sdk/client-sfn": {- "optional": true- },- "@aws-sdk/credential-provider-node": {- "optional": true- },- "@aws-sdk/dsql-signer": {- "optional": true- },- "@azure/search-documents": {- "optional": true- },- "@azure/storage-blob": {- "optional": true- },- "@browserbasehq/sdk": {- "optional": true- },- "@clickhouse/client": {- "optional": true- },- "@cloudflare/ai": {- "optional": true- },- "@datastax/astra-db-ts": {+ }+ }+ },+ "api/node_modules/formidable": {+ "version": "3.5.2",+ "resolved": "https://registry.npmjs.org/formidable/-/formidable-3.5.2.tgz",+ "integrity": "sha512-Jqc1btCy3QzRbJaICGwKcBfGWuLADRerLzDqi2NwSt/UkXLsHJw2TVResiaoBufHVHy9aSgClOHCeJsSsFLTbg==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "dezalgo": "^1.0.4",+ "hexoid": "^2.0.0",+ "once": "^1.4.0"+ },+ "funding": {+ "url": "https://ko-fi.com/tunnckoCore/commissions"+ }+ },+ "api/node_modules/hexoid": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/hexoid/-/hexoid-2.0.0.tgz",+ "integrity": "sha512-qlspKUK7IlSQv2o+5I7yhUd7TxlOG2Vr5LTa3ve2XSNVKAL/n/u/7KLvKmFNimomDIKvZFXWHv0T12mv7rT8Aw==",+ "dev": true,+ "license": "MIT",+ "engines": {+ "node": ">=8"+ }+ },+ "api/node_modules/https-proxy-agent": {+ "version": "7.0.6",+ "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.6.tgz",+ "integrity": "sha512-vK9P5/iUfdl95AI+JVyUuIcVtd4ofvtrOr3HNtM2yxC9bnMbEdp3x01OhQNnjb8IJYi38VlTE3mBXwcfvywuSw==",+ "dependencies": {+ "agent-base": "^7.1.2",+ "debug": "4"+ },+ "engines": {+ "node": ">= 14"+ }+ },+ "api/node_modules/mongodb": {+ "version": "6.14.2",+ "resolved": "https://registry.npmjs.org/mongodb/-/mongodb-6.14.2.tgz",+ "integrity": "sha512-kMEHNo0F3P6QKDq17zcDuPeaywK/YaJVCEQRzPF3TOM/Bl9MFg64YE5Tu7ifj37qZJMhwU1tl2Ioivws5gRG5Q==",+ "dependencies": {+ "@mongodb-js/saslprep": "^1.1.9",+ "bson": "^6.10.3",+ "mongodb-connection-string-url": "^3.0.0"+ },+ "engines": {+ "node": ">=16.20.1"+ },+ "peerDependencies": {+ "@aws-sdk/credential-providers": "^3.188.0",+ "@mongodb-js/zstd": "^1.1.0 || ^2.0.0",+ "gcp-metadata": "^5.2.0",+ "kerberos": "^2.0.1",+ "mongodb-client-encryption": ">=6.0.0 <7",+ "snappy": "^7.2.2",+ "socks": "^2.7.1"+ },+ "peerDependenciesMeta": {+ "@aws-sdk/credential-providers": {"optional": true},- "@elastic/elasticsearch": {+ "@mongodb-js/zstd": {"optional": true},- "@getmetal/metal-sdk": {+ "gcp-metadata": {"optional": true},- "@getzep/zep-cloud": {+ "kerberos": {"optional": true},- "@getzep/zep-js": {+ "mongodb-client-encryption": {"optional": true},- "@gomomento/sdk": {+ "snappy": {"optional": true},- "@gomomento/sdk-core": {+ "socks": {"optional": true- },- "@google-ai/generativelanguage": {+ }+ }+ },+ "api/node_modules/mongodb-connection-string-url": {+ "version": "3.0.1",+ "resolved": "https://registry.npmjs.org/mongodb-connection-string-url/-/mongodb-connection-string-url-3.0.1.tgz",+ "integrity": "sha512-XqMGwRX0Lgn05TDB4PyG2h2kKO/FfWJyCzYQbIhXUxz7ETt0I/FqHjUeqj37irJ+Dl1ZtU82uYyj14u2XsZKfg==",+ "dependencies": {+ "@types/whatwg-url": "^11.0.2",+ "whatwg-url": "^13.0.0"+ }+ },+ "api/node_modules/mongodb-connection-string-url/node_modules/tr46": {+ "version": "4.1.1",+ "resolved": "https://registry.npmjs.org/tr46/-/tr46-4.1.1.tgz",+ "integrity": "sha512-2lv/66T7e5yNyhAAC4NaKe5nVavzuGJQVVtRYLyQ2OI8tsJ61PMLlelehb0wi2Hx6+hT/OJUWZcw8MjlSRnxvw==",+ "dependencies": {+ "punycode": "^2.3.0"+ },+ "engines": {+ "node": ">=14"+ }+ },+ "api/node_modules/mongodb-connection-string-url/node_modules/webidl-conversions": {+ "version": "7.0.0",+ "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-7.0.0.tgz",+ "integrity": "sha512-VwddBukDzu71offAQR975unBIGqfKZpM+8ZX6ySk8nYhVoo5CYaZyzt3YBvYtRtO+aoGlqxPg/B87NGVZ/fu6g==",+ "engines": {+ "node": ">=12"+ }+ },+ "api/node_modules/mongodb-connection-string-url/node_modules/whatwg-url": {+ "version": "13.0.0",+ "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-13.0.0.tgz",+ "integrity": "sha512-9WWbymnqj57+XEuqADHrCJ2eSXzn8WXIW/YSGaZtb2WKAInQ6CHfaUUcTyyver0p8BDg5StLQq8h1vtZuwmOig==",+ "dependencies": {+ "tr46": "^4.1.1",+ "webidl-conversions": "^7.0.0"+ },+ "engines": {+ "node": ">=16"+ }+ },+ "api/node_modules/mongodb-memory-server": {+ "version": "10.1.3",+ "resolved": "https://registry.npmjs.org/mongodb-memory-server/-/mongodb-memory-server-10.1.3.tgz",+ "integrity": "sha512-QCUjsIIXSYv/EgkpDAjfhlqRKo6N+qR6DD43q4lyrCVn24xQmvlArdWHW/Um5RS4LkC9YWC3XveSncJqht2Hbg==",+ "dev": true,+ "hasInstallScript": true,+ "license": "MIT",+ "dependencies": {+ "mongodb-memory-server-core": "10.1.3",+ "tslib": "^2.7.0"+ },+ "engines": {+ "node": ">=16.20.1"+ }+ },+ "api/node_modules/mongodb-memory-server-core": {+ "version": "10.1.3",+ "resolved": "https://registry.npmjs.org/mongodb-memory-server-core/-/mongodb-memory-server-core-10.1.3.tgz",+ "integrity": "sha512-ayBQHeV74wRHhgcAKpxHYI4th9Ufidy/m3XhJnLFRufKsOyDsyHYU3Zxv5Fm4hxsWE6wVd0GAVcQ7t7XNkivOg==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "async-mutex": "^0.5.0",+ "camelcase": "^6.3.0",+ "debug": "^4.3.7",+ "find-cache-dir": "^3.3.2",+ "follow-redirects": "^1.15.9",+ "https-proxy-agent": "^7.0.5",+ "mongodb": "^6.9.0",+ "new-find-package-json": "^2.0.0",+ "semver": "^7.6.3",+ "tar-stream": "^3.1.7",+ "tslib": "^2.7.0",+ "yauzl": "^3.1.3"+ },+ "engines": {+ "node": ">=16.20.1"+ }+ },+ "api/node_modules/mongoose": {+ "version": "8.12.1",+ "resolved": "https://registry.npmjs.org/mongoose/-/mongoose-8.12.1.tgz",+ "integrity": "sha512-UW22y8QFVYmrb36hm8cGncfn4ARc/XsYWQwRTaj0gxtQk1rDuhzDO1eBantS+hTTatfAIS96LlRCJrcNHvW5+Q==",+ "dependencies": {+ "bson": "^6.10.3",+ "kareem": "2.6.3",+ "mongodb": "~6.14.0",+ "mpath": "0.9.0",+ "mquery": "5.0.0",+ "ms": "2.1.3",+ "sift": "17.1.3"+ },+ "engines": {+ "node": ">=16.20.1"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/mongoose"+ }+ },+ "api/node_modules/node-fetch": {+ "version": "2.6.7",+ "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.7.tgz",+ "integrity": "sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ==",+ "dependencies": {+ "whatwg-url": "^5.0.0"+ },+ "engines": {+ "node": "4.x || >=6.0.0"+ },+ "peerDependencies": {+ "encoding": "^0.1.0"+ },+ "peerDependenciesMeta": {+ "encoding": {"optional": true- },- "@google-cloud/storage": {- "optional": true- },- "@gradientai/nodejs-sdk": {- "optional": true- },- "@huggingface/inference": {- "optional": true- },- "@huggingface/transformers": {- "optional": true- },- "@lancedb/lancedb": {- "optional": true- },- "@layerup/layerup-security": {- "optional": true- },- "@libsql/client": {- "optional": true- },- "@mendable/firecrawl-js": {- "optional": true- },- "@mlc-ai/web-llm": {- "optional": true- },- "@mozilla/readability": {- "optional": true- },- "@neondatabase/serverless": {- "optional": true- },- "@notionhq/client": {- "optional": true- },- "@opensearch-project/opensearch": {- "optional": true- },- "@pinecone-database/pinecone": {- "optional": true- },- "@planetscale/database": {- "optional": true- },- "@premai/prem-sdk": {- "optional": true- },- "@qdrant/js-client-rest": {- "optional": true- },- "@raycast/api": {- "optional": true- },- "@rockset/client": {- "optional": true- },- "@smithy/eventstream-codec": {- "optional": true- },- "@smithy/protocol-http": {- "optional": true- },- "@smithy/signature-v4": {- "optional": true- },- "@smithy/util-utf8": {- "optional": true- },- "@spider-cloud/spider-client": {- "optional": true- },- "@supabase/supabase-js": {- "optional": true- },- "@tensorflow-models/universal-sentence-encoder": {- "optional": true- },- "@tensorflow/tfjs-converter": {- "optional": true- },- "@tensorflow/tfjs-core": {- "optional": true- },- "@upstash/ratelimit": {- "optional": true- },- "@upstash/redis": {- "optional": true- },- "@upstash/vector": {- "optional": true- },- "@vercel/kv": {- "optional": true- },- "@vercel/postgres": {- "optional": true- },- "@writerai/writer-sdk": {- "optional": true- },- "@xata.io/client": {- "optional": true- },- "@zilliz/milvus2-sdk-node": {- "optional": true- },- "apify-client": {- "optional": true- },- "assemblyai": {- "optional": true- },- "better-sqlite3": {- "optional": true- },- "cassandra-driver": {- "optional": true- },- "cborg": {- "optional": true- },- "cheerio": {- "optional": true- },- "chromadb": {- "optional": true- },- "closevector-common": {- "optional": true- },- "closevector-node": {- "optional": true- },- "closevector-web": {- "optional": true- },- "cohere-ai": {- "optional": true- },- "convex": {- "optional": true- },- "crypto-js": {- "optional": true- },- "d3-dsv": {- "optional": true- },- "discord.js": {- "optional": true- },- "dria": {- "optional": true- },- "duck-duck-scrape": {- "optional": true- },- "epub2": {- "optional": true- },- "fast-xml-parser": {- "optional": true- },- "firebase-admin": {- "optional": true- },- "google-auth-library": {- "optional": true- },- "googleapis": {- "optional": true- },- "hnswlib-node": {- "optional": true- },- "html-to-text": {- "optional": true- },- "ignore": {- "optional": true- },- "interface-datastore": {- "optional": true- },- "ioredis": {- "optional": true- },- "it-all": {- "optional": true- },- "jsdom": {- "optional": true- },- "jsonwebtoken": {- "optional": true- },- "llmonitor": {- "optional": true- },- "lodash": {- "optional": true- },- "lunary": {- "optional": true- },- "mammoth": {- "optional": true- },- "mariadb": {- "optional": true- },- "mongodb": {- "optional": true- },- "mysql2": {- "optional": true- },- "neo4j-driver": {- "optional": true- },- "notion-to-md": {- "optional": true- },- "officeparser": {- "optional": true- },- "pdf-parse": {- "optional": true- },- "pg": {- "optional": true- },- "pg-copy-streams": {- "optional": true- },- "pickleparser": {- "optional": true- },- "playwright": {- "optional": true- },- "portkey-ai": {- "optional": true- },- "puppeteer": {- "optional": true- },- "pyodide": {- "optional": true- },- "redis": {- "optional": true- },- "replicate": {- "optional": true- },- "sonix-speech-recognition": {- "optional": true- },- "srt-parser-2": {- "optional": true- },- "typeorm": {- "optional": true- },- "typesense": {- "optional": true- },- "usearch": {- "optional": true- },- "voy-search": {- "optional": true- },- "weaviate-ts-client": {- "optional": true- },- "web-auth-library": {- "optional": true- },- "word-extractor": {- "optional": true- },- "ws": {- "optional": true- },- "youtubei.js": {- "optional": true- }- }- },- "api/node_modules/@types/node": {- "version": "18.19.14",- "resolved": "https://registry.npmjs.org/@types/node/-/node-18.19.14.tgz",- "integrity": "sha512-EnQ4Us2rmOS64nHDWr0XqAD8DsO6f3XR6lf9UIIrZQpUzPVdN/oPuEzfDWNHSyXLvoGgjuEm/sPwFGSSs35Wtg==",- "dependencies": {- "undici-types": "~5.26.4"- }- },- "api/node_modules/@types/whatwg-url": {- "version": "11.0.5",- "resolved": "https://registry.npmjs.org/@types/whatwg-url/-/whatwg-url-11.0.5.tgz",- "integrity": "sha512-coYR071JRaHa+xoEvvYqvnIHaVqaYrLPbsufM9BF63HkwI5Lgmy2QR8Q5K/lYDYo5AK82wOvSOS0UsLTpTG7uQ==",- "dependencies": {- "@types/webidl-conversions": "*"- }- },- "api/node_modules/agent-base": {- "version": "7.1.3",- "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.1.3.tgz",- "integrity": "sha512-jRR5wdylq8CkOe6hei19GGZnxM6rBGwFl3Bg0YItGDimvjGtAvdZk4Pu6Cl4u4Igsws4a1fd1Vq3ezrhn4KmFw==",- "license": "MIT",- "engines": {- "node": ">= 14"- }- },- "api/node_modules/bson": {- "version": "6.10.3",- "resolved": "https://registry.npmjs.org/bson/-/bson-6.10.3.tgz",- "integrity": "sha512-MTxGsqgYTwfshYWTRdmZRC+M7FnG1b4y7RO7p2k3X24Wq0yv1m77Wsj0BzlPzd/IowgESfsruQCUToa7vbOpPQ==",- "engines": {- "node": ">=16.20.1"- }- },- "api/node_modules/cookie-parser": {- "version": "1.4.7",- "resolved": "https://registry.npmjs.org/cookie-parser/-/cookie-parser-1.4.7.tgz",- "integrity": "sha512-nGUvgXnotP3BsjiLX2ypbQnWoGUPIIfHQNZkkC668ntrzGWEZVW70HDEB1qnNGMicPje6EttlIgzo51YSwNQGw==",- "dependencies": {- "cookie": "0.7.2",- "cookie-signature": "1.0.6"- },- "engines": {- "node": ">= 0.8.0"- }- },- "api/node_modules/express-rate-limit": {- "version": "7.4.1",- "resolved": "https://registry.npmjs.org/express-rate-limit/-/express-rate-limit-7.4.1.tgz",- "integrity": "sha512-KS3efpnpIDVIXopMc65EMbWbUht7qvTCdtCR2dD/IZmi9MIkopYESwyRqLgv8Pfu589+KqDqOdzJWW7AHoACeg==",- "engines": {- "node": ">= 16"- },- "funding": {- "url": "https://github.com/sponsors/express-rate-limit"- },- "peerDependencies": {- "express": "4 || 5 || ^5.0.0-beta.1"- }- },- "api/node_modules/express/node_modules/cookie": {- "version": "0.7.1",- "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.7.1.tgz",- "integrity": "sha512-6DnInpx7SJ2AK3+CTUE/ZM0vWTUboZCegxhC2xiIydHR9jNuTAASBrfEpHhiGOZw/nX51bHt6YQl8jsGo4y/0w==",- "extraneous": true,- "engines": {- "node": ">= 0.6"- }- },- "api/node_modules/follow-redirects": {- "version": "1.15.9",- "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.9.tgz",- "integrity": "sha512-gew4GsXizNgdoRyqmyfMHyAmXsZDk6mHkSxZFCzW9gwlbtOW44CDtYavM+y+72qD/Vq2l550kMF52DT8fOLJqQ==",- "dev": true,- "funding": [- {- "type": "individual",- "url": "https://github.com/sponsors/RubenVerborgh"- }- ],- "license": "MIT",- "engines": {- "node": ">=4.0"- },- "peerDependenciesMeta": {- "debug": {- "optional": true- }- }- },- "api/node_modules/formidable": {- "version": "3.5.2",- "resolved": "https://registry.npmjs.org/formidable/-/formidable-3.5.2.tgz",- "integrity": "sha512-Jqc1btCy3QzRbJaICGwKcBfGWuLADRerLzDqi2NwSt/UkXLsHJw2TVResiaoBufHVHy9aSgClOHCeJsSsFLTbg==",- "dev": true,- "license": "MIT",- "dependencies": {- "dezalgo": "^1.0.4",- "hexoid": "^2.0.0",- "once": "^1.4.0"- },- "funding": {- "url": "https://ko-fi.com/tunnckoCore/commissions"- }- },- "api/node_modules/hexoid": {- "version": "2.0.0",- "resolved": "https://registry.npmjs.org/hexoid/-/hexoid-2.0.0.tgz",- "integrity": "sha512-qlspKUK7IlSQv2o+5I7yhUd7TxlOG2Vr5LTa3ve2XSNVKAL/n/u/7KLvKmFNimomDIKvZFXWHv0T12mv7rT8Aw==",- "dev": true,- "license": "MIT",- "engines": {- "node": ">=8"- }- },- "api/node_modules/https-proxy-agent": {- "version": "7.0.6",- "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.6.tgz",- "integrity": "sha512-vK9P5/iUfdl95AI+JVyUuIcVtd4ofvtrOr3HNtM2yxC9bnMbEdp3x01OhQNnjb8IJYi38VlTE3mBXwcfvywuSw==",- "dependencies": {- "agent-base": "^7.1.2",- "debug": "4"- },- "engines": {- "node": ">= 14"- }- },- "api/node_modules/mongodb": {- "version": "6.14.2",- "resolved": "https://registry.npmjs.org/mongodb/-/mongodb-6.14.2.tgz",- "integrity": "sha512-kMEHNo0F3P6QKDq17zcDuPeaywK/YaJVCEQRzPF3TOM/Bl9MFg64YE5Tu7ifj37qZJMhwU1tl2Ioivws5gRG5Q==",- "dependencies": {- "@mongodb-js/saslprep": "^1.1.9",- "bson": "^6.10.3",- "mongodb-connection-string-url": "^3.0.0"- },- "engines": {- "node": ">=16.20.1"- },- "peerDependencies": {- "@aws-sdk/credential-providers": "^3.188.0",- "@mongodb-js/zstd": "^1.1.0 || ^2.0.0",- "gcp-metadata": "^5.2.0",- "kerberos": "^2.0.1",- "mongodb-client-encryption": ">=6.0.0 <7",- "snappy": "^7.2.2",- "socks": "^2.7.1"- },- "peerDependenciesMeta": {- "@aws-sdk/credential-providers": {- "optional": true- },- "@mongodb-js/zstd": {- "optional": true- },- "gcp-metadata": {- "optional": true- },- "kerberos": {- "optional": true- },- "mongodb-client-encryption": {- "optional": true- },- "snappy": {- "optional": true- },- "socks": {- "optional": true- }- }- },- "api/node_modules/mongodb-connection-string-url": {- "version": "3.0.1",- "resolved": "https://registry.npmjs.org/mongodb-connection-string-url/-/mongodb-connection-string-url-3.0.1.tgz",- "integrity": "sha512-XqMGwRX0Lgn05TDB4PyG2h2kKO/FfWJyCzYQbIhXUxz7ETt0I/FqHjUeqj37irJ+Dl1ZtU82uYyj14u2XsZKfg==",- "dependencies": {- "@types/whatwg-url": "^11.0.2",- "whatwg-url": "^13.0.0"- }- },- "api/node_modules/mongodb-connection-string-url/node_modules/tr46": {- "version": "4.1.1",- "resolved": "https://registry.npmjs.org/tr46/-/tr46-4.1.1.tgz",- "integrity": "sha512-2lv/66T7e5yNyhAAC4NaKe5nVavzuGJQVVtRYLyQ2OI8tsJ61PMLlelehb0wi2Hx6+hT/OJUWZcw8MjlSRnxvw==",- "dependencies": {- "punycode": "^2.3.0"- },- "engines": {- "node": ">=14"- }- },- "api/node_modules/mongodb-connection-string-url/node_modules/webidl-conversions": {- "version": "7.0.0",- "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-7.0.0.tgz",- "integrity": "sha512-VwddBukDzu71offAQR975unBIGqfKZpM+8ZX6ySk8nYhVoo5CYaZyzt3YBvYtRtO+aoGlqxPg/B87NGVZ/fu6g==",- "engines": {- "node": ">=12"- }- },- "api/node_modules/mongodb-connection-string-url/node_modules/whatwg-url": {- "version": "13.0.0",- "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-13.0.0.tgz",- "integrity": "sha512-9WWbymnqj57+XEuqADHrCJ2eSXzn8WXIW/YSGaZtb2WKAInQ6CHfaUUcTyyver0p8BDg5StLQq8h1vtZuwmOig==",- "dependencies": {- "tr46": "^4.1.1",- "webidl-conversions": "^7.0.0"- },- "engines": {- "node": ">=16"- }- },- "api/node_modules/mongodb-memory-server": {- "version": "10.1.3",- "resolved": "https://registry.npmjs.org/mongodb-memory-server/-/mongodb-memory-server-10.1.3.tgz",- "integrity": "sha512-QCUjsIIXSYv/EgkpDAjfhlqRKo6N+qR6DD43q4lyrCVn24xQmvlArdWHW/Um5RS4LkC9YWC3XveSncJqht2Hbg==",- "dev": true,- "hasInstallScript": true,- "license": "MIT",- "dependencies": {- "mongodb-memory-server-core": "10.1.3",- "tslib": "^2.7.0"- },- "engines": {- "node": ">=16.20.1"- }- },- "api/node_modules/mongodb-memory-server-core": {- "version": "10.1.3",- "resolved": "https://registry.npmjs.org/mongodb-memory-server-core/-/mongodb-memory-server-core-10.1.3.tgz",- "integrity": "sha512-ayBQHeV74wRHhgcAKpxHYI4th9Ufidy/m3XhJnLFRufKsOyDsyHYU3Zxv5Fm4hxsWE6wVd0GAVcQ7t7XNkivOg==",- "dev": true,- "license": "MIT",- "dependencies": {- "async-mutex": "^0.5.0",- "camelcase": "^6.3.0",- "debug": "^4.3.7",- "find-cache-dir": "^3.3.2",- "follow-redirects": "^1.15.9",- "https-proxy-agent": "^7.0.5",- "mongodb": "^6.9.0",- "new-find-package-json": "^2.0.0",- "semver": "^7.6.3",- "tar-stream": "^3.1.7",- "tslib": "^2.7.0",- "yauzl": "^3.1.3"- },- "engines": {- "node": ">=16.20.1"- }- },- "api/node_modules/mongoose": {- "version": "8.12.1",- "resolved": "https://registry.npmjs.org/mongoose/-/mongoose-8.12.1.tgz",- "integrity": "sha512-UW22y8QFVYmrb36hm8cGncfn4ARc/XsYWQwRTaj0gxtQk1rDuhzDO1eBantS+hTTatfAIS96LlRCJrcNHvW5+Q==",- "dependencies": {- "bson": "^6.10.3",- "kareem": "2.6.3",- "mongodb": "~6.14.0",- "mpath": "0.9.0",- "mquery": "5.0.0",- "ms": "2.1.3",- "sift": "17.1.3"- },- "engines": {- "node": ">=16.20.1"- },- "funding": {- "type": "opencollective",- "url": "https://opencollective.com/mongoose"- }- },- "api/node_modules/node-fetch": {- "version": "2.6.7",- "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.7.tgz",- "integrity": "sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ==",- "dependencies": {- "whatwg-url": "^5.0.0"- },- "engines": {- "node": "4.x || >=6.0.0"- },- "peerDependencies": {- "encoding": "^0.1.0"- },- "peerDependenciesMeta": {- "encoding": {- "optional": true- }- }- },- "api/node_modules/openai": {- "version": "4.71.1",- "resolved": "https://registry.npmjs.org/openai/-/openai-4.71.1.tgz",- "integrity": "sha512-C6JNMaQ1eijM0lrjiRUL3MgThVP5RdwNAghpbJFdW0t11LzmyqON8Eh8MuUuEZ+CeD6bgYl2Fkn2BoptVxv9Ug==",- "license": "Apache-2.0",- "dependencies": {- "@types/node": "^18.11.18",- "@types/node-fetch": "^2.6.4",- "abort-controller": "^3.0.0",- "agentkeepalive": "^4.2.1",- "form-data-encoder": "1.7.2",- "formdata-node": "^4.3.2",- "node-fetch": "^2.6.7"- },- "bin": {- "openai": "bin/cli"- },- "peerDependencies": {- "zod": "^3.23.8"- },- "peerDependenciesMeta": {- "zod": {+ }+ }+ },+ "api/node_modules/openai": {+ "version": "4.71.1",+ "resolved": "https://registry.npmjs.org/openai/-/openai-4.71.1.tgz",+ "integrity": "sha512-C6JNMaQ1eijM0lrjiRUL3MgThVP5RdwNAghpbJFdW0t11LzmyqON8Eh8MuUuEZ+CeD6bgYl2Fkn2BoptVxv9Ug==",+ "license": "Apache-2.0",+ "dependencies": {+ "@types/node": "^18.11.18",+ "@types/node-fetch": "^2.6.4",+ "abort-controller": "^3.0.0",+ "agentkeepalive": "^4.2.1",+ "form-data-encoder": "1.7.2",+ "formdata-node": "^4.3.2",+ "node-fetch": "^2.6.7"+ },+ "bin": {+ "openai": "bin/cli"+ },+ "peerDependencies": {+ "zod": "^3.23.8"+ },+ "peerDependenciesMeta": {+ "zod": {"optional": true}}@@ -18425,20 +17877,548 @@"dependencies": {"tslib": "^2.6.2"},- "engines": {- "node": ">=18.0.0"+ "engines": {+ "node": ">=18.0.0"+ }+ },+ "node_modules/@langchain/aws/node_modules/@smithy/util-utf8": {+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/@smithy/util-utf8/-/util-utf8-4.0.0.tgz",+ "integrity": "sha512-b+zebfKCfRdgNJDknHCob3O7FpeYQN6ZG6YLExMcasDHsCXlsXCEuiPZeLnJLpwa5dvPetGlnGCiMHuLwGvFow==",+ "dependencies": {+ "@smithy/util-buffer-from": "^4.0.0",+ "tslib": "^2.6.2"+ },+ "engines": {+ "node": ">=18.0.0"+ }+ },+ "node_modules/@langchain/community": {+ "version": "0.3.36",+ "resolved": "https://registry.npmjs.org/@langchain/community/-/community-0.3.36.tgz",+ "integrity": "sha512-4jBB4yqux8CGfCwlBbtXck5qP0yJPwDvtwI4KUN2j/At+zSZn1FyTL11G75ctG2b5GO7u+cR6QatDXIPooJphA==",+ "dependencies": {+ "@langchain/openai": ">=0.2.0 <0.5.0",+ "binary-extensions": "^2.2.0",+ "expr-eval": "^2.0.2",+ "flat": "^5.0.2",+ "js-yaml": "^4.1.0",+ "langchain": ">=0.2.3 <0.3.0 || >=0.3.4 <0.4.0",+ "langsmith": ">=0.2.8 <0.4.0",+ "uuid": "^10.0.0",+ "zod": "^3.22.3",+ "zod-to-json-schema": "^3.22.5"+ },+ "engines": {+ "node": ">=18"+ },+ "peerDependencies": {+ "@arcjet/redact": "^v1.0.0-alpha.23",+ "@aws-crypto/sha256-js": "^5.0.0",+ "@aws-sdk/client-bedrock-agent-runtime": "^3.749.0",+ "@aws-sdk/client-bedrock-runtime": "^3.749.0",+ "@aws-sdk/client-dynamodb": "^3.749.0",+ "@aws-sdk/client-kendra": "^3.749.0",+ "@aws-sdk/client-lambda": "^3.749.0",+ "@aws-sdk/client-s3": "^3.749.0",+ "@aws-sdk/client-sagemaker-runtime": "^3.749.0",+ "@aws-sdk/client-sfn": "^3.749.0",+ "@aws-sdk/credential-provider-node": "^3.388.0",+ "@azure/search-documents": "^12.0.0",+ "@azure/storage-blob": "^12.15.0",+ "@browserbasehq/sdk": "*",+ "@browserbasehq/stagehand": "^1.0.0",+ "@clickhouse/client": "^0.2.5",+ "@cloudflare/ai": "*",+ "@datastax/astra-db-ts": "^1.0.0",+ "@elastic/elasticsearch": "^8.4.0",+ "@getmetal/metal-sdk": "*",+ "@getzep/zep-cloud": "^1.0.6",+ "@getzep/zep-js": "^0.9.0",+ "@gomomento/sdk": "^1.51.1",+ "@gomomento/sdk-core": "^1.51.1",+ "@google-ai/generativelanguage": "*",+ "@google-cloud/storage": "^6.10.1 || ^7.7.0",+ "@gradientai/nodejs-sdk": "^1.2.0",+ "@huggingface/inference": "^2.6.4",+ "@huggingface/transformers": "^3.2.3",+ "@ibm-cloud/watsonx-ai": "*",+ "@lancedb/lancedb": "^0.12.0",+ "@langchain/core": ">=0.2.21 <0.4.0",+ "@layerup/layerup-security": "^1.5.12",+ "@libsql/client": "^0.14.0",+ "@mendable/firecrawl-js": "^1.4.3",+ "@mlc-ai/web-llm": "*",+ "@mozilla/readability": "*",+ "@neondatabase/serverless": "*",+ "@notionhq/client": "^2.2.10",+ "@opensearch-project/opensearch": "*",+ "@pinecone-database/pinecone": "*",+ "@planetscale/database": "^1.8.0",+ "@premai/prem-sdk": "^0.3.25",+ "@qdrant/js-client-rest": "^1.8.2",+ "@raycast/api": "^1.55.2",+ "@rockset/client": "^0.9.1",+ "@smithy/eventstream-codec": "^2.0.5",+ "@smithy/protocol-http": "^3.0.6",+ "@smithy/signature-v4": "^2.0.10",+ "@smithy/util-utf8": "^2.0.0",+ "@spider-cloud/spider-client": "^0.0.21",+ "@supabase/supabase-js": "^2.45.0",+ "@tensorflow-models/universal-sentence-encoder": "*",+ "@tensorflow/tfjs-converter": "*",+ "@tensorflow/tfjs-core": "*",+ "@upstash/ratelimit": "^1.1.3 || ^2.0.3",+ "@upstash/redis": "^1.20.6",+ "@upstash/vector": "^1.1.1",+ "@vercel/kv": "*",+ "@vercel/postgres": "*",+ "@writerai/writer-sdk": "^0.40.2",+ "@xata.io/client": "^0.28.0",+ "@zilliz/milvus2-sdk-node": ">=2.3.5",+ "apify-client": "^2.7.1",+ "assemblyai": "^4.6.0",+ "better-sqlite3": ">=9.4.0 <12.0.0",+ "cassandra-driver": "^4.7.2",+ "cborg": "^4.1.1",+ "cheerio": "^1.0.0-rc.12",+ "chromadb": "*",+ "closevector-common": "0.1.3",+ "closevector-node": "0.1.6",+ "closevector-web": "0.1.6",+ "cohere-ai": "*",+ "convex": "^1.3.1",+ "crypto-js": "^4.2.0",+ "d3-dsv": "^2.0.0",+ "discord.js": "^14.14.1",+ "dria": "^0.0.3",+ "duck-duck-scrape": "^2.2.5",+ "epub2": "^3.0.1",+ "fast-xml-parser": "*",+ "firebase-admin": "^11.9.0 || ^12.0.0",+ "google-auth-library": "*",+ "googleapis": "*",+ "hnswlib-node": "^3.0.0",+ "html-to-text": "^9.0.5",+ "ibm-cloud-sdk-core": "*",+ "ignore": "^5.2.0",+ "interface-datastore": "^8.2.11",+ "ioredis": "^5.3.2",+ "it-all": "^3.0.4",+ "jsdom": "*",+ "jsonwebtoken": "^9.0.2",+ "llmonitor": "^0.5.9",+ "lodash": "^4.17.21",+ "lunary": "^0.7.10",+ "mammoth": "^1.6.0",+ "mariadb": "^3.4.0",+ "mongodb": ">=5.2.0",+ "mysql2": "^3.9.8",+ "neo4j-driver": "*",+ "notion-to-md": "^3.1.0",+ "officeparser": "^4.0.4",+ "openai": "*",+ "pdf-parse": "1.1.1",+ "pg": "^8.11.0",+ "pg-copy-streams": "^6.0.5",+ "pickleparser": "^0.2.1",+ "playwright": "^1.32.1",+ "portkey-ai": "^0.1.11",+ "puppeteer": "*",+ "pyodide": ">=0.24.1 <0.27.0",+ "redis": "*",+ "replicate": "*",+ "sonix-speech-recognition": "^2.1.1",+ "srt-parser-2": "^1.2.3",+ "typeorm": "^0.3.20",+ "typesense": "^1.5.3",+ "usearch": "^1.1.1",+ "voy-search": "0.6.2",+ "weaviate-ts-client": "*",+ "web-auth-library": "^1.0.3",+ "word-extractor": "*",+ "ws": "^8.14.2",+ "youtubei.js": "*"+ },+ "peerDependenciesMeta": {+ "@arcjet/redact": {+ "optional": true+ },+ "@aws-crypto/sha256-js": {+ "optional": true+ },+ "@aws-sdk/client-bedrock-agent-runtime": {+ "optional": true+ },+ "@aws-sdk/client-bedrock-runtime": {+ "optional": true+ },+ "@aws-sdk/client-dynamodb": {+ "optional": true+ },+ "@aws-sdk/client-kendra": {+ "optional": true+ },+ "@aws-sdk/client-lambda": {+ "optional": true+ },+ "@aws-sdk/client-s3": {+ "optional": true+ },+ "@aws-sdk/client-sagemaker-runtime": {+ "optional": true+ },+ "@aws-sdk/client-sfn": {+ "optional": true+ },+ "@aws-sdk/credential-provider-node": {+ "optional": true+ },+ "@aws-sdk/dsql-signer": {+ "optional": true+ },+ "@azure/search-documents": {+ "optional": true+ },+ "@azure/storage-blob": {+ "optional": true+ },+ "@browserbasehq/sdk": {+ "optional": true+ },+ "@clickhouse/client": {+ "optional": true+ },+ "@cloudflare/ai": {+ "optional": true+ },+ "@datastax/astra-db-ts": {+ "optional": true+ },+ "@elastic/elasticsearch": {+ "optional": true+ },+ "@getmetal/metal-sdk": {+ "optional": true+ },+ "@getzep/zep-cloud": {+ "optional": true+ },+ "@getzep/zep-js": {+ "optional": true+ },+ "@gomomento/sdk": {+ "optional": true+ },+ "@gomomento/sdk-core": {+ "optional": true+ },+ "@google-ai/generativelanguage": {+ "optional": true+ },+ "@google-cloud/storage": {+ "optional": true+ },+ "@gradientai/nodejs-sdk": {+ "optional": true+ },+ "@huggingface/inference": {+ "optional": true+ },+ "@huggingface/transformers": {+ "optional": true+ },+ "@lancedb/lancedb": {+ "optional": true+ },+ "@layerup/layerup-security": {+ "optional": true+ },+ "@libsql/client": {+ "optional": true+ },+ "@mendable/firecrawl-js": {+ "optional": true+ },+ "@mlc-ai/web-llm": {+ "optional": true+ },+ "@mozilla/readability": {+ "optional": true+ },+ "@neondatabase/serverless": {+ "optional": true+ },+ "@notionhq/client": {+ "optional": true+ },+ "@opensearch-project/opensearch": {+ "optional": true+ },+ "@pinecone-database/pinecone": {+ "optional": true+ },+ "@planetscale/database": {+ "optional": true+ },+ "@premai/prem-sdk": {+ "optional": true+ },+ "@qdrant/js-client-rest": {+ "optional": true+ },+ "@raycast/api": {+ "optional": true+ },+ "@rockset/client": {+ "optional": true+ },+ "@smithy/eventstream-codec": {+ "optional": true+ },+ "@smithy/protocol-http": {+ "optional": true+ },+ "@smithy/signature-v4": {+ "optional": true+ },+ "@smithy/util-utf8": {+ "optional": true+ },+ "@spider-cloud/spider-client": {+ "optional": true+ },+ "@supabase/supabase-js": {+ "optional": true+ },+ "@tensorflow-models/universal-sentence-encoder": {+ "optional": true+ },+ "@tensorflow/tfjs-converter": {+ "optional": true+ },+ "@tensorflow/tfjs-core": {+ "optional": true+ },+ "@upstash/ratelimit": {+ "optional": true+ },+ "@upstash/redis": {+ "optional": true+ },+ "@upstash/vector": {+ "optional": true+ },+ "@vercel/kv": {+ "optional": true+ },+ "@vercel/postgres": {+ "optional": true+ },+ "@writerai/writer-sdk": {+ "optional": true+ },+ "@xata.io/client": {+ "optional": true+ },+ "@zilliz/milvus2-sdk-node": {+ "optional": true+ },+ "apify-client": {+ "optional": true+ },+ "assemblyai": {+ "optional": true+ },+ "better-sqlite3": {+ "optional": true+ },+ "cassandra-driver": {+ "optional": true+ },+ "cborg": {+ "optional": true+ },+ "cheerio": {+ "optional": true+ },+ "chromadb": {+ "optional": true+ },+ "closevector-common": {+ "optional": true+ },+ "closevector-node": {+ "optional": true+ },+ "closevector-web": {+ "optional": true+ },+ "cohere-ai": {+ "optional": true+ },+ "convex": {+ "optional": true+ },+ "crypto-js": {+ "optional": true+ },+ "d3-dsv": {+ "optional": true+ },+ "discord.js": {+ "optional": true+ },+ "dria": {+ "optional": true+ },+ "duck-duck-scrape": {+ "optional": true+ },+ "epub2": {+ "optional": true+ },+ "fast-xml-parser": {+ "optional": true+ },+ "firebase-admin": {+ "optional": true+ },+ "google-auth-library": {+ "optional": true+ },+ "googleapis": {+ "optional": true+ },+ "hnswlib-node": {+ "optional": true+ },+ "html-to-text": {+ "optional": true+ },+ "ignore": {+ "optional": true+ },+ "interface-datastore": {+ "optional": true+ },+ "ioredis": {+ "optional": true+ },+ "it-all": {+ "optional": true+ },+ "jsdom": {+ "optional": true+ },+ "jsonwebtoken": {+ "optional": true+ },+ "llmonitor": {+ "optional": true+ },+ "lodash": {+ "optional": true+ },+ "lunary": {+ "optional": true+ },+ "mammoth": {+ "optional": true+ },+ "mariadb": {+ "optional": true+ },+ "mongodb": {+ "optional": true+ },+ "mysql2": {+ "optional": true+ },+ "neo4j-driver": {+ "optional": true+ },+ "notion-to-md": {+ "optional": true+ },+ "officeparser": {+ "optional": true+ },+ "pdf-parse": {+ "optional": true+ },+ "pg": {+ "optional": true+ },+ "pg-copy-streams": {+ "optional": true+ },+ "pickleparser": {+ "optional": true+ },+ "playwright": {+ "optional": true+ },+ "portkey-ai": {+ "optional": true+ },+ "puppeteer": {+ "optional": true+ },+ "pyodide": {+ "optional": true+ },+ "redis": {+ "optional": true+ },+ "replicate": {+ "optional": true+ },+ "sonix-speech-recognition": {+ "optional": true+ },+ "srt-parser-2": {+ "optional": true+ },+ "typeorm": {+ "optional": true+ },+ "typesense": {+ "optional": true+ },+ "usearch": {+ "optional": true+ },+ "voy-search": {+ "optional": true+ },+ "weaviate-ts-client": {+ "optional": true+ },+ "web-auth-library": {+ "optional": true+ },+ "word-extractor": {+ "optional": true+ },+ "ws": {+ "optional": true+ },+ "youtubei.js": {+ "optional": true+ }}},- "node_modules/@langchain/aws/node_modules/@smithy/util-utf8": {- "version": "4.0.0",- "resolved": "https://registry.npmjs.org/@smithy/util-utf8/-/util-utf8-4.0.0.tgz",- "integrity": "sha512-b+zebfKCfRdgNJDknHCob3O7FpeYQN6ZG6YLExMcasDHsCXlsXCEuiPZeLnJLpwa5dvPetGlnGCiMHuLwGvFow==",- "dependencies": {- "@smithy/util-buffer-from": "^4.0.0",- "tslib": "^2.6.2"- },- "engines": {- "node": ">=18.0.0"+ "node_modules/@langchain/community/node_modules/uuid": {+ "version": "10.0.0",+ "resolved": "https://registry.npmjs.org/uuid/-/uuid-10.0.0.tgz",+ "integrity": "sha512-8XkAphELsDnEGrDxUOHB3RGvXz6TeuYSGEZBOjtTtPm2lwhGBjLgOzLHB63IUWfBpNucQjND6d3AOudO+H3RWQ==",+ "funding": [+ "https://github.com/sponsors/broofa",+ "https://github.com/sponsors/ctavan"+ ],+ "bin": {+ "uuid": "dist/bin/uuid"}},"node_modules/@langchain/core": {@@ -18857,6 +18837,58 @@"@lezer/common": "^1.0.0"}},+ "node_modules/@librechat/agents": {+ "version": "2.3.94",+ "resolved": "https://registry.npmjs.org/@librechat/agents/-/agents-2.3.94.tgz",+ "integrity": "sha512-/hcojcTJiWADtcDMbgtNv8LZJnimORfDw0DPllqS+8rt2+PPhOEvBFoNFXibUWyW38S35CT9PQJCFIkidHfMsQ==",+ "dependencies": {+ "@aws-crypto/sha256-js": "^5.2.0",+ "@aws-sdk/credential-provider-node": "^3.613.0",+ "@aws-sdk/types": "^3.609.0",+ "@langchain/anthropic": "^0.3.14",+ "@langchain/aws": "^0.1.7",+ "@langchain/community": "^0.3.35",+ "@langchain/core": "^0.3.40",+ "@langchain/deepseek": "^0.0.1",+ "@langchain/google-genai": "^0.1.11",+ "@langchain/google-vertexai": "^0.2.2",+ "@langchain/langgraph": "^0.2.49",+ "@langchain/mistralai": "^0.0.26",+ "@langchain/ollama": "^0.1.5",+ "@langchain/openai": "^0.4.2",+ "@langchain/xai": "^0.0.2",+ "@smithy/eventstream-codec": "^2.2.0",+ "@smithy/protocol-http": "^3.0.6",+ "@smithy/signature-v4": "^2.0.10",+ "@smithy/util-utf8": "^2.0.0",+ "dotenv": "^16.4.7",+ "https-proxy-agent": "^7.0.6",+ "nanoid": "^3.3.7"+ },+ "engines": {+ "node": ">=14.0.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==",+ "engines": {+ "node": ">= 14"+ }+ },+ "node_modules/@librechat/agents/node_modules/https-proxy-agent": {+ "version": "7.0.6",+ "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.6.tgz",+ "integrity": "sha512-vK9P5/iUfdl95AI+JVyUuIcVtd4ofvtrOr3HNtM2yxC9bnMbEdp3x01OhQNnjb8IJYi38VlTE3mBXwcfvywuSw==",+ "dependencies": {+ "agent-base": "^7.1.2",+ "debug": "4"+ },+ "engines": {+ "node": ">= 14"+ }+ },"node_modules/@librechat/backend": {"resolved": "api","link": true