@openclaw/memory-lancedb 2026.5.28-beta.2 → 2026.5.28-beta.4

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/README.md ADDED
@@ -0,0 +1,32 @@
1
+ # @openclaw/memory-lancedb
2
+
3
+ Official LanceDB-backed long-term memory plugin for OpenClaw.
4
+
5
+ This plugin adds persistent memory tools backed by LanceDB, vector search, auto-recall, and auto-capture.
6
+
7
+ ## Install
8
+
9
+ ```bash
10
+ openclaw plugins install @openclaw/memory-lancedb
11
+ ```
12
+
13
+ Restart the Gateway after installing or updating the plugin.
14
+
15
+ ## What it provides
16
+
17
+ - `memory_store`
18
+ - `memory_recall`
19
+ - `memory_forget`
20
+ - LanceDB vector storage and hybrid memory retrieval.
21
+
22
+ ## Configure
23
+
24
+ Use the memory plugin docs for embedding provider setup, storage paths, indexing, and recall behavior:
25
+
26
+ - https://docs.openclaw.ai/plugins/memory-lancedb
27
+
28
+ ## Package
29
+
30
+ - Plugin id: `memory-lancedb`
31
+ - Package: `@openclaw/memory-lancedb`
32
+ - Minimum OpenClaw host: `2026.4.10`
package/dist/config.js CHANGED
@@ -1,7 +1,7 @@
1
+ import { parseFiniteNumber } from "openclaw/plugin-sdk/number-runtime";
1
2
  import fs from "node:fs";
2
3
  import { homedir } from "node:os";
3
4
  import { join } from "node:path";
4
- import { parseFiniteNumber } from "openclaw/plugin-sdk/number-runtime";
5
5
  //#region extensions/memory-lancedb/config.ts
6
6
  const MEMORY_CATEGORIES = [
7
7
  "preference",
package/dist/index.js CHANGED
@@ -4,6 +4,7 @@ import { loadLanceDbModule } from "./lancedb-runtime.js";
4
4
  import { Buffer } from "node:buffer";
5
5
  import { randomUUID } from "node:crypto";
6
6
  import { optionalFiniteNumberSchema, optionalPositiveIntegerSchema } from "openclaw/plugin-sdk/channel-actions";
7
+ import { parseStrictPositiveInteger } from "openclaw/plugin-sdk/number-runtime";
7
8
  import { readFiniteNumberParam, readPositiveIntegerParam } from "openclaw/plugin-sdk/param-readers";
8
9
  import { resolveLivePluginConfigObject } from "openclaw/plugin-sdk/plugin-config-runtime";
9
10
  import { ensureGlobalUndiciEnvProxyDispatcher } from "openclaw/plugin-sdk/runtime-env";
@@ -85,8 +86,8 @@ const TABLE_NAME = "memories";
85
86
  const DEFAULT_AUTO_RECALL_TIMEOUT_MS = 15e3;
86
87
  function parsePositiveIntegerOption(value, flag) {
87
88
  if (value === void 0) return;
88
- const parsed = Number(value);
89
- if (!Number.isInteger(parsed) || parsed < 1) throw new Error(`${flag} must be a positive integer`);
89
+ const parsed = parseStrictPositiveInteger(value);
90
+ if (parsed === void 0) throw new Error(`${flag} must be a positive integer`);
90
91
  return parsed;
91
92
  }
92
93
  var MemoryDB = class {
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@openclaw/memory-lancedb",
3
- "version": "2026.5.28-beta.2",
3
+ "version": "2026.5.28-beta.4",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@openclaw/memory-lancedb",
9
- "version": "2026.5.28-beta.2",
9
+ "version": "2026.5.28-beta.4",
10
10
  "dependencies": {
11
11
  "@lancedb/lancedb": "0.29.0",
12
12
  "apache-arrow": "18.1.0",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openclaw/memory-lancedb",
3
- "version": "2026.5.28-beta.2",
3
+ "version": "2026.5.28-beta.4",
4
4
  "description": "OpenClaw LanceDB-backed long-term memory plugin with auto-recall, auto-capture, and vector search.",
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.28-beta.2"
29
+ "pluginApi": ">=2026.5.28-beta.4"
30
30
  },
31
31
  "build": {
32
- "openclawVersion": "2026.5.28-beta.2"
32
+ "openclawVersion": "2026.5.28-beta.4"
33
33
  },
34
34
  "release": {
35
35
  "bundleRuntimeDependencies": false,
@@ -43,10 +43,11 @@
43
43
  "files": [
44
44
  "dist/**",
45
45
  "openclaw.plugin.json",
46
- "npm-shrinkwrap.json"
46
+ "npm-shrinkwrap.json",
47
+ "README.md"
47
48
  ],
48
49
  "peerDependencies": {
49
- "openclaw": ">=2026.5.28-beta.2"
50
+ "openclaw": ">=2026.5.28-beta.4"
50
51
  },
51
52
  "peerDependenciesMeta": {
52
53
  "openclaw": {