@mastra/deployer 1.51.0-alpha.5 → 1.51.0-alpha.6
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 +52 -0
- package/dist/build/index.cjs +9 -9
- package/dist/build/index.js +1 -1
- package/dist/bundler/index.cjs +3 -3
- package/dist/bundler/index.js +1 -1
- package/dist/{chunk-TPS3GZO7.cjs → chunk-B5T32HMT.cjs} +3 -3
- package/dist/{chunk-TPS3GZO7.cjs.map → chunk-B5T32HMT.cjs.map} +1 -1
- package/dist/{chunk-RJWPICH3.js → chunk-FIVOIPFU.js} +3 -3
- package/dist/{chunk-RJWPICH3.js.map → chunk-FIVOIPFU.js.map} +1 -1
- package/dist/docs/SKILL.md +1 -1
- package/dist/docs/assets/SOURCE_MAP.json +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.js +1 -1
- package/dist/server/handlers/restart-active-runs.d.ts.map +1 -1
- package/dist/server/index.cjs +3 -0
- package/dist/server/index.cjs.map +1 -1
- package/dist/server/index.js +3 -0
- package/dist/server/index.js.map +1 -1
- package/package.json +6 -6
package/dist/server/index.js
CHANGED
|
@@ -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");
|