@psiclawops/hypermem-memory 0.9.6 → 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.d.ts +3 -3
- package/dist/index.js +4 -2
- package/openclaw.plugin.json +5 -0
- package/package.json +10 -6
package/dist/index.d.ts
CHANGED
|
@@ -18,7 +18,7 @@ declare const _default: {
|
|
|
18
18
|
id: string;
|
|
19
19
|
name: string;
|
|
20
20
|
description: string;
|
|
21
|
-
configSchema: import("openclaw/plugin-sdk").OpenClawPluginConfigSchema;
|
|
22
|
-
register: NonNullable<import("openclaw/plugin-sdk/
|
|
23
|
-
} & Pick<import("openclaw/plugin-sdk/
|
|
21
|
+
configSchema: import("openclaw/plugin-sdk/core").OpenClawPluginConfigSchema;
|
|
22
|
+
register: NonNullable<import("openclaw/plugin-sdk/core").OpenClawPluginDefinition["register"]>;
|
|
23
|
+
} & Pick<import("openclaw/plugin-sdk/core").OpenClawPluginDefinition, "kind" | "reload" | "nodeHostCommands" | "securityAuditCollectors">;
|
|
24
24
|
export default _default;
|
package/dist/index.js
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
*
|
|
15
15
|
* Both plugins share the same HyperMem singleton (loaded from repo dist).
|
|
16
16
|
*/
|
|
17
|
-
import { definePluginEntry, emptyPluginConfigSchema } from 'openclaw/plugin-sdk/
|
|
17
|
+
import { definePluginEntry, emptyPluginConfigSchema } from 'openclaw/plugin-sdk/core';
|
|
18
18
|
import { matchTriggers, TRIGGER_REGISTRY } from '@psiclawops/hypermem';
|
|
19
19
|
import path from 'path';
|
|
20
20
|
import fs from 'fs/promises';
|
|
@@ -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/openclaw.plugin.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@psiclawops/hypermem-memory",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.9",
|
|
4
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",
|
|
@@ -29,8 +29,8 @@
|
|
|
29
29
|
"minGatewayVersion": "2026.4.12"
|
|
30
30
|
},
|
|
31
31
|
"build": {
|
|
32
|
-
"openclawVersion": "2026.
|
|
33
|
-
"pluginSdkVersion": "2026.
|
|
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": "
|
|
46
|
+
"openclaw": "2026.5.7",
|
|
47
47
|
"typescript": "^5.4.0"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|
|
@@ -62,5 +62,9 @@
|
|
|
62
62
|
"openclaw.plugin.json",
|
|
63
63
|
"README.md",
|
|
64
64
|
"LICENSE"
|
|
65
|
-
]
|
|
65
|
+
],
|
|
66
|
+
"overrides": {
|
|
67
|
+
"uuid": "14.0.0",
|
|
68
|
+
"fast-xml-builder": "1.2.0"
|
|
69
|
+
}
|
|
66
70
|
}
|