@t0ken.ai/memoryx-openclaw-plugin 1.0.6 → 1.0.8
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 +32 -42
- package/dist/index.js +2 -2
- package/openclaw.plugin.json +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -11,75 +11,65 @@ Official MemoryX plugin for OpenClaw. Enables long-term memory for agents by rec
|
|
|
11
11
|
|
|
12
12
|
## Install
|
|
13
13
|
|
|
14
|
-
### Option A — NPM (Recommended)
|
|
15
|
-
|
|
16
14
|
```bash
|
|
17
15
|
openclaw plugins install @t0ken.ai/memoryx-openclaw-plugin
|
|
18
16
|
openclaw gateway restart
|
|
19
17
|
```
|
|
20
18
|
|
|
21
|
-
|
|
19
|
+
## Configuration
|
|
20
|
+
|
|
21
|
+
Edit `~/.openclaw/openclaw.json`:
|
|
22
22
|
|
|
23
23
|
```json
|
|
24
24
|
{
|
|
25
25
|
"plugins": {
|
|
26
|
+
"slots": {
|
|
27
|
+
"memory": "memoryx-openclaw-plugin"
|
|
28
|
+
},
|
|
26
29
|
"entries": {
|
|
27
|
-
"
|
|
30
|
+
"memoryx-openclaw-plugin": {
|
|
31
|
+
"enabled": true,
|
|
32
|
+
"config": {
|
|
33
|
+
"apiBaseUrl": "https://t0ken.ai/api"
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"memory-core": {
|
|
37
|
+
"enabled": false
|
|
38
|
+
}
|
|
28
39
|
}
|
|
29
40
|
}
|
|
30
41
|
}
|
|
31
42
|
```
|
|
32
43
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
```bash
|
|
36
|
-
openclaw plugins install github:t0ken-ai/MemoryX#plugins/memoryx-realtime-plugin
|
|
37
|
-
openclaw gateway restart
|
|
38
|
-
```
|
|
39
|
-
|
|
40
|
-
### Option C — Local path
|
|
41
|
-
|
|
42
|
-
Copy this folder into an OpenClaw plugin path (e.g. `~/.openclaw/extensions/`) or use `plugins.load.paths` to point at it.
|
|
43
|
-
|
|
44
|
-
Example `~/.openclaw/openclaw.json`:
|
|
44
|
+
For self-hosted MemoryX:
|
|
45
45
|
|
|
46
46
|
```json
|
|
47
47
|
{
|
|
48
48
|
"plugins": {
|
|
49
|
-
"
|
|
50
|
-
"memoryx-openclaw-plugin"
|
|
49
|
+
"slots": {
|
|
50
|
+
"memory": "memoryx-openclaw-plugin"
|
|
51
51
|
},
|
|
52
|
-
"
|
|
52
|
+
"entries": {
|
|
53
|
+
"memoryx-openclaw-plugin": {
|
|
54
|
+
"enabled": true,
|
|
55
|
+
"config": {
|
|
56
|
+
"apiBaseUrl": "http://192.168.31.65:8000/api"
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
"memory-core": {
|
|
60
|
+
"enabled": false
|
|
61
|
+
}
|
|
62
|
+
}
|
|
53
63
|
}
|
|
54
64
|
}
|
|
55
65
|
```
|
|
56
66
|
|
|
57
|
-
Restart the gateway after config changes
|
|
58
|
-
|
|
59
|
-
## Configuration
|
|
67
|
+
Restart the gateway after config changes:
|
|
60
68
|
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
In `plugins.entries.memoryx-openclaw-plugin.config`:
|
|
64
|
-
|
|
65
|
-
```json
|
|
66
|
-
{
|
|
67
|
-
"apiBaseUrl": "https://t0ken.ai/api"
|
|
68
|
-
}
|
|
69
|
-
```
|
|
70
|
-
|
|
71
|
-
For self-hosted MemoryX:
|
|
72
|
-
|
|
73
|
-
```json
|
|
74
|
-
{
|
|
75
|
-
"apiBaseUrl": "http://192.168.31.65:8000/api"
|
|
76
|
-
}
|
|
69
|
+
```bash
|
|
70
|
+
openclaw gateway restart
|
|
77
71
|
```
|
|
78
72
|
|
|
79
|
-
### Environment Variables
|
|
80
|
-
|
|
81
|
-
The plugin stores credentials locally in `~/.t0ken/memoryx.sqlite`.
|
|
82
|
-
|
|
83
73
|
## How it Works
|
|
84
74
|
|
|
85
75
|
### Recall (`before_agent_start`)
|
package/dist/index.js
CHANGED
|
@@ -321,9 +321,9 @@ class MemoryXPlugin {
|
|
|
321
321
|
}
|
|
322
322
|
let plugin;
|
|
323
323
|
export default {
|
|
324
|
-
id: "
|
|
324
|
+
id: "memoryx-openclaw-plugin",
|
|
325
325
|
name: "MemoryX Real-time Plugin",
|
|
326
|
-
version: "1.0.
|
|
326
|
+
version: "1.0.8",
|
|
327
327
|
description: "Real-time memory capture and recall for OpenClaw",
|
|
328
328
|
register(api, pluginConfig) {
|
|
329
329
|
api.logger.info("[MemoryX] Plugin registering...");
|
package/openclaw.plugin.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
|
-
"id": "
|
|
2
|
+
"id": "memoryx-openclaw-plugin",
|
|
3
3
|
"name": "MemoryX Real-time Plugin",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.8",
|
|
5
5
|
"description": "Real-time memory capture and recall for OpenClaw",
|
|
6
6
|
"kind": "memory",
|
|
7
7
|
"main": "./dist/index.js",
|