@xdarkicex/openclaw-memory-libravdb 1.4.31 → 1.4.32
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 -4
- package/dist/sidecar.js +0 -27
- package/dist/types.d.ts +0 -10
- package/openclaw.plugin.json +1 -47
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -206,12 +206,14 @@ CPU when a provider is unavailable.
|
|
|
206
206
|
|
|
207
207
|
### Ingestion gating
|
|
208
208
|
|
|
209
|
+
Gating thresholds and scoring weights are owned by the vector service and configured via
|
|
210
|
+
service environment variables. See the service documentation for tuning details.
|
|
211
|
+
|
|
212
|
+
The plugin exposes `ingestionGateThreshold` for host-side gating decisions:
|
|
213
|
+
|
|
209
214
|
| Key | Type | Default | Notes |
|
|
210
215
|
|---|---|---|---|
|
|
211
|
-
| `ingestionGateThreshold` | number | `0.35` | Minimum semantic relevance score
|
|
212
|
-
| `gatingWeights` | object | `{w1c:0.35, w2c:0.4, w3c:0.25, w1t:0.4, w2t:0.35, w3t:0.25}` | Hybrid scoring weights |
|
|
213
|
-
| `gatingTechNorm` | number | `1.5` | Technical content normalization factor |
|
|
214
|
-
| `gatingCentroidK` | number | `10` | K for centroid-based similarity gating |
|
|
216
|
+
| `ingestionGateThreshold` | number | `0.35` | Minimum semantic relevance score used by the plugin host for ingestion gating |
|
|
215
217
|
|
|
216
218
|
### Compaction
|
|
217
219
|
|
package/dist/sidecar.js
CHANGED
|
@@ -424,33 +424,6 @@ export function buildSidecarEnv(cfg) {
|
|
|
424
424
|
if (cfg.compactModel && !env.LIBRAVDB_SUMMARIZER_MODEL) {
|
|
425
425
|
env.LIBRAVDB_SUMMARIZER_MODEL = cfg.compactModel;
|
|
426
426
|
}
|
|
427
|
-
if (cfg.gatingWeights?.w1c != null) {
|
|
428
|
-
env.LIBRAVDB_GATING_W1C = String(cfg.gatingWeights.w1c);
|
|
429
|
-
}
|
|
430
|
-
if (cfg.gatingWeights?.w2c != null) {
|
|
431
|
-
env.LIBRAVDB_GATING_W2C = String(cfg.gatingWeights.w2c);
|
|
432
|
-
}
|
|
433
|
-
if (cfg.gatingWeights?.w3c != null) {
|
|
434
|
-
env.LIBRAVDB_GATING_W3C = String(cfg.gatingWeights.w3c);
|
|
435
|
-
}
|
|
436
|
-
if (cfg.gatingWeights?.w1t != null) {
|
|
437
|
-
env.LIBRAVDB_GATING_W1T = String(cfg.gatingWeights.w1t);
|
|
438
|
-
}
|
|
439
|
-
if (cfg.gatingWeights?.w2t != null) {
|
|
440
|
-
env.LIBRAVDB_GATING_W2T = String(cfg.gatingWeights.w2t);
|
|
441
|
-
}
|
|
442
|
-
if (cfg.gatingWeights?.w3t != null) {
|
|
443
|
-
env.LIBRAVDB_GATING_W3T = String(cfg.gatingWeights.w3t);
|
|
444
|
-
}
|
|
445
|
-
if (typeof cfg.gatingTechNorm === "number" && cfg.gatingTechNorm > 0) {
|
|
446
|
-
env.LIBRAVDB_GATING_TECH_NORM = String(cfg.gatingTechNorm);
|
|
447
|
-
}
|
|
448
|
-
if (typeof cfg.ingestionGateThreshold === "number" && cfg.ingestionGateThreshold >= 0) {
|
|
449
|
-
env.LIBRAVDB_GATING_THRESHOLD = String(cfg.ingestionGateThreshold);
|
|
450
|
-
}
|
|
451
|
-
if (typeof cfg.gatingCentroidK === "number" && cfg.gatingCentroidK > 0) {
|
|
452
|
-
env.LIBRAVDB_GATING_CENTROID_K = String(cfg.gatingCentroidK);
|
|
453
|
-
}
|
|
454
427
|
if (typeof cfg.lifecycleJournalMaxEntries === "number" && cfg.lifecycleJournalMaxEntries > 0) {
|
|
455
428
|
env.LIBRAVDB_LIFECYCLE_JOURNAL_MAX_ENTRIES = String(cfg.lifecycleJournalMaxEntries);
|
|
456
429
|
}
|
package/dist/types.d.ts
CHANGED
|
@@ -52,16 +52,6 @@ export interface PluginConfig {
|
|
|
52
52
|
dreamPromotionDiaryPath?: string;
|
|
53
53
|
dreamPromotionUserId?: string;
|
|
54
54
|
dreamPromotionDebounceMs?: number;
|
|
55
|
-
gatingWeights?: {
|
|
56
|
-
w1c?: number;
|
|
57
|
-
w2c?: number;
|
|
58
|
-
w3c?: number;
|
|
59
|
-
w1t?: number;
|
|
60
|
-
w2t?: number;
|
|
61
|
-
w3t?: number;
|
|
62
|
-
};
|
|
63
|
-
gatingTechNorm?: number;
|
|
64
|
-
gatingCentroidK?: number;
|
|
65
55
|
lifecycleJournalMaxEntries?: number;
|
|
66
56
|
compactionQualityWeight?: number;
|
|
67
57
|
recencyLambdaSession?: number;
|
package/openclaw.plugin.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"id": "libravdb-memory",
|
|
3
3
|
"name": "LibraVDB Memory",
|
|
4
4
|
"description": "Persistent vector memory with three-tier hybrid scoring",
|
|
5
|
-
"version": "1.4.
|
|
5
|
+
"version": "1.4.32",
|
|
6
6
|
"kind": [
|
|
7
7
|
"memory",
|
|
8
8
|
"context-engine"
|
|
@@ -215,52 +215,6 @@
|
|
|
215
215
|
"type": "number",
|
|
216
216
|
"default": 150
|
|
217
217
|
},
|
|
218
|
-
"gatingWeights": {
|
|
219
|
-
"type": "object",
|
|
220
|
-
"additionalProperties": false,
|
|
221
|
-
"default": {
|
|
222
|
-
"w1c": 0.35,
|
|
223
|
-
"w2c": 0.4,
|
|
224
|
-
"w3c": 0.25,
|
|
225
|
-
"w1t": 0.4,
|
|
226
|
-
"w2t": 0.35,
|
|
227
|
-
"w3t": 0.25
|
|
228
|
-
},
|
|
229
|
-
"properties": {
|
|
230
|
-
"w1c": {
|
|
231
|
-
"type": "number",
|
|
232
|
-
"default": 0.35
|
|
233
|
-
},
|
|
234
|
-
"w2c": {
|
|
235
|
-
"type": "number",
|
|
236
|
-
"default": 0.4
|
|
237
|
-
},
|
|
238
|
-
"w3c": {
|
|
239
|
-
"type": "number",
|
|
240
|
-
"default": 0.25
|
|
241
|
-
},
|
|
242
|
-
"w1t": {
|
|
243
|
-
"type": "number",
|
|
244
|
-
"default": 0.4
|
|
245
|
-
},
|
|
246
|
-
"w2t": {
|
|
247
|
-
"type": "number",
|
|
248
|
-
"default": 0.35
|
|
249
|
-
},
|
|
250
|
-
"w3t": {
|
|
251
|
-
"type": "number",
|
|
252
|
-
"default": 0.25
|
|
253
|
-
}
|
|
254
|
-
}
|
|
255
|
-
},
|
|
256
|
-
"gatingTechNorm": {
|
|
257
|
-
"type": "number",
|
|
258
|
-
"default": 1.5
|
|
259
|
-
},
|
|
260
|
-
"gatingCentroidK": {
|
|
261
|
-
"type": "number",
|
|
262
|
-
"default": 10
|
|
263
|
-
},
|
|
264
218
|
"lifecycleJournalMaxEntries": {
|
|
265
219
|
"type": "number",
|
|
266
220
|
"default": 500
|