mr-memory 3.7.10 → 3.9.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/README.md +12 -2
- package/index.js +474 -41
- package/index.ts +435 -15
- package/memoryrouter-api.js +69 -2
- package/memoryrouter-api.ts +75 -2
- package/openclaw.plugin.json +11 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -9,10 +9,10 @@ Use it when you want OpenClaw memory that does not restart from zero every sessi
|
|
|
9
9
|
## Install
|
|
10
10
|
|
|
11
11
|
```bash
|
|
12
|
-
openclaw plugins install npm:mr-memory@3.
|
|
12
|
+
openclaw plugins install npm:mr-memory@3.8.0
|
|
13
13
|
```
|
|
14
14
|
|
|
15
|
-
The explicit `npm:` source and version make the audited install deterministic. `mr-memory@3.
|
|
15
|
+
The explicit `npm:` source and version make the audited install deterministic. `mr-memory@3.8.0` is published on npm. A ClawHub listing has not been verified and is not required for this path.
|
|
16
16
|
|
|
17
17
|
## Setup
|
|
18
18
|
|
|
@@ -46,6 +46,16 @@ When enabled, relay hooks retrieve memory before agent/model input and capture t
|
|
|
46
46
|
|
|
47
47
|
Only direct user-to-AI conversation is stored. Tool use, subagent work, and internal processing are excluded. Historical workspace/session upload is a separate explicit `openclaw mr upload` operation; installing or enabling the relay does not imply an import already happened.
|
|
48
48
|
|
|
49
|
+
### Keep-warm
|
|
50
|
+
|
|
51
|
+
Retrieval is fastest against a warm vault, so the plugin keeps yours warm for **3 minutes after each message**. Every message re-opens that window; once it lapses with no new activity the warmup timer is cleared entirely, so an idle agent sends **no** background warmup traffic. There is no startup ping and no always-on keepalive.
|
|
52
|
+
|
|
53
|
+
Tune it with `keepWarmMs` (milliseconds, default `180000`; `0` disables warmup pings):
|
|
54
|
+
|
|
55
|
+
```json
|
|
56
|
+
{ "plugins": { "entries": { "mr-memory": { "config": { "keepWarmMs": 180000 } } } } }
|
|
57
|
+
```
|
|
58
|
+
|
|
49
59
|
## Config
|
|
50
60
|
|
|
51
61
|
After `openclaw mr <key>`, config is stored at:
|