@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 +25 -0
- package/dist/{chunk-XOCZP6LJ.js → chunk-3UXBG7HA.js} +4 -4
- package/dist/{chunk-XOCZP6LJ.js.map → chunk-3UXBG7HA.js.map} +1 -1
- package/dist/{chunk-TSABI3S4.cjs → chunk-RY3SV3BJ.cjs} +4 -4
- package/dist/{chunk-TSABI3S4.cjs.map → chunk-RY3SV3BJ.cjs.map} +1 -1
- package/dist/docs/SKILL.md +1 -1
- package/dist/docs/assets/SOURCE_MAP.json +37 -37
- package/dist/docs/references/docs-memory-message-history.md +19 -1
- package/dist/docs/references/reference-memory-memory-class.md +1 -1
- package/dist/index.cjs +15 -15
- package/dist/index.d.ts +2 -30
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/{observational-memory-NZSUTGPH.cjs → observational-memory-FF4AVBKG.cjs} +29 -29
- package/dist/{observational-memory-NZSUTGPH.cjs.map → observational-memory-FF4AVBKG.cjs.map} +1 -1
- package/dist/{observational-memory-HQ4AP566.js → observational-memory-OSTBP4LB.js} +3 -3
- package/dist/{observational-memory-HQ4AP566.js.map → observational-memory-OSTBP4LB.js.map} +1 -1
- package/dist/processors/index.cjs +27 -27
- package/dist/processors/index.js +1 -1
- package/dist/processors/observational-memory/observational-memory.d.ts.map +1 -1
- package/dist/processors/observational-memory/reflector-runner.d.ts.map +1 -1
- package/package.json +9 -8
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-
|
|
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-
|
|
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-
|
|
31429
|
-
//# sourceMappingURL=chunk-
|
|
31428
|
+
//# sourceMappingURL=chunk-3UXBG7HA.js.map
|
|
31429
|
+
//# sourceMappingURL=chunk-3UXBG7HA.js.map
|