@mastra/core 1.26.0-alpha.12 → 1.26.0-alpha.13

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.
Files changed (115) hide show
  1. package/CHANGELOG.md +2 -0
  2. package/dist/agent/index.cjs +8 -8
  3. package/dist/agent/index.js +1 -1
  4. package/dist/browser/index.cjs +2 -2
  5. package/dist/browser/index.js +1 -1
  6. package/dist/channels/index.cjs +4 -4
  7. package/dist/channels/index.js +1 -1
  8. package/dist/{chunk-QRGHKCIG.js → chunk-24FTWXDR.js} +3 -3
  9. package/dist/{chunk-QRGHKCIG.js.map → chunk-24FTWXDR.js.map} +1 -1
  10. package/dist/{chunk-W7KMJBO2.cjs → chunk-2NQ2TF5F.cjs} +12 -12
  11. package/dist/{chunk-W7KMJBO2.cjs.map → chunk-2NQ2TF5F.cjs.map} +1 -1
  12. package/dist/{chunk-IPSDBZHB.cjs → chunk-34M2QMAZ.cjs} +292 -292
  13. package/dist/{chunk-IPSDBZHB.cjs.map → chunk-34M2QMAZ.cjs.map} +1 -1
  14. package/dist/{chunk-2E6D5DQ5.js → chunk-37OQ7B3U.js} +3 -3
  15. package/dist/{chunk-2E6D5DQ5.js.map → chunk-37OQ7B3U.js.map} +1 -1
  16. package/dist/{chunk-WUWY4NUR.cjs → chunk-4MLJKGJI.cjs} +22 -20
  17. package/dist/chunk-4MLJKGJI.cjs.map +1 -0
  18. package/dist/{chunk-BE3VZ4TY.cjs → chunk-7IMHDDED.cjs} +57 -57
  19. package/dist/{chunk-BE3VZ4TY.cjs.map → chunk-7IMHDDED.cjs.map} +1 -1
  20. package/dist/{chunk-PB3JPQ7B.js → chunk-DHKEEJPE.js} +3 -3
  21. package/dist/{chunk-PB3JPQ7B.js.map → chunk-DHKEEJPE.js.map} +1 -1
  22. package/dist/{chunk-NTLWGWDT.js → chunk-DLDGEMBE.js} +3 -3
  23. package/dist/{chunk-NTLWGWDT.js.map → chunk-DLDGEMBE.js.map} +1 -1
  24. package/dist/{chunk-N63HAAVB.cjs → chunk-ER7WPKHP.cjs} +7 -7
  25. package/dist/{chunk-N63HAAVB.cjs.map → chunk-ER7WPKHP.cjs.map} +1 -1
  26. package/dist/{chunk-X22POPDU.js → chunk-FE3JBPGZ.js} +9 -9
  27. package/dist/{chunk-X22POPDU.js.map → chunk-FE3JBPGZ.js.map} +1 -1
  28. package/dist/{chunk-7K6DJUAN.js → chunk-GDUBYVBH.js} +4 -4
  29. package/dist/{chunk-7K6DJUAN.js.map → chunk-GDUBYVBH.js.map} +1 -1
  30. package/dist/{chunk-SUQSRI7N.cjs → chunk-GSJT6X23.cjs} +6 -6
  31. package/dist/{chunk-SUQSRI7N.cjs.map → chunk-GSJT6X23.cjs.map} +1 -1
  32. package/dist/{chunk-LUBVBTV4.cjs → chunk-KEXLOZNA.cjs} +17 -17
  33. package/dist/{chunk-LUBVBTV4.cjs.map → chunk-KEXLOZNA.cjs.map} +1 -1
  34. package/dist/{chunk-E7XQRCBI.js → chunk-NTGYHDWA.js} +10 -8
  35. package/dist/chunk-NTGYHDWA.js.map +1 -0
  36. package/dist/{chunk-SMOA623A.js → chunk-SQAGQFGX.js} +3 -3
  37. package/dist/{chunk-SMOA623A.js.map → chunk-SQAGQFGX.js.map} +1 -1
  38. package/dist/{chunk-4M66KVRT.js → chunk-T5WE2PEP.js} +6 -6
  39. package/dist/{chunk-4M66KVRT.js.map → chunk-T5WE2PEP.js.map} +1 -1
  40. package/dist/{chunk-YXGUPFLQ.cjs → chunk-TITDW65H.cjs} +9 -9
  41. package/dist/{chunk-YXGUPFLQ.cjs.map → chunk-TITDW65H.cjs.map} +1 -1
  42. package/dist/{chunk-QKGC723H.cjs → chunk-WBZ5SRGR.cjs} +3 -3
  43. package/dist/{chunk-QKGC723H.cjs.map → chunk-WBZ5SRGR.cjs.map} +1 -1
  44. package/dist/{chunk-V2EI5DBA.cjs → chunk-WDJZB44P.cjs} +224 -224
  45. package/dist/{chunk-V2EI5DBA.cjs.map → chunk-WDJZB44P.cjs.map} +1 -1
  46. package/dist/{chunk-JD7WSJTA.js → chunk-WSVLXQT6.js} +4 -4
  47. package/dist/{chunk-JD7WSJTA.js.map → chunk-WSVLXQT6.js.map} +1 -1
  48. package/dist/{chunk-GP7MJGMS.js → chunk-WYPOS74A.js} +3 -3
  49. package/dist/{chunk-GP7MJGMS.js.map → chunk-WYPOS74A.js.map} +1 -1
  50. package/dist/{chunk-J4G423VO.cjs → chunk-YQ5QJC3S.cjs} +5 -5
  51. package/dist/{chunk-J4G423VO.cjs.map → chunk-YQ5QJC3S.cjs.map} +1 -1
  52. package/dist/datasets/index.cjs +11 -11
  53. package/dist/datasets/index.js +1 -1
  54. package/dist/docs/SKILL.md +1 -1
  55. package/dist/docs/assets/SOURCE_MAP.json +134 -134
  56. package/dist/evals/index.cjs +5 -5
  57. package/dist/evals/index.js +2 -2
  58. package/dist/evals/scoreTraces/index.cjs +3 -3
  59. package/dist/evals/scoreTraces/index.js +1 -1
  60. package/dist/harness/index.cjs +7 -7
  61. package/dist/harness/index.js +5 -5
  62. package/dist/index.cjs +2 -2
  63. package/dist/index.js +1 -1
  64. package/dist/llm/index.cjs +20 -20
  65. package/dist/llm/index.js +5 -5
  66. package/dist/llm/model/provider-types.generated.d.ts +1 -0
  67. package/dist/loop/index.cjs +14 -14
  68. package/dist/loop/index.js +1 -1
  69. package/dist/mastra/index.cjs +2 -2
  70. package/dist/mastra/index.js +1 -1
  71. package/dist/mastra-47JQIPP2.cjs +12 -0
  72. package/dist/{mastra-GAT6GCQK.cjs.map → mastra-47JQIPP2.cjs.map} +1 -1
  73. package/dist/mastra-MEZUGGZZ.js +3 -0
  74. package/dist/{mastra-MYONAFWU.js.map → mastra-MEZUGGZZ.js.map} +1 -1
  75. package/dist/memory/index.cjs +19 -19
  76. package/dist/memory/index.js +1 -1
  77. package/dist/models-dev-BUQGQZCQ.js +3 -0
  78. package/dist/{models-dev-D7X3KQB6.js.map → models-dev-BUQGQZCQ.js.map} +1 -1
  79. package/dist/models-dev-INA3VBAK.cjs +12 -0
  80. package/dist/{models-dev-E4OIS4CB.cjs.map → models-dev-INA3VBAK.cjs.map} +1 -1
  81. package/dist/netlify-BW7IYASM.cjs +12 -0
  82. package/dist/{netlify-KZCZ3W3P.cjs.map → netlify-BW7IYASM.cjs.map} +1 -1
  83. package/dist/netlify-EQPVEYNW.js +3 -0
  84. package/dist/{netlify-PIYWGUPG.js.map → netlify-EQPVEYNW.js.map} +1 -1
  85. package/dist/processor-provider/index.cjs +10 -10
  86. package/dist/processor-provider/index.js +1 -1
  87. package/dist/processors/index.cjs +45 -45
  88. package/dist/processors/index.js +1 -1
  89. package/dist/provider-registry-4FV6CXQI.cjs +44 -0
  90. package/dist/{provider-registry-7DRCW3PP.cjs.map → provider-registry-4FV6CXQI.cjs.map} +1 -1
  91. package/dist/provider-registry-EAKPPU44.js +3 -0
  92. package/dist/{provider-registry-4PDBM3Q4.js.map → provider-registry-EAKPPU44.js.map} +1 -1
  93. package/dist/provider-registry.json +2 -0
  94. package/dist/relevance/index.cjs +3 -3
  95. package/dist/relevance/index.js +1 -1
  96. package/dist/stream/index.cjs +8 -8
  97. package/dist/stream/index.js +1 -1
  98. package/dist/tool-loop-agent/index.cjs +4 -4
  99. package/dist/tool-loop-agent/index.js +1 -1
  100. package/dist/workflows/evented/index.cjs +10 -10
  101. package/dist/workflows/evented/index.js +1 -1
  102. package/dist/workflows/index.cjs +24 -24
  103. package/dist/workflows/index.js +1 -1
  104. package/package.json +4 -4
  105. package/src/llm/model/provider-types.generated.d.ts +1 -0
  106. package/dist/chunk-E7XQRCBI.js.map +0 -1
  107. package/dist/chunk-WUWY4NUR.cjs.map +0 -1
  108. package/dist/mastra-GAT6GCQK.cjs +0 -12
  109. package/dist/mastra-MYONAFWU.js +0 -3
  110. package/dist/models-dev-D7X3KQB6.js +0 -3
  111. package/dist/models-dev-E4OIS4CB.cjs +0 -12
  112. package/dist/netlify-KZCZ3W3P.cjs +0 -12
  113. package/dist/netlify-PIYWGUPG.js +0 -3
  114. package/dist/provider-registry-4PDBM3Q4.js +0 -3
  115. package/dist/provider-registry-7DRCW3PP.cjs +0 -44
package/CHANGELOG.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # @mastra/core
2
2
 
3
+ ## 1.26.0-alpha.13
4
+
3
5
  ## 1.26.0-alpha.12
4
6
 
5
7
  ### Minor Changes
@@ -1,37 +1,37 @@
1
1
  'use strict';
2
2
 
3
- var chunkW7KMJBO2_cjs = require('../chunk-W7KMJBO2.cjs');
3
+ var chunk2NQ2TF5F_cjs = require('../chunk-2NQ2TF5F.cjs');
4
4
  var chunkUFKCK75F_cjs = require('../chunk-UFKCK75F.cjs');
5
5
 
6
6
 
7
7
 
8
8
  Object.defineProperty(exports, "Agent", {
9
9
  enumerable: true,
10
- get: function () { return chunkW7KMJBO2_cjs.Agent; }
10
+ get: function () { return chunk2NQ2TF5F_cjs.Agent; }
11
11
  });
12
12
  Object.defineProperty(exports, "TripWire", {
13
13
  enumerable: true,
14
- get: function () { return chunkW7KMJBO2_cjs.TripWire; }
14
+ get: function () { return chunk2NQ2TF5F_cjs.TripWire; }
15
15
  });
16
16
  Object.defineProperty(exports, "isSupportedLanguageModel", {
17
17
  enumerable: true,
18
- get: function () { return chunkW7KMJBO2_cjs.isSupportedLanguageModel; }
18
+ get: function () { return chunk2NQ2TF5F_cjs.isSupportedLanguageModel; }
19
19
  });
20
20
  Object.defineProperty(exports, "resolveThreadIdFromArgs", {
21
21
  enumerable: true,
22
- get: function () { return chunkW7KMJBO2_cjs.resolveThreadIdFromArgs; }
22
+ get: function () { return chunk2NQ2TF5F_cjs.resolveThreadIdFromArgs; }
23
23
  });
24
24
  Object.defineProperty(exports, "supportedLanguageModelSpecifications", {
25
25
  enumerable: true,
26
- get: function () { return chunkW7KMJBO2_cjs.supportedLanguageModelSpecifications; }
26
+ get: function () { return chunk2NQ2TF5F_cjs.supportedLanguageModelSpecifications; }
27
27
  });
28
28
  Object.defineProperty(exports, "tryGenerateWithJsonFallback", {
29
29
  enumerable: true,
30
- get: function () { return chunkW7KMJBO2_cjs.tryGenerateWithJsonFallback; }
30
+ get: function () { return chunk2NQ2TF5F_cjs.tryGenerateWithJsonFallback; }
31
31
  });
32
32
  Object.defineProperty(exports, "tryStreamWithJsonFallback", {
33
33
  enumerable: true,
34
- get: function () { return chunkW7KMJBO2_cjs.tryStreamWithJsonFallback; }
34
+ get: function () { return chunk2NQ2TF5F_cjs.tryStreamWithJsonFallback; }
35
35
  });
36
36
  Object.defineProperty(exports, "MessageList", {
37
37
  enumerable: true,
@@ -1,4 +1,4 @@
1
- export { Agent, TripWire, isSupportedLanguageModel, resolveThreadIdFromArgs, supportedLanguageModelSpecifications, tryGenerateWithJsonFallback, tryStreamWithJsonFallback } from '../chunk-NTLWGWDT.js';
1
+ export { Agent, TripWire, isSupportedLanguageModel, resolveThreadIdFromArgs, supportedLanguageModelSpecifications, tryGenerateWithJsonFallback, tryStreamWithJsonFallback } from '../chunk-DLDGEMBE.js';
2
2
  export { MessageList, TypeDetector, aiV5ModelMessageToV2PromptMessage, convertMessages } from '../chunk-EFTNMBKQ.js';
3
3
  //# sourceMappingURL=index.js.map
4
4
  //# sourceMappingURL=index.js.map
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkW7KMJBO2_cjs = require('../chunk-W7KMJBO2.cjs');
3
+ var chunk2NQ2TF5F_cjs = require('../chunk-2NQ2TF5F.cjs');
4
4
  var chunkFCQNDFEW_cjs = require('../chunk-FCQNDFEW.cjs');
5
5
  var chunk7GW2TQXP_cjs = require('../chunk-7GW2TQXP.cjs');
6
6
  var fs = require('fs');
@@ -1145,7 +1145,7 @@ To fix this, either:
1145
1145
  */
1146
1146
  getInputProcessors(configuredProcessors = []) {
1147
1147
  const hasProcessor = configuredProcessors.some(
1148
- (p) => !chunkW7KMJBO2_cjs.isProcessorWorkflow(p) && "id" in p && p.id === "browser-context"
1148
+ (p) => !chunk2NQ2TF5F_cjs.isProcessorWorkflow(p) && "id" in p && p.id === "browser-context"
1149
1149
  );
1150
1150
  if (hasProcessor) return [];
1151
1151
  return [new BrowserContextProcessor()];
@@ -1,4 +1,4 @@
1
- import { isProcessorWorkflow } from '../chunk-NTLWGWDT.js';
1
+ import { isProcessorWorkflow } from '../chunk-DLDGEMBE.js';
2
2
  import { MastraBase } from '../chunk-WENZPAHS.js';
3
3
  import { RegisteredLogger } from '../chunk-DBBWTK24.js';
4
4
  import { existsSync, readdirSync, lstatSync, unlinkSync } from 'fs';
@@ -1,20 +1,20 @@
1
1
  'use strict';
2
2
 
3
- var chunkW7KMJBO2_cjs = require('../chunk-W7KMJBO2.cjs');
3
+ var chunk2NQ2TF5F_cjs = require('../chunk-2NQ2TF5F.cjs');
4
4
 
5
5
 
6
6
 
7
7
  Object.defineProperty(exports, "AgentChannels", {
8
8
  enumerable: true,
9
- get: function () { return chunkW7KMJBO2_cjs.AgentChannels; }
9
+ get: function () { return chunk2NQ2TF5F_cjs.AgentChannels; }
10
10
  });
11
11
  Object.defineProperty(exports, "ChatChannelProcessor", {
12
12
  enumerable: true,
13
- get: function () { return chunkW7KMJBO2_cjs.ChatChannelProcessor; }
13
+ get: function () { return chunk2NQ2TF5F_cjs.ChatChannelProcessor; }
14
14
  });
15
15
  Object.defineProperty(exports, "MastraStateAdapter", {
16
16
  enumerable: true,
17
- get: function () { return chunkW7KMJBO2_cjs.MastraStateAdapter; }
17
+ get: function () { return chunk2NQ2TF5F_cjs.MastraStateAdapter; }
18
18
  });
19
19
  //# sourceMappingURL=index.cjs.map
20
20
  //# sourceMappingURL=index.cjs.map
@@ -1,3 +1,3 @@
1
- export { AgentChannels, ChatChannelProcessor, MastraStateAdapter } from '../chunk-NTLWGWDT.js';
1
+ export { AgentChannels, ChatChannelProcessor, MastraStateAdapter } from '../chunk-DLDGEMBE.js';
2
2
  //# sourceMappingURL=index.js.map
3
3
  //# sourceMappingURL=index.js.map
@@ -13372,7 +13372,7 @@ var MastraModelGateway = class {
13372
13372
  };
13373
13373
 
13374
13374
  // src/llm/model/gateways/constants.ts
13375
- var MASTRA_USER_AGENT = `mastra/${"1.26.0-alpha.12"}` ;
13375
+ var MASTRA_USER_AGENT = `mastra/${"1.26.0-alpha.13"}` ;
13376
13376
  var PROVIDERS_WITH_INSTALLED_PACKAGES = [
13377
13377
  "anthropic",
13378
13378
  "cerebras",
@@ -21368,5 +21368,5 @@ function createGoogleGenerativeAI(options = {}) {
21368
21368
  createGoogleGenerativeAI();
21369
21369
 
21370
21370
  export { AISDKError, AISDKError2, APICallError, APICallError2, EXCLUDED_PROVIDERS, EmptyResponseBodyError, EventSourceParserStream, GATEWAY_AUTH_HEADER, InvalidArgumentError, InvalidPromptError, InvalidResponseDataError, InvalidResponseDataError2, JSONParseError, LoadAPIKeyError, LoadSettingError, MASTRA_USER_AGENT, MastraModelGateway, NoSuchModelError, NoSuchModelError2, OpenAICompatibleChatLanguageModel, OpenAICompatibleCompletionLanguageModel, OpenAICompatibleEmbeddingModel, PROVIDERS_WITH_INSTALLED_PACKAGES, TooManyEmbeddingValuesForCallError, TooManyEmbeddingValuesForCallError2, TypeValidationError, UnsupportedFunctionalityError, UnsupportedFunctionalityError2, combineHeaders, combineHeaders2, convertBase64ToUint8Array, convertBase64ToUint8Array2, convertImageModelFileToDataUri, convertToBase64, convertToBase642, convertUint8ArrayToBase64, convertUint8ArrayToBase642, createAnthropic, createBinaryResponseHandler, createBinaryResponseHandler2, createEventSourceResponseHandler, createEventSourceResponseHandler2, createGoogleGenerativeAI, createJsonErrorResponseHandler, createJsonErrorResponseHandler2, createJsonResponseHandler, createJsonResponseHandler2, createOpenAI, createOpenAICompatible, createProviderDefinedToolFactory, createProviderDefinedToolFactoryWithOutputSchema, createProviderToolFactory, createProviderToolFactoryWithOutputSchema, createStatusCodeErrorResponseHandler2 as createStatusCodeErrorResponseHandler, delay2 as delay, dist_exports, extractResponseHeaders2 as extractResponseHeaders, generateId, generateId2, getFromApi2 as getFromApi, injectJsonInstructionIntoMessages2 as injectJsonInstructionIntoMessages, isParsableJson, isParsableJson2, lazySchema, lazySchema2, lazyValidator, loadApiKey, loadApiKey2, loadOptionalSetting, mediaTypeToExtension, mediaTypeToExtension2, parseProviderOptions, parseProviderOptions2, postFormDataToApi, postFormDataToApi2, postJsonToApi, postJsonToApi2, resolve, safeParseJSON2 as safeParseJSON, validateTypes, validateTypes2, withUserAgentSuffix, withUserAgentSuffix2, withoutTrailingSlash, withoutTrailingSlash2, zodSchema, zodSchema2 };
21371
- //# sourceMappingURL=chunk-QRGHKCIG.js.map
21372
- //# sourceMappingURL=chunk-QRGHKCIG.js.map
21371
+ //# sourceMappingURL=chunk-24FTWXDR.js.map
21372
+ //# sourceMappingURL=chunk-24FTWXDR.js.map