@mastra/server 1.63.3-alpha.1 → 1.64.0-alpha.2

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-server
3
3
  description: Documentation for @mastra/server. Use when working with @mastra/server APIs, configuration, or implementation.
4
4
  metadata:
5
5
  package: "@mastra/server"
6
- version: "1.63.3-alpha.1"
6
+ version: "1.64.0-alpha.2"
7
7
  ---
8
8
 
9
9
  ## When to use
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.63.3-alpha.1",
2
+ "version": "1.64.0-alpha.2",
3
3
  "package": "@mastra/server",
4
4
  "exports": {},
5
5
  "modules": {}
@@ -80,7 +80,7 @@ Returns a `ServerRoute` object that can be registered with an adapter or passed
80
80
 
81
81
  ### Register through `server.apiRoutes`
82
82
 
83
- Routes created with `createRoute()` can be passed to `server.apiRoutes`. The adapter registers them with runtime validation, typed handler parameters, and generated OpenAPI metadata. See [Custom API routes](https://mastra.ai/docs/server/custom-api-routes) for details.
83
+ Routes created with `createRoute()` can be passed to `server.apiRoutes`, where the adapter adds runtime validation and typed handler parameters while generating OpenAPI metadata. See [Custom API routes](https://mastra.ai/docs/server/custom-api-routes) for details.
84
84
 
85
85
  ```typescript
86
86
  import { Mastra } from '@mastra/core'
@@ -30,7 +30,7 @@ var agent_builder_exports = /* @__PURE__ */ require_rolldown_runtime.__exportAll
30
30
  });
31
31
  let agentBuilderWorkflowsPromise;
32
32
  async function loadAgentBuilderWorkflows() {
33
- agentBuilderWorkflowsPromise ??= Promise.resolve().then(() => require("../../dist-fQ5zEP_z.cjs")).then((mod) => mod.agentBuilderWorkflows);
33
+ agentBuilderWorkflowsPromise ??= Promise.resolve().then(() => require("../../dist-BuyLBfu3.cjs")).then((mod) => mod.agentBuilderWorkflows);
34
34
  return agentBuilderWorkflowsPromise;
35
35
  }
36
36
  async function registerAgentBuilderWorkflows(mastra) {
@@ -29,7 +29,7 @@ var agent_builder_exports = /* @__PURE__ */ __exportAll({
29
29
  });
30
30
  let agentBuilderWorkflowsPromise;
31
31
  async function loadAgentBuilderWorkflows() {
32
- agentBuilderWorkflowsPromise ??= import("../../dist-DmVdNrSg.js").then((mod) => mod.agentBuilderWorkflows);
32
+ agentBuilderWorkflowsPromise ??= import("../../dist-JaHKn7NU.js").then((mod) => mod.agentBuilderWorkflows);
33
33
  return agentBuilderWorkflowsPromise;
34
34
  }
35
35
  async function registerAgentBuilderWorkflows(mastra) {
package/package.json CHANGED
@@ -1,11 +1,10 @@
1
1
  {
2
2
  "name": "@mastra/server",
3
- "version": "1.63.3-alpha.1",
3
+ "version": "1.64.0-alpha.2",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist",
8
- "CHANGELOG.md",
9
8
  "./**/*.d.ts"
10
9
  ],
11
10
  "main": "dist/index.js",
@@ -118,14 +117,14 @@
118
117
  "zod": "^4.4.3",
119
118
  "zod-to-ts": "^2.1.0",
120
119
  "@internal/core": "0.1.2",
120
+ "@internal/lint": "0.0.129",
121
121
  "@internal/storage-test-utils": "0.0.125",
122
122
  "@internal/test-utils": "0.0.65",
123
- "@internal/lint": "0.0.129",
124
123
  "@internal/types-builder": "0.0.104",
125
- "@mastra/agent-builder": "1.1.15",
126
124
  "@internal/voice": "0.0.27",
127
- "@mastra/core": "1.63.3-alpha.1",
128
- "@mastra/schema-compat": "1.3.7"
125
+ "@mastra/agent-builder": "1.1.16-alpha.1",
126
+ "@mastra/core": "1.64.0-alpha.2",
127
+ "@mastra/schema-compat": "1.3.8-alpha.0"
129
128
  },
130
129
  "homepage": "https://mastra.ai",
131
130
  "repository": {
@@ -151,7 +150,6 @@
151
150
  "generate:api-cli-route-metadata": "tsx scripts/generate-api-cli-route-metadata.ts",
152
151
  "generate:route-types": "tsx scripts/generate-route-types.ts",
153
152
  "check:permissions": "tsx scripts/check-permissions.ts",
154
- "check:core-imports": "tsx scripts/check-core-imports.ts",
155
153
  "test": "vitest run",
156
154
  "lint": "oxlint . && eslint .",
157
155
  "lint:fix": "oxlint --fix . && eslint --fix ."