@memtensor/memos-cloud-openclaw-plugin 0.1.2 → 0.1.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.
- package/README.md +16 -5
- package/README_ZH.md +16 -5
- package/clawdbot.plugin.json +1 -1
- package/index.js +1 -0
- package/moltbot.plugin.json +1 -1
- package/openclaw.plugin.json +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -11,11 +11,15 @@ A minimal OpenClaw lifecycle plugin that **recalls** memories from MemOS Cloud b
|
|
|
11
11
|
|
|
12
12
|
## Install
|
|
13
13
|
|
|
14
|
-
### Option A —
|
|
14
|
+
### Option A — NPM (Recommended)
|
|
15
15
|
```bash
|
|
16
16
|
openclaw plugins install @memtensor/memos-cloud-openclaw-plugin
|
|
17
17
|
openclaw gateway restart
|
|
18
18
|
```
|
|
19
|
+
|
|
20
|
+
> **Note for Windows Users**:
|
|
21
|
+
> If you encounter `Error: spawn EINVAL`, this is a known issue with OpenClaw's plugin installer on Windows. Please use **Option B** (Manual Install) below.
|
|
22
|
+
|
|
19
23
|
Make sure it’s enabled in `~/.openclaw/openclaw.json`:
|
|
20
24
|
```json
|
|
21
25
|
{
|
|
@@ -27,20 +31,27 @@ Make sure it’s enabled in `~/.openclaw/openclaw.json`:
|
|
|
27
31
|
}
|
|
28
32
|
```
|
|
29
33
|
|
|
30
|
-
### Option B —
|
|
31
|
-
|
|
34
|
+
### Option B — Manual Install (Workaround for Windows)
|
|
35
|
+
1. Download the latest `.tgz` from [NPM](https://www.npmjs.com/package/@memtensor/memos-cloud-openclaw-plugin).
|
|
36
|
+
2. Extract it to a local folder (e.g., `C:\Users\YourName\.openclaw\extensions\memos-cloud-openclaw-plugin`).
|
|
37
|
+
3. Configure `~/.openclaw/openclaw.json` (or `%USERPROFILE%\.openclaw\openclaw.json`):
|
|
32
38
|
|
|
33
|
-
Example `~/.openclaw/openclaw.json`:
|
|
34
39
|
```json
|
|
35
40
|
{
|
|
36
41
|
"plugins": {
|
|
37
42
|
"entries": {
|
|
38
43
|
"memos-cloud-openclaw-plugin": { "enabled": true }
|
|
39
44
|
},
|
|
40
|
-
"load": {
|
|
45
|
+
"load": {
|
|
46
|
+
"paths": [
|
|
47
|
+
"C:\\Users\\YourName\\.openclaw\\extensions\\memos-cloud-openclaw-plugin\\package"
|
|
48
|
+
]
|
|
49
|
+
}
|
|
41
50
|
}
|
|
42
51
|
}
|
|
43
52
|
```
|
|
53
|
+
*Note: The extracted folder usually contains a `package` subfolder. Point to the folder containing `package.json`.*
|
|
54
|
+
|
|
44
55
|
Restart the gateway after config changes.
|
|
45
56
|
|
|
46
57
|
## Environment Variables
|
package/README_ZH.md
CHANGED
|
@@ -13,11 +13,15 @@
|
|
|
13
13
|
|
|
14
14
|
## 安装
|
|
15
15
|
|
|
16
|
-
### 方式 A —
|
|
16
|
+
### 方式 A — NPM(推荐)
|
|
17
17
|
```bash
|
|
18
18
|
openclaw plugins install @memtensor/memos-cloud-openclaw-plugin
|
|
19
19
|
openclaw gateway restart
|
|
20
20
|
```
|
|
21
|
+
|
|
22
|
+
> **Windows 用户注意**:
|
|
23
|
+
> 如果遇到 `Error: spawn EINVAL` 报错,这是 OpenClaw Windows 安装器的已知问题。请使用下方的 **方式 B**(手动安装)。
|
|
24
|
+
|
|
21
25
|
确认 `~/.openclaw/openclaw.json` 中已启用:
|
|
22
26
|
```json
|
|
23
27
|
{
|
|
@@ -29,20 +33,27 @@ openclaw gateway restart
|
|
|
29
33
|
}
|
|
30
34
|
```
|
|
31
35
|
|
|
32
|
-
### 方式 B —
|
|
33
|
-
|
|
36
|
+
### 方式 B — 手动安装(Windows 解决方案)
|
|
37
|
+
1. 从 [NPM](https://www.npmjs.com/package/@memtensor/memos-cloud-openclaw-plugin) 下载最新的 `.tgz` 包。
|
|
38
|
+
2. 解压到本地目录(例如 `C:\Users\YourName\.openclaw\extensions\memos-cloud-openclaw-plugin`)。
|
|
39
|
+
3. 修改配置 `~/.openclaw/openclaw.json`(或 `%USERPROFILE%\.openclaw\openclaw.json`):
|
|
34
40
|
|
|
35
|
-
示例 `~/.openclaw/openclaw.json`:
|
|
36
41
|
```json
|
|
37
42
|
{
|
|
38
43
|
"plugins": {
|
|
39
44
|
"entries": {
|
|
40
45
|
"memos-cloud-openclaw-plugin": { "enabled": true }
|
|
41
46
|
},
|
|
42
|
-
"load": {
|
|
47
|
+
"load": {
|
|
48
|
+
"paths": [
|
|
49
|
+
"C:\\Users\\YourName\\.openclaw\\extensions\\memos-cloud-openclaw-plugin\\package"
|
|
50
|
+
]
|
|
51
|
+
}
|
|
43
52
|
}
|
|
44
53
|
}
|
|
45
54
|
```
|
|
55
|
+
*注意:解压后的文件夹通常包含一个 `package` 子文件夹,请指向包含 `package.json` 的那层目录。*
|
|
56
|
+
|
|
46
57
|
修改配置后需要重启 gateway。
|
|
47
58
|
|
|
48
59
|
## 环境变量
|
package/clawdbot.plugin.json
CHANGED
package/index.js
CHANGED
package/moltbot.plugin.json
CHANGED
package/openclaw.plugin.json
CHANGED