@xdarkicex/openclaw-memory-libravdb 1.4.54 → 1.4.55

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.
@@ -312,7 +312,10 @@ function escapeMemoryFactText(text) {
312
312
  .replaceAll("<", "&lt;")
313
313
  .replaceAll(">", "&gt;")
314
314
  .replaceAll('"', "&quot;")
315
- .replaceAll("'", "&#39;");
315
+ .replaceAll("'", "&#39;")
316
+ .replaceAll("\r", "&#13;")
317
+ .replaceAll("\n", "&#10;")
318
+ .replaceAll("\t", "&#9;");
316
319
  }
317
320
  function buildExactRecallFact(result, token) {
318
321
  const factText = extractExactRecallFactText(result.text, token);
package/dist/index.js CHANGED
@@ -33919,7 +33919,7 @@ function extractExactRecallFactText(text, token) {
33919
33919
  return factSentence ?? tail.split("\n")[0]?.trim() ?? tail;
33920
33920
  }
33921
33921
  function escapeMemoryFactText(text) {
33922
- return text.replaceAll("&", "&amp;").replaceAll("<", "&lt;").replaceAll(">", "&gt;").replaceAll('"', "&quot;").replaceAll("'", "&#39;");
33922
+ return text.replaceAll("&", "&amp;").replaceAll("<", "&lt;").replaceAll(">", "&gt;").replaceAll('"', "&quot;").replaceAll("'", "&#39;").replaceAll("\r", "&#13;").replaceAll("\n", "&#10;").replaceAll(" ", "&#9;");
33923
33923
  }
33924
33924
  function buildExactRecallFact(result, token) {
33925
33925
  const factText = extractExactRecallFactText(result.text, token);
@@ -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.54",
5
+ "version": "1.4.55",
6
6
  "kind": [
7
7
  "memory",
8
8
  "context-engine"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xdarkicex/openclaw-memory-libravdb",
3
- "version": "1.4.54",
3
+ "version": "1.4.55",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",