@memtensor/memos-cloud-openclaw-plugin 0.1.13 → 0.1.14-beta.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/clawdbot.plugin.json +1 -1
- package/index.js +604 -554
- package/lib/config-ui-server.js +986 -713
- package/moltbot.plugin.json +1 -1
- package/openclaw.plugin.json +1 -1
- package/package.json +1 -10
- package/HOOK.md +0 -22
package/moltbot.plugin.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"id": "memos-cloud-openclaw-plugin",
|
|
3
3
|
"name": "MemOS Cloud OpenClaw Plugin",
|
|
4
4
|
"description": "MemOS Cloud recall + add memory via lifecycle hooks",
|
|
5
|
-
"version": "0.1.
|
|
5
|
+
"version": "0.1.14-beta.0",
|
|
6
6
|
"kind": "lifecycle",
|
|
7
7
|
"main": "./index.js",
|
|
8
8
|
"configSchema": {
|
package/openclaw.plugin.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"id": "memos-cloud-openclaw-plugin",
|
|
3
3
|
"name": "MemOS Cloud OpenClaw Plugin",
|
|
4
4
|
"description": "MemOS Cloud recall + add memory via lifecycle hooks",
|
|
5
|
-
"version": "0.1.
|
|
5
|
+
"version": "0.1.14-beta.0",
|
|
6
6
|
"kind": "lifecycle",
|
|
7
7
|
"main": "./index.js",
|
|
8
8
|
"configSchema": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@memtensor/memos-cloud-openclaw-plugin",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.14-beta.0",
|
|
4
4
|
"description": "OpenClaw lifecycle plugin for MemOS Cloud (add + recall memory)",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"sync-version": "node scripts/sync-version.js",
|
|
@@ -29,25 +29,16 @@
|
|
|
29
29
|
"author": "MemTensor",
|
|
30
30
|
"license": "MIT",
|
|
31
31
|
"openclaw": {
|
|
32
|
-
"hooks": [
|
|
33
|
-
"./index.js"
|
|
34
|
-
],
|
|
35
32
|
"extensions": [
|
|
36
33
|
"./index.js"
|
|
37
34
|
]
|
|
38
35
|
},
|
|
39
36
|
"clawdbot": {
|
|
40
|
-
"hooks": [
|
|
41
|
-
"./index.js"
|
|
42
|
-
],
|
|
43
37
|
"extensions": [
|
|
44
38
|
"./index.js"
|
|
45
39
|
]
|
|
46
40
|
},
|
|
47
41
|
"moltbot": {
|
|
48
|
-
"hooks": [
|
|
49
|
-
"./index.js"
|
|
50
|
-
],
|
|
51
42
|
"extensions": [
|
|
52
43
|
"./index.js"
|
|
53
44
|
]
|
package/HOOK.md
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: memos-cloud-openclaw-plugin
|
|
3
|
-
description: "OpenClaw lifecycle plugin for MemOS Cloud (add + recall memory)"
|
|
4
|
-
homepage: https://github.com/MemTensor/MemOS-Cloud-OpenClaw-Plugin
|
|
5
|
-
metadata: {
|
|
6
|
-
"openclaw": {
|
|
7
|
-
"emoji": "🧠",
|
|
8
|
-
"events": ["before_agent_start", "agent_end", "command:new"],
|
|
9
|
-
"requires": {
|
|
10
|
-
"bins": ["node"]
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
---
|
|
15
|
-
|
|
16
|
-
# MemOS Cloud OpenClaw Plugin Hooks
|
|
17
|
-
|
|
18
|
-
This plugin registers the following OpenClaw lifecycle hooks to interact with MemOS Cloud:
|
|
19
|
-
|
|
20
|
-
- `before_agent_start`: Intercepts the agent startup sequence to recall relevant memories from MemOS Cloud and injects them into the agent's context.
|
|
21
|
-
- `agent_end`: Intercepts the agent termination sequence to capture the completed conversation turn and saves it to MemOS Cloud.
|
|
22
|
-
- `command:new`: Increments a numeric conversation suffix when the `/new` command is issued to keep MemOS contexts distinct.
|