@humanlikememory/human-like-mem 0.4.1 → 0.4.2
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/index.js +4 -5
- package/openclaw.plugin.json +13 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -31,11 +31,10 @@ let upgradeNotification = null;
|
|
|
31
31
|
*/
|
|
32
32
|
function warnMissingApiKey(log) {
|
|
33
33
|
const msg = `
|
|
34
|
-
[Memory Plugin]
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
export HUMAN_LIKE_MEM_BASE_URL="https://plugin.human-like.me"
|
|
34
|
+
[Memory Plugin] API key not configured.
|
|
35
|
+
Recommended: export HUMAN_LIKE_MEM_API_KEY="mp_xxxxxx"
|
|
36
|
+
Alternative: openclaw config set plugins.entries.human-like-mem.config.apiKey "mp_xxxxxx"
|
|
37
|
+
Get your key: https://human-like.me
|
|
39
38
|
`;
|
|
40
39
|
if (log?.warn) {
|
|
41
40
|
log.warn(msg);
|
package/openclaw.plugin.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"id": "human-like-mem",
|
|
4
4
|
"name": "Human-Like Memory Plugin",
|
|
5
5
|
"description": "Long-term memory plugin with automatic recall, storage, and agent-accessible memory tools.",
|
|
6
|
-
"version": "0.4.
|
|
6
|
+
"version": "0.4.2",
|
|
7
7
|
"kind": "memory",
|
|
8
8
|
"extensions": ["./index.js"],
|
|
9
9
|
"requirements": {
|
|
@@ -161,5 +161,17 @@
|
|
|
161
161
|
"default": 300000,
|
|
162
162
|
"env": "HUMAN_LIKE_MEM_SESSION_TIMEOUT"
|
|
163
163
|
}
|
|
164
|
+
},
|
|
165
|
+
"uiHints": {
|
|
166
|
+
"apiKey": {
|
|
167
|
+
"label": "API Key",
|
|
168
|
+
"sensitive": true,
|
|
169
|
+
"placeholder": "mp_xxxxxx",
|
|
170
|
+
"help": "Set via environment variable (recommended): export HUMAN_LIKE_MEM_API_KEY=\"mp_xxx\". Get your key at https://human-like.me"
|
|
171
|
+
},
|
|
172
|
+
"baseUrl": {
|
|
173
|
+
"label": "API Base URL",
|
|
174
|
+
"help": "Default: https://plugin.human-like.me. Override via HUMAN_LIKE_MEM_BASE_URL env var."
|
|
175
|
+
}
|
|
164
176
|
}
|
|
165
177
|
}
|
package/package.json
CHANGED