@mastra/memory 1.23.1 → 1.24.0-alpha.0

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/CHANGELOG.md CHANGED
@@ -1,5 +1,30 @@
1
1
  # @mastra/memory
2
2
 
3
+ ## 1.24.0-alpha.0
4
+
5
+ ### Minor Changes
6
+
7
+ - Added exact metadata filtering to message history queries across Memory APIs and supported storage providers. ([#19991](https://github.com/mastra-ai/mastra/pull/19991))
8
+
9
+ ```ts
10
+ const messages = await memory.recall({
11
+ threadId: 'thread-1',
12
+ filter: {
13
+ metadata: {
14
+ status: 'done',
15
+ priority: 'high',
16
+ },
17
+ },
18
+ });
19
+ ```
20
+
21
+ Multiple fields use AND semantics. Supported values are strings, finite numbers, booleans, and `null`.
22
+
23
+ ### Patch Changes
24
+
25
+ - Updated dependencies [[`0dca9d0`](https://github.com/mastra-ai/mastra/commit/0dca9d0b1356024a53b72ea6f040db528b126caa)]:
26
+ - @mastra/core@1.54.0-alpha.0
27
+
3
28
  ## 1.23.1
4
29
 
5
30
  ### Patch Changes
@@ -25424,7 +25424,7 @@ ${workingMemory}`;
25424
25424
  "Observational memory requires @mastra/core support for request-response-id-rotation. Please bump @mastra/core to a newer version."
25425
25425
  );
25426
25426
  }
25427
- const { ObservationalMemory: OMClass } = await import('./observational-memory-HQ4AP566.js');
25427
+ const { ObservationalMemory: OMClass } = await import('./observational-memory-OSTBP4LB.js');
25428
25428
  const onIndexObservations = this.hasRetrievalSearch(omConfig.retrieval) ? async (observation) => {
25429
25429
  await this.indexObservation(observation);
25430
25430
  } : void 0;
@@ -26472,7 +26472,7 @@ Notes:
26472
26472
  if (!effectiveConfig) return null;
26473
26473
  const engine = await this.omEngine;
26474
26474
  if (!engine) return null;
26475
- const { ObservationalMemoryProcessor: ObservationalMemoryProcessor2 } = await import('./observational-memory-HQ4AP566.js');
26475
+ const { ObservationalMemoryProcessor: ObservationalMemoryProcessor2 } = await import('./observational-memory-OSTBP4LB.js');
26476
26476
  return new ObservationalMemoryProcessor2(engine, this, {
26477
26477
  temporalMarkers: effectiveConfig.temporalMarkers
26478
26478
  });
@@ -31425,5 +31425,5 @@ function getObservationsAsOf(activeObservations, asOf) {
31425
31425
  }
31426
31426
 
31427
31427
  export { Extractor, Memory, ModelByInputTokens, OBSERVER_SYSTEM_PROMPT, ObservationalMemory, ObservationalMemoryProcessor, SUMMARIZE_THREAD_DEFAULTS, TokenCounter, WorkingMemoryExtractor, buildObserverPrompt, buildObserverSystemPrompt, combineObservationGroupRanges, deepMergeWorkingMemory, deriveObservationGroupProvenance, extractCurrentTask, extractWorkingMemoryContent, extractWorkingMemoryTags, formatMessagesForObserver, getObservationsAsOf, hasCurrentTaskSection, injectAnchorIds, optimizeObservationsForContext, parseAnchorId, parseObservationGroups, parseObserverOutput, reconcileObservationGroupsFromReflection, removeWorkingMemoryTags, renderObservationGroupsForReflection, stripEphemeralAnchorIds, stripObservationGroups, summarizeConversation, wrapInObservationGroup };
31428
- //# sourceMappingURL=chunk-XOCZP6LJ.js.map
31429
- //# sourceMappingURL=chunk-XOCZP6LJ.js.map
31428
+ //# sourceMappingURL=chunk-3UXBG7HA.js.map
31429
+ //# sourceMappingURL=chunk-3UXBG7HA.js.map