@openclaw/memory-lancedb 2026.5.18-beta.1 → 2026.5.19-alpha.1
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/cli-metadata.js +5 -1
- package/dist/index.js +1 -1
- package/package.json +4 -4
package/dist/cli-metadata.js
CHANGED
|
@@ -5,7 +5,11 @@ var cli_metadata_default = definePluginEntry({
|
|
|
5
5
|
name: "Memory LanceDB",
|
|
6
6
|
description: "LanceDB-backed memory provider",
|
|
7
7
|
register(api) {
|
|
8
|
-
api.registerCli(() => {}, {
|
|
8
|
+
api.registerCli(() => {}, { descriptors: [{
|
|
9
|
+
name: "ltm",
|
|
10
|
+
description: "Inspect and query LanceDB-backed memory",
|
|
11
|
+
hasSubcommands: true
|
|
12
|
+
}] });
|
|
9
13
|
}
|
|
10
14
|
});
|
|
11
15
|
//#endregion
|
package/dist/index.js
CHANGED
|
@@ -135,7 +135,7 @@ var MemoryDB = class {
|
|
|
135
135
|
async search(vector, limit = 5, minScore = .5) {
|
|
136
136
|
await this.ensureInitialized();
|
|
137
137
|
return (await this.table.vectorSearch(vector).limit(limit).toArray()).map((row) => {
|
|
138
|
-
const score = 1 / (1 + (row
|
|
138
|
+
const score = 1 / (1 + (row["_distance"] ?? 0));
|
|
139
139
|
return {
|
|
140
140
|
entry: {
|
|
141
141
|
id: row.id,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/memory-lancedb",
|
|
3
|
-
"version": "2026.5.
|
|
3
|
+
"version": "2026.5.19-alpha.1",
|
|
4
4
|
"description": "OpenClaw LanceDB-backed long-term memory plugin with auto-recall/capture",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -26,10 +26,10 @@
|
|
|
26
26
|
"minHostVersion": ">=2026.4.10"
|
|
27
27
|
},
|
|
28
28
|
"compat": {
|
|
29
|
-
"pluginApi": ">=2026.5.
|
|
29
|
+
"pluginApi": ">=2026.5.19-alpha.1"
|
|
30
30
|
},
|
|
31
31
|
"build": {
|
|
32
|
-
"openclawVersion": "2026.5.
|
|
32
|
+
"openclawVersion": "2026.5.19-alpha.1"
|
|
33
33
|
},
|
|
34
34
|
"release": {
|
|
35
35
|
"publishToClawHub": true,
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"openclaw.plugin.json"
|
|
45
45
|
],
|
|
46
46
|
"peerDependencies": {
|
|
47
|
-
"openclaw": ">=2026.5.
|
|
47
|
+
"openclaw": ">=2026.5.19-alpha.1"
|
|
48
48
|
},
|
|
49
49
|
"peerDependenciesMeta": {
|
|
50
50
|
"openclaw": {
|