memory-braid 0.7.0 → 0.7.1
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 +6 -6
- package/openclaw.plugin.json +2 -2
- package/package.json +1 -1
- package/src/config.ts +2 -2
package/README.md
CHANGED
|
@@ -110,7 +110,7 @@ On the target machine:
|
|
|
110
110
|
1. Install from npm:
|
|
111
111
|
|
|
112
112
|
```bash
|
|
113
|
-
openclaw plugins install memory-braid@0.7.
|
|
113
|
+
openclaw plugins install memory-braid@0.7.1
|
|
114
114
|
```
|
|
115
115
|
|
|
116
116
|
2. Rebuild native dependencies inside the installed extension:
|
|
@@ -233,13 +233,13 @@ Add this under `plugins.entries["memory-braid"].config` in your OpenClaw config:
|
|
|
233
233
|
"minScore": 0.65,
|
|
234
234
|
"maxEntitiesPerMemory": 8,
|
|
235
235
|
"startup": {
|
|
236
|
-
"downloadOnStartup":
|
|
236
|
+
"downloadOnStartup": false,
|
|
237
237
|
"warmupText": "John works at Acme in Berlin."
|
|
238
238
|
}
|
|
239
239
|
},
|
|
240
240
|
"consolidation": {
|
|
241
241
|
"enabled": true,
|
|
242
|
-
"startupRun":
|
|
242
|
+
"startupRun": false,
|
|
243
243
|
"intervalMinutes": 360,
|
|
244
244
|
"opportunisticNewMemoryThreshold": 5,
|
|
245
245
|
"opportunisticMinMinutesSinceLastRun": 30,
|
|
@@ -558,7 +558,7 @@ Use this preset when:
|
|
|
558
558
|
"minScore": 0.65,
|
|
559
559
|
"maxEntitiesPerMemory": 8,
|
|
560
560
|
"startup": {
|
|
561
|
-
"downloadOnStartup":
|
|
561
|
+
"downloadOnStartup": false,
|
|
562
562
|
"warmupText": "John works at Acme in Berlin."
|
|
563
563
|
}
|
|
564
564
|
},
|
|
@@ -669,14 +669,14 @@ Entity extraction defaults are:
|
|
|
669
669
|
- `entityExtraction.timeoutMs`: `2500`
|
|
670
670
|
- `entityExtraction.minScore`: `0.65`
|
|
671
671
|
- `entityExtraction.maxEntitiesPerMemory`: `8`
|
|
672
|
-
- `entityExtraction.startup.downloadOnStartup`: `
|
|
672
|
+
- `entityExtraction.startup.downloadOnStartup`: `false`
|
|
673
673
|
- `entityExtraction.startup.warmupText`: `"John works at Acme in Berlin."`
|
|
674
674
|
|
|
675
675
|
When enabled:
|
|
676
676
|
|
|
677
677
|
- Local NER model cache/download path is `<OPENCLAW_STATE_DIR>/memory-braid/models/entity-extraction` (typically `~/.openclaw/memory-braid/models/entity-extraction`).
|
|
678
678
|
- Captured memories get `metadata.entities` and `metadata.entityUris` (canonical IDs like `entity://person/john-doe`).
|
|
679
|
-
- Startup warmup
|
|
679
|
+
- Startup warmup is opt-in (`downloadOnStartup: false`) so model prewarm does not land on the critical gateway startup path.
|
|
680
680
|
|
|
681
681
|
Warmup command:
|
|
682
682
|
|
package/openclaw.plugin.json
CHANGED
|
@@ -129,7 +129,7 @@
|
|
|
129
129
|
"type": "object",
|
|
130
130
|
"additionalProperties": false,
|
|
131
131
|
"properties": {
|
|
132
|
-
"downloadOnStartup": { "type": "boolean", "default":
|
|
132
|
+
"downloadOnStartup": { "type": "boolean", "default": false },
|
|
133
133
|
"warmupText": {
|
|
134
134
|
"type": "string",
|
|
135
135
|
"default": "John works at Acme in Berlin."
|
|
@@ -186,7 +186,7 @@
|
|
|
186
186
|
"additionalProperties": false,
|
|
187
187
|
"properties": {
|
|
188
188
|
"enabled": { "type": "boolean", "default": true },
|
|
189
|
-
"startupRun": { "type": "boolean", "default":
|
|
189
|
+
"startupRun": { "type": "boolean", "default": false },
|
|
190
190
|
"intervalMinutes": {
|
|
191
191
|
"type": "integer",
|
|
192
192
|
"minimum": 1,
|
package/package.json
CHANGED
package/src/config.ts
CHANGED
|
@@ -172,7 +172,7 @@ const DEFAULTS: MemoryBraidConfig = {
|
|
|
172
172
|
minScore: 0.65,
|
|
173
173
|
maxEntitiesPerMemory: 8,
|
|
174
174
|
startup: {
|
|
175
|
-
downloadOnStartup:
|
|
175
|
+
downloadOnStartup: false,
|
|
176
176
|
warmupText: "John works at Acme in Berlin.",
|
|
177
177
|
},
|
|
178
178
|
},
|
|
@@ -196,7 +196,7 @@ const DEFAULTS: MemoryBraidConfig = {
|
|
|
196
196
|
},
|
|
197
197
|
consolidation: {
|
|
198
198
|
enabled: true,
|
|
199
|
-
startupRun:
|
|
199
|
+
startupRun: false,
|
|
200
200
|
intervalMinutes: 360,
|
|
201
201
|
opportunisticNewMemoryThreshold: 5,
|
|
202
202
|
opportunisticMinMinutesSinceLastRun: 30,
|