@mastra/memory 1.17.4 → 1.17.5-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-M6QU3KKP.cjs → chunk-6ODYOMHN.cjs} +9 -2
- package/dist/chunk-6ODYOMHN.cjs.map +1 -0
- package/dist/{chunk-4C4ERX6N.js → chunk-Z5GWA7LB.js} +9 -2
- package/dist/chunk-Z5GWA7LB.js.map +1 -0
- package/dist/docs/SKILL.md +1 -1
- package/dist/docs/assets/SOURCE_MAP.json +29 -29
- package/dist/docs/references/docs-agents-supervisor-agents.md +16 -0
- package/dist/docs/references/reference-vectors-mongodb.md +0 -2
- package/dist/index.cjs +13 -13
- package/dist/index.js +4 -4
- package/dist/{observational-memory-TC2CBKCL.cjs → observational-memory-OVSEK47Z.cjs} +26 -26
- package/dist/{observational-memory-TC2CBKCL.cjs.map → observational-memory-OVSEK47Z.cjs.map} +1 -1
- package/dist/{observational-memory-ZS2HJPUO.js → observational-memory-UMDC4VC2.js} +3 -3
- package/dist/{observational-memory-ZS2HJPUO.js.map → observational-memory-UMDC4VC2.js.map} +1 -1
- package/dist/processors/index.cjs +24 -24
- package/dist/processors/index.js +1 -1
- package/dist/processors/observational-memory/reflector-runner.d.ts.map +1 -1
- package/package.json +7 -7
- package/dist/chunk-4C4ERX6N.js.map +0 -1
- package/dist/chunk-M6QU3KKP.cjs.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @mastra/memory
|
|
2
2
|
|
|
3
|
+
## 1.17.5-alpha.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Fixed async reflection buffering incorrectly triggering during idle timeout and provider-change activations when observation tokens are below the reflection activation threshold ([#16076](https://github.com/mastra-ai/mastra/pull/16076))
|
|
8
|
+
|
|
9
|
+
- Updated dependencies [[`c05c9a1`](https://github.com/mastra-ai/mastra/commit/c05c9a13230988cef6d438a62f37760f31927bc7), [`e24aacb`](https://github.com/mastra-ai/mastra/commit/e24aacba07bd66f5d95b636dc24016fca26b52cf), [`c721164`](https://github.com/mastra-ai/mastra/commit/c7211643f7ac861f83b19a3757cc921487fc9d75), [`1b55954`](https://github.com/mastra-ai/mastra/commit/1b559541c1e08a10e49d01ffc51a634dfc37a286), [`5adc55e`](https://github.com/mastra-ai/mastra/commit/5adc55e63407be8ee977914957d68bcc2a075ceb), [`70017d7`](https://github.com/mastra-ai/mastra/commit/70017d72ab741b5d7040e2a15c251a317782e39e), [`e4942bc`](https://github.com/mastra-ai/mastra/commit/e4942bc7fdc903572f7d84f26d5e15f9d39c763d)]:
|
|
10
|
+
- @mastra/core@1.32.0-alpha.1
|
|
11
|
+
|
|
3
12
|
## 1.17.4
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
|
@@ -4821,6 +4821,13 @@ ${unreflectedContent}` : freshRecord.bufferedReflection;
|
|
|
4821
4821
|
`[OM:reflect] blockAfter exceeded (${observationTokens} >= ${this.reflectionConfig.blockAfter}), falling through to sync reflection`
|
|
4822
4822
|
);
|
|
4823
4823
|
} else {
|
|
4824
|
+
const activationPoint = reflectThreshold * this.reflectionConfig.bufferActivation;
|
|
4825
|
+
if (observationTokens < activationPoint) {
|
|
4826
|
+
omDebug(
|
|
4827
|
+
`[OM:reflect] skipping async reflection \u2014 observationTokens (${observationTokens}) below activation point (${activationPoint}), triggered by ${activationTriggeredBy}`
|
|
4828
|
+
);
|
|
4829
|
+
return;
|
|
4830
|
+
}
|
|
4824
4831
|
omDebug(
|
|
4825
4832
|
`[OM:reflect] async activation failed, no blockAfter or below it (obsTokens=${observationTokens}, blockAfter=${this.reflectionConfig.blockAfter}) \u2014 starting background reflection`
|
|
4826
4833
|
);
|
|
@@ -9375,5 +9382,5 @@ exports.stripEphemeralAnchorIds = stripEphemeralAnchorIds;
|
|
|
9375
9382
|
exports.stripObservationGroups = stripObservationGroups;
|
|
9376
9383
|
exports.truncateStringByTokens = truncateStringByTokens;
|
|
9377
9384
|
exports.wrapInObservationGroup = wrapInObservationGroup;
|
|
9378
|
-
//# sourceMappingURL=chunk-
|
|
9379
|
-
//# sourceMappingURL=chunk-
|
|
9385
|
+
//# sourceMappingURL=chunk-6ODYOMHN.cjs.map
|
|
9386
|
+
//# sourceMappingURL=chunk-6ODYOMHN.cjs.map
|