@xdarkicex/openclaw-memory-libravdb 1.8.11 → 1.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/dist/context-engine.d.ts +17 -1
- package/dist/context-engine.js +491 -249
- package/dist/index.js +453 -262
- package/dist/types.d.ts +2 -0
- package/openclaw.plugin.json +6 -1
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -137,6 +137,8 @@ export interface PluginConfig {
|
|
|
137
137
|
beforeTurnMaxMemories?: number;
|
|
138
138
|
/** Minimum similarity score (0.0–1.0) for semantic search hits. Default: 0.4 */
|
|
139
139
|
beforeTurnMinScore?: number;
|
|
140
|
+
/** Maximum size for context engine string memoization caches. Default: 1000 */
|
|
141
|
+
optimizationMemoCacheSize?: number;
|
|
140
142
|
}
|
|
141
143
|
export interface SearchResult {
|
|
142
144
|
id: string;
|
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.
|
|
5
|
+
"version": "1.9.0",
|
|
6
6
|
"kind": [
|
|
7
7
|
"memory",
|
|
8
8
|
"context-engine"
|
|
@@ -474,6 +474,11 @@
|
|
|
474
474
|
},
|
|
475
475
|
"logLevel": {
|
|
476
476
|
"type": "string"
|
|
477
|
+
},
|
|
478
|
+
"optimizationMemoCacheSize": {
|
|
479
|
+
"type": "number",
|
|
480
|
+
"default": 1000,
|
|
481
|
+
"description": "Maximum size for context engine string memoization caches. A higher value uses slightly more memory but avoids re-evaluating regexes on very long chat histories."
|
|
477
482
|
}
|
|
478
483
|
}
|
|
479
484
|
}
|