@xdarkicex/openclaw-memory-libravdb 1.9.10-beta.13 → 1.9.10-beta.14

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.
@@ -1392,9 +1392,9 @@ export function buildContextEngineFactory(runtime, cfg, logger = console) {
1392
1392
  }
1393
1393
  function cleanPredictionText(text) {
1394
1394
  // Strip the [OpenClaw context: key=value; ...] routing prefix line.
1395
- const stripped = text.replace(OPENCLAW_CONTEXT_PREFIX_RE, "").trimStart();
1396
- // Then run the standard metadata envelope stripping.
1397
- return stripOpenClawUntrustedMetadataEnvelope(stripped);
1395
+ // Keep the timestamp/sender envelope — LLMs recognize it as conversation
1396
+ // history format and use it to understand message context.
1397
+ return text.replace(OPENCLAW_CONTEXT_PREFIX_RE, "").trimStart();
1398
1398
  }
1399
1399
  function formatRetrievedMemory(predictions) {
1400
1400
  if (!predictions?.length)
package/dist/index.js CHANGED
@@ -36635,8 +36635,7 @@ function buildContextEngineFactory(runtime, cfg, logger = console) {
36635
36635
  return s.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;");
36636
36636
  }
36637
36637
  function cleanPredictionText(text) {
36638
- const stripped = text.replace(OPENCLAW_CONTEXT_PREFIX_RE, "").trimStart();
36639
- return stripOpenClawUntrustedMetadataEnvelope(stripped);
36638
+ return text.replace(OPENCLAW_CONTEXT_PREFIX_RE, "").trimStart();
36640
36639
  }
36641
36640
  function formatRetrievedMemory(predictions) {
36642
36641
  if (!predictions?.length) return "";
@@ -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.9.10-beta.13",
5
+ "version": "1.9.10-beta.14",
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.9.10-beta.13",
3
+ "version": "1.9.10-beta.14",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",