@mastra/deployer 1.85.0-alpha.3 → 1.85.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.
Files changed (21) hide show
  1. package/dist/build/bundlerOptions.d.ts +1 -1
  2. package/dist/build/deployer.d.ts +1 -1
  3. package/dist/bundler/index.d.ts +1 -1
  4. package/dist/deploy/base.d.ts +1 -1
  5. package/dist/docs/SKILL.md +1 -1
  6. package/dist/docs/assets/SOURCE_MAP.json +1 -1
  7. package/dist/docs/references/docs-deployment-mastra-server.md +1 -1
  8. package/dist/docs/references/docs-deployment-overview.md +3 -3
  9. package/dist/server/index.d.ts +1 -1
  10. package/dist/services/deps.d.ts +1 -1
  11. package/package.json +11 -11
  12. /package/dist/_types/{@internal_deployer@0.0.3 → @internal_deployer@0.0.4}/dist/_types/@internal_core@0.1.4/dist/index-Diz1p9N7.d.ts +0 -0
  13. /package/dist/_types/{@internal_deployer@0.0.3 → @internal_deployer@0.0.4}/dist/_types/@internal_core@0.1.4/dist/logger/index.d.ts +0 -0
  14. /package/dist/_types/{@internal_deployer@0.0.3 → @internal_deployer@0.0.4}/dist/bundler.d.ts +0 -0
  15. /package/dist/_types/{@internal_deployer@0.0.3 → @internal_deployer@0.0.4}/dist/deployer.d.ts +0 -0
  16. /package/dist/_types/{@internal_deployer@0.0.3 → @internal_deployer@0.0.4}/dist/index.d.ts +0 -0
  17. /package/dist/_types/{@internal_deployer@0.0.3 → @internal_deployer@0.0.4}/package.json +0 -0
  18. /package/dist/_types/{@mastra_hono@1.7.27-alpha.3 → @mastra_hono@1.7.28-alpha.0}/dist/auth-middleware.d.ts +0 -0
  19. /package/dist/_types/{@mastra_hono@1.7.27-alpha.3 → @mastra_hono@1.7.28-alpha.0}/dist/browser-stream/index.d.ts +0 -0
  20. /package/dist/_types/{@mastra_hono@1.7.27-alpha.3 → @mastra_hono@1.7.28-alpha.0}/dist/index.d.ts +0 -0
  21. /package/dist/_types/{@mastra_hono@1.7.27-alpha.3 → @mastra_hono@1.7.28-alpha.0}/package.json +0 -0
@@ -1,5 +1,5 @@
1
1
  import type { IMastraLogger } from '../_types/@internal_core@0.1.4/dist/logger/index.js';
2
- import type { BundlerConfig } from '../_types/@internal_deployer@0.0.3/dist/index.js';
2
+ import type { BundlerConfig } from '../_types/@internal_deployer@0.0.4/dist/index.js';
3
3
  export declare function getBundlerOptionsBundler(entryFile: string, result: {
4
4
  hasCustomConfig: false;
5
5
  }): Promise<import("rollup").RollupBuild>;
@@ -1,5 +1,5 @@
1
1
  import type { IMastraLogger } from '../_types/@internal_core@0.1.4/dist/logger/index.js';
2
- import type { IDeployer } from '../_types/@internal_deployer@0.0.3/dist/index.js';
2
+ import type { IDeployer } from '../_types/@internal_deployer@0.0.4/dist/index.js';
3
3
  export declare function getDeployerBundler(entryFile: string, result: {
4
4
  hasCustomConfig: false;
5
5
  }): Promise<import("rollup").RollupBuild>;
@@ -1,5 +1,5 @@
1
1
  import { MastraBase } from '../_types/@internal_core@0.1.4/dist/base/index.js';
2
- import type { BundlerConfig, IBundler } from '../_types/@internal_deployer@0.0.3/dist/index.js';
2
+ import type { BundlerConfig, IBundler } from '../_types/@internal_deployer@0.0.4/dist/index.js';
3
3
  import type { InputOptions, OutputOptions } from 'rollup';
4
4
  import { analyzeBundle } from '../build/analyze/index.js';
5
5
  import type { ExternalDependencyInfo, InternalBundlerOptions } from '../build/types.js';
@@ -1,4 +1,4 @@
1
- import type { IDeployer } from '../_types/@internal_deployer@0.0.3/dist/index.js';
1
+ import type { IDeployer } from '../_types/@internal_deployer@0.0.4/dist/index.js';
2
2
  import { Bundler } from '../bundler/index.js';
3
3
  import { DepsService } from '../services/deps.js';
4
4
  export declare abstract class Deployer extends Bundler implements IDeployer {
@@ -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-alpha.3"
6
+ version: "1.85.1-alpha.0"
7
7
  ---
8
8
 
9
9
  ## When to use
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.85.0-alpha.3",
2
+ "version": "1.85.1-alpha.0",
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
 
@@ -33,9 +33,9 @@ Read about [monorepo deployment](https://mastra.ai/docs/deployment/monorepo).
33
33
 
34
34
  The [Mastra platform](https://mastra.ai/docs/mastra-platform/overview) provides three products for deploying, monitoring, and managing AI applications built with the Mastra framework:
35
35
 
36
- - [**Observability**](https://mastra.ai/docs/mastra-platform/observability): A standalone hosted product for searchable traces, logs, and metrics across Mastra projects and deploys
37
- - [**Studio**](https://mastra.ai/docs/mastra-platform/studio): A hosted visual environment for testing agents and running workflows, plus inspecting traces
38
- - [**Server**](https://mastra.ai/docs/mastra-platform/server): A production deployment target that runs your Mastra application as an API server
36
+ - [**Observability**](https://mastra.ai/docs/mastra-platform/observability/overview): A standalone hosted product for searchable traces, logs, and metrics across Mastra projects and deploys
37
+ - [**Studio**](https://mastra.ai/docs/mastra-platform/deploy/studio): A hosted visual environment for testing agents and running workflows, plus inspecting traces
38
+ - [**Server**](https://mastra.ai/docs/mastra-platform/deploy/server): A production deployment target that runs your Mastra application as an API server
39
39
 
40
40
  Learn more in the [Mastra platform overview](https://mastra.ai/docs/mastra-platform/overview).
41
41
 
@@ -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-alpha.3/dist/index.js';
2
+ import type { HonoBindings, HonoVariables } from '../_types/@mastra_hono@1.7.28-alpha.0/dist/index.js';
3
3
  import { Hono } from 'hono';
4
4
  import type { ServerBundleOptions } from './types.js';
5
5
  type Bindings = HonoBindings;
@@ -1,5 +1,5 @@
1
1
  import { MastraBase } from '../_types/@internal_core@0.1.4/dist/base/index.js';
2
- import type { BundlerConfig } from '../_types/@internal_deployer@0.0.3/dist/index.js';
2
+ import type { BundlerConfig } from '../_types/@internal_deployer@0.0.4/dist/index.js';
3
3
  /** Version used to pack private workspace packages whose package.json has no `version`. */
4
4
  export declare const WORKSPACE_PLACEHOLDER_VERSION = "0.0.0";
5
5
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/deployer",
3
- "version": "1.85.0-alpha.3",
3
+ "version": "1.85.1-alpha.0",
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-alpha.3"
116
+ "@mastra/server": "1.85.1-alpha.0"
117
117
  },
118
118
  "devDependencies": {
119
119
  "@hono/node-server": "^2.1.3",
@@ -134,17 +134,17 @@
134
134
  "vitest": "5.1.0",
135
135
  "zod": "^4.6.7",
136
136
  "@internal/core": "0.1.4",
137
- "@internal/deployer": "0.0.3",
138
- "@internal/find-workspaces": "0.0.5",
139
- "@internal/lint": "0.0.150",
137
+ "@internal/deployer": "0.0.4",
138
+ "@internal/find-workspaces": "0.0.6",
139
+ "@internal/lint": "0.0.151",
140
+ "@internal/types-builder": "0.0.126",
140
141
  "@mastra/agent-browser": "0.6.0",
141
- "@mastra/core": "1.85.0-alpha.3",
142
- "@mastra/hono": "1.7.27-alpha.3",
143
- "@mastra/mcp": "^2.10.0",
144
- "@internal/types-builder": "0.0.125"
142
+ "@mastra/core": "1.85.1-alpha.0",
143
+ "@mastra/hono": "1.7.28-alpha.0",
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": {