@openclaw/memory-lancedb 2026.5.18 → 2026.5.19-beta.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.
@@ -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(() => {}, { commands: ["ltm"] });
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._distance ?? 0));
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.18",
3
+ "version": "2026.5.19-beta.2",
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.18"
29
+ "pluginApi": ">=2026.5.19-beta.2"
30
30
  },
31
31
  "build": {
32
- "openclawVersion": "2026.5.18"
32
+ "openclawVersion": "2026.5.19-beta.2"
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.18"
47
+ "openclaw": ">=2026.5.19-beta.2"
48
48
  },
49
49
  "peerDependenciesMeta": {
50
50
  "openclaw": {