@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,
|
|
@@ -44266,7 +44266,7 @@ var EventSourceParserStream = class extends TransformStream {
|
|
|
44266
44266
|
function combineHeaders(...headers) {
|
|
44267
44267
|
return headers.reduce((combinedHeaders, currentHeaders) => ({
|
|
44268
44268
|
...combinedHeaders,
|
|
44269
|
-
...currentHeaders
|
|
44269
|
+
...currentHeaders
|
|
44270
44270
|
}), {});
|
|
44271
44271
|
}
|
|
44272
44272
|
function extractResponseHeaders(response) {
|
|
@@ -44453,7 +44453,7 @@ function withUserAgentSuffix(headers, ...userAgentSuffixParts) {
|
|
|
44453
44453
|
normalizedHeaders.set("user-agent", [currentUserAgentHeader, ...userAgentSuffixParts].filter(Boolean).join(" "));
|
|
44454
44454
|
return Object.fromEntries(normalizedHeaders.entries());
|
|
44455
44455
|
}
|
|
44456
|
-
var VERSION$3 = "3.0.
|
|
44456
|
+
var VERSION$3 = "3.0.40";
|
|
44457
44457
|
var getOriginalFetch = () => globalThis.fetch;
|
|
44458
44458
|
var getFromApi = async ({ url, headers = {}, successfulResponseHandler, failedResponseHandler, abortSignal, fetch = getOriginalFetch() }) => {
|
|
44459
44459
|
try {
|
|
@@ -45130,7 +45130,7 @@ var zodPatterns = {
|
|
|
45130
45130
|
/**
|
|
45131
45131
|
* `a-z` was added to replicate /i flag
|
|
45132
45132
|
*/
|
|
45133
|
-
email: /^(?!\.)(?!.*\.\.)([a-zA-Z0-9_'
|
|
45133
|
+
email: /^(?!\.)(?!.*\.\.)([a-zA-Z0-9_'+\-.]*)[a-zA-Z0-9_+-]@([a-zA-Z0-9][a-zA-Z0-9-]*\.)+[a-zA-Z]{2,}$/,
|
|
45134
45134
|
/**
|
|
45135
45135
|
* Constructed a valid Unicode RegExp
|
|
45136
45136
|
*
|
|
@@ -49827,4 +49827,4 @@ const agentBuilderWorkflows = {
|
|
|
49827
49827
|
//#endregion
|
|
49828
49828
|
export { agentBuilderWorkflows };
|
|
49829
49829
|
|
|
49830
|
-
//# sourceMappingURL=dist-
|
|
49830
|
+
//# sourceMappingURL=dist-DzTVFzGu.js.map
|