@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.
- package/dist/{dist-fQ5zEP_z.cjs → dist-BuyLBfu3.cjs} +100 -21
- package/dist/dist-BuyLBfu3.cjs.map +1 -0
- package/dist/{dist-DmVdNrSg.js → dist-JaHKn7NU.js} +100 -21
- package/dist/dist-JaHKn7NU.js.map +1 -0
- package/dist/docs/SKILL.md +1 -1
- package/dist/docs/assets/SOURCE_MAP.json +1 -1
- package/dist/docs/references/reference-server-create-route.md +1 -1
- package/dist/server/handlers/agent-builder.cjs +1 -1
- package/dist/server/handlers/agent-builder.js +1 -1
- package/package.json +5 -7
- package/CHANGELOG.md +0 -16531
- package/dist/dist-DmVdNrSg.js.map +0 -1
- package/dist/dist-fQ5zEP_z.cjs.map +0 -1
package/dist/docs/SKILL.md
CHANGED
|
@@ -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
|
|
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-
|
|
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-
|
|
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.
|
|
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/
|
|
128
|
-
"@mastra/
|
|
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 ."
|