@ppagent/memory 0.1.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/dist/index.d.ts +594 -0
- package/dist/index.js +2876 -0
- package/llms.txt +845 -0
- package/package.json +52 -0
package/package.json
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@ppagent/memory",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "独立记忆系统模块,基于 LanceDB + Grafeo 实现向量存储与知识图谱",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "dist/index.js",
|
|
7
|
+
"types": "dist/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"source": "./src/index.ts",
|
|
11
|
+
"import": "./dist/index.js",
|
|
12
|
+
"types": "./dist/index.d.ts"
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"files": [
|
|
16
|
+
"/dist",
|
|
17
|
+
"llms.txt"
|
|
18
|
+
],
|
|
19
|
+
"scripts": {
|
|
20
|
+
"build": "tsup src/index.ts --format esm --dts --out-dir dist --clean",
|
|
21
|
+
"dev": "tsup src/index.ts --format esm --dts --out-dir dist --watch",
|
|
22
|
+
"test": "vitest"
|
|
23
|
+
},
|
|
24
|
+
"publishConfig": {
|
|
25
|
+
"access": "public",
|
|
26
|
+
"registry": "https://registry.npmjs.org/"
|
|
27
|
+
},
|
|
28
|
+
"keywords": [
|
|
29
|
+
"memory",
|
|
30
|
+
"rag",
|
|
31
|
+
"lancedb",
|
|
32
|
+
"grafeo",
|
|
33
|
+
"vector",
|
|
34
|
+
"graph"
|
|
35
|
+
],
|
|
36
|
+
"author": "ppagent",
|
|
37
|
+
"license": "Apache-2.0",
|
|
38
|
+
"dependencies": {
|
|
39
|
+
"@dqbd/tiktoken": "^1.0.15",
|
|
40
|
+
"@grafeo-db/js": "^0.5.0",
|
|
41
|
+
"@lancedb/lancedb": "^0.14.0",
|
|
42
|
+
"apache-arrow": "^18.0.0",
|
|
43
|
+
"uuid": "^10.0.0"
|
|
44
|
+
},
|
|
45
|
+
"devDependencies": {
|
|
46
|
+
"@types/node": "^22.0.0",
|
|
47
|
+
"@types/uuid": "^10.0.0",
|
|
48
|
+
"tsup": "^8.3.5",
|
|
49
|
+
"typescript": "^5.8.3",
|
|
50
|
+
"vitest": "^2.0.5"
|
|
51
|
+
}
|
|
52
|
+
}
|