@mastra/memory 1.23.0 → 1.23.1-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 +9 -0
- package/dist/{chunk-6ACCFKAN.js → chunk-2DC67EL3.js} +5 -5
- package/dist/{chunk-6ACCFKAN.js.map → chunk-2DC67EL3.js.map} +1 -1
- package/dist/{chunk-42LZUXJ3.cjs → chunk-OHNH3BMB.cjs} +5 -5
- package/dist/{chunk-42LZUXJ3.cjs.map → chunk-OHNH3BMB.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-multi-user-threads.md +4 -4
- package/dist/docs/references/docs-memory-observational-memory.md +1 -1
- package/dist/docs/references/docs-memory-working-memory.md +1 -1
- package/dist/index.cjs +15 -15
- package/dist/index.js +1 -1
- package/dist/{observational-memory-OJN26RQ4.js → observational-memory-DH3LMZPZ.js} +3 -3
- package/dist/{observational-memory-OJN26RQ4.js.map → observational-memory-DH3LMZPZ.js.map} +1 -1
- package/dist/{observational-memory-2F4GJOP2.cjs → observational-memory-WJPGK55S.cjs} +29 -29
- package/dist/{observational-memory-2F4GJOP2.cjs.map → observational-memory-WJPGK55S.cjs.map} +1 -1
- package/dist/processors/index.cjs +27 -27
- package/dist/processors/index.js +1 -1
- package/package.json +5 -5
|
@@ -25409,7 +25409,7 @@ ${workingMemory}`;
|
|
|
25409
25409
|
}
|
|
25410
25410
|
if (omConfig.observation?.bufferTokens !== false && !features.coreFeatures.has("asyncBuffering")) {
|
|
25411
25411
|
throw new Error(
|
|
25412
|
-
"Observational memory async buffering is enabled by default but the installed version of @mastra/core does not support it. Either upgrade @mastra/core, @mastra/memory, and your storage adapter (@mastra/libsql, @mastra/pg, or @mastra/
|
|
25412
|
+
"Observational memory async buffering is enabled by default but the installed version of @mastra/core does not support it. Either upgrade @mastra/core, @mastra/memory, and your storage adapter (@mastra/libsql, @mastra/pg, @mastra/mongodb, or @mastra/convex) to the latest version, or explicitly disable async buffering by setting `observation: { bufferTokens: false }` in your observationalMemory config."
|
|
25413
25413
|
);
|
|
25414
25414
|
}
|
|
25415
25415
|
if (!features.coreFeatures.has("request-response-id-rotation")) {
|
|
@@ -25417,7 +25417,7 @@ ${workingMemory}`;
|
|
|
25417
25417
|
"Observational memory requires @mastra/core support for request-response-id-rotation. Please bump @mastra/core to a newer version."
|
|
25418
25418
|
);
|
|
25419
25419
|
}
|
|
25420
|
-
const { ObservationalMemory: OMClass } = await import('./observational-memory-
|
|
25420
|
+
const { ObservationalMemory: OMClass } = await import('./observational-memory-WJPGK55S.cjs');
|
|
25421
25421
|
const onIndexObservations = this.hasRetrievalSearch(omConfig.retrieval) ? async (observation) => {
|
|
25422
25422
|
await this.indexObservation(observation);
|
|
25423
25423
|
} : void 0;
|
|
@@ -26465,7 +26465,7 @@ Notes:
|
|
|
26465
26465
|
if (!effectiveConfig) return null;
|
|
26466
26466
|
const engine = await this.omEngine;
|
|
26467
26467
|
if (!engine) return null;
|
|
26468
|
-
const { ObservationalMemoryProcessor: ObservationalMemoryProcessor2 } = await import('./observational-memory-
|
|
26468
|
+
const { ObservationalMemoryProcessor: ObservationalMemoryProcessor2 } = await import('./observational-memory-WJPGK55S.cjs');
|
|
26469
26469
|
return new ObservationalMemoryProcessor2(engine, this, {
|
|
26470
26470
|
temporalMarkers: effectiveConfig.temporalMarkers
|
|
26471
26471
|
});
|
|
@@ -31461,5 +31461,5 @@ exports.stripEphemeralAnchorIds = stripEphemeralAnchorIds;
|
|
|
31461
31461
|
exports.stripObservationGroups = stripObservationGroups;
|
|
31462
31462
|
exports.summarizeConversation = summarizeConversation;
|
|
31463
31463
|
exports.wrapInObservationGroup = wrapInObservationGroup;
|
|
31464
|
-
//# sourceMappingURL=chunk-
|
|
31465
|
-
//# sourceMappingURL=chunk-
|
|
31464
|
+
//# sourceMappingURL=chunk-OHNH3BMB.cjs.map
|
|
31465
|
+
//# sourceMappingURL=chunk-OHNH3BMB.cjs.map
|