openclaw-amem 1.0.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/LICENSE +21 -0
- package/README.md +355 -0
- package/dist/index.js +6361 -0
- package/openclaw.plugin.json +63 -0
- package/package.json +81 -0
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "openclaw-amem",
|
|
3
|
+
"name": "Memory (A-MEM v2)",
|
|
4
|
+
"description": "A-MEM agentic memory backend for OpenClaw — Qdrant + Transformers.js, no Python required. Note construction, link generation, memory evolution.",
|
|
5
|
+
"version": "1.0.0",
|
|
6
|
+
"kind": "memory",
|
|
7
|
+
"openclaw": {
|
|
8
|
+
"compat": {
|
|
9
|
+
"pluginApi": ">=2026.3.24"
|
|
10
|
+
},
|
|
11
|
+
"build": {
|
|
12
|
+
"openclawVersion": "2026.6.9"
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"contracts": {
|
|
16
|
+
"tools": [
|
|
17
|
+
"memory_search",
|
|
18
|
+
"memory_add",
|
|
19
|
+
"memory_list",
|
|
20
|
+
"memory_consolidate",
|
|
21
|
+
"memory_quality_scan"
|
|
22
|
+
]
|
|
23
|
+
},
|
|
24
|
+
"configSchema": {
|
|
25
|
+
"type": "object",
|
|
26
|
+
"additionalProperties": false,
|
|
27
|
+
"properties": {
|
|
28
|
+
"topK": {
|
|
29
|
+
"type": "number",
|
|
30
|
+
"default": 5,
|
|
31
|
+
"description": "Maximum number of memories to retrieve."
|
|
32
|
+
},
|
|
33
|
+
"agentId": {
|
|
34
|
+
"type": "string",
|
|
35
|
+
"default": "main",
|
|
36
|
+
"description": "Agent namespace for memory isolation."
|
|
37
|
+
},
|
|
38
|
+
"collection": {
|
|
39
|
+
"type": "string",
|
|
40
|
+
"description": "Qdrant collection name (mode A shared default)."
|
|
41
|
+
},
|
|
42
|
+
"agents": {
|
|
43
|
+
"type": "object",
|
|
44
|
+
"description": "Per-agent overrides keyed by agentId.",
|
|
45
|
+
"additionalProperties": {
|
|
46
|
+
"type": "object",
|
|
47
|
+
"additionalProperties": false,
|
|
48
|
+
"properties": {
|
|
49
|
+
"agentId": {
|
|
50
|
+
"type": "string",
|
|
51
|
+
"description": "Override the effective agentId namespace."
|
|
52
|
+
},
|
|
53
|
+
"collection": {
|
|
54
|
+
"type": "string",
|
|
55
|
+
"description": "Dedicated collection → mode B isolation."
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
"required": []
|
|
62
|
+
}
|
|
63
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "openclaw-amem",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "A-MEM agentic memory backend for OpenClaw — TypeScript rewrite",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"openclaw": {
|
|
7
|
+
"extensions": [
|
|
8
|
+
"./dist/index.js"
|
|
9
|
+
],
|
|
10
|
+
"compat": {
|
|
11
|
+
"pluginApi": ">=2026.3.24"
|
|
12
|
+
},
|
|
13
|
+
"build": {
|
|
14
|
+
"openclawVersion": "2026.6.9"
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"scripts": {
|
|
18
|
+
"build": "tsup src/index.ts --format cjs --out-dir dist",
|
|
19
|
+
"dev": "tsup src/index.ts --format cjs --watch",
|
|
20
|
+
"lint": "eslint src",
|
|
21
|
+
"format": "prettier --check \"src/**/*.ts\"",
|
|
22
|
+
"format:fix": "prettier --write \"src/**/*.ts\"",
|
|
23
|
+
"test": "vitest run",
|
|
24
|
+
"test:watch": "vitest",
|
|
25
|
+
"check": "npm run format && npm run lint && npm run test",
|
|
26
|
+
"docs:dev": "vitepress dev website",
|
|
27
|
+
"docs:build": "vitepress build website",
|
|
28
|
+
"docs:preview": "vitepress preview website"
|
|
29
|
+
},
|
|
30
|
+
"dependencies": {
|
|
31
|
+
"@anthropic-ai/sdk": "^0.52.0",
|
|
32
|
+
"@huggingface/transformers": "^3.5.0",
|
|
33
|
+
"@node-rs/jieba": "^2.0.1",
|
|
34
|
+
"@qdrant/js-client-rest": "^1.18.0",
|
|
35
|
+
"@types/uuid": "^10.0.0",
|
|
36
|
+
"chromadb": "^1.9.2",
|
|
37
|
+
"uuid": "^14.0.0"
|
|
38
|
+
},
|
|
39
|
+
"devDependencies": {
|
|
40
|
+
"@eslint/js": "^10.0.1",
|
|
41
|
+
"eslint": "^10.4.1",
|
|
42
|
+
"prettier": "^3.8.3",
|
|
43
|
+
"tsup": "^8.4.0",
|
|
44
|
+
"tsx": "^4.21.0",
|
|
45
|
+
"typescript": "^5.9.3",
|
|
46
|
+
"typescript-eslint": "^8.60.1",
|
|
47
|
+
"vitepress": "^1.6.4",
|
|
48
|
+
"vitepress-plugin-llms": "^1.13.2",
|
|
49
|
+
"vitest": "^4.1.8"
|
|
50
|
+
},
|
|
51
|
+
"optionalDependencies": {
|
|
52
|
+
"@node-rs/jieba-darwin-arm64": "^2.0.1",
|
|
53
|
+
"@node-rs/jieba-linux-x64-gnu": "^2.0.1"
|
|
54
|
+
},
|
|
55
|
+
"repository": {
|
|
56
|
+
"type": "git",
|
|
57
|
+
"url": "https://github.com/heichaowo/openclaw-amem.git"
|
|
58
|
+
},
|
|
59
|
+
"homepage": "https://amem.owo.lc",
|
|
60
|
+
"bugs": {
|
|
61
|
+
"url": "https://github.com/heichaowo/openclaw-amem/issues"
|
|
62
|
+
},
|
|
63
|
+
"keywords": [
|
|
64
|
+
"openclaw",
|
|
65
|
+
"openclaw-plugin",
|
|
66
|
+
"a-mem",
|
|
67
|
+
"agent-memory",
|
|
68
|
+
"agentic-memory",
|
|
69
|
+
"memory-plugin",
|
|
70
|
+
"qdrant",
|
|
71
|
+
"vector-memory",
|
|
72
|
+
"llm-memory",
|
|
73
|
+
"transformers"
|
|
74
|
+
],
|
|
75
|
+
"files": [
|
|
76
|
+
"dist/",
|
|
77
|
+
"openclaw.plugin.json",
|
|
78
|
+
"README.md",
|
|
79
|
+
"LICENSE"
|
|
80
|
+
]
|
|
81
|
+
}
|