@xdarkicex/openclaw-memory-libravdb 1.10.8 → 1.10.10

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
@@ -31187,7 +31187,8 @@ function buildToolGuidance(availableTools) {
31187
31187
  "Only use memory_search if the card is empty or missing.",
31188
31188
  "",
31189
31189
  "**Autonomous card maintenance:**",
31190
- hasGetCard ? "- When you learn something new about ANY speaker (relationships, jobs, life events, preferences, beliefs), silently call `update_user_card` to keep their card current. You are building a picture of the user's world \u2014 everyone they mention matters. Don't wait to be asked. Update cards proactively." : "",
31190
+ hasGetCard ? "- When ANY speaker is mentioned with new or changed information (status, relationships, jobs, life events, feelings), call `update_user_card` BEFORE responding. Update the card first, then reply. Do NOT wait to be asked. Build the world picture proactively. Every person the user mentions matters." : "",
31191
+ hasGetCard ? "- If a card for the speaker doesn't exist yet, CREATE one with `update_user_card`. Better to have a stub card than no card at all." : "",
31191
31192
  ""
31192
31193
  );
31193
31194
  }
@@ -31196,7 +31197,10 @@ function buildToolGuidance(availableTools) {
31196
31197
  "facts, earliest interactions, and channel history. Do not answer memory",
31197
31198
  "questions from prior transcript claims \u2014 perform a search every time.",
31198
31199
  "After receiving results, use them directly; do not re-call in the same turn.",
31199
- ...availableTools.has("memory_get") ? ["After a `memory_search` hit, call `memory_get` when exact wording or more context is needed."] : [],
31200
+ ...availableTools.has("memory_get") ? [
31201
+ "After a `memory_search` hit, call `memory_get` when exact wording or more context is needed.",
31202
+ "IMPORTANT: If a search snippet is cluttered with metadata, do NOT claim nothing was found. Call `memory_get` on the hit's path to read the full record first. The data is there \u2014 expand before giving up."
31203
+ ] : [],
31200
31204
  ""
31201
31205
  );
31202
31206
  const hasDescribe = availableTools.has("memory_describe");
@@ -29,10 +29,13 @@ function buildToolGuidance(availableTools) {
29
29
  const hasGetCard = availableTools.has("get_user_card");
30
30
  const hasListCards = availableTools.has("list_user_cards");
31
31
  if (hasGetCard || hasListCards) {
32
- lines.push("**Identity/Entity questions — MANDATORY card lookup:**", "BEFORE answering any question about a person, pet, place, or named thing:", hasGetCard ? "- `get_user_card(user_id)` — MANDATORY lookup for a specific entity." : "", hasListCards ? "- `list_user_cards()` — MANDATORY roster check. Call if unsure whether a card exists." : "", "Cards are the canonical record. You MUST call these tools. Do NOT answer from", "memory, context, or training data without checking the card first.", "Only use memory_search if the card is empty or missing.", "", "**Autonomous card maintenance:**", hasGetCard ? "- When you learn something new about ANY speaker (relationships, jobs, life events, preferences, beliefs), silently call `update_user_card` to keep their card current. You are building a picture of the user's world everyone they mention matters. Don't wait to be asked. Update cards proactively." : "", "");
32
+ lines.push("**Identity/Entity questions — MANDATORY card lookup:**", "BEFORE answering any question about a person, pet, place, or named thing:", hasGetCard ? "- `get_user_card(user_id)` — MANDATORY lookup for a specific entity." : "", hasListCards ? "- `list_user_cards()` — MANDATORY roster check. Call if unsure whether a card exists." : "", "Cards are the canonical record. You MUST call these tools. Do NOT answer from", "memory, context, or training data without checking the card first.", "Only use memory_search if the card is empty or missing.", "", "**Autonomous card maintenance:**", hasGetCard ? "- When ANY speaker is mentioned with new or changed information (status, relationships, jobs, life events, feelings), call `update_user_card` BEFORE responding. Update the card first, then reply. Do NOT wait to be asked. Build the world picture proactively. Every person the user mentions matters." : "", hasGetCard ? "- If a card for the speaker doesn't exist yet, CREATE one with `update_user_card`. Better to have a stub card than no card at all." : "", "");
33
33
  }
34
34
  lines.push("Call `memory_search` once per user question for prior turns, remembered", "facts, earliest interactions, and channel history. Do not answer memory", "questions from prior transcript claims — perform a search every time.", "After receiving results, use them directly; do not re-call in the same turn.", ...(availableTools.has("memory_get")
35
- ? ["After a `memory_search` hit, call `memory_get` when exact wording or more context is needed."]
35
+ ? [
36
+ "After a `memory_search` hit, call `memory_get` when exact wording or more context is needed.",
37
+ "IMPORTANT: If a search snippet is cluttered with metadata, do NOT claim nothing was found. Call `memory_get` on the hit's path to read the full record first. The data is there — expand before giving up."
38
+ ]
36
39
  : []), "");
37
40
  // ── Summaries / recall (when available) ──
38
41
  const hasDescribe = availableTools.has("memory_describe");
@@ -2,7 +2,7 @@
2
2
  "id": "libravdb-memory",
3
3
  "name": "LibraVDB Memory",
4
4
  "description": "Cognitive memory engine — causal graph reasoning, predictive context, identity tracking, and hybrid vector recall with back-door adjustment scoring",
5
- "version": "1.10.8",
5
+ "version": "1.10.10",
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.10.8",
3
+ "version": "1.10.10",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",