@mastra/deployer 1.85.0 → 1.86.0-alpha.1

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.
@@ -3,7 +3,7 @@ name: mastra-deployer
3
3
  description: Documentation for @mastra/deployer. Use when working with @mastra/deployer APIs, configuration, or implementation.
4
4
  metadata:
5
5
  package: "@mastra/deployer"
6
- version: "1.85.0"
6
+ version: "1.86.0-alpha.1"
7
7
  ---
8
8
 
9
9
  ## When to use
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.85.0",
2
+ "version": "1.86.0-alpha.1",
3
3
  "package": "@mastra/deployer",
4
4
  "exports": {
5
5
  "Deployer": {
@@ -147,7 +147,7 @@ To add your own endpoints, see [Custom API Routes](https://mastra.ai/docs/server
147
147
 
148
148
  ## Graceful shutdown and rolling deploys
149
149
 
150
- By default, the generated server handles `SIGINT` and `SIGTERM`. It stops accepting connections, waits up to [`server.drainTimeout`](https://mastra.ai/reference/configuration) for active requests and streams, then runs `mastra.shutdown()`. Shutdown gives in-flight workflow runs (including durable agent runs) the same drain window to finish before workers and pub/sub subscriptions are torn down. A durable agent run still executing after the window stops and releases its claim on the run, so the next boot can recover it right away. The drain timeout defaults to 5 seconds. A second signal terminates the process immediately. See [`server.handleShutdownSignals`](https://mastra.ai/reference/configuration) if you need to manage signals yourself.
150
+ By default, the generated server handles `SIGINT` and `SIGTERM`. It stops accepting connections, waits up to [`server.drainTimeout`](https://mastra.ai/reference/configuration) for active requests and streams, then runs `mastra.shutdown()`. Shutdown gives in-flight workflow runs (including durable agent runs) the same drain window to finish before workers and pub/sub subscriptions are torn down. A durable agent run still executing after the window stops and releases its claim on the run, so the next boot can recover it right away. A tool call still running at that point is aborted, and its result is discarded even if the tool ignores the abort and finishes. When the run is recovered, that tool call runs again, and during a rolling deploy it can start before the first call ends. A longer `drainTimeout` gives running tools more time to finish, but the window starts when shutdown does, so also [make tools safe to repeat](https://mastra.ai/docs/harness/durable-agents). The drain timeout defaults to 5 seconds. A second signal terminates the process immediately. See [`server.handleShutdownSignals`](https://mastra.ai/reference/configuration) if you need to manage signals yourself.
151
151
 
152
152
  Shutdown then hands back the agent thread runs the process still holds:
153
153
 
@@ -1,5 +1,5 @@
1
1
  import type { Mastra } from '@mastra/core/mastra';
2
- import type { HonoBindings, HonoVariables } from '../_types/@mastra_hono@1.7.27/dist/index.js';
2
+ import type { HonoBindings, HonoVariables } from '../_types/@mastra_hono@1.7.28-alpha.1/dist/index.js';
3
3
  import { Hono } from 'hono';
4
4
  import type { ServerBundleOptions } from './types.js';
5
5
  type Bindings = HonoBindings;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/deployer",
3
- "version": "1.85.0",
3
+ "version": "1.86.0-alpha.1",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "files": [
@@ -111,9 +111,9 @@
111
111
  "rollup-plugin-esbuild": "^6.2.1",
112
112
  "semver": "^7.8.5",
113
113
  "tinyglobby": "^0.2.17",
114
- "ws": "^8.22.0",
114
+ "ws": "^8.23.0",
115
115
  "yaml": "^2.9.1",
116
- "@mastra/server": "1.85.0"
116
+ "@mastra/server": "1.86.0-alpha.1"
117
117
  },
118
118
  "devDependencies": {
119
119
  "@hono/node-server": "^2.1.3",
@@ -138,13 +138,13 @@
138
138
  "@internal/find-workspaces": "0.0.6",
139
139
  "@internal/lint": "0.0.151",
140
140
  "@internal/types-builder": "0.0.126",
141
- "@mastra/core": "1.85.0",
142
- "@mastra/hono": "1.7.27",
143
- "@mastra/mcp": "^2.10.0",
144
- "@mastra/agent-browser": "0.6.0"
141
+ "@mastra/agent-browser": "0.6.0",
142
+ "@mastra/core": "1.86.0-alpha.1",
143
+ "@mastra/hono": "1.7.28-alpha.1",
144
+ "@mastra/mcp": "^2.10.1-alpha.0"
145
145
  },
146
146
  "peerDependencies": {
147
- "@mastra/core": ">=1.83.0-0 <2.0.0-0"
147
+ "@mastra/core": ">=1.85.1-0 <2.0.0-0"
148
148
  },
149
149
  "homepage": "https://mastra.ai",
150
150
  "repository": {