@mastra/server 0.17.0-alpha.8 → 0.17.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/CHANGELOG.md CHANGED
@@ -1,5 +1,35 @@
1
1
  # @mastra/server
2
2
 
3
+ ## 0.17.1-alpha.0
4
+
5
+ ### Patch Changes
6
+
7
+ - fix workflow resuming issue in the playground ([#7988](https://github.com/mastra-ai/mastra/pull/7988))
8
+
9
+ - Updated dependencies [[`fd00e63`](https://github.com/mastra-ai/mastra/commit/fd00e63759cbcca3473c40cac9843280b0557cff), [`ab610f6`](https://github.com/mastra-ai/mastra/commit/ab610f6f41dbfe6c9502368671485ca7a0aac09b), [`e6bda5f`](https://github.com/mastra-ai/mastra/commit/e6bda5f954ee8493ea18adc1a883f0a5b785ad9b)]:
10
+ - @mastra/core@0.17.1-alpha.0
11
+
12
+ ## 0.17.0
13
+
14
+ ### Minor Changes
15
+
16
+ - Remove original AgentNetwork ([#7919](https://github.com/mastra-ai/mastra/pull/7919))
17
+
18
+ ### Patch Changes
19
+
20
+ - Add helpful error message when trying to import from top-level import ([#7762](https://github.com/mastra-ai/mastra/pull/7762))
21
+
22
+ - Update peerdep of @mastra/core ([#7619](https://github.com/mastra-ai/mastra/pull/7619))
23
+
24
+ - Resumable streams ([#7949](https://github.com/mastra-ai/mastra/pull/7949))
25
+
26
+ - Voice errors that are instance of a MastraError should not throw a 500 ([#7749](https://github.com/mastra-ai/mastra/pull/7749))
27
+
28
+ - Update package.json and README ([#7886](https://github.com/mastra-ai/mastra/pull/7886))
29
+
30
+ - Updated dependencies [[`197cbb2`](https://github.com/mastra-ai/mastra/commit/197cbb248fc8cb4bbf61bf70b770f1388b445df2), [`a1bb887`](https://github.com/mastra-ai/mastra/commit/a1bb887e8bfae44230f487648da72e96ef824561), [`6590763`](https://github.com/mastra-ai/mastra/commit/65907630ef4bf4127067cecd1cb21b56f55d5f1b), [`fb84c21`](https://github.com/mastra-ai/mastra/commit/fb84c21859d09bdc8f158bd5412bdc4b5835a61c), [`5802bf5`](https://github.com/mastra-ai/mastra/commit/5802bf57f6182e4b67c28d7d91abed349a8d14f3), [`5bda53a`](https://github.com/mastra-ai/mastra/commit/5bda53a9747bfa7d876d754fc92c83a06e503f62), [`c2eade3`](https://github.com/mastra-ai/mastra/commit/c2eade3508ef309662f065e5f340d7840295dd53), [`f26a8fd`](https://github.com/mastra-ai/mastra/commit/f26a8fd99fcb0497a5d86c28324430d7f6a5fb83), [`222965a`](https://github.com/mastra-ai/mastra/commit/222965a98ce8197b86673ec594244650b5960257), [`6047778`](https://github.com/mastra-ai/mastra/commit/6047778e501df460648f31decddf8e443f36e373), [`a0f5f1c`](https://github.com/mastra-ai/mastra/commit/a0f5f1ca39c3c5c6d26202e9fcab986b4fe14568), [`9d4fc09`](https://github.com/mastra-ai/mastra/commit/9d4fc09b2ad55caa7738c7ceb3a905e454f74cdd), [`05c7abf`](https://github.com/mastra-ai/mastra/commit/05c7abfe105a015b7760c9bf33ff4419727502a0), [`0324ceb`](https://github.com/mastra-ai/mastra/commit/0324ceb8af9d16c12a531f90e575f6aab797ac81), [`d75ccf0`](https://github.com/mastra-ai/mastra/commit/d75ccf06dfd2582b916aa12624e3cd61b279edf1), [`0f9d227`](https://github.com/mastra-ai/mastra/commit/0f9d227890a98db33865abbea39daf407cd55ef7), [`b356f5f`](https://github.com/mastra-ai/mastra/commit/b356f5f7566cb3edb755d91f00b72fc1420b2a37), [`de056a0`](https://github.com/mastra-ai/mastra/commit/de056a02cbb43f6aa0380ab2150ea404af9ec0dd), [`f5ce05f`](https://github.com/mastra-ai/mastra/commit/f5ce05f831d42c69559bf4c0fdb46ccb920fc3a3), [`60c9cec`](https://github.com/mastra-ai/mastra/commit/60c9cec7048a79a87440f7840c383875bd710d93), [`c93532a`](https://github.com/mastra-ai/mastra/commit/c93532a340b80e4dd946d4c138d9381de5f70399), [`6cb1fcb`](https://github.com/mastra-ai/mastra/commit/6cb1fcbc8d0378ffed0d17784c96e68f30cb0272), [`aee4f00`](https://github.com/mastra-ai/mastra/commit/aee4f00e61e1a42e81a6d74ff149dbe69e32695a), [`9f6f30f`](https://github.com/mastra-ai/mastra/commit/9f6f30f04ec6648bbca798ea8aad59317c40d8db), [`547c621`](https://github.com/mastra-ai/mastra/commit/547c62104af3f7a551b3754e9cbdf0a3fbba15e4), [`897995e`](https://github.com/mastra-ai/mastra/commit/897995e630d572fe2891e7ede817938cabb43251), [`0fed8f2`](https://github.com/mastra-ai/mastra/commit/0fed8f2aa84b167b3415ea6f8f70755775132c8d), [`4f9ea8c`](https://github.com/mastra-ai/mastra/commit/4f9ea8c95ea74ba9abbf3b2ab6106c7d7bc45689), [`1a1fbe6`](https://github.com/mastra-ai/mastra/commit/1a1fbe66efb7d94abc373ed0dd9676adb8122454), [`d706fad`](https://github.com/mastra-ai/mastra/commit/d706fad6e6e4b72357b18d229ba38e6c913c0e70), [`87fd07f`](https://github.com/mastra-ai/mastra/commit/87fd07ff35387a38728967163460231b5d33ae3b), [`5c3768f`](https://github.com/mastra-ai/mastra/commit/5c3768fa959454232ad76715c381f4aac00c6881), [`2685a78`](https://github.com/mastra-ai/mastra/commit/2685a78f224b8b04e20d4fab5ac1adb638190071), [`36f39c0`](https://github.com/mastra-ai/mastra/commit/36f39c00dc794952dc3c11aab91c2fa8bca74b11), [`239b5a4`](https://github.com/mastra-ai/mastra/commit/239b5a497aeae2e8b4d764f46217cfff2284788e), [`8a3f5e4`](https://github.com/mastra-ai/mastra/commit/8a3f5e4212ec36b302957deb4bd47005ab598382)]:
31
+ - @mastra/core@0.17.0
32
+
3
33
  ## 0.17.0-alpha.8
4
34
 
5
35
  ### Patch Changes
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkNYOAIH5U_cjs = require('./chunk-NYOAIH5U.cjs');
3
+ var chunkNZMDHQVP_cjs = require('./chunk-NZMDHQVP.cjs');
4
4
  var chunkFALVL2VV_cjs = require('./chunk-FALVL2VV.cjs');
5
5
  var chunkHVBBFCDH_cjs = require('./chunk-HVBBFCDH.cjs');
6
6
  var chunkPPYGWINI_cjs = require('./chunk-PPYGWINI.cjs');
@@ -15627,8 +15627,8 @@ function createAgentBuilderWorkflowHandler(workflowHandlerFn, logMessage) {
15627
15627
  const mastra = actionArgs.mastra;
15628
15628
  const logger = mastra.getLogger();
15629
15629
  try {
15630
- chunkNYOAIH5U_cjs.WorkflowRegistry.registerTemporaryWorkflows(agentBuilderWorkflows, mastra);
15631
- if (actionId && !chunkNYOAIH5U_cjs.WorkflowRegistry.isAgentBuilderWorkflow(actionId)) {
15630
+ chunkNZMDHQVP_cjs.WorkflowRegistry.registerTemporaryWorkflows(agentBuilderWorkflows, mastra);
15631
+ if (actionId && !chunkNZMDHQVP_cjs.WorkflowRegistry.isAgentBuilderWorkflow(actionId)) {
15632
15632
  throw new chunk7NADHFD2_cjs.HTTPException(400, {
15633
15633
  message: `Invalid agent-builder action: ${actionId}. Valid actions are: ${Object.keys(agentBuilderWorkflows).join(", ")}`
15634
15634
  });
@@ -15643,7 +15643,7 @@ function createAgentBuilderWorkflowHandler(workflowHandlerFn, logMessage) {
15643
15643
  const result = await workflowHandlerFn(handlerArgs);
15644
15644
  return result;
15645
15645
  } finally {
15646
- chunkNYOAIH5U_cjs.WorkflowRegistry.cleanup();
15646
+ chunkNZMDHQVP_cjs.WorkflowRegistry.cleanup();
15647
15647
  }
15648
15648
  } catch (error) {
15649
15649
  const errorMessage = error instanceof Error ? error.message : String(error);
@@ -15657,10 +15657,10 @@ function createAgentBuilderWorkflowHandler(workflowHandlerFn, logMessage) {
15657
15657
  }
15658
15658
  var getAgentBuilderActionsHandler = createAgentBuilderWorkflowHandler(async () => {
15659
15659
  try {
15660
- const registryWorkflows = chunkNYOAIH5U_cjs.WorkflowRegistry.getAllWorkflows();
15660
+ const registryWorkflows = chunkNZMDHQVP_cjs.WorkflowRegistry.getAllWorkflows();
15661
15661
  const _workflows = Object.entries(registryWorkflows).reduce(
15662
15662
  (acc, [key, workflow]) => {
15663
- acc[key] = chunkNYOAIH5U_cjs.getWorkflowInfo(workflow);
15663
+ acc[key] = chunkNZMDHQVP_cjs.getWorkflowInfo(workflow);
15664
15664
  return acc;
15665
15665
  },
15666
15666
  {}
@@ -15671,59 +15671,59 @@ var getAgentBuilderActionsHandler = createAgentBuilderWorkflowHandler(async () =
15671
15671
  }
15672
15672
  }, "Getting agent builder actions");
15673
15673
  var getAgentBuilderActionByIdHandler = createAgentBuilderWorkflowHandler(
15674
- chunkNYOAIH5U_cjs.getWorkflowByIdHandler,
15674
+ chunkNZMDHQVP_cjs.getWorkflowByIdHandler,
15675
15675
  "Getting agent builder action by ID"
15676
15676
  );
15677
15677
  var getAgentBuilderActionRunByIdHandler = createAgentBuilderWorkflowHandler(
15678
- chunkNYOAIH5U_cjs.getWorkflowRunByIdHandler,
15678
+ chunkNZMDHQVP_cjs.getWorkflowRunByIdHandler,
15679
15679
  "Getting agent builder action run by ID"
15680
15680
  );
15681
15681
  var getAgentBuilderActionRunExecutionResultHandler = createAgentBuilderWorkflowHandler(
15682
- chunkNYOAIH5U_cjs.getWorkflowRunExecutionResultHandler,
15682
+ chunkNZMDHQVP_cjs.getWorkflowRunExecutionResultHandler,
15683
15683
  "Getting agent builder action run execution result"
15684
15684
  );
15685
15685
  var createAgentBuilderActionRunHandler = createAgentBuilderWorkflowHandler(
15686
- chunkNYOAIH5U_cjs.createWorkflowRunHandler,
15686
+ chunkNZMDHQVP_cjs.createWorkflowRunHandler,
15687
15687
  "Creating agent builder action run"
15688
15688
  );
15689
15689
  var startAsyncAgentBuilderActionHandler = createAgentBuilderWorkflowHandler(
15690
- chunkNYOAIH5U_cjs.startAsyncWorkflowHandler,
15690
+ chunkNZMDHQVP_cjs.startAsyncWorkflowHandler,
15691
15691
  "Starting async agent builder action"
15692
15692
  );
15693
15693
  var startAgentBuilderActionRunHandler = createAgentBuilderWorkflowHandler(
15694
- chunkNYOAIH5U_cjs.startWorkflowRunHandler,
15694
+ chunkNZMDHQVP_cjs.startWorkflowRunHandler,
15695
15695
  "Starting agent builder action run"
15696
15696
  );
15697
15697
  var watchAgentBuilderActionHandler = createAgentBuilderWorkflowHandler(
15698
- chunkNYOAIH5U_cjs.watchWorkflowHandler,
15698
+ chunkNZMDHQVP_cjs.watchWorkflowHandler,
15699
15699
  "Watching agent builder action"
15700
15700
  );
15701
15701
  var streamAgentBuilderActionHandler = createAgentBuilderWorkflowHandler(
15702
- chunkNYOAIH5U_cjs.streamWorkflowHandler,
15702
+ chunkNZMDHQVP_cjs.streamWorkflowHandler,
15703
15703
  "Streaming agent builder action"
15704
15704
  );
15705
15705
  var streamVNextAgentBuilderActionHandler = createAgentBuilderWorkflowHandler(
15706
- chunkNYOAIH5U_cjs.streamVNextWorkflowHandler,
15706
+ chunkNZMDHQVP_cjs.streamVNextWorkflowHandler,
15707
15707
  "Streaming VNext agent builder action"
15708
15708
  );
15709
15709
  var resumeAsyncAgentBuilderActionHandler = createAgentBuilderWorkflowHandler(
15710
- chunkNYOAIH5U_cjs.resumeAsyncWorkflowHandler,
15710
+ chunkNZMDHQVP_cjs.resumeAsyncWorkflowHandler,
15711
15711
  "Resuming async agent builder action"
15712
15712
  );
15713
15713
  var resumeAgentBuilderActionHandler = createAgentBuilderWorkflowHandler(
15714
- chunkNYOAIH5U_cjs.resumeWorkflowHandler,
15714
+ chunkNZMDHQVP_cjs.resumeWorkflowHandler,
15715
15715
  "Resuming agent builder action"
15716
15716
  );
15717
15717
  var getAgentBuilderActionRunsHandler = createAgentBuilderWorkflowHandler(
15718
- chunkNYOAIH5U_cjs.getWorkflowRunsHandler,
15718
+ chunkNZMDHQVP_cjs.getWorkflowRunsHandler,
15719
15719
  "Getting agent builder action runs"
15720
15720
  );
15721
15721
  var cancelAgentBuilderActionRunHandler = createAgentBuilderWorkflowHandler(
15722
- chunkNYOAIH5U_cjs.cancelWorkflowRunHandler,
15722
+ chunkNZMDHQVP_cjs.cancelWorkflowRunHandler,
15723
15723
  "Cancelling agent builder action run"
15724
15724
  );
15725
15725
  var sendAgentBuilderActionRunEventHandler = createAgentBuilderWorkflowHandler(
15726
- chunkNYOAIH5U_cjs.sendWorkflowRunEventHandler,
15726
+ chunkNZMDHQVP_cjs.sendWorkflowRunEventHandler,
15727
15727
  "Sending agent builder action run event"
15728
15728
  );
15729
15729
 
@@ -15743,5 +15743,5 @@ exports.startAsyncAgentBuilderActionHandler = startAsyncAgentBuilderActionHandle
15743
15743
  exports.streamAgentBuilderActionHandler = streamAgentBuilderActionHandler;
15744
15744
  exports.streamVNextAgentBuilderActionHandler = streamVNextAgentBuilderActionHandler;
15745
15745
  exports.watchAgentBuilderActionHandler = watchAgentBuilderActionHandler;
15746
- //# sourceMappingURL=chunk-PQZJ53FM.cjs.map
15747
- //# sourceMappingURL=chunk-PQZJ53FM.cjs.map
15746
+ //# sourceMappingURL=chunk-EAWKFGMM.cjs.map
15747
+ //# sourceMappingURL=chunk-EAWKFGMM.cjs.map