memory-gateway-sync 0.13.0 → 0.14.0
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/openclaw.plugin.json +17 -1
- package/package.json +7 -1
package/openclaw.plugin.json
CHANGED
|
@@ -1,7 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": "memory-gateway-sync",
|
|
3
|
+
"version": "0.12.0",
|
|
3
4
|
"name": "Memory Gateway Sync",
|
|
4
5
|
"description": "监听 MEMORY.md / memory/*.md 文件变化,双写到外部 Gateway",
|
|
6
|
+
"kind": "generic",
|
|
7
|
+
"permissions": {
|
|
8
|
+
"filesystem": {
|
|
9
|
+
"read": ["~/.openclaw/workspace*/**/*.md"],
|
|
10
|
+
"write": ["~/.openclaw/workspace*/**/MEMORY.md", "~/.openclaw/workspace*/**/MEMORY.md.bak", "~/.openclaw/workspace*/**/MEMORY.md.failed"]
|
|
11
|
+
},
|
|
12
|
+
"network": {
|
|
13
|
+
"outbound": ["${config.gatewayUrl}"]
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"services": ["memory-gateway-sync"],
|
|
5
17
|
"configSchema": {
|
|
6
18
|
"type": "object",
|
|
7
19
|
"additionalProperties": false,
|
|
@@ -22,7 +34,11 @@
|
|
|
22
34
|
"agentId": {
|
|
23
35
|
"type": "string",
|
|
24
36
|
"description": "当前 agent 标识,写入 Gateway 时携带,用于后续多 agent 隔离"
|
|
37
|
+
},
|
|
38
|
+
"tenantsDir": {
|
|
39
|
+
"type": "string",
|
|
40
|
+
"description": "多租户数据根目录,启用后按 tenantsDir/{userId}/workspaces/{agentId}/ 扫描"
|
|
25
41
|
}
|
|
26
|
-
}
|
|
42
|
+
}
|
|
27
43
|
}
|
|
28
44
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "memory-gateway-sync",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.14.0",
|
|
4
4
|
"description": "Memory 双写插件:fs.watch 感知变化后同步到外部 Gateway",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.js",
|
|
@@ -9,6 +9,12 @@
|
|
|
9
9
|
"./index.js"
|
|
10
10
|
]
|
|
11
11
|
},
|
|
12
|
+
"engines": {
|
|
13
|
+
"node": ">=22.19.0"
|
|
14
|
+
},
|
|
15
|
+
"peerDependencies": {
|
|
16
|
+
"openclaw": ">=2026.6.1"
|
|
17
|
+
},
|
|
12
18
|
"devDependencies": {
|
|
13
19
|
"typescript": "^5.4.0"
|
|
14
20
|
}
|