@memtensor/memos-local-openclaw-plugin 1.0.4-beta.2 → 1.0.4-beta.3

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.
@@ -1 +1 @@
1
- {"version":3,"file":"html.js","sourceRoot":"","sources":["../../src/viewer/html.ts"],"names":[],"mappings":";;AAAA,gCAy3NC;AAz3ND,SAAgB,UAAU,CAAC,aAAsB;IACjD,MAAM,MAAM,GAAG,aAAa,CAAC,CAAC,CAAC,gCAAgC,aAAa,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC;IAC3F,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAkmMnK,CAAC;AACT,CAAC"}
package/index.ts CHANGED
@@ -11,6 +11,7 @@ import * as fs from "fs";
11
11
  import * as path from "path";
12
12
  import { buildContext } from "./src/config";
13
13
  import type { HostModelsConfig } from "./src/openclaw-api";
14
+ import { ensureSqliteBinding } from "./src/storage/ensure-binding";
14
15
  import { SqliteStore } from "./src/storage/sqlite";
15
16
  import { Embedder } from "./src/embedding";
16
17
  import { IngestWorker } from "./src/ingest/worker";
@@ -196,6 +197,8 @@ const memosLocalPlugin = {
196
197
  error: (msg: string) => api.logger.warn(`[error] ${msg}`),
197
198
  }, hostModels);
198
199
 
200
+ ensureSqliteBinding(ctx.log);
201
+
199
202
  const store = new SqliteStore(ctx.config.storage!.dbPath!, ctx.log);
200
203
  const embedder = new Embedder(ctx.config.embedding, ctx.log, ctx.openclawAPI);
201
204
  const worker = new IngestWorker(store, embedder, ctx);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@memtensor/memos-local-openclaw-plugin",
3
- "version": "1.0.4-beta.2",
3
+ "version": "1.0.4-beta.3",
4
4
  "description": "MemOS Local memory plugin for OpenClaw — full-write, hybrid-recall, progressive retrieval",
5
5
  "type": "module",
6
6
  "main": "index.ts",
@@ -10,6 +10,7 @@
10
10
  "src",
11
11
  "dist",
12
12
  "skill",
13
+ "prebuilds",
13
14
  "scripts/postinstall.cjs",
14
15
  "openclaw.plugin.json",
15
16
  "README.md",
package/src/index.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  import { v4 as uuid } from "uuid";
2
2
  import { buildContext } from "./config";
3
+ import { ensureSqliteBinding } from "./storage/ensure-binding";
3
4
  import { SqliteStore } from "./storage/sqlite";
4
5
  import { Embedder } from "./embedding";
5
6
  import { IngestWorker } from "./ingest/worker";
@@ -56,6 +57,8 @@ export function initPlugin(opts: PluginInitOptions = {}): MemosLocalPlugin {
56
57
 
57
58
  ctx.log.info("Initializing memos-local plugin...");
58
59
 
60
+ ensureSqliteBinding(ctx.log);
61
+
59
62
  const store = new SqliteStore(ctx.config.storage!.dbPath!, ctx.log);
60
63
  const embedder = new Embedder(ctx.config.embedding, ctx.log, ctx.openclawAPI);
61
64
  const worker = new IngestWorker(store, embedder, ctx);
@@ -0,0 +1,52 @@
1
+ import { existsSync, mkdirSync, copyFileSync } from "fs";
2
+ import { execSync } from "child_process";
3
+ import path from "path";
4
+ import { createRequire } from "module";
5
+
6
+ /**
7
+ * Ensure the better-sqlite3 native binary is available.
8
+ *
9
+ * OpenClaw installs plugins with `--ignore-scripts`, which skips
10
+ * the native compilation step. This function checks for the binary
11
+ * and restores it from bundled prebuilds if missing.
12
+ */
13
+ export function ensureSqliteBinding(log?: { info: (msg: string) => void; warn: (msg: string) => void }): void {
14
+ const _req = typeof require !== "undefined" ? require : createRequire(__filename);
15
+ const bsqlPkg = _req.resolve("better-sqlite3/package.json");
16
+ const bsqlDir = path.dirname(bsqlPkg);
17
+ const bindingPath = path.join(bsqlDir, "build", "Release", "better_sqlite3.node");
18
+
19
+ if (existsSync(bindingPath)) return;
20
+
21
+ const platform = `${process.platform}-${process.arch}`;
22
+ const pluginRoot = path.resolve(__dirname, "..", "..");
23
+ const prebuildSrc = path.join(pluginRoot, "prebuilds", platform, "better_sqlite3.node");
24
+
25
+ if (existsSync(prebuildSrc)) {
26
+ log?.info(`[ensure-binding] Copying prebuild for ${platform}...`);
27
+ mkdirSync(path.dirname(bindingPath), { recursive: true });
28
+ copyFileSync(prebuildSrc, bindingPath);
29
+ log?.info(`[ensure-binding] Prebuild installed successfully.`);
30
+ return;
31
+ }
32
+
33
+ log?.warn(`[ensure-binding] No prebuild for ${platform}, attempting npm rebuild...`);
34
+ try {
35
+ const installDir = path.resolve(bsqlDir, "..", "..");
36
+ execSync("npm rebuild better-sqlite3", {
37
+ cwd: installDir,
38
+ stdio: "pipe",
39
+ timeout: 180_000,
40
+ });
41
+ if (existsSync(bindingPath)) {
42
+ log?.info(`[ensure-binding] Rebuilt better-sqlite3 successfully.`);
43
+ return;
44
+ }
45
+ } catch { /* fall through */ }
46
+
47
+ throw new Error(
48
+ `better-sqlite3 native binary not found for ${platform}.\n` +
49
+ `Prebuild not bundled and npm rebuild failed.\n` +
50
+ `Fix: cd ${path.resolve(bsqlDir, "..", "..")} && npm rebuild better-sqlite3`,
51
+ );
52
+ }