@memtensor/memos-local-openclaw-plugin 0.3.10 → 0.3.12

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 CHANGED
@@ -77,16 +77,11 @@ Persistent local conversation memory for [OpenClaw](https://github.com/nicepkg/o
77
77
  openclaw plugins install @memtensor/memos-local-openclaw-plugin
78
78
  ```
79
79
 
80
- The plugin is installed under `~/.openclaw/extensions/memos-local-openclaw-plugin` and registered as `memos-local-openclaw-plugin`.
80
+ The plugin is installed under `~/.openclaw/extensions/memos-local-openclaw-plugin` and registered as `memos-local-openclaw-plugin`. Dependencies and native modules are built automatically during installation.
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
-
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`.
82
+ > **Note:** 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
+ >
84
+ > If better-sqlite3 fails to build automatically, ensure you have C++ build tools installed: macOS: `xcode-select --install`, Linux: `sudo apt install build-essential`.
90
85
 
91
86
  **From source (development):**
92
87
 
@@ -467,36 +462,27 @@ TELEMETRY_ENABLED=false
467
462
  - Events are batched and sent in the background; failures are silently ignored
468
463
  - The anonymous ID is never linked to any personal information
469
464
 
470
- ## Reinstall / Upgrade
471
-
472
- If you see **"plugin already exists"** or **"plugin not found"**:
465
+ ## Upgrade
473
466
 
474
- **Option A — Clean reinstall via OpenClaw CLI:**
475
467
  ```bash
476
- rm -rf ~/.openclaw/extensions/memos-local-openclaw-plugin
477
- openclaw plugins install @memtensor/memos-local-openclaw-plugin
478
- cd ~/.openclaw/extensions/memos-local-openclaw-plugin && npm install --omit=dev
479
- openclaw gateway stop && openclaw gateway start
468
+ openclaw plugins update memos-local-openclaw-plugin
480
469
  ```
481
470
 
482
- **Option B Manual install (when config already references memos-local-openclaw-plugin):**
471
+ The plugin will automatically install dependencies, clean up legacy versions, and rebuild the native SQLite module. After update, restart the gateway:
472
+
483
473
  ```bash
484
- rm -rf ~/.openclaw/extensions/memos-local
485
- cd /tmp
486
- npm pack @memtensor/memos-local-openclaw-plugin
487
- tar -xzf memtensor-memos-local-openclaw-plugin-*.tgz
488
- mv package ~/.openclaw/extensions/memos-local-openclaw-plugin
489
- cd ~/.openclaw/extensions/memos-local-openclaw-plugin && npm install --omit=dev
490
474
  openclaw gateway stop && openclaw gateway start
491
475
  ```
492
476
 
493
- **Plugin shows as "error" in `openclaw plugins list`?** (e.g. `Cannot find module '@sinclair/typebox'`)
477
+ > **Tip:** To update all plugins at once: `openclaw plugins update --all`
478
+
479
+ **If `openclaw plugins update` doesn't work** (plugin not in install registry):
494
480
 
495
481
  ```bash
496
- cd ~/.openclaw/extensions/memos-local-openclaw-plugin && npm install --omit=dev
482
+ openclaw plugins install @memtensor/memos-local-openclaw-plugin
497
483
  ```
498
484
 
499
- Then restart the gateway.
485
+ This will reinstall the latest version. The postinstall script handles everything automatically — no need to manually delete directories or run `npm install`.
500
486
 
501
487
  ## Troubleshooting
502
488