@humanlikememory/human-like-mem 0.3.14 → 0.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/LICENSE +190 -190
- package/README.md +70 -70
- package/README_ZH.md +70 -70
- package/index.js +232 -271
- package/openclaw.plugin.json +165 -151
- package/package.json +8 -5
package/openclaw.plugin.json
CHANGED
|
@@ -1,151 +1,165 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://openclaw.io/schemas/plugin.json",
|
|
3
|
-
"id": "human-like-mem",
|
|
4
|
-
"name": "Human-Like Memory Plugin",
|
|
5
|
-
"description": "Long-term memory plugin with automatic recall and
|
|
6
|
-
"version": "0.
|
|
7
|
-
"kind": "
|
|
8
|
-
"
|
|
9
|
-
"
|
|
10
|
-
"
|
|
11
|
-
},
|
|
12
|
-
"
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
"
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
"
|
|
36
|
-
"type": "string",
|
|
37
|
-
"description": "
|
|
38
|
-
},
|
|
39
|
-
"
|
|
40
|
-
"type": "
|
|
41
|
-
"description": "
|
|
42
|
-
"default":
|
|
43
|
-
},
|
|
44
|
-
"
|
|
45
|
-
"type": "
|
|
46
|
-
"description": "
|
|
47
|
-
"default":
|
|
48
|
-
},
|
|
49
|
-
"
|
|
50
|
-
"type": "
|
|
51
|
-
"description": "
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
"
|
|
61
|
-
"
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
"
|
|
66
|
-
"
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
"
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
"
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
"
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
"
|
|
100
|
-
"
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
"
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
"
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
"
|
|
114
|
-
"
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
"
|
|
119
|
-
"
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
"
|
|
124
|
-
"
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
"
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
"
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
"
|
|
140
|
-
"
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
"
|
|
146
|
-
"
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://openclaw.io/schemas/plugin.json",
|
|
3
|
+
"id": "human-like-mem",
|
|
4
|
+
"name": "Human-Like Memory Plugin",
|
|
5
|
+
"description": "Long-term memory plugin with automatic recall, storage, and agent-accessible memory tools.",
|
|
6
|
+
"version": "0.4.0",
|
|
7
|
+
"kind": "memory",
|
|
8
|
+
"extensions": ["./index.js"],
|
|
9
|
+
"requirements": {
|
|
10
|
+
"openclaw": ">=2026.2.0"
|
|
11
|
+
},
|
|
12
|
+
"author": {
|
|
13
|
+
"name": "hanlaomo"
|
|
14
|
+
},
|
|
15
|
+
"license": "Apache-2.0",
|
|
16
|
+
"keywords": [
|
|
17
|
+
"memory",
|
|
18
|
+
"openclaw",
|
|
19
|
+
"long-term-memory",
|
|
20
|
+
"agentic-memory"
|
|
21
|
+
],
|
|
22
|
+
"tools": [
|
|
23
|
+
{
|
|
24
|
+
"name": "memory_search",
|
|
25
|
+
"description": "Search user's long-term memory for relevant past conversations and knowledge."
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"name": "memory_store",
|
|
29
|
+
"description": "Save important information to user's long-term memory."
|
|
30
|
+
}
|
|
31
|
+
],
|
|
32
|
+
"configSchema": {
|
|
33
|
+
"type": "object",
|
|
34
|
+
"properties": {
|
|
35
|
+
"apiKey": {
|
|
36
|
+
"type": "string",
|
|
37
|
+
"description": "API key (apply at https://human-like.me)"
|
|
38
|
+
},
|
|
39
|
+
"baseUrl": {
|
|
40
|
+
"type": "string",
|
|
41
|
+
"description": "Memory API base URL",
|
|
42
|
+
"default": "https://human-like.me"
|
|
43
|
+
},
|
|
44
|
+
"userId": {
|
|
45
|
+
"type": "string",
|
|
46
|
+
"description": "User identifier",
|
|
47
|
+
"default": "openclaw-user"
|
|
48
|
+
},
|
|
49
|
+
"agentId": {
|
|
50
|
+
"type": "string",
|
|
51
|
+
"description": "Agent identifier"
|
|
52
|
+
},
|
|
53
|
+
"recallEnabled": {
|
|
54
|
+
"type": "boolean",
|
|
55
|
+
"description": "Enable memory recall",
|
|
56
|
+
"default": true
|
|
57
|
+
},
|
|
58
|
+
"addEnabled": {
|
|
59
|
+
"type": "boolean",
|
|
60
|
+
"description": "Enable memory storage",
|
|
61
|
+
"default": true
|
|
62
|
+
},
|
|
63
|
+
"recallGlobal": {
|
|
64
|
+
"type": "boolean",
|
|
65
|
+
"description": "Search memories globally",
|
|
66
|
+
"default": true
|
|
67
|
+
},
|
|
68
|
+
"memoryLimitNumber": {
|
|
69
|
+
"type": "number",
|
|
70
|
+
"description": "Maximum number of recalled memories",
|
|
71
|
+
"default": 6
|
|
72
|
+
},
|
|
73
|
+
"minScore": {
|
|
74
|
+
"type": "number",
|
|
75
|
+
"description": "Minimum relevance score",
|
|
76
|
+
"default": 0.1
|
|
77
|
+
},
|
|
78
|
+
"tags": {
|
|
79
|
+
"type": "array",
|
|
80
|
+
"description": "Memory tags",
|
|
81
|
+
"items": {
|
|
82
|
+
"type": "string"
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
"minTurnsToStore": {
|
|
86
|
+
"type": "number",
|
|
87
|
+
"description": "Store once every N turns (stores latest N*2 turns)",
|
|
88
|
+
"default": 5
|
|
89
|
+
},
|
|
90
|
+
"sessionTimeoutMs": {
|
|
91
|
+
"type": "number",
|
|
92
|
+
"description": "Session timeout in milliseconds before auto-flush",
|
|
93
|
+
"default": 300000
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
"config": {
|
|
98
|
+
"apiKey": {
|
|
99
|
+
"type": "string",
|
|
100
|
+
"description": "API key (apply at https://human-like.me)",
|
|
101
|
+
"env": "HUMAN_LIKE_MEM_API_KEY",
|
|
102
|
+
"required": true
|
|
103
|
+
},
|
|
104
|
+
"baseUrl": {
|
|
105
|
+
"type": "string",
|
|
106
|
+
"description": "Memory API base URL",
|
|
107
|
+
"default": "https://human-like.me",
|
|
108
|
+
"env": "HUMAN_LIKE_MEM_BASE_URL"
|
|
109
|
+
},
|
|
110
|
+
"userId": {
|
|
111
|
+
"type": "string",
|
|
112
|
+
"description": "User identifier",
|
|
113
|
+
"default": "openclaw-user",
|
|
114
|
+
"env": "HUMAN_LIKE_MEM_USER_ID"
|
|
115
|
+
},
|
|
116
|
+
"agentId": {
|
|
117
|
+
"type": "string",
|
|
118
|
+
"description": "Agent identifier",
|
|
119
|
+
"env": "HUMAN_LIKE_MEM_AGENT_ID"
|
|
120
|
+
},
|
|
121
|
+
"recallEnabled": {
|
|
122
|
+
"type": "boolean",
|
|
123
|
+
"description": "Enable memory recall",
|
|
124
|
+
"default": true
|
|
125
|
+
},
|
|
126
|
+
"addEnabled": {
|
|
127
|
+
"type": "boolean",
|
|
128
|
+
"description": "Enable memory storage",
|
|
129
|
+
"default": true
|
|
130
|
+
},
|
|
131
|
+
"recallGlobal": {
|
|
132
|
+
"type": "boolean",
|
|
133
|
+
"description": "Search memories globally",
|
|
134
|
+
"default": true
|
|
135
|
+
},
|
|
136
|
+
"memoryLimitNumber": {
|
|
137
|
+
"type": "number",
|
|
138
|
+
"description": "Maximum number of recalled memories",
|
|
139
|
+
"default": 6,
|
|
140
|
+
"env": "HUMAN_LIKE_MEM_LIMIT_NUMBER"
|
|
141
|
+
},
|
|
142
|
+
"minScore": {
|
|
143
|
+
"type": "number",
|
|
144
|
+
"description": "Minimum relevance score",
|
|
145
|
+
"default": 0.1,
|
|
146
|
+
"env": "HUMAN_LIKE_MEM_MIN_SCORE"
|
|
147
|
+
},
|
|
148
|
+
"tags": {
|
|
149
|
+
"type": "array",
|
|
150
|
+
"description": "Memory tags"
|
|
151
|
+
},
|
|
152
|
+
"minTurnsToStore": {
|
|
153
|
+
"type": "number",
|
|
154
|
+
"description": "Store once every N turns (stores latest N*2 turns)",
|
|
155
|
+
"default": 5,
|
|
156
|
+
"env": "HUMAN_LIKE_MEM_MIN_TURNS"
|
|
157
|
+
},
|
|
158
|
+
"sessionTimeoutMs": {
|
|
159
|
+
"type": "number",
|
|
160
|
+
"description": "Session timeout in milliseconds before auto-flush",
|
|
161
|
+
"default": 300000,
|
|
162
|
+
"env": "HUMAN_LIKE_MEM_SESSION_TIMEOUT"
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@humanlikememory/human-like-mem",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "Long-term memory plugin for OpenClaw
|
|
3
|
+
"version": "0.4.0",
|
|
4
|
+
"description": "Long-term memory plugin for OpenClaw with automatic recall, storage, and agent-accessible memory tools.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"files": [
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"ai",
|
|
31
31
|
"long-term-memory",
|
|
32
32
|
"ai-social",
|
|
33
|
-
"
|
|
33
|
+
"agentic-memory"
|
|
34
34
|
],
|
|
35
35
|
"author": "hanlaomo",
|
|
36
36
|
"license": "Apache-2.0",
|
|
@@ -52,5 +52,8 @@
|
|
|
52
52
|
},
|
|
53
53
|
"publishConfig": {
|
|
54
54
|
"access": "public"
|
|
55
|
-
}
|
|
56
|
-
|
|
55
|
+
},
|
|
56
|
+
"dependencies": {
|
|
57
|
+
"@humanlikememory/human-like-mem": "^0.4.0"
|
|
58
|
+
}
|
|
59
|
+
}
|