refactor(ts-sdk): lazy-load optional provider SDKs so importing mem0ai/oss never requires them (#6280)

This commit is contained in:
Kartik
2026-07-13 15:23:12 +05:30
committed by GitHub
parent 17836748d7
commit d89793b666
18 changed files with 726 additions and 312 deletions
+48
View File
@@ -168,6 +168,54 @@
},
"@aws-sdk/client-neptune-graph": {
"optional": true
},
"chromadb": {
"optional": true
},
"mongodb": {
"optional": true
},
"weaviate-client": {
"optional": true
},
"cassandra-driver": {
"optional": true
},
"@pinecone-database/pinecone": {
"optional": true
},
"@aws-sdk/client-s3vectors": {
"optional": true
},
"@turbopuffer/turbopuffer": {
"optional": true
},
"@upstash/vector": {
"optional": true
},
"@elastic/elasticsearch": {
"optional": true
},
"@opensearch-project/opensearch": {
"optional": true
},
"cohere-ai": {
"optional": true
},
"zeroentropy": {
"optional": true
},
"fastembed": {
"optional": true
},
"@google-cloud/aiplatform": {
"optional": true
},
"@huggingface/transformers": {
"optional": true
},
"iovalkey": {
"optional": true
}
},
"engines": {