@psiclawops/hypermem-memory 0.9.7 → 0.9.9
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.js +3 -1
- package/package.json +8 -7
package/dist/index.js
CHANGED
|
@@ -181,9 +181,11 @@ function createMemorySearchManager(hm, agentId, workspaceDir) {
|
|
|
181
181
|
try {
|
|
182
182
|
const vectorStore = hm.getVectorStore();
|
|
183
183
|
if (vectorStore) {
|
|
184
|
-
const
|
|
184
|
+
const semanticSearch = hm.semanticSearch;
|
|
185
|
+
const vectorResults = await semanticSearch(agentId, query, {
|
|
185
186
|
limit: maxResults,
|
|
186
187
|
maxDistance: 1.5,
|
|
188
|
+
allowInlineQueryEmbedding: false,
|
|
187
189
|
});
|
|
188
190
|
for (const vr of vectorResults) {
|
|
189
191
|
const score = 1.0 - (vr.distance / 2.0); // normalize distance to 0-1 score
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@psiclawops/hypermem-memory",
|
|
3
|
-
"version": "0.9.
|
|
4
|
-
"description": "HyperMem memory plugin for OpenClaw
|
|
3
|
+
"version": "0.9.9",
|
|
4
|
+
"description": "HyperMem memory plugin for OpenClaw \u2014 bridges HyperMem retrieval into the memory slot",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"license": "Apache-2.0",
|
|
@@ -29,8 +29,8 @@
|
|
|
29
29
|
"minGatewayVersion": "2026.4.12"
|
|
30
30
|
},
|
|
31
31
|
"build": {
|
|
32
|
-
"openclawVersion": "2026.5.
|
|
33
|
-
"pluginSdkVersion": "2026.5.
|
|
32
|
+
"openclawVersion": "2026.5.7",
|
|
33
|
+
"pluginSdkVersion": "2026.5.7"
|
|
34
34
|
}
|
|
35
35
|
},
|
|
36
36
|
"scripts": {
|
|
@@ -40,10 +40,10 @@
|
|
|
40
40
|
"typecheck": "tsc --noEmit"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@psiclawops/hypermem": "0.9.
|
|
43
|
+
"@psiclawops/hypermem": "0.9.9"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"openclaw": "2026.5.
|
|
46
|
+
"openclaw": "2026.5.7",
|
|
47
47
|
"typescript": "^5.4.0"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|
|
@@ -64,6 +64,7 @@
|
|
|
64
64
|
"LICENSE"
|
|
65
65
|
],
|
|
66
66
|
"overrides": {
|
|
67
|
-
"uuid": "14.0.0"
|
|
67
|
+
"uuid": "14.0.0",
|
|
68
|
+
"fast-xml-builder": "1.2.0"
|
|
68
69
|
}
|
|
69
70
|
}
|