@mastra/server 1.73.0-alpha.1 → 1.73.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/dist/_types/@mastra_schema-compat/dist/_types/@internal_ai-sdk-v5/dist/index.d.ts +536 -0
- package/dist/_types/@mastra_schema-compat/dist/_types/@internal_ai-v6/dist/index.d.ts +488 -3
- package/dist/{dist-BJfoL3Lt.cjs → dist-CxDKuckB.cjs} +13 -13
- package/dist/dist-CxDKuckB.cjs.map +1 -0
- package/dist/{dist-B2EGPe0Y.js → dist-DzTVFzGu.js} +13 -13
- package/dist/dist-DzTVFzGu.js.map +1 -0
- package/dist/docs/SKILL.md +1 -1
- package/dist/docs/assets/SOURCE_MAP.json +1 -1
- package/dist/server/handlers/agent-builder.cjs +1 -1
- package/dist/server/handlers/agent-builder.js +1 -1
- package/package.json +9 -9
- package/dist/dist-B2EGPe0Y.js.map +0 -1
- package/dist/dist-BJfoL3Lt.cjs.map +0 -1
|
@@ -4637,7 +4637,7 @@ function splitLines(text) {
|
|
|
4637
4637
|
return result;
|
|
4638
4638
|
}
|
|
4639
4639
|
//#endregion
|
|
4640
|
-
//#region ../memory/dist/src-
|
|
4640
|
+
//#region ../memory/dist/src-C9z_nVe-.js
|
|
4641
4641
|
var __defProp$3 = Object.defineProperty;
|
|
4642
4642
|
var __exportAll = (all, no_symbols) => {
|
|
4643
4643
|
let target = {};
|
|
@@ -8809,7 +8809,7 @@ var EventSourceParserStream$1 = class extends TransformStream {
|
|
|
8809
8809
|
function combineHeaders$1(...headers) {
|
|
8810
8810
|
return headers.reduce((combinedHeaders, currentHeaders) => ({
|
|
8811
8811
|
...combinedHeaders,
|
|
8812
|
-
...currentHeaders
|
|
8812
|
+
...currentHeaders
|
|
8813
8813
|
}), {});
|
|
8814
8814
|
}
|
|
8815
8815
|
async function delay$1(delayInMs, options) {
|
|
@@ -9028,7 +9028,7 @@ function withUserAgentSuffix$1(headers, ...userAgentSuffixParts) {
|
|
|
9028
9028
|
normalizedHeaders.set("user-agent", [currentUserAgentHeader, ...userAgentSuffixParts].filter(Boolean).join(" "));
|
|
9029
9029
|
return Object.fromEntries(normalizedHeaders.entries());
|
|
9030
9030
|
}
|
|
9031
|
-
var VERSION$4 = "3.0.
|
|
9031
|
+
var VERSION$4 = "3.0.40";
|
|
9032
9032
|
var getOriginalFetch$1 = () => globalThis.fetch;
|
|
9033
9033
|
var getFromApi$1 = async ({ url, headers = {}, successfulResponseHandler, failedResponseHandler, abortSignal, fetch = getOriginalFetch$1() }) => {
|
|
9034
9034
|
try {
|
|
@@ -9705,7 +9705,7 @@ var zodPatterns$1 = {
|
|
|
9705
9705
|
/**
|
|
9706
9706
|
* `a-z` was added to replicate /i flag
|
|
9707
9707
|
*/
|
|
9708
|
-
email: /^(?!\.)(?!.*\.\.)([a-zA-Z0-9_'
|
|
9708
|
+
email: /^(?!\.)(?!.*\.\.)([a-zA-Z0-9_'+\-.]*)[a-zA-Z0-9_+-]@([a-zA-Z0-9][a-zA-Z0-9-]*\.)+[a-zA-Z]{2,}$/,
|
|
9709
9709
|
/**
|
|
9710
9710
|
* Constructed a valid Unicode RegExp
|
|
9711
9711
|
*
|
|
@@ -14093,11 +14093,11 @@ var EventSourceParserStream$2 = class extends TransformStream {
|
|
|
14093
14093
|
function combineHeaders$2(...headers) {
|
|
14094
14094
|
return headers.reduce((combinedHeaders, currentHeaders) => ({
|
|
14095
14095
|
...combinedHeaders,
|
|
14096
|
-
...currentHeaders
|
|
14096
|
+
...currentHeaders
|
|
14097
14097
|
}), {});
|
|
14098
14098
|
}
|
|
14099
14099
|
async function delay(delayInMs, options) {
|
|
14100
|
-
if (delayInMs == null) return
|
|
14100
|
+
if (delayInMs == null) return;
|
|
14101
14101
|
const signal = options == null ? void 0 : options.abortSignal;
|
|
14102
14102
|
return new Promise((resolve2, reject) => {
|
|
14103
14103
|
if (signal == null ? void 0 : signal.aborted) {
|
|
@@ -14319,7 +14319,7 @@ function withUserAgentSuffix$2(headers, ...userAgentSuffixParts) {
|
|
|
14319
14319
|
normalizedHeaders.set("user-agent", [currentUserAgentHeader, ...userAgentSuffixParts].filter(Boolean).join(" "));
|
|
14320
14320
|
return Object.fromEntries(normalizedHeaders.entries());
|
|
14321
14321
|
}
|
|
14322
|
-
var VERSION$3$1 = "4.0.
|
|
14322
|
+
var VERSION$3$1 = "4.0.56";
|
|
14323
14323
|
var getOriginalFetch$2 = () => globalThis.fetch;
|
|
14324
14324
|
var getFromApi$2 = async ({ url, headers = {}, successfulResponseHandler, failedResponseHandler, abortSignal, fetch = getOriginalFetch$2() }) => {
|
|
14325
14325
|
try {
|
|
@@ -14616,7 +14616,7 @@ var zodPatterns$3 = {
|
|
|
14616
14616
|
/**
|
|
14617
14617
|
* `a-z` was added to replicate /i flag
|
|
14618
14618
|
*/
|
|
14619
|
-
email: /^(?!\.)(?!.*\.\.)([a-zA-Z0-9_'
|
|
14619
|
+
email: /^(?!\.)(?!.*\.\.)([a-zA-Z0-9_'+\-.]*)[a-zA-Z0-9_+-]@([a-zA-Z0-9][a-zA-Z0-9-]*\.)+[a-zA-Z]{2,}$/,
|
|
14620
14620
|
/**
|
|
14621
14621
|
* Constructed a valid Unicode RegExp
|
|
14622
14622
|
*
|
|
@@ -15604,7 +15604,7 @@ function createProviderToolFactoryWithOutputSchema({ id, inputSchema, outputSche
|
|
|
15604
15604
|
}
|
|
15605
15605
|
async function resolve$2(value) {
|
|
15606
15606
|
if (typeof value === "function") value = value();
|
|
15607
|
-
return
|
|
15607
|
+
return value;
|
|
15608
15608
|
}
|
|
15609
15609
|
var retryWithExponentialBackoff = ({ maxRetries = 2, initialDelayInMs = 2e3, backoffFactor = 2, abortSignal, shouldRetry, getDelayInMs = ({ exponentialBackoffDelay }) => exponentialBackoffDelay, createRetryError = ({ message }) => new Error(message) }) => async (f) => retryWithExponentialBackoffInternal(f, {
|
|
15610
15610
|
maxRetries,
|
|
@@ -44269,7 +44269,7 @@ var EventSourceParserStream = class extends TransformStream {
|
|
|
44269
44269
|
function combineHeaders(...headers) {
|
|
44270
44270
|
return headers.reduce((combinedHeaders, currentHeaders) => ({
|
|
44271
44271
|
...combinedHeaders,
|
|
44272
|
-
...currentHeaders
|
|
44272
|
+
...currentHeaders
|
|
44273
44273
|
}), {});
|
|
44274
44274
|
}
|
|
44275
44275
|
function extractResponseHeaders(response) {
|
|
@@ -44456,7 +44456,7 @@ function withUserAgentSuffix(headers, ...userAgentSuffixParts) {
|
|
|
44456
44456
|
normalizedHeaders.set("user-agent", [currentUserAgentHeader, ...userAgentSuffixParts].filter(Boolean).join(" "));
|
|
44457
44457
|
return Object.fromEntries(normalizedHeaders.entries());
|
|
44458
44458
|
}
|
|
44459
|
-
var VERSION$3 = "3.0.
|
|
44459
|
+
var VERSION$3 = "3.0.40";
|
|
44460
44460
|
var getOriginalFetch = () => globalThis.fetch;
|
|
44461
44461
|
var getFromApi = async ({ url, headers = {}, successfulResponseHandler, failedResponseHandler, abortSignal, fetch = getOriginalFetch() }) => {
|
|
44462
44462
|
try {
|
|
@@ -45133,7 +45133,7 @@ var zodPatterns = {
|
|
|
45133
45133
|
/**
|
|
45134
45134
|
* `a-z` was added to replicate /i flag
|
|
45135
45135
|
*/
|
|
45136
|
-
email: /^(?!\.)(?!.*\.\.)([a-zA-Z0-9_'
|
|
45136
|
+
email: /^(?!\.)(?!.*\.\.)([a-zA-Z0-9_'+\-.]*)[a-zA-Z0-9_+-]@([a-zA-Z0-9][a-zA-Z0-9-]*\.)+[a-zA-Z]{2,}$/,
|
|
45137
45137
|
/**
|
|
45138
45138
|
* Constructed a valid Unicode RegExp
|
|
45139
45139
|
*
|
|
@@ -49830,4 +49830,4 @@ const agentBuilderWorkflows = {
|
|
|
49830
49830
|
//#endregion
|
|
49831
49831
|
exports.agentBuilderWorkflows = agentBuilderWorkflows;
|
|
49832
49832
|
|
|
49833
|
-
//# sourceMappingURL=dist-
|
|
49833
|
+
//# sourceMappingURL=dist-CxDKuckB.cjs.map
|