@mastra/core 0.16.4-alpha.0 → 0.16.4-alpha.2

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 (95) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/agent/index.cjs +8 -8
  3. package/dist/agent/index.js +1 -1
  4. package/dist/agent/input-processor/index.cjs +6 -6
  5. package/dist/agent/input-processor/index.js +1 -1
  6. package/dist/{chunk-SWI3TK2R.js → chunk-4VP3M5T7.js} +3 -3
  7. package/dist/{chunk-SWI3TK2R.js.map → chunk-4VP3M5T7.js.map} +1 -1
  8. package/dist/{chunk-OSMP67E2.js → chunk-CF3TI576.js} +26 -21
  9. package/dist/chunk-CF3TI576.js.map +1 -0
  10. package/dist/{chunk-P5BVWWMV.js → chunk-ES5UWPHJ.js} +3 -3
  11. package/dist/{chunk-P5BVWWMV.js.map → chunk-ES5UWPHJ.js.map} +1 -1
  12. package/dist/{chunk-2S2YFQ3W.cjs → chunk-FTDM75SW.cjs} +7 -7
  13. package/dist/{chunk-2S2YFQ3W.cjs.map → chunk-FTDM75SW.cjs.map} +1 -1
  14. package/dist/{chunk-CWK46GAF.js → chunk-K3JIDVC4.js} +76 -3
  15. package/dist/chunk-K3JIDVC4.js.map +1 -0
  16. package/dist/{chunk-MS6HHGRW.js → chunk-LVKX346H.js} +3 -3
  17. package/dist/{chunk-MS6HHGRW.js.map → chunk-LVKX346H.js.map} +1 -1
  18. package/dist/{chunk-33GDW3SI.cjs → chunk-S5QJEY5X.cjs} +76 -3
  19. package/dist/chunk-S5QJEY5X.cjs.map +1 -0
  20. package/dist/{chunk-Z3DIAA2J.cjs → chunk-UIFZI5XX.cjs} +7 -7
  21. package/dist/{chunk-Z3DIAA2J.cjs.map → chunk-UIFZI5XX.cjs.map} +1 -1
  22. package/dist/{chunk-6ACAYXAV.cjs → chunk-VVH4BOE4.cjs} +4 -4
  23. package/dist/{chunk-6ACAYXAV.cjs.map → chunk-VVH4BOE4.cjs.map} +1 -1
  24. package/dist/{chunk-ZJRDXVAR.cjs → chunk-W4GRW6AV.cjs} +6 -6
  25. package/dist/{chunk-ZJRDXVAR.cjs.map → chunk-W4GRW6AV.cjs.map} +1 -1
  26. package/dist/{chunk-ZL6RHYVT.cjs → chunk-YLR7PB3B.cjs} +26 -21
  27. package/dist/chunk-YLR7PB3B.cjs.map +1 -0
  28. package/dist/{chunk-XKXZ6I72.js → chunk-YYZT5JKX.js} +4 -4
  29. package/dist/{chunk-XKXZ6I72.js.map → chunk-YYZT5JKX.js.map} +1 -1
  30. package/dist/index.cjs +22 -22
  31. package/dist/index.js +6 -6
  32. package/dist/loop/index.cjs +2 -2
  33. package/dist/loop/index.js +1 -1
  34. package/dist/loop/loop.d.ts.map +1 -1
  35. package/dist/loop/test-utils/fullStream.d.ts.map +1 -1
  36. package/dist/loop/test-utils/options.d.ts.map +1 -1
  37. package/dist/loop/test-utils/toUIMessageStream.d.ts.map +1 -1
  38. package/dist/loop/test-utils/tools.d.ts.map +1 -1
  39. package/dist/loop/types.d.ts +1 -0
  40. package/dist/loop/types.d.ts.map +1 -1
  41. package/dist/loop/workflow/llm-execution.d.ts.map +1 -1
  42. package/dist/loop/workflow/stream.d.ts +1 -1
  43. package/dist/loop/workflow/stream.d.ts.map +1 -1
  44. package/dist/mastra/index.cjs +2 -2
  45. package/dist/mastra/index.js +1 -1
  46. package/dist/network/index.cjs +2 -2
  47. package/dist/network/index.js +1 -1
  48. package/dist/network/vNext/index.cjs +27 -27
  49. package/dist/network/vNext/index.js +1 -1
  50. package/dist/processors/index.cjs +8 -8
  51. package/dist/processors/index.js +2 -2
  52. package/dist/relevance/index.cjs +4 -4
  53. package/dist/relevance/index.js +1 -1
  54. package/dist/scores/index.cjs +8 -8
  55. package/dist/scores/index.js +1 -1
  56. package/dist/storage/base.d.ts +29 -2
  57. package/dist/storage/base.d.ts.map +1 -1
  58. package/dist/storage/domains/operations/base.d.ts +26 -1
  59. package/dist/storage/domains/operations/base.d.ts.map +1 -1
  60. package/dist/storage/domains/workflows/base.d.ts +1 -0
  61. package/dist/storage/domains/workflows/base.d.ts.map +1 -1
  62. package/dist/storage/domains/workflows/inmemory.d.ts +2 -1
  63. package/dist/storage/domains/workflows/inmemory.d.ts.map +1 -1
  64. package/dist/storage/index.cjs +69 -10
  65. package/dist/storage/index.cjs.map +1 -1
  66. package/dist/storage/index.js +65 -6
  67. package/dist/storage/index.js.map +1 -1
  68. package/dist/storage/mock.d.ts +3 -1
  69. package/dist/storage/mock.d.ts.map +1 -1
  70. package/dist/storage/types.d.ts +28 -0
  71. package/dist/storage/types.d.ts.map +1 -1
  72. package/dist/stream/aisdk/v5/output.d.ts.map +1 -1
  73. package/dist/stream/base/output.d.ts +3 -1
  74. package/dist/stream/base/output.d.ts.map +1 -1
  75. package/dist/stream/index.cjs +3 -3
  76. package/dist/stream/index.js +1 -1
  77. package/dist/workflows/default.d.ts +15 -7
  78. package/dist/workflows/default.d.ts.map +1 -1
  79. package/dist/workflows/evented/index.cjs +10 -10
  80. package/dist/workflows/evented/index.js +1 -1
  81. package/dist/workflows/execution-engine.d.ts +1 -0
  82. package/dist/workflows/execution-engine.d.ts.map +1 -1
  83. package/dist/workflows/index.cjs +10 -10
  84. package/dist/workflows/index.js +1 -1
  85. package/dist/workflows/legacy/index.cjs +22 -22
  86. package/dist/workflows/legacy/index.js +1 -1
  87. package/dist/workflows/step.d.ts +1 -0
  88. package/dist/workflows/step.d.ts.map +1 -1
  89. package/dist/workflows/workflow.d.ts +13 -0
  90. package/dist/workflows/workflow.d.ts.map +1 -1
  91. package/package.json +1 -1
  92. package/dist/chunk-33GDW3SI.cjs.map +0 -1
  93. package/dist/chunk-CWK46GAF.js.map +0 -1
  94. package/dist/chunk-OSMP67E2.js.map +0 -1
  95. package/dist/chunk-ZL6RHYVT.cjs.map +0 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # @mastra/core
2
2
 
3
+ ## 0.16.4-alpha.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Postgresql Storage Query Index Performance: Adds index operations and automatic indexing for Postgresql ([#7757](https://github.com/mastra-ai/mastra/pull/7757))
8
+
9
+ - Fixes assistant message ids when using toUIMessageStream, preserves the original messageId rather than creating a new id for this message. ([#7783](https://github.com/mastra-ai/mastra/pull/7783))
10
+
11
+ ## 0.16.4-alpha.1
12
+
13
+ ### Patch Changes
14
+
15
+ - Add resource id to workflow run snapshots ([#7740](https://github.com/mastra-ai/mastra/pull/7740))
16
+
3
17
  ## 0.16.4-alpha.0
4
18
 
5
19
  ### Patch Changes
@@ -1,37 +1,37 @@
1
1
  'use strict';
2
2
 
3
- var chunkZL6RHYVT_cjs = require('../chunk-ZL6RHYVT.cjs');
3
+ var chunkYLR7PB3B_cjs = require('../chunk-YLR7PB3B.cjs');
4
4
  var chunkDUUXEPE5_cjs = require('../chunk-DUUXEPE5.cjs');
5
5
 
6
6
 
7
7
 
8
8
  Object.defineProperty(exports, "Agent", {
9
9
  enumerable: true,
10
- get: function () { return chunkZL6RHYVT_cjs.Agent; }
10
+ get: function () { return chunkYLR7PB3B_cjs.Agent; }
11
11
  });
12
12
  Object.defineProperty(exports, "LanguageDetectorInputProcessor", {
13
13
  enumerable: true,
14
- get: function () { return chunkZL6RHYVT_cjs.LanguageDetectorInputProcessor; }
14
+ get: function () { return chunkYLR7PB3B_cjs.LanguageDetectorInputProcessor; }
15
15
  });
16
16
  Object.defineProperty(exports, "ModerationInputProcessor", {
17
17
  enumerable: true,
18
- get: function () { return chunkZL6RHYVT_cjs.ModerationInputProcessor; }
18
+ get: function () { return chunkYLR7PB3B_cjs.ModerationInputProcessor; }
19
19
  });
20
20
  Object.defineProperty(exports, "PIIDetectorInputProcessor", {
21
21
  enumerable: true,
22
- get: function () { return chunkZL6RHYVT_cjs.PIIDetectorInputProcessor; }
22
+ get: function () { return chunkYLR7PB3B_cjs.PIIDetectorInputProcessor; }
23
23
  });
24
24
  Object.defineProperty(exports, "PromptInjectionDetectorInputProcessor", {
25
25
  enumerable: true,
26
- get: function () { return chunkZL6RHYVT_cjs.PromptInjectionDetectorInputProcessor; }
26
+ get: function () { return chunkYLR7PB3B_cjs.PromptInjectionDetectorInputProcessor; }
27
27
  });
28
28
  Object.defineProperty(exports, "TripWire", {
29
29
  enumerable: true,
30
- get: function () { return chunkZL6RHYVT_cjs.TripWire; }
30
+ get: function () { return chunkYLR7PB3B_cjs.TripWire; }
31
31
  });
32
32
  Object.defineProperty(exports, "UnicodeNormalizerInputProcessor", {
33
33
  enumerable: true,
34
- get: function () { return chunkZL6RHYVT_cjs.UnicodeNormalizerInputProcessor; }
34
+ get: function () { return chunkYLR7PB3B_cjs.UnicodeNormalizerInputProcessor; }
35
35
  });
36
36
  Object.defineProperty(exports, "MessageList", {
37
37
  enumerable: true,
@@ -1,4 +1,4 @@
1
- export { Agent, LanguageDetectorInputProcessor, ModerationInputProcessor, PIIDetectorInputProcessor, PromptInjectionDetectorInputProcessor, TripWire, UnicodeNormalizerInputProcessor } from '../chunk-OSMP67E2.js';
1
+ export { Agent, LanguageDetectorInputProcessor, ModerationInputProcessor, PIIDetectorInputProcessor, PromptInjectionDetectorInputProcessor, TripWire, UnicodeNormalizerInputProcessor } from '../chunk-CF3TI576.js';
2
2
  export { MessageList, convertMessages } from '../chunk-ZDMAOD35.js';
3
3
  //# sourceMappingURL=index.js.map
4
4
  //# sourceMappingURL=index.js.map
@@ -1,28 +1,28 @@
1
1
  'use strict';
2
2
 
3
- var chunkZL6RHYVT_cjs = require('../../chunk-ZL6RHYVT.cjs');
3
+ var chunkYLR7PB3B_cjs = require('../../chunk-YLR7PB3B.cjs');
4
4
 
5
5
 
6
6
 
7
7
  Object.defineProperty(exports, "LanguageDetectorInputProcessor", {
8
8
  enumerable: true,
9
- get: function () { return chunkZL6RHYVT_cjs.LanguageDetectorInputProcessor; }
9
+ get: function () { return chunkYLR7PB3B_cjs.LanguageDetectorInputProcessor; }
10
10
  });
11
11
  Object.defineProperty(exports, "ModerationInputProcessor", {
12
12
  enumerable: true,
13
- get: function () { return chunkZL6RHYVT_cjs.ModerationInputProcessor; }
13
+ get: function () { return chunkYLR7PB3B_cjs.ModerationInputProcessor; }
14
14
  });
15
15
  Object.defineProperty(exports, "PIIDetectorInputProcessor", {
16
16
  enumerable: true,
17
- get: function () { return chunkZL6RHYVT_cjs.PIIDetectorInputProcessor; }
17
+ get: function () { return chunkYLR7PB3B_cjs.PIIDetectorInputProcessor; }
18
18
  });
19
19
  Object.defineProperty(exports, "PromptInjectionDetectorInputProcessor", {
20
20
  enumerable: true,
21
- get: function () { return chunkZL6RHYVT_cjs.PromptInjectionDetectorInputProcessor; }
21
+ get: function () { return chunkYLR7PB3B_cjs.PromptInjectionDetectorInputProcessor; }
22
22
  });
23
23
  Object.defineProperty(exports, "UnicodeNormalizerInputProcessor", {
24
24
  enumerable: true,
25
- get: function () { return chunkZL6RHYVT_cjs.UnicodeNormalizerInputProcessor; }
25
+ get: function () { return chunkYLR7PB3B_cjs.UnicodeNormalizerInputProcessor; }
26
26
  });
27
27
  //# sourceMappingURL=index.cjs.map
28
28
  //# sourceMappingURL=index.cjs.map
@@ -1,3 +1,3 @@
1
- export { LanguageDetectorInputProcessor, ModerationInputProcessor, PIIDetectorInputProcessor, PromptInjectionDetectorInputProcessor, UnicodeNormalizerInputProcessor } from '../../chunk-OSMP67E2.js';
1
+ export { LanguageDetectorInputProcessor, ModerationInputProcessor, PIIDetectorInputProcessor, PromptInjectionDetectorInputProcessor, UnicodeNormalizerInputProcessor } from '../../chunk-CF3TI576.js';
2
2
  //# sourceMappingURL=index.js.map
3
3
  //# sourceMappingURL=index.js.map
@@ -1,4 +1,4 @@
1
- import { Workflow, Run, ExecutionEngine } from './chunk-OSMP67E2.js';
1
+ import { Workflow, Run, ExecutionEngine } from './chunk-CF3TI576.js';
2
2
  import { STREAM_FORMAT_SYMBOL, EMITTER_SYMBOL } from './chunk-NLNKQD2T.js';
3
3
  import { RuntimeContext } from './chunk-HLRWYUFN.js';
4
4
  import { MastraError } from './chunk-MCOVMKIS.js';
@@ -2480,5 +2480,5 @@ var EventedExecutionEngine = class extends ExecutionEngine {
2480
2480
  };
2481
2481
 
2482
2482
  export { EventedExecutionEngine, EventedRun, EventedWorkflow, StepExecutor, WorkflowEventProcessor, cloneStep, cloneWorkflow, createStep, createWorkflow };
2483
- //# sourceMappingURL=chunk-SWI3TK2R.js.map
2484
- //# sourceMappingURL=chunk-SWI3TK2R.js.map
2483
+ //# sourceMappingURL=chunk-4VP3M5T7.js.map
2484
+ //# sourceMappingURL=chunk-4VP3M5T7.js.map