mr-memory 3.12.0 → 3.13.1
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/index.js +7 -7
- package/index.ts +7 -7
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -1016,7 +1016,7 @@ If setting up MemoryRouter for another agent:
|
|
|
1016
1016
|
return {
|
|
1017
1017
|
label: "Memory Search",
|
|
1018
1018
|
name: "memory_search",
|
|
1019
|
-
description: "Search memories from past conversations and your workspace by meaning. Use when relevant.
|
|
1019
|
+
description: "Search memories from past conversations and your workspace by meaning. Use when relevant. Tier guide: tier 3 holds the highest-level consolidated reflections (identity, principles, what matters most), tier 2 holds reflections of specific meaningful events, tier 1 holds raw verbatim memories. Match filters to the question. Broad 'most important things we have done' questions: tiers [3], importance 8 or higher, large maxResults such as 250. Big-picture overviews like 'what do you know about this area or period': tiers [3] with no importance filter. Specific lookups like 'find the decision about X': omit tiers to search all tiers blended and leave importance unset; a high importance filter hides the specific detail you are looking for. Specific meaningful events without raw noise: tiers [2] or [2, 3]. Exact verbatim detail: if the detail is not already in context, drill down by lineage: search tiers [3] to find the relevant thread, then use memory_inspect on the result to see the tier 2 reflections it consolidated, then inspect those to reach the raw memories underneath. Direct tiers [1] search works when you know exact wording to match. Mixing tiers is legitimate; adjust the importance threshold to the question rather than always setting it high. Only reflections (tiers 2 and 3) carry importance ratings. For time-window questions like 'what happened last week' or 'lately' use memory_date_search instead.",
|
|
1020
1020
|
parameters: {
|
|
1021
1021
|
type: "object",
|
|
1022
1022
|
properties: {
|
|
@@ -1026,13 +1026,13 @@ If setting up MemoryRouter for another agent:
|
|
|
1026
1026
|
tiers: {
|
|
1027
1027
|
type: "array",
|
|
1028
1028
|
items: { type: "integer", enum: [1, 2, 3] },
|
|
1029
|
-
description: "Restrict results to these memory tiers.
|
|
1029
|
+
description: "Restrict results to these memory tiers. 3 highest-level consolidated reflections (identity, principles, what matters most), 2 reflections of specific meaningful events, 1 raw verbatim memories. Use [3] for broad 'most important' or big-picture questions, [2] or [2, 3] for specific meaningful events, [1] for exact verbatim detail when you know the wording to match; otherwise drill down from [3] with memory_inspect. Omit to search all tiers blended, the right default for specific lookups. Mixing tiers is fine. Only tiers 2 and 3 carry importance ratings.",
|
|
1030
1030
|
},
|
|
1031
1031
|
importance: {
|
|
1032
1032
|
type: "integer",
|
|
1033
1033
|
minimum: 1,
|
|
1034
1034
|
maximum: 10,
|
|
1035
|
-
description: "Minimum importance threshold, 1 to 10. Only reflections (tiers 2 and 3) carry ratings, so raw memories are excluded whenever this is set.
|
|
1035
|
+
description: "Minimum importance threshold, 1 to 10. Only reflections (tiers 2 and 3) carry ratings, so raw memories are excluded whenever this is set. Use 8 or higher with tiers [3] for broad 'most important' questions. Leave unset for general or specific searches; a high threshold hides relevant material.",
|
|
1036
1036
|
},
|
|
1037
1037
|
},
|
|
1038
1038
|
required: ["query"],
|
|
@@ -1094,7 +1094,7 @@ If setting up MemoryRouter for another agent:
|
|
|
1094
1094
|
return {
|
|
1095
1095
|
label: "Memory Date Search",
|
|
1096
1096
|
name: "memory_date_search",
|
|
1097
|
-
description: "Retrieve memories from a specific time window. Use for questions like 'what happened last week' or 'most important things this month or lately'.
|
|
1097
|
+
description: "Retrieve memories from a specific time window. Use for questions like 'what happened last week' or 'most important things this month or lately'. Tier guide: tier 3 holds the highest-level consolidated reflections (identity, principles, what matters most), tier 2 holds reflections of specific meaningful events, tier 1 holds raw verbatim memories. Match filters to the question. Time-bounded 'most important things last month' questions: tiers [3], importance 8 or higher, generous maxTokens. Big-picture overviews of a period like 'what do you know about July': tiers [3] with no importance filter. Specific lookups in a window like 'find the decision about X': omit tiers to include all tiers and leave importance unset; a high importance filter hides the specific detail you are looking for. Specific meaningful events without raw noise: tiers [2] or [2, 3]. Exact verbatim detail: if the detail is not already in context, drill down by lineage: search tiers [3] to find the relevant thread, then use memory_inspect on the result to see the tier 2 reflections it consolidated, then inspect those to reach the raw memories underneath. Direct tiers [1] search works when you know exact wording to match. Mixing tiers is legitimate; adjust the importance threshold to the question rather than always setting it high. Only reflections (tiers 2 and 3) carry importance ratings. Omit query for a chronological review; include query to rank by relevance within the window. Resolve relative phrases like 'lately' to concrete ISO dates before calling.",
|
|
1098
1098
|
parameters: {
|
|
1099
1099
|
type: "object",
|
|
1100
1100
|
properties: {
|
|
@@ -1113,13 +1113,13 @@ If setting up MemoryRouter for another agent:
|
|
|
1113
1113
|
tiers: {
|
|
1114
1114
|
type: "array",
|
|
1115
1115
|
items: { type: "integer", enum: [1, 2, 3] },
|
|
1116
|
-
description: "Restrict results to these memory tiers.
|
|
1116
|
+
description: "Restrict results to these memory tiers. 3 highest-level consolidated reflections (identity, principles, what matters most), 2 reflections of specific meaningful events, 1 raw verbatim memories. Use [3] for broad 'most important' or big-picture questions, [2] or [2, 3] for specific meaningful events, [1] for exact verbatim detail when you know the wording to match; otherwise drill down from [3] with memory_inspect. Omit to search all tiers blended, the right default for specific lookups. Mixing tiers is fine. Only tiers 2 and 3 carry importance ratings.",
|
|
1117
1117
|
},
|
|
1118
1118
|
importance: {
|
|
1119
1119
|
type: "integer",
|
|
1120
1120
|
minimum: 1,
|
|
1121
1121
|
maximum: 10,
|
|
1122
|
-
description: "Minimum importance threshold, 1 to 10. Only reflections (tiers 2 and 3) carry ratings, so raw memories are excluded whenever this is set.
|
|
1122
|
+
description: "Minimum importance threshold, 1 to 10. Only reflections (tiers 2 and 3) carry ratings, so raw memories are excluded whenever this is set. Use 8 or higher with tiers [3] for broad 'most important' questions. Leave unset for general or specific searches; a high threshold hides relevant material.",
|
|
1123
1123
|
},
|
|
1124
1124
|
maxTokens: {
|
|
1125
1125
|
type: "integer",
|
|
@@ -1352,7 +1352,7 @@ If setting up MemoryRouter for another agent:
|
|
|
1352
1352
|
return {
|
|
1353
1353
|
label: "Memory Inspect",
|
|
1354
1354
|
name: "memory_inspect",
|
|
1355
|
-
description: "Inspect a memory's consolidation lineage by memory_id: its tier, the batch it came from, the sources it consolidated, and what it was consolidated into. Read-only.",
|
|
1355
|
+
description: "Inspect a memory's consolidation lineage by memory_id: its tier, the batch it came from, the sources it consolidated, and what it was consolidated into. Use repeatedly to drill down from a high-level reflection to the tier 2 reflections and raw memories beneath it. Read-only.",
|
|
1356
1356
|
parameters: {
|
|
1357
1357
|
type: "object",
|
|
1358
1358
|
properties: {
|
package/index.ts
CHANGED
|
@@ -1095,7 +1095,7 @@ If setting up MemoryRouter for another agent:
|
|
|
1095
1095
|
return {
|
|
1096
1096
|
label: "Memory Search",
|
|
1097
1097
|
name: "memory_search",
|
|
1098
|
-
description: "Search memories from past conversations and your workspace by meaning. Use when relevant.
|
|
1098
|
+
description: "Search memories from past conversations and your workspace by meaning. Use when relevant. Tier guide: tier 3 holds the highest-level consolidated reflections (identity, principles, what matters most), tier 2 holds reflections of specific meaningful events, tier 1 holds raw verbatim memories. Match filters to the question. Broad 'most important things we have done' questions: tiers [3], importance 8 or higher, large maxResults such as 250. Big-picture overviews like 'what do you know about this area or period': tiers [3] with no importance filter. Specific lookups like 'find the decision about X': omit tiers to search all tiers blended and leave importance unset; a high importance filter hides the specific detail you are looking for. Specific meaningful events without raw noise: tiers [2] or [2, 3]. Exact verbatim detail: if the detail is not already in context, drill down by lineage: search tiers [3] to find the relevant thread, then use memory_inspect on the result to see the tier 2 reflections it consolidated, then inspect those to reach the raw memories underneath. Direct tiers [1] search works when you know exact wording to match. Mixing tiers is legitimate; adjust the importance threshold to the question rather than always setting it high. Only reflections (tiers 2 and 3) carry importance ratings. For time-window questions like 'what happened last week' or 'lately' use memory_date_search instead.",
|
|
1099
1099
|
parameters: {
|
|
1100
1100
|
type: "object",
|
|
1101
1101
|
properties: {
|
|
@@ -1105,13 +1105,13 @@ If setting up MemoryRouter for another agent:
|
|
|
1105
1105
|
tiers: {
|
|
1106
1106
|
type: "array",
|
|
1107
1107
|
items: { type: "integer", enum: [1, 2, 3] },
|
|
1108
|
-
description: "Restrict results to these memory tiers.
|
|
1108
|
+
description: "Restrict results to these memory tiers. 3 highest-level consolidated reflections (identity, principles, what matters most), 2 reflections of specific meaningful events, 1 raw verbatim memories. Use [3] for broad 'most important' or big-picture questions, [2] or [2, 3] for specific meaningful events, [1] for exact verbatim detail when you know the wording to match; otherwise drill down from [3] with memory_inspect. Omit to search all tiers blended, the right default for specific lookups. Mixing tiers is fine. Only tiers 2 and 3 carry importance ratings.",
|
|
1109
1109
|
},
|
|
1110
1110
|
importance: {
|
|
1111
1111
|
type: "integer",
|
|
1112
1112
|
minimum: 1,
|
|
1113
1113
|
maximum: 10,
|
|
1114
|
-
description: "Minimum importance threshold, 1 to 10. Only reflections (tiers 2 and 3) carry ratings, so raw memories are excluded whenever this is set.
|
|
1114
|
+
description: "Minimum importance threshold, 1 to 10. Only reflections (tiers 2 and 3) carry ratings, so raw memories are excluded whenever this is set. Use 8 or higher with tiers [3] for broad 'most important' questions. Leave unset for general or specific searches; a high threshold hides relevant material.",
|
|
1115
1115
|
},
|
|
1116
1116
|
},
|
|
1117
1117
|
required: ["query"],
|
|
@@ -1175,7 +1175,7 @@ If setting up MemoryRouter for another agent:
|
|
|
1175
1175
|
return {
|
|
1176
1176
|
label: "Memory Date Search",
|
|
1177
1177
|
name: "memory_date_search",
|
|
1178
|
-
description: "Retrieve memories from a specific time window. Use for questions like 'what happened last week' or 'most important things this month or lately'.
|
|
1178
|
+
description: "Retrieve memories from a specific time window. Use for questions like 'what happened last week' or 'most important things this month or lately'. Tier guide: tier 3 holds the highest-level consolidated reflections (identity, principles, what matters most), tier 2 holds reflections of specific meaningful events, tier 1 holds raw verbatim memories. Match filters to the question. Time-bounded 'most important things last month' questions: tiers [3], importance 8 or higher, generous maxTokens. Big-picture overviews of a period like 'what do you know about July': tiers [3] with no importance filter. Specific lookups in a window like 'find the decision about X': omit tiers to include all tiers and leave importance unset; a high importance filter hides the specific detail you are looking for. Specific meaningful events without raw noise: tiers [2] or [2, 3]. Exact verbatim detail: if the detail is not already in context, drill down by lineage: search tiers [3] to find the relevant thread, then use memory_inspect on the result to see the tier 2 reflections it consolidated, then inspect those to reach the raw memories underneath. Direct tiers [1] search works when you know exact wording to match. Mixing tiers is legitimate; adjust the importance threshold to the question rather than always setting it high. Only reflections (tiers 2 and 3) carry importance ratings. Omit query for a chronological review; include query to rank by relevance within the window. Resolve relative phrases like 'lately' to concrete ISO dates before calling.",
|
|
1179
1179
|
parameters: {
|
|
1180
1180
|
type: "object",
|
|
1181
1181
|
properties: {
|
|
@@ -1194,13 +1194,13 @@ If setting up MemoryRouter for another agent:
|
|
|
1194
1194
|
tiers: {
|
|
1195
1195
|
type: "array",
|
|
1196
1196
|
items: { type: "integer", enum: [1, 2, 3] },
|
|
1197
|
-
description: "Restrict results to these memory tiers.
|
|
1197
|
+
description: "Restrict results to these memory tiers. 3 highest-level consolidated reflections (identity, principles, what matters most), 2 reflections of specific meaningful events, 1 raw verbatim memories. Use [3] for broad 'most important' or big-picture questions, [2] or [2, 3] for specific meaningful events, [1] for exact verbatim detail when you know the wording to match; otherwise drill down from [3] with memory_inspect. Omit to search all tiers blended, the right default for specific lookups. Mixing tiers is fine. Only tiers 2 and 3 carry importance ratings.",
|
|
1198
1198
|
},
|
|
1199
1199
|
importance: {
|
|
1200
1200
|
type: "integer",
|
|
1201
1201
|
minimum: 1,
|
|
1202
1202
|
maximum: 10,
|
|
1203
|
-
description: "Minimum importance threshold, 1 to 10. Only reflections (tiers 2 and 3) carry ratings, so raw memories are excluded whenever this is set.
|
|
1203
|
+
description: "Minimum importance threshold, 1 to 10. Only reflections (tiers 2 and 3) carry ratings, so raw memories are excluded whenever this is set. Use 8 or higher with tiers [3] for broad 'most important' questions. Leave unset for general or specific searches; a high threshold hides relevant material.",
|
|
1204
1204
|
},
|
|
1205
1205
|
maxTokens: {
|
|
1206
1206
|
type: "integer",
|
|
@@ -1448,7 +1448,7 @@ If setting up MemoryRouter for another agent:
|
|
|
1448
1448
|
return {
|
|
1449
1449
|
label: "Memory Inspect",
|
|
1450
1450
|
name: "memory_inspect",
|
|
1451
|
-
description: "Inspect a memory's consolidation lineage by memory_id: its tier, the batch it came from, the sources it consolidated, and what it was consolidated into. Read-only.",
|
|
1451
|
+
description: "Inspect a memory's consolidation lineage by memory_id: its tier, the batch it came from, the sources it consolidated, and what it was consolidated into. Use repeatedly to drill down from a high-level reflection to the tier 2 reflections and raw memories beneath it. Read-only.",
|
|
1452
1452
|
parameters: {
|
|
1453
1453
|
type: "object",
|
|
1454
1454
|
properties: {
|
package/package.json
CHANGED