@ztorchan/mem0ai 2.4.0
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/README.md +64 -0
- package/dist/index.d.mts +281 -0
- package/dist/index.d.ts +281 -0
- package/dist/index.js +724 -0
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +687 -0
- package/dist/index.mjs.map +1 -0
- package/dist/oss/index.d.mts +952 -0
- package/dist/oss/index.d.ts +952 -0
- package/dist/oss/index.js +5563 -0
- package/dist/oss/index.js.map +1 -0
- package/dist/oss/index.mjs +5509 -0
- package/dist/oss/index.mjs.map +1 -0
- package/package.json +133 -0
package/package.json
ADDED
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@ztorchan/mem0ai",
|
|
3
|
+
"version": "2.4.0",
|
|
4
|
+
"description": "The Memory Layer For Your AI Apps",
|
|
5
|
+
"main": "./dist/index.js",
|
|
6
|
+
"module": "./dist/index.mjs",
|
|
7
|
+
"types": "./dist/index.d.ts",
|
|
8
|
+
"typesVersions": {
|
|
9
|
+
"*": {
|
|
10
|
+
"*": [
|
|
11
|
+
"./dist/index.d.ts"
|
|
12
|
+
],
|
|
13
|
+
"oss": [
|
|
14
|
+
"./dist/oss/index.d.ts"
|
|
15
|
+
]
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
"exports": {
|
|
19
|
+
".": {
|
|
20
|
+
"types": "./dist/index.d.ts",
|
|
21
|
+
"require": "./dist/index.js",
|
|
22
|
+
"import": "./dist/index.mjs"
|
|
23
|
+
},
|
|
24
|
+
"./oss": {
|
|
25
|
+
"types": "./dist/oss/index.d.ts",
|
|
26
|
+
"require": "./dist/oss/index.js",
|
|
27
|
+
"import": "./dist/oss/index.mjs"
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"files": [
|
|
31
|
+
"dist"
|
|
32
|
+
],
|
|
33
|
+
"scripts": {
|
|
34
|
+
"clean": "rimraf dist",
|
|
35
|
+
"build": "npm run clean && npx prettier --check . && npx tsup",
|
|
36
|
+
"dev": "npx nodemon",
|
|
37
|
+
"start": "pnpm run example memory",
|
|
38
|
+
"example": "ts-node src/oss/examples/vector-stores/index.ts",
|
|
39
|
+
"test": "jest",
|
|
40
|
+
"test:ts": "jest --config jest.config.js",
|
|
41
|
+
"test:watch": "jest --config jest.config.js --watch",
|
|
42
|
+
"format": "npm run clean && prettier --write .",
|
|
43
|
+
"format:check": "npm run clean && prettier --check ."
|
|
44
|
+
},
|
|
45
|
+
"tsup": {
|
|
46
|
+
"entry": [
|
|
47
|
+
"src/index.ts"
|
|
48
|
+
],
|
|
49
|
+
"format": [
|
|
50
|
+
"cjs",
|
|
51
|
+
"esm"
|
|
52
|
+
],
|
|
53
|
+
"dts": {
|
|
54
|
+
"resolve": true
|
|
55
|
+
},
|
|
56
|
+
"splitting": false,
|
|
57
|
+
"sourcemap": true,
|
|
58
|
+
"clean": true,
|
|
59
|
+
"treeshake": true,
|
|
60
|
+
"minify": false,
|
|
61
|
+
"external": [
|
|
62
|
+
"@mem0/community"
|
|
63
|
+
],
|
|
64
|
+
"noExternal": [
|
|
65
|
+
"!src/community/**"
|
|
66
|
+
]
|
|
67
|
+
},
|
|
68
|
+
"keywords": [
|
|
69
|
+
"mem0",
|
|
70
|
+
"api",
|
|
71
|
+
"client",
|
|
72
|
+
"memory",
|
|
73
|
+
"llm",
|
|
74
|
+
"long-term-memory",
|
|
75
|
+
"ai"
|
|
76
|
+
],
|
|
77
|
+
"author": "Deshraj Yadav",
|
|
78
|
+
"license": "Apache-2.0",
|
|
79
|
+
"devDependencies": {
|
|
80
|
+
"@types/better-sqlite3": "^7.6.13",
|
|
81
|
+
"@types/node": "^22.7.6",
|
|
82
|
+
"@types/uuid": "^9.0.8",
|
|
83
|
+
"dotenv": "^16.4.5",
|
|
84
|
+
"fix-tsup-cjs": "^1.2.0",
|
|
85
|
+
"jest": "^29.7.0",
|
|
86
|
+
"nodemon": "^3.0.1",
|
|
87
|
+
"prettier": "^3.5.2",
|
|
88
|
+
"rimraf": "^5.0.5",
|
|
89
|
+
"ts-jest": "^29.2.6",
|
|
90
|
+
"ts-node": "^10.9.2",
|
|
91
|
+
"tsup": "^8.3.0",
|
|
92
|
+
"typescript": "5.5.4"
|
|
93
|
+
},
|
|
94
|
+
"dependencies": {
|
|
95
|
+
"axios": "1.13.6",
|
|
96
|
+
"openai": "^4.93.0",
|
|
97
|
+
"uuid": "9.0.1",
|
|
98
|
+
"zod": "^3.24.1"
|
|
99
|
+
},
|
|
100
|
+
"peerDependencies": {
|
|
101
|
+
"@anthropic-ai/sdk": "^0.40.1",
|
|
102
|
+
"@azure/identity": "^4.13.0",
|
|
103
|
+
"@azure/search-documents": "^12.2.0",
|
|
104
|
+
"@cloudflare/workers-types": "^4.20250504.0",
|
|
105
|
+
"@google/genai": "^1.45.0",
|
|
106
|
+
"@langchain/core": "^0.3.80",
|
|
107
|
+
"@mistralai/mistralai": "^1.15.1",
|
|
108
|
+
"@qdrant/js-client-rest": "1.13.0",
|
|
109
|
+
"@supabase/supabase-js": "^2.99.2",
|
|
110
|
+
"@types/jest": "29.5.14",
|
|
111
|
+
"@types/pg": "8.11.0",
|
|
112
|
+
"better-sqlite3": "^12.6.2",
|
|
113
|
+
"cloudflare": "^4.5.0",
|
|
114
|
+
"groq-sdk": "0.3.0",
|
|
115
|
+
"neo4j-driver": "^5.28.3",
|
|
116
|
+
"ollama": "^0.5.18",
|
|
117
|
+
"pg": "8.11.3",
|
|
118
|
+
"redis": "^4.6.13"
|
|
119
|
+
},
|
|
120
|
+
"engines": {
|
|
121
|
+
"node": ">=18"
|
|
122
|
+
},
|
|
123
|
+
"publishConfig": {
|
|
124
|
+
"access": "public"
|
|
125
|
+
},
|
|
126
|
+
"packageManager": "pnpm@10.5.2+sha512.da9dc28cd3ff40d0592188235ab25d3202add8a207afbedc682220e4a0029ffbff4562102b9e6e46b4e3f9e8bd53e6d05de48544b0c57d4b0179e22c76d1199b",
|
|
127
|
+
"pnpm": {
|
|
128
|
+
"onlyBuiltDependencies": [
|
|
129
|
+
"esbuild",
|
|
130
|
+
"better-sqlite3"
|
|
131
|
+
]
|
|
132
|
+
}
|
|
133
|
+
}
|