@memtensor/memos-local-openclaw-plugin 0.3.0 → 0.3.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.
Files changed (2) hide show
  1. package/README.md +21 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -79,6 +79,13 @@ openclaw plugins install @memtensor/memos-local-openclaw-plugin
79
79
 
80
80
  The plugin is installed under `~/.openclaw/extensions/memos-local-openclaw-plugin` and registered as `memos-local-openclaw-plugin`.
81
81
 
82
+ > **If the gateway reports `Could not locate the bindings file` for better-sqlite3**, run:
83
+ > ```bash
84
+ > cd ~/.openclaw/extensions/memos-local-openclaw-plugin
85
+ > npm rebuild better-sqlite3
86
+ > ```
87
+ > This compiles the native SQLite module for your system. Requires C++ build tools — macOS: `xcode-select --install`, Linux: `sudo apt install build-essential`.
88
+
82
89
  > **Important:** The Memory Viewer starts only when the **OpenClaw gateway** is running. After install, **configure** `openclaw.json` (step 2) and **start the gateway** (step 3); the viewer will then be available at `http://127.0.0.1:18799`.
83
90
 
84
91
  **From source (development):**
@@ -520,9 +527,21 @@ Then restart the gateway.
520
527
  - `plugins.slots.memory` = `"memos-local-openclaw-plugin"`
521
528
  - `plugins.entries.memos-local-openclaw-plugin.enabled` = `true`
522
529
 
523
- 6. **Memory conflict with built-in search** — If the agent calls both the built-in memory search and the plugin's `memory_search`, it means `agents.defaults.memorySearch.enabled` is not set to `false`.
530
+ 6. **better-sqlite3 native module error** — `Could not locate the bindings file` means the native SQLite addon was not compiled for your Node.js version.
531
+ ```bash
532
+ cd ~/.openclaw/extensions/memos-local-openclaw-plugin
533
+ npm rebuild better-sqlite3
534
+ ```
535
+ If rebuild fails, install C++ build tools first:
536
+ - **macOS:** `xcode-select --install`
537
+ - **Linux:** `sudo apt install build-essential python3`
538
+ - **Windows:** Install [Visual Studio Build Tools](https://visualstudio.microsoft.com/visual-cpp-build-tools/)
539
+
540
+ Then retry `npm rebuild better-sqlite3` and restart the gateway.
541
+
542
+ 7. **Memory conflict with built-in search** — If the agent calls both the built-in memory search and the plugin's `memory_search`, it means `agents.defaults.memorySearch.enabled` is not set to `false`.
524
543
 
525
- 7. **Skills not generating** — Check:
544
+ 8. **Skills not generating** — Check:
526
545
  - `skillEvolution.enabled` is `true`
527
546
  - Tasks have enough content (default requires >= 6 chunks)
528
547
  - Look for `SkillEvolver` output in the gateway log
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@memtensor/memos-local-openclaw-plugin",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "description": "MemOS Local memory plugin for OpenClaw — full-write, hybrid-recall, progressive retrieval",
5
5
  "type": "module",
6
6
  "main": "index.ts",