@xdarkicex/openclaw-memory-libravdb 1.6.31 → 1.6.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/dist/index.js CHANGED
@@ -34754,28 +34754,24 @@ function isOpenClawMemoryFile(filePath) {
34754
34754
  // src/memory-provider.ts
34755
34755
  var MEMORY_PROMPT_HEADER = [
34756
34756
  "## Memory",
34757
- "LibraVDB persistent memory is configured. Recalled memories may appear",
34758
- "in context via the context-engine assembler when available and relevant.",
34757
+ "LibraVDB persistent memory is configured. When asked about past",
34758
+ "conversations, facts, preferences, decisions, or anything a user",
34759
+ "might have told you before \u2014 actively retrieve it.",
34759
34760
  ""
34760
34761
  ];
34761
34762
  function buildToolGuidance(availableTools) {
34762
34763
  if (!availableTools?.has("memory_search")) {
34763
34764
  return [];
34764
34765
  }
34765
- const lines = [
34766
- "For explicit memory lookup requests, call `memory_search` first.",
34767
- "Use it for prior turns, remembered facts, earliest interactions, and channel history.",
34768
- "Do not answer memory lookup requests from prior transcript claims or earlier `memory_search` results; perform a fresh `memory_search` for the current request.",
34769
- "For earliest or oldest memory questions, request enough results, compare timestamps in the returned snippets, and use `memory_get` if the snippet is not enough."
34770
- ];
34771
- if (availableTools.has("memory_get")) {
34772
- lines.push("After a `memory_search` hit, call `memory_get` when exact wording or more context is needed.");
34773
- }
34774
- lines.push(
34775
- "Do not treat a missing `MEMORY.md` file as missing memory; LibraVDB memory is vector-backed and retrieved through the memory tools.",
34766
+ return [
34767
+ "Call `memory_search` for prior turns, remembered facts, earliest interactions,",
34768
+ "and channel history. Do not answer memory questions from prior transcript",
34769
+ "claims or stale `memory_search` results \u2014 perform a fresh search every time.",
34770
+ "For earliest or oldest questions, request enough results and compare timestamps.",
34771
+ ...availableTools.has("memory_get") ? ["After a `memory_search` hit, call `memory_get` when exact wording or more context is needed."] : [],
34772
+ "LibraVDB memory is vector-backed and retrieved through tools, not files.",
34776
34773
  ""
34777
- );
34778
- return lines;
34774
+ ];
34779
34775
  }
34780
34776
  function buildMemoryPromptSection(_getClient, _cfg) {
34781
34777
  return function memoryPromptSection({
@@ -1,24 +1,25 @@
1
1
  const MEMORY_PROMPT_HEADER = [
2
2
  "## Memory",
3
- "LibraVDB persistent memory is configured. Recalled memories may appear",
4
- "in context via the context-engine assembler when available and relevant.",
3
+ "LibraVDB persistent memory is configured. When asked about past",
4
+ "conversations, facts, preferences, decisions, or anything a user",
5
+ "might have told you before — actively retrieve it.",
5
6
  "",
6
7
  ];
7
8
  function buildToolGuidance(availableTools) {
8
9
  if (!availableTools?.has("memory_search")) {
9
10
  return [];
10
11
  }
11
- const lines = [
12
- "For explicit memory lookup requests, call `memory_search` first.",
13
- "Use it for prior turns, remembered facts, earliest interactions, and channel history.",
14
- "Do not answer memory lookup requests from prior transcript claims or earlier `memory_search` results; perform a fresh `memory_search` for the current request.",
15
- "For earliest or oldest memory questions, request enough results, compare timestamps in the returned snippets, and use `memory_get` if the snippet is not enough.",
12
+ return [
13
+ "Call `memory_search` for prior turns, remembered facts, earliest interactions,",
14
+ "and channel history. Do not answer memory questions from prior transcript",
15
+ "claims or stale `memory_search` results perform a fresh search every time.",
16
+ "For earliest or oldest questions, request enough results and compare timestamps.",
17
+ ...(availableTools.has("memory_get")
18
+ ? ["After a `memory_search` hit, call `memory_get` when exact wording or more context is needed."]
19
+ : []),
20
+ "LibraVDB memory is vector-backed and retrieved through tools, not files.",
21
+ "",
16
22
  ];
17
- if (availableTools.has("memory_get")) {
18
- lines.push("After a `memory_search` hit, call `memory_get` when exact wording or more context is needed.");
19
- }
20
- lines.push("Do not treat a missing `MEMORY.md` file as missing memory; LibraVDB memory is vector-backed and retrieved through the memory tools.", "");
21
- return lines;
22
23
  }
23
24
  export function buildMemoryPromptSection(_getClient, _cfg) {
24
25
  return function memoryPromptSection({ availableTools, citationsMode: _citationsMode, }) {
@@ -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.6.31",
5
+ "version": "1.6.32",
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.6.31",
3
+ "version": "1.6.32",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",