@mastra/server 1.76.0-alpha.1 → 1.76.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.76.0-alpha.1"
6
+ version: "1.76.0-alpha.2"
7
7
  ---
8
8
 
9
9
  ## When to use
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.76.0-alpha.1",
2
+ "version": "1.76.0-alpha.2",
3
3
  "package": "@mastra/server",
4
4
  "exports": {},
5
5
  "modules": {}
@@ -36,7 +36,7 @@ constructor(options: MastraServerOptions<TApp>)
36
36
 
37
37
  **mastra** (`Mastra`): Mastra instance
38
38
 
39
- **prefix** (`string`): Route path prefix (e.g., /api/v2) (Default: `''`)
39
+ **prefix** (`string`): Route path prefix (e.g., /api/v2) (Default: `'/api'`)
40
40
 
41
41
  **openapiPath** (`string`): Path to serve OpenAPI spec (Default: `''`)
42
42
 
@@ -101,7 +101,7 @@ abstract getParams(
101
101
  request: TRequest
102
102
  ): Promise<{
103
103
  urlParams: Record<string, string>;
104
- queryParams: Record<string, string>;
104
+ queryParams: Record<string, string | string[]>;
105
105
  body: unknown;
106
106
  }>
107
107
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/server",
3
- "version": "1.76.0-alpha.1",
3
+ "version": "1.76.0-alpha.2",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "files": [
@@ -118,13 +118,13 @@
118
118
  "zod-to-ts": "^2.1.0",
119
119
  "@internal/core": "0.1.2",
120
120
  "@internal/lint": "0.0.141",
121
- "@internal/types-builder": "0.0.116",
121
+ "@internal/storage-test-utils": "0.0.137",
122
122
  "@internal/test-utils": "0.0.77",
123
- "@internal/voice": "0.0.39",
123
+ "@internal/types-builder": "0.0.116",
124
124
  "@mastra/agent-builder": "1.1.27-alpha.0",
125
- "@internal/storage-test-utils": "0.0.137",
126
- "@mastra/core": "1.76.0-alpha.1",
127
- "@mastra/schema-compat": "1.3.13"
125
+ "@internal/voice": "0.0.39",
126
+ "@mastra/schema-compat": "1.3.13",
127
+ "@mastra/core": "1.76.0-alpha.2"
128
128
  },
129
129
  "homepage": "https://mastra.ai",
130
130
  "repository": {