@memtensor/memos-local-openclaw-plugin 0.1.1 → 0.1.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.
package/README.md CHANGED
@@ -26,6 +26,8 @@ openclaw plugins install @memtensor/memos-local-openclaw-plugin
26
26
 
27
27
  The plugin is installed under `~/.openclaw/extensions/` and registered as `memos-local`. No clone or build required.
28
28
 
29
+ > **Important:** Installing the plugin does **not** start the Memory Viewer. The viewer HTTP service is started only when the **OpenClaw gateway** is running. After install, you must **configure** `openclaw.json` (step 2) and **start or restart the gateway** (step 3); then the viewer will be available at `http://127.0.0.1:18799`.
30
+
29
31
  **From source (development):**
30
32
 
31
33
  ```bash
@@ -103,14 +105,18 @@ Use `${ENV_VAR}` placeholders in config to avoid hardcoding keys:
103
105
  }
104
106
  ```
105
107
 
106
- ### 3. Restart Gateway
108
+ ### 3. Start or Restart the Gateway
109
+
110
+ The Memory Viewer and all plugin features only run when the OpenClaw gateway is running. After installing and configuring the plugin, start (or restart) the gateway:
107
111
 
108
112
  ```bash
109
- openclaw gateway stop
110
- openclaw gateway install
113
+ openclaw gateway stop # if already running
114
+ openclaw gateway install # ensure LaunchAgent is installed (macOS)
111
115
  openclaw gateway start
112
116
  ```
113
117
 
118
+ Once the gateway is up, the plugin loads and starts the Memory Viewer at `http://127.0.0.1:18799`.
119
+
114
120
  ### 4. Verify Installation
115
121
 
116
122
  ```bash
@@ -187,6 +193,13 @@ The agent uses these automatically via the SKILL.md prompt guide.
187
193
 
188
194
  Open `http://127.0.0.1:18799` in your browser:
189
195
 
196
+ **Viewer won't open or page not loading?**
197
+
198
+ - The viewer is started by the plugin when the **gateway** starts. It does **not** run at install time.
199
+ - Ensure the gateway is running: `openclaw gateway start` (or restart with `openclaw gateway stop` then `openclaw gateway start`).
200
+ - Ensure the plugin is enabled in `~/.openclaw/openclaw.json`: `plugins.slots.memory` = `"memos-local"` and `plugins.entries.memos-local.enabled` = `true`.
201
+ - Check the gateway log: `tail -30 ~/.openclaw/logs/gateway.log` — you should see `MemOS Memory Viewer` and `→ http://127.0.0.1:18799`. If the viewer fails to bind (e.g. port in use), the log will show a warning.
202
+
190
203
  - First visit: set a password (min 4 chars)
191
204
  - Browse, search, create, edit, delete memories
192
205
  - Filter by role (user/assistant/tool), type, time range (down to seconds)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@memtensor/memos-local-openclaw-plugin",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "MemOS Local memory plugin for OpenClaw — full-write, hybrid-recall, progressive retrieval",
5
5
  "type": "module",
6
6
  "main": "index.ts",
package/www/index.html CHANGED
@@ -396,7 +396,7 @@ body.lang-zh .lang-en{display:none !important}
396
396
  <div class="code-section" id="quickstart">
397
397
  <div class="code-text">
398
398
  <h3><span class="lang-zh">从 npm 安装并配置</span><span class="lang-en">Install from npm &amp; Configure</span></h3>
399
- <p><span class="lang-zh">从 npm 安装,无需克隆或构建。在 openclaw.json 中加上插件配置(embedding/summarizer 可选),然后启动 gateway。</span><span class="lang-en">Install from npm — no clone or build. Add OpenClaw config (embedding/summarizer optional), then start the gateway.</span></p>
399
+ <p><span class="lang-zh">从 npm 安装,无需克隆或构建。在 openclaw.json 中加上插件配置(embedding/summarizer 可选),然后<strong>启动或重启 gateway</strong>。Memory Viewer 只有在网关运行时才会在 http://127.0.0.1:18799 提供。</span><span class="lang-en">Install from npm — no clone or build. Add OpenClaw config (embedding/summarizer optional), then <strong>start or restart the gateway</strong>. The Memory Viewer is only available at http://127.0.0.1:18799 when the gateway is running.</span></p>
400
400
  <div>
401
401
  <span class="tag t-blue">npm</span>
402
402
  <span class="tag t-violet">OpenClaw</span>