@mastra/memory 1.23.1-alpha.0 → 1.23.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/CHANGELOG.md +20 -0
- package/dist/{chunk-OHNH3BMB.cjs → chunk-TSABI3S4.cjs} +56 -25
- package/dist/chunk-TSABI3S4.cjs.map +1 -0
- package/dist/{chunk-2DC67EL3.js → chunk-XOCZP6LJ.js} +56 -25
- package/dist/chunk-XOCZP6LJ.js.map +1 -0
- package/dist/docs/SKILL.md +1 -1
- package/dist/docs/assets/SOURCE_MAP.json +47 -47
- package/dist/docs/references/docs-long-running-agents-background-tasks.md +2 -2
- package/dist/docs/references/docs-long-running-agents-goals.md +3 -1
- package/dist/docs/references/docs-memory-observational-memory.md +77 -2
- package/dist/docs/references/docs-memory-overview.md +4 -0
- package/dist/docs/references/reference-memory-observational-memory.md +21 -0
- package/dist/docs/references/reference-processors-token-limiter-processor.md +1 -3
- package/dist/docs/references/reference-vectors-mongodb.md +2 -0
- package/dist/index.cjs +15 -15
- package/dist/index.js +1 -1
- package/dist/{observational-memory-DH3LMZPZ.js → observational-memory-HQ4AP566.js} +3 -3
- package/dist/{observational-memory-DH3LMZPZ.js.map → observational-memory-HQ4AP566.js.map} +1 -1
- package/dist/{observational-memory-WJPGK55S.cjs → observational-memory-NZSUTGPH.cjs} +29 -29
- package/dist/{observational-memory-WJPGK55S.cjs.map → observational-memory-NZSUTGPH.cjs.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/dist/processors/observational-memory/retry.d.ts.map +1 -1
- package/package.json +10 -10
- package/dist/chunk-2DC67EL3.js.map +0 -1
- package/dist/chunk-OHNH3BMB.cjs.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# @mastra/memory
|
|
2
2
|
|
|
3
|
+
## 1.23.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Fixed observational memory aborting the agent run when OpenRouter injects a transient provider error into the response stream (e.g. "JSON error injected into SSE stream" with google/gemini-2.5-flash). These mid-stream errors carry the HTTP status on a numeric code property and are now recognized as retryable, so the observer retries with backoff instead of failing the turn. ([#19640](https://github.com/mastra-ai/mastra/pull/19640))
|
|
8
|
+
|
|
9
|
+
- Updated the async-buffering compatibility error to include `@mastra/convex` in the list of storage adapters that support Observational Memory. ([#19474](https://github.com/mastra-ai/mastra/pull/19474))
|
|
10
|
+
|
|
11
|
+
- Updated dependencies [[`ec857fc`](https://github.com/mastra-ai/mastra/commit/ec857fc79c264b53b38e16478c789b7177f2ad59), [`d7385ad`](https://github.com/mastra-ai/mastra/commit/d7385ad9e88f9e4f33d15c0ec0bfebedde0cbc2e), [`41a5392`](https://github.com/mastra-ai/mastra/commit/41a5392d9f6c5e18d6b227f0fc0ddf49c50774e9), [`3d6e539`](https://github.com/mastra-ai/mastra/commit/3d6e539272eb2ea0407034605ee1906b3be06b39), [`1426af2`](https://github.com/mastra-ai/mastra/commit/1426af24975879c000d13ac75673f630fcc970c1), [`a40adeb`](https://github.com/mastra-ai/mastra/commit/a40adeb222b961a56a58af56a106106525721b74), [`8a0d145`](https://github.com/mastra-ai/mastra/commit/8a0d145aadbdf7278665aceaaec364b35dd9bd94), [`bd2f1d2`](https://github.com/mastra-ai/mastra/commit/bd2f1d274d05e60e2366f005ea0d94d5cea0d5ff), [`e1f2fae`](https://github.com/mastra-ai/mastra/commit/e1f2faebaf048c3d4c2e2c01d293767c195d5794), [`63aa799`](https://github.com/mastra-ai/mastra/commit/63aa799c6b44eacc7806cda6846b7c5bbee06b37), [`b7e79c3`](https://github.com/mastra-ai/mastra/commit/b7e79c3c02ac5cd415db34ba0975ceafc1464333), [`675fbff`](https://github.com/mastra-ai/mastra/commit/675fbff84d3274391b33e852f76083c38a5514e5), [`da009e1`](https://github.com/mastra-ai/mastra/commit/da009e1aacd89ed94b8d1b2af09c9d4fe7c4db49), [`3b77e77`](https://github.com/mastra-ai/mastra/commit/3b77e7704936522e4769d29de1b5ea6901f302bd), [`c7d30cd`](https://github.com/mastra-ai/mastra/commit/c7d30cd86009c407df91105591f03cd6e3d2854d), [`21a0eb8`](https://github.com/mastra-ai/mastra/commit/21a0eb86746ba0b703acea360d4f84c6a5a493f2), [`8b20926`](https://github.com/mastra-ai/mastra/commit/8b20926cd59e2ba3d66458e062fa0e6e2ada3e68), [`975295d`](https://github.com/mastra-ai/mastra/commit/975295d418552f0d46a59edfef4c3ee555f9930a), [`73db8db`](https://github.com/mastra-ai/mastra/commit/73db8db90d69ab6153c7942749f624db0d96952d), [`6b1bf3b`](https://github.com/mastra-ai/mastra/commit/6b1bf3b9494bd51aa8f654c68c9355d6046fa2a1), [`35c2181`](https://github.com/mastra-ai/mastra/commit/35c2181e6a50e47c90ba36260db7c9723d54696f), [`0a2c22c`](https://github.com/mastra-ai/mastra/commit/0a2c22c902604439ec490319e14c17f331e0c84c), [`4cfdd64`](https://github.com/mastra-ai/mastra/commit/4cfdd645794feaea0c4ea711e70ecdfbef0c5b8e), [`b75d749`](https://github.com/mastra-ai/mastra/commit/b75d749621ff5d17e86bcb4ee809d301fb4f7cf3), [`821648b`](https://github.com/mastra-ai/mastra/commit/821648bf2871ef840100c7bacbecf676010bd12a), [`de86fd7`](https://github.com/mastra-ai/mastra/commit/de86fd7119f0438381d1a642e3d258143c0b9c29), [`2745031`](https://github.com/mastra-ai/mastra/commit/2745031d1d4a4978f037092da371428c32e2842a), [`b4b7ea8`](https://github.com/mastra-ai/mastra/commit/b4b7ea8733f033fc441ea47ed03f6afb17ec2248), [`3a8024c`](https://github.com/mastra-ai/mastra/commit/3a8024ce615f8aa89479c0d71fe61d10bb0040be), [`35865a5`](https://github.com/mastra-ai/mastra/commit/35865a53e194aa9634d6a70a97010e7a6b9d58b1), [`74faf8b`](https://github.com/mastra-ai/mastra/commit/74faf8bd9c1018f2492653c06b1e25fc8300e9e6), [`ef03fbc`](https://github.com/mastra-ai/mastra/commit/ef03fbcc556bcbc04c9b3d06fab88771ecaa043c), [`675fbff`](https://github.com/mastra-ai/mastra/commit/675fbff84d3274391b33e852f76083c38a5514e5), [`70687f7`](https://github.com/mastra-ai/mastra/commit/70687f7e495a322a02070b4a67cb0c77a5ca91ec), [`1fadac4`](https://github.com/mastra-ai/mastra/commit/1fadac44537caeefe81f9f775ae2f2f3d94e9069), [`73db8db`](https://github.com/mastra-ai/mastra/commit/73db8db90d69ab6153c7942749f624db0d96952d), [`76b7181`](https://github.com/mastra-ai/mastra/commit/76b71810366e6d90b9d3973149d1c7ba3659ffb9), [`792ec9a`](https://github.com/mastra-ai/mastra/commit/792ec9a0869bab8274cf5e0ed2840738737a1607), [`712b864`](https://github.com/mastra-ai/mastra/commit/712b864aa1ed12b14c54390ec17b69de163c37f7), [`85e4fb5`](https://github.com/mastra-ai/mastra/commit/85e4fb50087a81c74df3a762f53b56373db0b912), [`0c0e8d7`](https://github.com/mastra-ai/mastra/commit/0c0e8d7becd4d1445c656b78d5d845f606c1ff9d), [`a7bbe77`](https://github.com/mastra-ai/mastra/commit/a7bbe773577f60bc4761b534ef7ec6b476332dad), [`72e437c`](https://github.com/mastra-ai/mastra/commit/72e437c515942c80b9def5b026e0bdee61b469d9), [`8f7a5de`](https://github.com/mastra-ai/mastra/commit/8f7a5dedc246cdc938bb65516703cf9b27b03756), [`a7bbe77`](https://github.com/mastra-ai/mastra/commit/a7bbe773577f60bc4761b534ef7ec6b476332dad), [`11f6cd9`](https://github.com/mastra-ai/mastra/commit/11f6cd96fe42582403416608beb212cc1a2cc79e), [`ef03c0c`](https://github.com/mastra-ai/mastra/commit/ef03c0cfc62367a458e4cc56462e2148b35681c5), [`4fb4d88`](https://github.com/mastra-ai/mastra/commit/4fb4d881bc107acee13890ad4d78661016c510ed), [`4e68363`](https://github.com/mastra-ai/mastra/commit/4e683634f94ebd062d26a3bb6093a8dfc7263d37), [`c328769`](https://github.com/mastra-ai/mastra/commit/c3287698ff8ef98dba86d415faa566fa3e5f4d56), [`9f7c67a`](https://github.com/mastra-ai/mastra/commit/9f7c67abeeb52c41c51a9b5edee60b62afe7cd8d), [`3b65e68`](https://github.com/mastra-ai/mastra/commit/3b65e68d7f1c771c7a70eea42d83fefdd28cad88), [`4eba27a`](https://github.com/mastra-ai/mastra/commit/4eba27adcf60f991df0e62f94b3e75b4e67f3b4b), [`c701be3`](https://github.com/mastra-ai/mastra/commit/c701be32d7d9aa94a66da8c6cc38dcac6856f464), [`db650ce`](https://github.com/mastra-ai/mastra/commit/db650ce490348914e85b93651d83acdf8f2a4c31), [`232fcbc`](https://github.com/mastra-ai/mastra/commit/232fcbc14fce625dd672ba043329c0b732c62be2), [`6354eeb`](https://github.com/mastra-ai/mastra/commit/6354eeb32efa9f5f68f51dda394e90e2ee76f1fb), [`a8799bb`](https://github.com/mastra-ai/mastra/commit/a8799bb8e44f4a60d01e4e2acd3448ff80bf14f8), [`3d6e539`](https://github.com/mastra-ai/mastra/commit/3d6e539272eb2ea0407034605ee1906b3be06b39), [`e3868e2`](https://github.com/mastra-ai/mastra/commit/e3868e22babfffd0133771669ca724501c2dd58e), [`9251370`](https://github.com/mastra-ai/mastra/commit/9251370ad413af464aa22d7566338bec5613e8de), [`3491666`](https://github.com/mastra-ai/mastra/commit/34916663c4fdd43b48c21f4ab2d5fb6dcccc94f9), [`c0bec73`](https://github.com/mastra-ai/mastra/commit/c0bec732c93d1a22ae5e51ed66cf8cacca8bd6a6)]:
|
|
12
|
+
- @mastra/core@1.52.0
|
|
13
|
+
|
|
14
|
+
## 1.23.1-alpha.1
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- Fixed observational memory aborting the agent run when OpenRouter injects a transient provider error into the response stream (e.g. "JSON error injected into SSE stream" with google/gemini-2.5-flash). These mid-stream errors carry the HTTP status on a numeric code property and are now recognized as retryable, so the observer retries with backoff instead of failing the turn. ([#19640](https://github.com/mastra-ai/mastra/pull/19640))
|
|
19
|
+
|
|
20
|
+
- Updated dependencies [[`ec857fc`](https://github.com/mastra-ai/mastra/commit/ec857fc79c264b53b38e16478c789b7177f2ad59), [`e1f2fae`](https://github.com/mastra-ai/mastra/commit/e1f2faebaf048c3d4c2e2c01d293767c195d5794), [`63aa799`](https://github.com/mastra-ai/mastra/commit/63aa799c6b44eacc7806cda6846b7c5bbee06b37), [`73db8db`](https://github.com/mastra-ai/mastra/commit/73db8db90d69ab6153c7942749f624db0d96952d), [`73db8db`](https://github.com/mastra-ai/mastra/commit/73db8db90d69ab6153c7942749f624db0d96952d), [`76b7181`](https://github.com/mastra-ai/mastra/commit/76b71810366e6d90b9d3973149d1c7ba3659ffb9), [`0c0e8d7`](https://github.com/mastra-ai/mastra/commit/0c0e8d7becd4d1445c656b78d5d845f606c1ff9d), [`9f7c67a`](https://github.com/mastra-ai/mastra/commit/9f7c67abeeb52c41c51a9b5edee60b62afe7cd8d), [`3b65e68`](https://github.com/mastra-ai/mastra/commit/3b65e68d7f1c771c7a70eea42d83fefdd28cad88), [`e3868e2`](https://github.com/mastra-ai/mastra/commit/e3868e22babfffd0133771669ca724501c2dd58e)]:
|
|
21
|
+
- @mastra/core@1.52.0-alpha.5
|
|
22
|
+
|
|
3
23
|
## 1.23.1-alpha.0
|
|
4
24
|
|
|
5
25
|
### Patch Changes
|
|
@@ -4798,12 +4798,14 @@ function hasTransientMessage(value) {
|
|
|
4798
4798
|
if (typeof value.code === "string" && value.code.toUpperCase().startsWith("UND_ERR_")) return true;
|
|
4799
4799
|
return false;
|
|
4800
4800
|
}
|
|
4801
|
+
function isRetryableHttpStatus(status) {
|
|
4802
|
+
if (status === 408 || status === 425 || status === 429) return true;
|
|
4803
|
+
return status >= 500 && status <= 599;
|
|
4804
|
+
}
|
|
4801
4805
|
function hasRetryableHttpStatus(value) {
|
|
4802
4806
|
if (!isRecord2(value)) return false;
|
|
4803
|
-
|
|
4804
|
-
if (
|
|
4805
|
-
if (status === 408 || status === 425 || status === 429) return true;
|
|
4806
|
-
if (status >= 500 && status <= 599) return true;
|
|
4807
|
+
if (typeof value.statusCode === "number" && isRetryableHttpStatus(value.statusCode)) return true;
|
|
4808
|
+
if (typeof value.code === "number" && isRetryableHttpStatus(value.code)) return true;
|
|
4807
4809
|
return false;
|
|
4808
4810
|
}
|
|
4809
4811
|
function hasIsRetryableFlag(value) {
|
|
@@ -9574,7 +9576,7 @@ function withUserAgentSuffix(headers, ...userAgentSuffixParts) {
|
|
|
9574
9576
|
);
|
|
9575
9577
|
return Object.fromEntries(normalizedHeaders.entries());
|
|
9576
9578
|
}
|
|
9577
|
-
var VERSION2 = "3.0.
|
|
9579
|
+
var VERSION2 = "3.0.30";
|
|
9578
9580
|
var getOriginalFetch = () => globalThis.fetch;
|
|
9579
9581
|
var getFromApi = async ({
|
|
9580
9582
|
url,
|
|
@@ -9723,7 +9725,7 @@ function lazyValidator(createValidator) {
|
|
|
9723
9725
|
};
|
|
9724
9726
|
}
|
|
9725
9727
|
function asValidator2(value) {
|
|
9726
|
-
return isValidator2(value) ? value :
|
|
9728
|
+
return isValidator2(value) ? value : "~standard" in value ? standardSchemaValidator(value) : value();
|
|
9727
9729
|
}
|
|
9728
9730
|
function standardSchemaValidator(standardSchema2) {
|
|
9729
9731
|
return validator2(async (value) => {
|
|
@@ -11348,18 +11350,27 @@ Run 'npx vercel link' to link your project, then 'vc env pull' to fetch the toke
|
|
|
11348
11350
|
var name24 = "GatewayForbiddenError";
|
|
11349
11351
|
var marker34 = `vercel.ai.gateway.error.${name24}`;
|
|
11350
11352
|
var symbol34 = Symbol.for(marker34);
|
|
11353
|
+
var forbiddenParamSchema = lazyValidator(
|
|
11354
|
+
() => zodSchema2(
|
|
11355
|
+
z42.z.object({
|
|
11356
|
+
ruleId: z42.z.string()
|
|
11357
|
+
})
|
|
11358
|
+
)
|
|
11359
|
+
);
|
|
11351
11360
|
var _a34;
|
|
11352
11361
|
var _b32;
|
|
11353
11362
|
var GatewayForbiddenError = class extends (_b32 = GatewayError, _a34 = symbol34, _b32) {
|
|
11354
11363
|
constructor({
|
|
11355
11364
|
message = "Forbidden",
|
|
11356
11365
|
statusCode = 403,
|
|
11357
|
-
cause
|
|
11366
|
+
cause,
|
|
11367
|
+
ruleId
|
|
11358
11368
|
} = {}) {
|
|
11359
11369
|
super({ message, statusCode, cause });
|
|
11360
11370
|
this[_a34] = true;
|
|
11361
11371
|
this.name = name24;
|
|
11362
11372
|
this.type = "forbidden";
|
|
11373
|
+
this.ruleId = ruleId;
|
|
11363
11374
|
}
|
|
11364
11375
|
static isInstance(error) {
|
|
11365
11376
|
return GatewayError.hasMarker(error) && symbol34 in error;
|
|
@@ -11527,8 +11538,18 @@ async function createGatewayErrorFromResponse({
|
|
|
11527
11538
|
}
|
|
11528
11539
|
case "internal_server_error":
|
|
11529
11540
|
return new GatewayInternalServerError({ message, statusCode, cause });
|
|
11530
|
-
case "forbidden":
|
|
11531
|
-
|
|
11541
|
+
case "forbidden": {
|
|
11542
|
+
const ruleResult = await safeValidateTypes2({
|
|
11543
|
+
value: validatedResponse.error.param,
|
|
11544
|
+
schema: forbiddenParamSchema
|
|
11545
|
+
});
|
|
11546
|
+
return new GatewayForbiddenError({
|
|
11547
|
+
message,
|
|
11548
|
+
statusCode,
|
|
11549
|
+
cause,
|
|
11550
|
+
ruleId: ruleResult.success ? ruleResult.value.ruleId : void 0
|
|
11551
|
+
});
|
|
11552
|
+
}
|
|
11532
11553
|
default:
|
|
11533
11554
|
return new GatewayInternalServerError({ message, statusCode, cause });
|
|
11534
11555
|
}
|
|
@@ -12430,7 +12451,7 @@ async function getVercelRequestId() {
|
|
|
12430
12451
|
var _a1032;
|
|
12431
12452
|
return (_a1032 = getContext().headers) == null ? void 0 : _a1032["x-vercel-id"];
|
|
12432
12453
|
}
|
|
12433
|
-
var VERSION3 = "2.0.
|
|
12454
|
+
var VERSION3 = "2.0.115";
|
|
12434
12455
|
var AI_GATEWAY_PROTOCOL_VERSION = "0.0.1";
|
|
12435
12456
|
function createGatewayProvider(options = {}) {
|
|
12436
12457
|
var _a1032, _b104;
|
|
@@ -13417,7 +13438,7 @@ function getGlobalProvider() {
|
|
|
13417
13438
|
var _a163;
|
|
13418
13439
|
return (_a163 = globalThis.AI_SDK_DEFAULT_PROVIDER) != null ? _a163 : gateway;
|
|
13419
13440
|
}
|
|
13420
|
-
var VERSION32 = "5.0.
|
|
13441
|
+
var VERSION32 = "5.0.216";
|
|
13421
13442
|
var dataContentSchema2 = z42.z.union([
|
|
13422
13443
|
z42.z.string(),
|
|
13423
13444
|
z42.z.instanceof(Uint8Array),
|
|
@@ -15174,7 +15195,7 @@ function withUserAgentSuffix2(headers, ...userAgentSuffixParts) {
|
|
|
15174
15195
|
);
|
|
15175
15196
|
return Object.fromEntries(normalizedHeaders.entries());
|
|
15176
15197
|
}
|
|
15177
|
-
var VERSION4 = "4.0.
|
|
15198
|
+
var VERSION4 = "4.0.40";
|
|
15178
15199
|
var getOriginalFetch3 = () => globalThis.fetch;
|
|
15179
15200
|
var getFromApi2 = async ({
|
|
15180
15201
|
url,
|
|
@@ -16460,11 +16481,18 @@ function asSchema3(schema) {
|
|
|
16460
16481
|
}
|
|
16461
16482
|
function standardSchema(standardSchema2) {
|
|
16462
16483
|
return jsonSchema3(
|
|
16463
|
-
() =>
|
|
16464
|
-
standardSchema2
|
|
16465
|
-
|
|
16466
|
-
|
|
16467
|
-
|
|
16484
|
+
() => {
|
|
16485
|
+
if (!hasStandardJsonSchema(standardSchema2)) {
|
|
16486
|
+
throw new Error(
|
|
16487
|
+
`Standard schema vendor '${standardSchema2["~standard"].vendor}' does not support JSON Schema conversion.`
|
|
16488
|
+
);
|
|
16489
|
+
}
|
|
16490
|
+
return addAdditionalPropertiesToJsonSchema2(
|
|
16491
|
+
standardSchema2["~standard"].jsonSchema.input({
|
|
16492
|
+
target: "draft-07"
|
|
16493
|
+
})
|
|
16494
|
+
);
|
|
16495
|
+
},
|
|
16468
16496
|
{
|
|
16469
16497
|
validate: async (value) => {
|
|
16470
16498
|
const result = await standardSchema2["~standard"].validate(value);
|
|
@@ -16479,6 +16507,9 @@ function standardSchema(standardSchema2) {
|
|
|
16479
16507
|
}
|
|
16480
16508
|
);
|
|
16481
16509
|
}
|
|
16510
|
+
function hasStandardJsonSchema(schema) {
|
|
16511
|
+
return schema["~standard"].jsonSchema != null;
|
|
16512
|
+
}
|
|
16482
16513
|
function zod3Schema2(zodSchema22, options) {
|
|
16483
16514
|
var _a223;
|
|
16484
16515
|
const useReferences = (_a223 = void 0 ) != null ? _a223 : false;
|
|
@@ -17152,7 +17183,7 @@ var GatewayFailedDependencyError = class extends (_b74 = GatewayError2, _a76 = s
|
|
|
17152
17183
|
var name76 = "GatewayForbiddenError";
|
|
17153
17184
|
var marker86 = `vercel.ai.gateway.error.${name76}`;
|
|
17154
17185
|
var symbol86 = Symbol.for(marker86);
|
|
17155
|
-
var
|
|
17186
|
+
var forbiddenParamSchema2 = lazySchema2(
|
|
17156
17187
|
() => zodSchema3(
|
|
17157
17188
|
z42.z.object({
|
|
17158
17189
|
ruleId: z42.z.string()
|
|
@@ -17284,7 +17315,7 @@ async function createGatewayErrorFromResponse2({
|
|
|
17284
17315
|
case "forbidden": {
|
|
17285
17316
|
const ruleResult = await safeValidateTypes3({
|
|
17286
17317
|
value: validatedResponse.error.param,
|
|
17287
|
-
schema:
|
|
17318
|
+
schema: forbiddenParamSchema2
|
|
17288
17319
|
});
|
|
17289
17320
|
return new GatewayForbiddenError2({
|
|
17290
17321
|
message,
|
|
@@ -18935,7 +18966,7 @@ async function getVercelRequestId2() {
|
|
|
18935
18966
|
var _a117;
|
|
18936
18967
|
return (_a117 = getContext2().headers) == null ? void 0 : _a117["x-vercel-id"];
|
|
18937
18968
|
}
|
|
18938
|
-
var VERSION5 = "3.0.
|
|
18969
|
+
var VERSION5 = "3.0.153";
|
|
18939
18970
|
var AI_GATEWAY_PROTOCOL_VERSION2 = "0.0.1";
|
|
18940
18971
|
function createGatewayProvider2(options = {}) {
|
|
18941
18972
|
var _a117, _b113;
|
|
@@ -20041,7 +20072,7 @@ function getTotalTimeoutMs(timeout) {
|
|
|
20041
20072
|
}
|
|
20042
20073
|
return timeout.totalMs;
|
|
20043
20074
|
}
|
|
20044
|
-
var VERSION23 = "6.0.
|
|
20075
|
+
var VERSION23 = "6.0.230";
|
|
20045
20076
|
var dataContentSchema3 = z42.z.union([
|
|
20046
20077
|
z42.z.string(),
|
|
20047
20078
|
z42.z.instanceof(Uint8Array),
|
|
@@ -25417,7 +25448,7 @@ ${workingMemory}`;
|
|
|
25417
25448
|
"Observational memory requires @mastra/core support for request-response-id-rotation. Please bump @mastra/core to a newer version."
|
|
25418
25449
|
);
|
|
25419
25450
|
}
|
|
25420
|
-
const { ObservationalMemory: OMClass } = await import('./observational-memory-
|
|
25451
|
+
const { ObservationalMemory: OMClass } = await import('./observational-memory-NZSUTGPH.cjs');
|
|
25421
25452
|
const onIndexObservations = this.hasRetrievalSearch(omConfig.retrieval) ? async (observation) => {
|
|
25422
25453
|
await this.indexObservation(observation);
|
|
25423
25454
|
} : void 0;
|
|
@@ -26465,7 +26496,7 @@ Notes:
|
|
|
26465
26496
|
if (!effectiveConfig) return null;
|
|
26466
26497
|
const engine = await this.omEngine;
|
|
26467
26498
|
if (!engine) return null;
|
|
26468
|
-
const { ObservationalMemoryProcessor: ObservationalMemoryProcessor2 } = await import('./observational-memory-
|
|
26499
|
+
const { ObservationalMemoryProcessor: ObservationalMemoryProcessor2 } = await import('./observational-memory-NZSUTGPH.cjs');
|
|
26469
26500
|
return new ObservationalMemoryProcessor2(engine, this, {
|
|
26470
26501
|
temporalMarkers: effectiveConfig.temporalMarkers
|
|
26471
26502
|
});
|
|
@@ -31461,5 +31492,5 @@ exports.stripEphemeralAnchorIds = stripEphemeralAnchorIds;
|
|
|
31461
31492
|
exports.stripObservationGroups = stripObservationGroups;
|
|
31462
31493
|
exports.summarizeConversation = summarizeConversation;
|
|
31463
31494
|
exports.wrapInObservationGroup = wrapInObservationGroup;
|
|
31464
|
-
//# sourceMappingURL=chunk-
|
|
31465
|
-
//# sourceMappingURL=chunk-
|
|
31495
|
+
//# sourceMappingURL=chunk-TSABI3S4.cjs.map
|
|
31496
|
+
//# sourceMappingURL=chunk-TSABI3S4.cjs.map
|