@mastra/deployer 1.51.0-alpha.5 → 1.51.0-alpha.7

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.
@@ -3525,6 +3525,9 @@ async function restartAllActiveWorkflowRunsHandler(c) {
3525
3525
  try {
3526
3526
  const mastra = c.get("mastra");
3527
3527
  void mastra.restartAllActiveWorkflowRuns();
3528
+ if (mastra.recoveryConfig?.durableAgents === "auto") {
3529
+ void mastra.recoverAllDurableAgents();
3530
+ }
3528
3531
  return c.json({ message: "Restarting all active workflow runs..." });
3529
3532
  } catch (error) {
3530
3533
  return handleError(error, "Error restarting active workflow runs");