@mastra/mcp-docs-server 1.2.23-alpha.16 → 1.2.23-alpha.17
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/.docs/docs/deployment/workers.md +6 -0
- package/.docs/docs/guides/authentication-identity.md +2 -0
- package/.docs/models/gateways/merge-gateway.md +2 -1
- package/.docs/models/gateways/netlify.md +2 -1
- package/.docs/models/gateways/openrouter.md +2 -1
- package/.docs/models/index.md +1 -1
- package/.docs/models/providers/edenai.md +1 -1
- package/.docs/models/providers/google.md +2 -1
- package/.docs/models/providers/hyper.md +5 -5
- package/.docs/models/providers/kilo.md +3 -2
- package/.docs/models/providers/llmgateway-providers.md +2 -1
- package/.docs/models/providers/nano-gpt.md +4 -16
- package/.docs/models/providers/opencode-go.md +1 -1
- package/.docs/models/providers/opencode.md +2 -1
- package/.docs/models/providers/ovhcloud.md +2 -1
- package/.docs/reference/configuration.md +1 -1
- package/.docs/reference/core/mastra-class.md +1 -1
- package/.docs/reference/logging/pino-logger.md +2 -0
- package/package.json +3 -3
|
@@ -39,6 +39,12 @@ Polls storage for due cron schedules and publishes `workflow.start` events. It's
|
|
|
39
39
|
|
|
40
40
|
The scheduler reads declarative `schedule` fields from your workflow definitions automatically. See [Scheduled workflows](https://mastra.ai/docs/workflows/scheduled-workflows) for how to declare schedules.
|
|
41
41
|
|
|
42
|
+
The scheduler only polls storage once a schedule exists. At boot, a process with no declared schedules runs a single `listSchedules()` check. If that check finds no rows, the poll loop never starts, so idle deployments issue no recurring scheduler queries and can scale to zero.
|
|
43
|
+
|
|
44
|
+
When a schedule is created at runtime, Mastra publishes a wake event on the PubSub backend. Any process running the default worker set starts its scheduler in response, which is how a standalone worker discovers schedules created by the API process. This requires both processes to share the same PubSub backend.
|
|
45
|
+
|
|
46
|
+
To poll from startup regardless of whether schedules exist (for example, when your processes don't share a PubSub backend), set `scheduler: { enabled: true }` on the worker or run it with `MASTRA_WORKERS=scheduler`.
|
|
47
|
+
|
|
42
48
|
**Don't run more than one scheduler instance.** Multiple schedulers polling the same storage would fire duplicate events for the same schedule.
|
|
43
49
|
|
|
44
50
|
### Background task worker
|
|
@@ -72,6 +72,8 @@ Use `mapUserToResourceId` to derive this value from the verified user. After aut
|
|
|
72
72
|
- Uses that value to scope memory and thread operations.
|
|
73
73
|
- Ignores a conflicting resource ID supplied by the client.
|
|
74
74
|
|
|
75
|
+
> **Warning:** If `server.auth` is configured without `mapUserToResourceId`, there's no server-derived resource ID. Built-in routes then use the resource ID from the request itself (for example `memory.resource` in the body), so any authenticated caller can read and write threads under any resource ID. Mastra logs a warning at startup in this state. Always configure `mapUserToResourceId` when more than one user shares a deployment.
|
|
76
|
+
|
|
75
77
|
Choose the narrowest boundary that matches how people should share state:
|
|
76
78
|
|
|
77
79
|
| Desired boundary | Example mapping |
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
# Merge Gateway
|
|
6
6
|
|
|
7
|
-
Merge Gateway aggregates models from multiple providers with enhanced features like rate limiting and failover. Access
|
|
7
|
+
Merge Gateway aggregates models from multiple providers with enhanced features like rate limiting and failover. Access 179 models through Mastra's model router.
|
|
8
8
|
|
|
9
9
|
Learn more in the [Merge Gateway documentation](https://docs.merge.dev/merge-gateway).
|
|
10
10
|
|
|
@@ -89,6 +89,7 @@ ANTHROPIC_API_KEY=ant-...
|
|
|
89
89
|
| `google/gemini-3.5-flash-lite` |
|
|
90
90
|
| `google/gemini-3.6-flash` |
|
|
91
91
|
| `google/gemini-3.7-flash` |
|
|
92
|
+
| `google/gemini-3.8-flash` |
|
|
92
93
|
| `google/gemini-embedding-001` |
|
|
93
94
|
| `google/gemini-flash-latest` |
|
|
94
95
|
| `google/gemini-flash-lite-latest` |
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
# Netlify
|
|
6
6
|
|
|
7
|
-
Netlify AI Gateway provides unified access to multiple providers with built-in caching and observability. Access
|
|
7
|
+
Netlify AI Gateway provides unified access to multiple providers with built-in caching and observability. Access 238 models through Mastra's model router.
|
|
8
8
|
|
|
9
9
|
Learn more in the [Netlify documentation](https://docs.netlify.com/build/ai-gateway/overview/).
|
|
10
10
|
|
|
@@ -68,6 +68,7 @@ ANTHROPIC_API_KEY=ant-...
|
|
|
68
68
|
| `gemini/gemini-3.5-flash-lite` |
|
|
69
69
|
| `gemini/gemini-3.6-flash` |
|
|
70
70
|
| `gemini/gemini-3.7-flash` |
|
|
71
|
+
| `gemini/gemini-3.8-flash` |
|
|
71
72
|
| `gemini/gemini-flash-latest` |
|
|
72
73
|
| `gemini/gemini-flash-lite-latest` |
|
|
73
74
|
| `openai/chat-latest` |
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
# OpenRouter
|
|
6
6
|
|
|
7
|
-
OpenRouter aggregates models from multiple providers with enhanced features like rate limiting and failover. Access
|
|
7
|
+
OpenRouter aggregates models from multiple providers with enhanced features like rate limiting and failover. Access 355 models through Mastra's model router.
|
|
8
8
|
|
|
9
9
|
Learn more in the [OpenRouter documentation](https://openrouter.ai/models).
|
|
10
10
|
|
|
@@ -126,6 +126,7 @@ ANTHROPIC_API_KEY=ant-...
|
|
|
126
126
|
| `google/gemini-3.5-flash-lite` |
|
|
127
127
|
| `google/gemini-3.6-flash` |
|
|
128
128
|
| `google/gemini-3.7-flash` |
|
|
129
|
+
| `google/gemini-3.8-flash` |
|
|
129
130
|
| `google/gemma-2-27b-it` |
|
|
130
131
|
| `google/gemma-3-12b-it` |
|
|
131
132
|
| `google/gemma-3-27b-it` |
|
package/.docs/models/index.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
# Model Providers
|
|
6
6
|
|
|
7
|
-
Mastra provides a unified interface for working with LLMs across multiple providers, giving you access to
|
|
7
|
+
Mastra provides a unified interface for working with LLMs across multiple providers, giving you access to 7030 models from 199 providers through a single API.
|
|
8
8
|
|
|
9
9
|
## Features
|
|
10
10
|
|
|
@@ -229,7 +229,7 @@ for await (const chunk of stream) {
|
|
|
229
229
|
| `edenai/qwen/qwen3.8-max` | 1.0M | | | | | | $2 | $6 |
|
|
230
230
|
| `edenai/qwen/qwq-plus` | 131K | | | | | | $0.80 | $2 |
|
|
231
231
|
| `edenai/scaleway/deepseek-v4-flash-0731` | 256K | | | | | | $0.46 | $0.93 |
|
|
232
|
-
| `edenai/scaleway/gpt-oss-120b` | 128K | | | | | | $0.17 | $0.
|
|
232
|
+
| `edenai/scaleway/gpt-oss-120b` | 128K | | | | | | $0.17 | $0.69 |
|
|
233
233
|
| `edenai/scaleway/llama-3.3-70b-instruct` | 128K | | | | | | $1 | $1 |
|
|
234
234
|
| `edenai/tensorx/deepseek/deepseek-v4-flash-0731` | 1.0M | | | | | | $0.25 | $0.30 |
|
|
235
235
|
| `edenai/tensorx/deepseek/deepseek-v4-pro-0813` | 1.0M | | | | | | $2 | $4 |
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
# Google
|
|
6
6
|
|
|
7
|
-
Access
|
|
7
|
+
Access 39 Google models through Mastra's model router. Authentication is handled automatically using one of the following environment variables: `GOOGLE_API_KEY`, `GOOGLE_GENERATIVE_AI_API_KEY`.
|
|
8
8
|
|
|
9
9
|
Learn more in the [Google documentation](https://ai.google.dev/gemini-api/docs/models).
|
|
10
10
|
|
|
@@ -62,6 +62,7 @@ for await (const chunk of stream) {
|
|
|
62
62
|
| `google/gemini-3.5-live-translate-preview` | 16K | | | | | | $4 | $21 |
|
|
63
63
|
| `google/gemini-3.6-flash` | 1.0M | | | | | | $0.75 | $4 |
|
|
64
64
|
| `google/gemini-3.7-flash` | 1.0M | | | | | | $0.75 | $4 |
|
|
65
|
+
| `google/gemini-3.8-flash` | 1.0M | | | | | | $0.75 | $4 |
|
|
65
66
|
| `google/gemini-embedding-001` | 2K | | | | | | $0.15 | — |
|
|
66
67
|
| `google/gemini-embedding-2` | 8K | | | | | | $0.20 | — |
|
|
67
68
|
| `google/gemini-flash-latest` | 1.0M | | | | | | $0.75 | $4 |
|
|
@@ -42,20 +42,20 @@ for await (const chunk of stream) {
|
|
|
42
42
|
| `hyper/deepseek-v4-flash-0731` | 1.0M | | | | | | $0.44 | $1 |
|
|
43
43
|
| `hyper/deepseek-v4-pro` | 1.0M | | | | | | $2 | $5 |
|
|
44
44
|
| `hyper/deepseek-v4-pro-0813` | 1.0M | | | | | | $1 | $4 |
|
|
45
|
-
| `hyper/gemma-4-26b-a4b-it` | 256K | | | | | | $0.12 | $0.
|
|
46
|
-
| `hyper/glm-5` | 203K | | | | | | $0.
|
|
45
|
+
| `hyper/gemma-4-26b-a4b-it` | 256K | | | | | | $0.12 | $0.38 |
|
|
46
|
+
| `hyper/glm-5` | 203K | | | | | | $0.85 | $3 |
|
|
47
47
|
| `hyper/glm-5.1` | 203K | | | | | | $1 | $4 |
|
|
48
48
|
| `hyper/glm-5.2` | 1.0M | | | | | | $2 | $5 |
|
|
49
49
|
| `hyper/glm-5.3` | 1.0M | | | | | | $2 | $5 |
|
|
50
50
|
| `hyper/glm-5.3-flash` | 1.0M | | | | | | $0.16 | $0.54 |
|
|
51
|
-
| `hyper/gpt-oss-120b` | 128K | | | | | | $0.19 | $0.
|
|
52
|
-
| `hyper/kimi-k2.5` | 262K | | | | | | $0.
|
|
51
|
+
| `hyper/gpt-oss-120b` | 128K | | | | | | $0.19 | $0.70 |
|
|
52
|
+
| `hyper/kimi-k2.5` | 262K | | | | | | $0.53 | $3 |
|
|
53
53
|
| `hyper/kimi-k2.6` | 262K | | | | | | $1 | $4 |
|
|
54
54
|
| `hyper/kimi-k2.7-code` | 262K | | | | | | $1 | $4 |
|
|
55
55
|
| `hyper/kimi-k3` | 1.0M | | | | | | $3 | $16 |
|
|
56
56
|
| `hyper/llama-3.3-70b-instruct` | 128K | | | | | | $0.61 | $1 |
|
|
57
57
|
| `hyper/llama-4-maverick-17b-128e-instruct-fp8` | 430K | | | | | | $0.27 | $0.90 |
|
|
58
|
-
| `hyper/minimax-m2.7` | 262K | | | | | | $0.
|
|
58
|
+
| `hyper/minimax-m2.7` | 262K | | | | | | $0.43 | $2 |
|
|
59
59
|
| `hyper/minimax-m3` | 512K | | | | | | $0.33 | $1 |
|
|
60
60
|
| `hyper/qwen3-coder-480b-a35b-instruct-int4-mixed-ar` | 106K | | | | | | $0.45 | $2 |
|
|
61
61
|
| `hyper/qwen3-next-80b-a3b-instruct` | 262K | | | | | | $0.12 | $1 |
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
# Kilo Gateway
|
|
6
6
|
|
|
7
|
-
Access
|
|
7
|
+
Access 363 Kilo Gateway models through Mastra's model router. Authentication is handled automatically using the `KILO_API_KEY` environment variable.
|
|
8
8
|
|
|
9
9
|
Learn more in the [Kilo Gateway documentation](https://kilo.ai).
|
|
10
10
|
|
|
@@ -126,6 +126,7 @@ for await (const chunk of stream) {
|
|
|
126
126
|
| `kilo/google/gemini-3.5-flash-lite` | 1.0M | | | | | | $0.15 | $1 |
|
|
127
127
|
| `kilo/google/gemini-3.6-flash` | 1.0M | | | | | | $0.38 | $2 |
|
|
128
128
|
| `kilo/google/gemini-3.7-flash` | 1.0M | | | | | | $0.75 | $4 |
|
|
129
|
+
| `kilo/google/gemini-3.8-flash` | 1.0M | | | | | | $0.75 | $4 |
|
|
129
130
|
| `kilo/google/gemma-2-27b-it` | 8K | | | | | | $0.65 | $0.65 |
|
|
130
131
|
| `kilo/google/gemma-3-12b-it` | 131K | | | | | | $0.05 | $0.15 |
|
|
131
132
|
| `kilo/google/gemma-3-27b-it` | 131K | | | | | | $0.08 | $0.16 |
|
|
@@ -364,7 +365,7 @@ for await (const chunk of stream) {
|
|
|
364
365
|
| `kilo/tencent/hy-mt2-1.8b` | 8K | | | | | | $0.04 | $0.18 |
|
|
365
366
|
| `kilo/tencent/hy-mt2-30b-a3b` | 8K | | | | | | $0.07 | $0.29 |
|
|
366
367
|
| `kilo/tencent/hy-mt2-7b` | 8K | | | | | | $0.07 | $0.29 |
|
|
367
|
-
| `kilo/tencent/hy3` | 262K | | | | | | $0.
|
|
368
|
+
| `kilo/tencent/hy3` | 262K | | | | | | $0.08 | $0.33 |
|
|
368
369
|
| `kilo/tencent/hy3-preview` | 262K | | | | | | $0.18 | $0.60 |
|
|
369
370
|
| `kilo/tencent/hy4-preview` | 1.0M | | | | | | $0.83 | $3 |
|
|
370
371
|
| `kilo/thedrummer/cydonia-24b-v4.1` | 131K | | | | | | $0.30 | $0.50 |
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
# LLM Gateway
|
|
6
6
|
|
|
7
|
-
Access
|
|
7
|
+
Access 364 LLM Gateway models through Mastra's model router. Authentication is handled automatically using the `LLMGATEWAY_API_KEY` environment variable.
|
|
8
8
|
|
|
9
9
|
Learn more in the [LLM Gateway documentation](https://llmgateway.io/docs).
|
|
10
10
|
|
|
@@ -334,6 +334,7 @@ for await (const chunk of stream) {
|
|
|
334
334
|
| `llmgateway-providers/runware/deepseek-v4-pro` | 1.0M | | | | | | $0.96 | $2 |
|
|
335
335
|
| `llmgateway-providers/runware/gemma-4-31b-it` | 262K | | | | | | $0.10 | $0.30 |
|
|
336
336
|
| `llmgateway-providers/runware/glm-5.2` | 1.0M | | | | | | $0.80 | $3 |
|
|
337
|
+
| `llmgateway-providers/runware/glm-5.3` | 1.0M | | | | | | $1 | $4 |
|
|
337
338
|
| `llmgateway-providers/runware/glm-5.3-flash` | 1.0M | | | | | | $0.15 | $0.50 |
|
|
338
339
|
| `llmgateway-providers/runware/gpt-oss-120b` | 131K | | | | | | $0.03 | $0.14 |
|
|
339
340
|
| `llmgateway-providers/runware/kimi-k2.6` | 262K | | | | | | $0.60 | $3 |
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
# NanoGPT
|
|
6
6
|
|
|
7
|
-
Access
|
|
7
|
+
Access 588 NanoGPT models through Mastra's model router. Authentication is handled automatically using the `NANO_GPT_API_KEY` environment variable.
|
|
8
8
|
|
|
9
9
|
Learn more in the [NanoGPT documentation](https://docs.nano-gpt.com).
|
|
10
10
|
|
|
@@ -125,8 +125,6 @@ for await (const chunk of stream) {
|
|
|
125
125
|
| `nano-gpt/claw-low` | 1.0M | | | | | | $1 | $3 |
|
|
126
126
|
| `nano-gpt/claw-medium` | 1.0M | | | | | | $1 | $3 |
|
|
127
127
|
| `nano-gpt/cohere/command-r-plus-08-2024` | 128K | | | | | | $3 | $14 |
|
|
128
|
-
| `nano-gpt/cohere/north-mini-code` | 256K | | | | | | $0.20 | $0.80 |
|
|
129
|
-
| `nano-gpt/command-a-plus-05-2026` | 128K | | | | | | $3 | $10 |
|
|
130
128
|
| `nano-gpt/command-a-reasoning-08-2025` | 256K | | | | | | $3 | $10 |
|
|
131
129
|
| `nano-gpt/crofai/greg-2-super` | 229K | | | | | | $2 | $5 |
|
|
132
130
|
| `nano-gpt/crofai/greg-2-ultra` | 229K | | | | | | $3 | $10 |
|
|
@@ -253,8 +251,9 @@ for await (const chunk of stream) {
|
|
|
253
251
|
| `nano-gpt/google/gemini-3.5-flash-lite` | 1.0M | | | | | | $0.30 | $3 |
|
|
254
252
|
| `nano-gpt/google/gemini-3.5-flash-thinking` | 1.0M | | | | | | $2 | $9 |
|
|
255
253
|
| `nano-gpt/google/gemini-3.6-flash` | 1.0M | | | | | | $0.75 | $4 |
|
|
256
|
-
| `nano-gpt/google/gemini-3.7-flash` | 1.0M | | | | | | $0.
|
|
257
|
-
| `nano-gpt/google/gemini-flash
|
|
254
|
+
| `nano-gpt/google/gemini-3.7-flash` | 1.0M | | | | | | $0.75 | $4 |
|
|
255
|
+
| `nano-gpt/google/gemini-3.8-flash` | 1.0M | | | | | | $0.75 | $4 |
|
|
256
|
+
| `nano-gpt/google/gemini-flash-latest` | 1.0M | | | | | | $0.75 | $4 |
|
|
258
257
|
| `nano-gpt/google/gemini-flash-lite-latest` | 1.0M | | | | | | $0.30 | $3 |
|
|
259
258
|
| `nano-gpt/google/gemini-pro-latest` | 1.0M | | | | | | $2 | $12 |
|
|
260
259
|
| `nano-gpt/google/gemma-4-26b-a4b-it` | 262K | | | | | | $0.12 | $0.38 |
|
|
@@ -278,8 +277,6 @@ for await (const chunk of stream) {
|
|
|
278
277
|
| `nano-gpt/inclusionai/ling-3.0-flash:thinking` | 262K | | | | | | $0.07 | $0.22 |
|
|
279
278
|
| `nano-gpt/inflatebot/MN-12B-Mag-Mell-R1` | 16K | | | | | | $0.49 | $0.49 |
|
|
280
279
|
| `nano-gpt/kimi-k2-instruct-fast` | 131K | | | | | | $0.40 | $2 |
|
|
281
|
-
| `nano-gpt/kwaipilot/kat-coder-pro-v2` | 256K | | | | | | $0.30 | $1 |
|
|
282
|
-
| `nano-gpt/kwaipilot/kat-coder-pro-v2.5` | 256K | | | | | | $0.74 | $3 |
|
|
283
280
|
| `nano-gpt/LatitudeGames/Wayfarer-Large-70B-Llama-3.3` | 16K | | | | | | $0.70 | $0.70 |
|
|
284
281
|
| `nano-gpt/liquid/lfm-2.5-2.6b` | 128K | | | | | | $0.10 | $0.20 |
|
|
285
282
|
| `nano-gpt/LLM360/K2-Think` | 128K | | | | | | $0.17 | $0.68 |
|
|
@@ -375,7 +372,6 @@ for await (const chunk of stream) {
|
|
|
375
372
|
| `nano-gpt/nvidia/nemotron-3.5-lightning:thinking` | 1.0M | | | | | | $0.05 | $0.20 |
|
|
376
373
|
| `nano-gpt/openai/gpt-3.5-turbo` | 16K | | | | | | $0.50 | $2 |
|
|
377
374
|
| `nano-gpt/openai/gpt-4-turbo` | 128K | | | | | | $10 | $30 |
|
|
378
|
-
| `nano-gpt/openai/gpt-4-turbo-preview` | 128K | | | | | | $10 | $30 |
|
|
379
375
|
| `nano-gpt/openai/gpt-4.1` | 1.0M | | | | | | $2 | $8 |
|
|
380
376
|
| `nano-gpt/openai/gpt-4.1-mini` | 1.0M | | | | | | $0.40 | $2 |
|
|
381
377
|
| `nano-gpt/openai/gpt-4.1-nano` | 1.0M | | | | | | $0.10 | $0.40 |
|
|
@@ -383,10 +379,7 @@ for await (const chunk of stream) {
|
|
|
383
379
|
| `nano-gpt/openai/gpt-4o-2024-08-06` | 128K | | | | | | $3 | $10 |
|
|
384
380
|
| `nano-gpt/openai/gpt-4o-2024-11-20` | 128K | | | | | | $3 | $10 |
|
|
385
381
|
| `nano-gpt/openai/gpt-4o-mini` | 128K | | | | | | $0.15 | $0.60 |
|
|
386
|
-
| `nano-gpt/openai/gpt-4o-mini-search-preview` | 128K | | | | | | $0.15 | $0.60 |
|
|
387
|
-
| `nano-gpt/openai/gpt-4o-search-preview` | 128K | | | | | | $3 | $10 |
|
|
388
382
|
| `nano-gpt/openai/gpt-5` | 400K | | | | | | $1 | $10 |
|
|
389
|
-
| `nano-gpt/openai/gpt-5-codex` | 256K | | | | | | $1 | $10 |
|
|
390
383
|
| `nano-gpt/openai/gpt-5-mini` | 400K | | | | | | $0.25 | $2 |
|
|
391
384
|
| `nano-gpt/openai/gpt-5-nano` | 400K | | | | | | $0.05 | $0.40 |
|
|
392
385
|
| `nano-gpt/openai/gpt-5-pro` | 400K | | | | | | $15 | $120 |
|
|
@@ -414,16 +407,13 @@ for await (const chunk of stream) {
|
|
|
414
407
|
| `nano-gpt/openai/gpt-oss-20b` | 128K | | | | | | $0.20 | $0.30 |
|
|
415
408
|
| `nano-gpt/openai/gpt-oss-safeguard-20b` | 128K | | | | | | $0.07 | $0.30 |
|
|
416
409
|
| `nano-gpt/openai/o1` | 200K | | | | | | $15 | $60 |
|
|
417
|
-
| `nano-gpt/openai/o1-preview` | 128K | | | | | | $15 | $60 |
|
|
418
410
|
| `nano-gpt/openai/o1-pro` | 200K | | | | | | $150 | $600 |
|
|
419
411
|
| `nano-gpt/openai/o3` | 200K | | | | | | $2 | $8 |
|
|
420
|
-
| `nano-gpt/openai/o3-deep-research` | 200K | | | | | | $11 | $44 |
|
|
421
412
|
| `nano-gpt/openai/o3-mini` | 200K | | | | | | $1 | $4 |
|
|
422
413
|
| `nano-gpt/openai/o3-mini-high` | 200K | | | | | | $1 | $4 |
|
|
423
414
|
| `nano-gpt/openai/o3-mini-low` | 200K | | | | | | $1 | $4 |
|
|
424
415
|
| `nano-gpt/openai/o3-pro-2025-06-10` | 200K | | | | | | $22 | $88 |
|
|
425
416
|
| `nano-gpt/openai/o4-mini` | 200K | | | | | | $1 | $4 |
|
|
426
|
-
| `nano-gpt/openai/o4-mini-deep-research` | 200K | | | | | | $2 | $9 |
|
|
427
417
|
| `nano-gpt/openai/o4-mini-high` | 200K | | | | | | $1 | $4 |
|
|
428
418
|
| `nano-gpt/ornith-ai/ornith-1.5-35b-a3b` | 262K | | | | | | $0.10 | $0.40 |
|
|
429
419
|
| `nano-gpt/ornith-ai/ornith-1.5-35b-a3b:thinking` | 262K | | | | | | $0.10 | $0.40 |
|
|
@@ -512,7 +502,6 @@ for await (const chunk of stream) {
|
|
|
512
502
|
| `nano-gpt/Sao10K/L3.1-70B-Hanami-x1` | 16K | | | | | | $0.49 | $0.49 |
|
|
513
503
|
| `nano-gpt/Sao10K/L3.3-70B-Euryale-v2.3` | 20K | | | | | | $0.49 | $0.49 |
|
|
514
504
|
| `nano-gpt/sarvam-105b` | 131K | | | | | | $0.04 | $0.18 |
|
|
515
|
-
| `nano-gpt/sarvam-30b` | 66K | | | | | | $0.03 | $0.11 |
|
|
516
505
|
| `nano-gpt/shisa-ai/shisa-v2-llama3.3-70b` | 128K | | | | | | $0.50 | $0.50 |
|
|
517
506
|
| `nano-gpt/shisa-ai/shisa-v2.1-llama3.3-70b` | 33K | | | | | | $0.50 | $0.50 |
|
|
518
507
|
| `nano-gpt/sonar` | 127K | | | | | | $1 | $1 |
|
|
@@ -536,7 +525,6 @@ for await (const chunk of stream) {
|
|
|
536
525
|
| `nano-gpt/TEE/gemma-4-31b-it` | 262K | | | | | | $0.15 | $0.46 |
|
|
537
526
|
| `nano-gpt/TEE/gemma4-31b` | 262K | | | | | | $0.40 | $1 |
|
|
538
527
|
| `nano-gpt/TEE/gemma4-31b:thinking` | 262K | | | | | | $0.40 | $1 |
|
|
539
|
-
| `nano-gpt/TEE/glm-4.7` | 131K | | | | | | $0.85 | $3 |
|
|
540
528
|
| `nano-gpt/TEE/glm-5.1` | 203K | | | | | | $2 | $5 |
|
|
541
529
|
| `nano-gpt/TEE/glm-5.1-thinking` | 203K | | | | | | $2 | $5 |
|
|
542
530
|
| `nano-gpt/TEE/glm-5.2` | 1.0M | | | | | | $1 | $5 |
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
# OpenCode Go
|
|
6
6
|
|
|
7
|
-
Access
|
|
7
|
+
Access 34 OpenCode Go models through Mastra's model router. Authentication is handled automatically using the `OPENCODE_API_KEY` environment variable.
|
|
8
8
|
|
|
9
9
|
Learn more in the [OpenCode Go documentation](https://opencode.ai/docs/zen).
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
# OpenCode Zen
|
|
6
6
|
|
|
7
|
-
Access
|
|
7
|
+
Access 97 OpenCode Zen models through Mastra's model router. Authentication is handled automatically using the `OPENCODE_API_KEY` environment variable.
|
|
8
8
|
|
|
9
9
|
Learn more in the [OpenCode Zen documentation](https://opencode.ai/docs/zen).
|
|
10
10
|
|
|
@@ -59,6 +59,7 @@ for await (const chunk of stream) {
|
|
|
59
59
|
| `opencode/gemini-3.5-flash-lite` | 1.0M | | | | | | $0.30 | $3 |
|
|
60
60
|
| `opencode/gemini-3.6-flash` | 1.0M | | | | | | $2 | $8 |
|
|
61
61
|
| `opencode/gemini-3.7-flash` | 1.0M | | | | | | $2 | $8 |
|
|
62
|
+
| `opencode/gemini-3.8-flash` | 1.0M | | | | | | $2 | $8 |
|
|
62
63
|
| `opencode/glm-5` | 205K | | | | | | $1 | $3 |
|
|
63
64
|
| `opencode/glm-5.1` | 205K | | | | | | $1 | $4 |
|
|
64
65
|
| `opencode/glm-5.2` | 1.0M | | | | | | $1 | $4 |
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
# OVHcloud AI Endpoints
|
|
6
6
|
|
|
7
|
-
Access
|
|
7
|
+
Access 15 OVHcloud AI Endpoints models through Mastra's model router. Authentication is handled automatically using the `OVHCLOUD_API_KEY` environment variable.
|
|
8
8
|
|
|
9
9
|
Learn more in the [OVHcloud AI Endpoints documentation](https://www.ovhcloud.com/en/public-cloud/ai-endpoints/catalog//).
|
|
10
10
|
|
|
@@ -50,6 +50,7 @@ for await (const chunk of stream) {
|
|
|
50
50
|
| `ovhcloud/qwen3.5-397b-a17b` | 262K | | | | | | $0.71 | $4 |
|
|
51
51
|
| `ovhcloud/qwen3.5-9b` | 262K | | | | | | $0.12 | $0.18 |
|
|
52
52
|
| `ovhcloud/qwen3.6-27b` | 262K | | | | | | $0.47 | $3 |
|
|
53
|
+
| `ovhcloud/qwen3.8-27b` | 262K | | | | | | — | — |
|
|
53
54
|
| `ovhcloud/qwen3guard-gen-0.6b` | 33K | | | | | | — | — |
|
|
54
55
|
| `ovhcloud/qwen3guard-gen-8b` | 33K | | | | | | — | — |
|
|
55
56
|
|
|
@@ -636,7 +636,7 @@ export const mastra = new Mastra({
|
|
|
636
636
|
})
|
|
637
637
|
```
|
|
638
638
|
|
|
639
|
-
The `mapUserToResourceId` callback maps the authenticated user to a resource ID for memory/thread scoping. When provided, it's called after successful authentication and the returned value is set on the request context as `MASTRA_RESOURCE_ID_KEY`. See [Authorization (User Isolation)](https://mastra.ai/docs/server/middleware) for details.
|
|
639
|
+
The `mapUserToResourceId` callback maps the authenticated user to a resource ID for memory/thread scoping. When provided, it's called after successful authentication and the returned value is set on the request context as `MASTRA_RESOURCE_ID_KEY`. When omitted, built-in routes fall back to the client-supplied resource ID (for example `memory.resource`), so ownership checks trust the caller. Mastra logs a startup warning in that case. See [Authorization (User Isolation)](https://mastra.ai/docs/server/middleware) for details.
|
|
640
640
|
|
|
641
641
|
### server.bodySizeLimit
|
|
642
642
|
|
|
@@ -125,7 +125,7 @@ Visit the [Configuration reference](https://mastra.ai/reference/configuration) f
|
|
|
125
125
|
|
|
126
126
|
**backgroundTasks.defaultRetries** (`RetryConfig`): Default retry configuration.
|
|
127
127
|
|
|
128
|
-
**scheduler** (`object`): Configure the scheduler worker for cron-driven workflow triggers. Auto-enables when any workflow declares a schedule. See Scheduled workflows.
|
|
128
|
+
**scheduler** (`object`): Configure the scheduler worker for cron-driven workflow triggers. Auto-enables when any workflow declares a schedule, when schedule rows already exist in storage, or when a schedule is created at runtime. Apps that never schedule anything run one listSchedules() check at boot and never poll after that. See Scheduled workflows.
|
|
129
129
|
|
|
130
130
|
**scheduler.enabled** (`boolean`): Explicitly enable or disable the scheduler.
|
|
131
131
|
|
|
@@ -40,6 +40,8 @@ export const mastra = new Mastra({
|
|
|
40
40
|
|
|
41
41
|
**customLevels** (`Record<string, number>`): Custom log levels and numeric values, forwarded to Pino. Standard severity is still logged via debug, info, warn, and error; extra levels follow Pino’s custom-level behavior.
|
|
42
42
|
|
|
43
|
+
**serializers** (`pino.LoggerOptions['serializers']`): Custom Pino serializers, merged over the defaults. By default the error key uses Pino’s standard error serializer (alongside the built-in err), so logger.warn("...", { error }) records the type, message, and stack instead of an empty object.
|
|
44
|
+
|
|
43
45
|
## Log enrichment with `mixin`
|
|
44
46
|
|
|
45
47
|
Use `mixin` when you want the same structured fields on every line (for correlation with the rest of your services):
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/mcp-docs-server",
|
|
3
|
-
"version": "1.2.23-alpha.
|
|
3
|
+
"version": "1.2.23-alpha.17",
|
|
4
4
|
"description": "MCP server for accessing Mastra.ai documentation, changelogs, and news.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"jsdom": "^26.1.0",
|
|
28
28
|
"local-pkg": "^1.1.2",
|
|
29
29
|
"zod": "^4.4.3",
|
|
30
|
-
"@mastra/core": "1.64.0-alpha.
|
|
30
|
+
"@mastra/core": "1.64.0-alpha.9",
|
|
31
31
|
"@mastra/mcp": "^1.17.3-alpha.2"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"vitest": "4.1.10",
|
|
47
47
|
"@internal/lint": "0.0.129",
|
|
48
48
|
"@internal/types-builder": "0.0.104",
|
|
49
|
-
"@mastra/core": "1.64.0-alpha.
|
|
49
|
+
"@mastra/core": "1.64.0-alpha.9"
|
|
50
50
|
},
|
|
51
51
|
"homepage": "https://mastra.ai",
|
|
52
52
|
"repository": {
|