@mastra/mcp-docs-server 1.3.6-alpha.12 → 1.3.6-alpha.14

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.
@@ -50,7 +50,7 @@ When the thread has a running agent stream, `sendMessage()` becomes new input in
50
50
 
51
51
  ### Input during reasoning
52
52
 
53
- In the default agent loop, accepted pending messages and signals interrupt a model request that has produced only reasoning or metadata. This includes the wait for its first token. Mastra cancels that request, discards its response from model history and memory, and includes queued input in the next request within the same run. Earlier completed responses stay in history.
53
+ In the default loop and experimental durable and evented agents, accepted pending messages and signals interrupt a model request that has produced only reasoning or metadata. This includes the wait for its first token. Mastra cancels that request, discards its response from model history and memory, and includes queued input in the next request within the same run. Earlier completed responses stay in history.
54
54
 
55
55
  Once text, tool calls, or other response content starts, signals wait for the next loop boundary. Running tools aren't cancelled or repeated. If the run reaches `maxSteps`, queued input may be saved without a response. `queueMessage()` still waits for the active run to finish. Signals that processors write directly to the message history don't interrupt their own request.
56
56
 
@@ -58,7 +58,7 @@ Interrupted requests don't count toward `maxSteps` or advance `stepNumber`. The
58
58
 
59
59
  Already-streamed reasoning may remain visible until the client reloads history. When input arrives while per-step input processors (`processInputStep`) run, the processors finish and Mastra cancels the model request they prepared. Custom output processors also keep running after a cancellation, and the next request waits for their in-flight work to settle. Mastra discards framework-owned response buffers, but doesn't undo processor state, data that processors write while the cancelled request settles, or external side effects. Usage totals exclude interrupted requests, including any usage the provider reports for them. Providers may still bill for those requests.
60
60
 
61
- This reasoning interruption applies to the default loop, not the experimental durable or evented agents or the Inngest engine.
61
+ Reasoning interruption doesn't apply to the Inngest engine, or to durable and evented steps that run in a different process from the one that accepted the input.
62
62
 
63
63
  ## Message input
64
64
 
@@ -4,7 +4,7 @@
4
4
 
5
5
  # ![Vercel logo](https://models.dev/logos/vercel.svg)Vercel
6
6
 
7
- Vercel aggregates models from multiple providers with enhanced features like rate limiting and failover. Access 408 models through Mastra's model router.
7
+ Vercel aggregates models from multiple providers with enhanced features like rate limiting and failover. Access 409 models through Mastra's model router.
8
8
 
9
9
  Learn more in the [Vercel documentation](https://ai-sdk.dev/providers/ai-sdk-providers).
10
10
 
@@ -193,6 +193,7 @@ ANTHROPIC_API_KEY=ant-...
193
193
  | `google/veo-3.1-fast-generate-001` |
194
194
  | `google/veo-3.1-generate-001` |
195
195
  | `google/veo-3.1-lite-generate-001` |
196
+ | `heygen/heygen-video-1` |
196
197
  | `inception/mercury-2` |
197
198
  | `inception/mercury-2.5` |
198
199
  | `inception/mercury-coder-small` |
@@ -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 7811 models from 214 providers through a single API.
7
+ Mastra provides a unified interface for working with LLMs across multiple providers, giving you access to 7797 models from 214 providers through a single API.
8
8
 
9
9
  ## Features
10
10
 
@@ -65,7 +65,6 @@ for await (const chunk of stream) {
65
65
  | `deepinfra/Qwen/Qwen3-30B-A3B` | 41K | | | | | | $0.12 | $0.50 |
66
66
  | `deepinfra/Qwen/Qwen3-32B` | 41K | | | | | | $0.08 | $0.28 |
67
67
  | `deepinfra/Qwen/Qwen3-Coder-480B-A35B-Instruct-Turbo` | 262K | | | | | | $0.30 | $1 |
68
- | `deepinfra/Qwen/Qwen3-Max` | 256K | | | | | | $1 | $6 |
69
68
  | `deepinfra/Qwen/Qwen3-Next-80B-A3B-Instruct` | 262K | | | | | | $0.09 | $1 |
70
69
  | `deepinfra/Qwen/Qwen3-VL-235B-A22B-Instruct` | 262K | | | | | | $0.20 | $0.88 |
71
70
  | `deepinfra/Qwen/Qwen3-VL-30B-A3B-Instruct` | 262K | | | | | | $0.15 | $0.60 |
@@ -4,7 +4,7 @@
4
4
 
5
5
  # ![EmpirioLabs AI logo](https://models.dev/logos/empiriolabs.svg)EmpirioLabs AI
6
6
 
7
- Access 66 EmpirioLabs AI models through Mastra's model router. Authentication is handled automatically using the `EMPIRIOLABS_API_KEY` environment variable.
7
+ Access 62 EmpirioLabs AI models through Mastra's model router. Authentication is handled automatically using the `EMPIRIOLABS_API_KEY` environment variable.
8
8
 
9
9
  Learn more in the [EmpirioLabs AI documentation](https://docs.empiriolabs.ai).
10
10
 
@@ -19,7 +19,7 @@ const agent = new Agent({
19
19
  id: "my-agent",
20
20
  name: "My Agent",
21
21
  instructions: "You are a helpful assistant",
22
- model: "empiriolabs/deepseek-v3-2"
22
+ model: "empiriolabs/deepseek-v4-1-flash"
23
23
  });
24
24
 
25
25
  // Generate a response
@@ -38,9 +38,7 @@ for await (const chunk of stream) {
38
38
 
39
39
  | Model | Context | Tools | Reasoning | Image | Audio | Video | Input $/1M | Output $/1M |
40
40
  | -------------------------------------- | ------- | ----- | --------- | ----- | ----- | ----- | ---------- | ----------- |
41
- | `empiriolabs/deepseek-v3-2` | 128K | | | | | | $0.57 | $2 |
42
41
  | `empiriolabs/deepseek-v4-1-flash` | 1.0M | | | | | | $0.30 | $1 |
43
- | `empiriolabs/deepseek-v4-flash` | 1.0M | | | | | | $0.14 | $0.28 |
44
42
  | `empiriolabs/deepseek-v4-flash-0731` | 1.0M | | | | | | $0.42 | $1 |
45
43
  | `empiriolabs/deepseek-v4-pro` | 1.0M | | | | | | $2 | $3 |
46
44
  | `empiriolabs/deepseek-v4-pro-0813` | 1.0M | | | | | | $1 | $4 |
@@ -84,7 +82,6 @@ for await (const chunk of stream) {
84
82
  | `empiriolabs/qwen3-6-27b` | 256K | | | | | | $0.41 | $2 |
85
83
  | `empiriolabs/qwen3-6-35b-a3b` | 131K | | | | | | $0.07 | $0.42 |
86
84
  | `empiriolabs/qwen3-6-flash` | 1.0M | | | | | | $0.25 | $2 |
87
- | `empiriolabs/qwen3-6-max-preview` | 256K | | | | | | $1 | $8 |
88
85
  | `empiriolabs/qwen3-6-plus` | 1.0M | | | | | | $0.50 | $3 |
89
86
  | `empiriolabs/qwen3-7-flash` | 1.0M | | | | | | $0.03 | $0.13 |
90
87
  | `empiriolabs/qwen3-7-max` | 1.0M | | | | | | $3 | $8 |
@@ -94,7 +91,6 @@ for await (const chunk of stream) {
94
91
  | `empiriolabs/qwen3-8-max` | 1.0M | | | | | | $2 | $6 |
95
92
  | `empiriolabs/qwen3-8-max-0902` | 1.0M | | | | | | $2 | $6 |
96
93
  | `empiriolabs/qwen3-8-omni-flash` | 1.0M | | | | | | $0.30 | $0.94 |
97
- | `empiriolabs/qwen3-max` | 256K | | | | | | $1 | $6 |
98
94
  | `empiriolabs/seed-2-0-code` | 256K | | | | | | $0.40 | $2 |
99
95
  | `empiriolabs/seed-2-0-lite` | 256K | | | | | | $0.31 | $3 |
100
96
  | `empiriolabs/seed-2-0-mini` | 256K | | | | | | $0.12 | $0.50 |
@@ -117,7 +113,7 @@ const agent = new Agent({
117
113
  name: "custom-agent",
118
114
  model: {
119
115
  url: "https://api.empiriolabs.ai/v1",
120
- id: "empiriolabs/deepseek-v3-2",
116
+ id: "empiriolabs/deepseek-v4-1-flash",
121
117
  apiKey: process.env.EMPIRIOLABS_API_KEY,
122
118
  headers: {
123
119
  "X-Custom-Header": "value"
@@ -136,7 +132,7 @@ const agent = new Agent({
136
132
  const useAdvanced = requestContext.task === "complex";
137
133
  return useAdvanced
138
134
  ? "empiriolabs/step-5-preview"
139
- : "empiriolabs/deepseek-v3-2";
135
+ : "empiriolabs/deepseek-v4-1-flash";
140
136
  }
141
137
  });
142
138
  ```
@@ -42,20 +42,20 @@ for await (const chunk of stream) {
42
42
  | `kilo/~anthropic/claude-haiku-latest` | 1.0M | | | | | | $0.10 | $0.50 |
43
43
  | `kilo/~anthropic/claude-opus-latest` | 1.0M | | | | | | $4 | $20 |
44
44
  | `kilo/~anthropic/claude-sonnet-latest` | 1.0M | | | | | | $2 | $10 |
45
- | `kilo/~deepseek/deepseek-flash-latest` | 1.0M | | | | | | $0.02 | $0.60 |
46
- | `kilo/~deepseek/deepseek-pro-latest` | 1.0M | | | | | | $0.14 | $0.43 |
45
+ | `kilo/~deepseek/deepseek-flash-latest` | 1.0M | | | | | | $0.00 | $0.60 |
46
+ | `kilo/~deepseek/deepseek-pro-latest` | 1.0M | | | | | | $0.30 | $5 |
47
47
  | `kilo/~deepseek/deepseek-v4-flash-latest` | 1.0M | | | | | | $0.01 | $1 |
48
48
  | `kilo/~google/gemini-flash-latest` | 1.0M | | | | | | $0.75 | $4 |
49
49
  | `kilo/~google/gemini-pro-latest` | 1.0M | | | | | | $2 | $12 |
50
- | `kilo/~moonshotai/kimi-latest` | 1.0M | | | | | | $0.70 | $15 |
50
+ | `kilo/~moonshotai/kimi-latest` | 1.0M | | | | | | $0.33 | $15 |
51
51
  | `kilo/~openai/gpt-astra-latest` | 1.1M | | | | | | $10 | $50 |
52
52
  | `kilo/~openai/gpt-luna-latest` | 1.1M | | | | | | $0.10 | $0.50 |
53
53
  | `kilo/~openai/gpt-mini-latest` | 400K | | | | | | $0.75 | $5 |
54
54
  | `kilo/~openai/gpt-sol-latest` | 1.1M | | | | | | $2 | $10 |
55
55
  | `kilo/~openai/gpt-terra-latest` | 1.1M | | | | | | $2 | $12 |
56
56
  | `kilo/~x-ai/grok-latest` | 500K | | | | | | $2 | $6 |
57
- | `kilo/~z-ai/glm-flash-latest` | 1.0M | | | | | | $0.03 | $0.72 |
58
- | `kilo/~z-ai/glm-latest` | 1.0M | | | | | | $0.04 | $6 |
57
+ | `kilo/~z-ai/glm-flash-latest` | 1.0M | | | | | | $0.04 | $0.50 |
58
+ | `kilo/~z-ai/glm-latest` | 1.0M | | | | | | $0.04 | $5 |
59
59
  | `kilo/aion-labs/aion-2.0` | 131K | | | | | | $0.80 | $2 |
60
60
  | `kilo/aion-labs/aion-3.0` | 131K | | | | | | $3 | $6 |
61
61
  | `kilo/aion-labs/aion-3.0-mini` | 131K | | | | | | $0.70 | $1 |
@@ -105,9 +105,9 @@ for await (const chunk of stream) {
105
105
  | `kilo/deepseek/deepseek-r1` | 64K | | | | | | $0.70 | $3 |
106
106
  | `kilo/deepseek/deepseek-r1-0528` | 164K | | | | | | $0.70 | $3 |
107
107
  | `kilo/deepseek/deepseek-v3.1-terminus` | 164K | | | | | | $0.27 | $1 |
108
- | `kilo/deepseek/deepseek-v3.2` | 164K | | | | | | $0.26 | $0.42 |
108
+ | `kilo/deepseek/deepseek-v3.2` | 164K | | | | | | $0.26 | $0.80 |
109
109
  | `kilo/deepseek/deepseek-v3.2-exp` | 164K | | | | | | $0.27 | $0.41 |
110
- | `kilo/deepseek/deepseek-v4-flash` | 1.0M | | | | | | $0.03 | $1 |
110
+ | `kilo/deepseek/deepseek-v4-flash` | 1.0M | | | | | | $0.02 | $1 |
111
111
  | `kilo/deepseek/deepseek-v4-flash-0731` | 1.0M | | | | | | $0.44 | $1 |
112
112
  | `kilo/deepseek/deepseek-v4-flash-vision-exp` | 1.0M | | | | | | $0.22 | $0.65 |
113
113
  | `kilo/deepseek/deepseek-v4-pro` | 1.0M | | | | | | $2 | $3 |
@@ -212,7 +212,7 @@ for await (const chunk of stream) {
212
212
  | `kilo/moonshotai/kimi-k2-0905` | 262K | | | | | | $0.60 | $3 |
213
213
  | `kilo/moonshotai/kimi-k2-thinking` | 262K | | | | | | $0.60 | $3 |
214
214
  | `kilo/moonshotai/kimi-k2.5` | 262K | | | | | | $0.60 | $3 |
215
- | `kilo/moonshotai/kimi-k2.6` | 262K | | | | | | $0.43 | $2 |
215
+ | `kilo/moonshotai/kimi-k2.6` | 262K | | | | | | $0.47 | $2 |
216
216
  | `kilo/moonshotai/kimi-k2.7-code` | 262K | | | | | | $0.67 | $3 |
217
217
  | `kilo/moonshotai/kimi-k3` | 1.0M | | | | | | $3 | $15 |
218
218
  | `kilo/morph/morph-v3-fast` | 82K | | | | | | $0.80 | $1 |
@@ -286,7 +286,7 @@ for await (const chunk of stream) {
286
286
  | `kilo/openai/gpt-audio` | 128K | | | | | | $3 | $10 |
287
287
  | `kilo/openai/gpt-audio-mini` | 128K | | | | | | $0.60 | $2 |
288
288
  | `kilo/openai/gpt-chat-latest` | 400K | | | | | | $5 | $30 |
289
- | `kilo/openai/gpt-oss-120b` | 131K | | | | | | $0.03 | $0.17 |
289
+ | `kilo/openai/gpt-oss-120b` | 131K | | | | | | $0.03 | $0.15 |
290
290
  | `kilo/openai/gpt-oss-20b` | 131K | | | | | | $0.02 | $0.09 |
291
291
  | `kilo/openai/gpt-oss-safeguard-20b` | 131K | | | | | | $0.07 | $0.30 |
292
292
  | `kilo/openai/o1` | 200K | | | | | | $15 | $60 |
@@ -380,9 +380,9 @@ for await (const chunk of stream) {
380
380
  | `kilo/tencent/hy-mt2-1.8b` | 8K | | | | | | $0.04 | $0.18 |
381
381
  | `kilo/tencent/hy-mt2-30b-a3b` | 8K | | | | | | $0.07 | $0.29 |
382
382
  | `kilo/tencent/hy-mt2-7b` | 8K | | | | | | $0.07 | $0.29 |
383
- | `kilo/tencent/hy3` | 262K | | | | | | $0.08 | $0.33 |
383
+ | `kilo/tencent/hy3` | 262K | | | | | | $0.13 | $0.53 |
384
384
  | `kilo/tencent/hy3-preview` | 262K | | | | | | $0.18 | $0.60 |
385
- | `kilo/tencent/hy4-preview` | 1.0M | | | | | | $0.75 | $2 |
385
+ | `kilo/tencent/hy4-preview` | 1.0M | | | | | | $0.83 | $3 |
386
386
  | `kilo/thedrummer/cydonia-24b-v4.1` | 131K | | | | | | $0.30 | $0.50 |
387
387
  | `kilo/thedrummer/skyfall-36b-v2` | 33K | | | | | | $0.55 | $0.80 |
388
388
  | `kilo/thedrummer/unslopnemo-12b` | 1.0M | | | | | | $0.40 | $0.40 |
@@ -4,7 +4,7 @@
4
4
 
5
5
  # ![LLM Gateway logo](https://models.dev/logos/llmgateway-providers.svg)LLM Gateway
6
6
 
7
- Access 452 LLM Gateway models through Mastra's model router. Authentication is handled automatically using the `LLMGATEWAY_API_KEY` environment variable.
7
+ Access 446 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
 
@@ -46,23 +46,17 @@ for await (const chunk of stream) {
46
46
  | `llmgateway-providers/alibaba/glm-5.3` | 1.0M | | | | | | $1 | $4 |
47
47
  | `llmgateway-providers/alibaba/kimi-k2.5` | 262K | | | | | | $0.57 | $3 |
48
48
  | `llmgateway-providers/alibaba/kimi-k3` | 1.0M | | | | | | $3 | $15 |
49
- | `llmgateway-providers/alibaba/qwen-coder-plus` | 131K | | | | | | $0.50 | $1 |
50
49
  | `llmgateway-providers/alibaba/qwen-flash` | 1.0M | | | | | | $0.05 | $0.40 |
51
50
  | `llmgateway-providers/alibaba/qwen-max` | 33K | | | | | | $2 | $6 |
52
- | `llmgateway-providers/alibaba/qwen-omni-turbo` | 33K | | | | | | $0.20 | $0.80 |
53
51
  | `llmgateway-providers/alibaba/qwen-plus` | 131K | | | | | | $0.40 | $1 |
54
52
  | `llmgateway-providers/alibaba/qwen-plus-latest` | 1.0M | | | | | | $0.40 | $1 |
55
53
  | `llmgateway-providers/alibaba/qwen3-coder-flash` | 998K | | | | | | $0.30 | $2 |
56
- | `llmgateway-providers/alibaba/qwen3-coder-plus` | 1.0M | | | | | | $1 | $5 |
57
- | `llmgateway-providers/alibaba/qwen3-max` | 256K | | | | | | $1 | $6 |
58
- | `llmgateway-providers/alibaba/qwen3-vl-flash` | 262K | | | | | | $0.05 | $0.40 |
59
54
  | `llmgateway-providers/alibaba/qwen3-vl-plus` | 262K | | | | | | $0.20 | $2 |
60
55
  | `llmgateway-providers/alibaba/qwen3.5-122b-a10b` | 262K | | | | | | $0.40 | $3 |
61
56
  | `llmgateway-providers/alibaba/qwen3.5-27b` | 262K | | | | | | $0.30 | $2 |
62
57
  | `llmgateway-providers/alibaba/qwen3.5-35b-a3b` | 262K | | | | | | $0.25 | $2 |
63
58
  | `llmgateway-providers/alibaba/qwen3.6-35b-a3b` | 262K | | | | | | $0.38 | $2 |
64
59
  | `llmgateway-providers/alibaba/qwen3.6-flash` | 984K | | | | | | $0.25 | $2 |
65
- | `llmgateway-providers/alibaba/qwen3.6-max-preview` | 262K | | | | | | $1 | $8 |
66
60
  | `llmgateway-providers/alibaba/qwen3.6-plus` | 984K | | | | | | $0.50 | $3 |
67
61
  | `llmgateway-providers/alibaba/qwen3.7-flash` | 984K | | | | | | $0.03 | $0.13 |
68
62
  | `llmgateway-providers/alibaba/qwen3.7-max` | 984K | | | | | | $3 | $8 |
@@ -4,7 +4,7 @@
4
4
 
5
5
  # ![DevPass (LLM Gateway) logo](https://models.dev/logos/llmgateway.svg)DevPass (LLM Gateway)
6
6
 
7
- Access 219 DevPass (LLM Gateway) models through Mastra's model router. Authentication is handled automatically using the `LLMGATEWAY_API_KEY` environment variable.
7
+ Access 214 DevPass (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 [DevPass (LLM Gateway) documentation](https://llmgateway.io/docs).
10
10
 
@@ -206,10 +206,8 @@ for await (const chunk of stream) {
206
206
  | `llmgateway/o3` | 200K | | | | | | $2 | $8 |
207
207
  | `llmgateway/o3-mini` | 200K | | | | | | $1 | $4 |
208
208
  | `llmgateway/o4-mini` | 200K | | | | | | $1 | $4 |
209
- | `llmgateway/qwen-coder-plus` | 131K | | | | | | $0.50 | $1 |
210
209
  | `llmgateway/qwen-flash` | 1.0M | | | | | | $0.05 | $0.40 |
211
210
  | `llmgateway/qwen-max` | 33K | | | | | | $2 | $6 |
212
- | `llmgateway/qwen-omni-turbo` | 33K | | | | | | $0.20 | $0.80 |
213
211
  | `llmgateway/qwen-plus` | 131K | | | | | | $0.40 | $1 |
214
212
  | `llmgateway/qwen-plus-latest` | 1.0M | | | | | | $0.40 | $1 |
215
213
  | `llmgateway/qwen3-235b-a22b-fp8` | 41K | | | | | | $0.20 | $0.80 |
@@ -220,14 +218,12 @@ for await (const chunk of stream) {
220
218
  | `llmgateway/qwen3-coder-480b-a35b-instruct` | 262K | | | | | | $0.38 | $2 |
221
219
  | `llmgateway/qwen3-coder-flash` | 998K | | | | | | $0.30 | $2 |
222
220
  | `llmgateway/qwen3-coder-next` | 262K | | | | | | $0.11 | $0.68 |
223
- | `llmgateway/qwen3-coder-plus` | 1.0M | | | | | | $1 | $5 |
224
221
  | `llmgateway/qwen3-max` | 262K | | | | | | $0.84 | $3 |
225
222
  | `llmgateway/qwen3-next-80b-a3b-instruct` | 131K | | | | | | $0.15 | $1 |
226
223
  | `llmgateway/qwen3-next-80b-a3b-thinking` | 131K | | | | | | $0.15 | $1 |
227
224
  | `llmgateway/qwen3-vl-235b-a22b-instruct` | 262K | | | | | | $0.20 | $0.88 |
228
225
  | `llmgateway/qwen3-vl-235b-a22b-thinking` | 131K | | | | | | $0.98 | $4 |
229
226
  | `llmgateway/qwen3-vl-30b-a3b-instruct` | 262K | | | | | | $0.15 | $0.60 |
230
- | `llmgateway/qwen3-vl-flash` | 262K | | | | | | $0.05 | $0.40 |
231
227
  | `llmgateway/qwen3-vl-plus` | 262K | | | | | | $0.20 | $2 |
232
228
  | `llmgateway/qwen3.5-122b-a10b` | 262K | | | | | | $0.40 | $3 |
233
229
  | `llmgateway/qwen3.5-27b` | 262K | | | | | | $0.30 | $2 |
@@ -235,7 +231,6 @@ for await (const chunk of stream) {
235
231
  | `llmgateway/qwen3.5-9b` | 262K | | | | | | $0.10 | $0.15 |
236
232
  | `llmgateway/qwen3.6-35b-a3b` | 262K | | | | | | $0.25 | $1 |
237
233
  | `llmgateway/qwen3.6-flash` | 984K | | | | | | $0.25 | $2 |
238
- | `llmgateway/qwen3.6-max-preview` | 262K | | | | | | $1 | $8 |
239
234
  | `llmgateway/qwen3.6-plus` | 984K | | | | | | $0.50 | $3 |
240
235
  | `llmgateway/qwen3.7-flash` | 984K | | | | | | $0.03 | $0.13 |
241
236
  | `llmgateway/qwen3.7-max` | 1.0M | | | | | | $1 | $4 |
@@ -324,6 +324,32 @@ interface InngestAgentStreamResult<OUTPUT = undefined> {
324
324
 
325
325
  **cleanup** (`() => void`): Unsubscribes from PubSub and clears registry entries for the run. Call it when done with the run.
326
326
 
327
+ ## Event size limit
328
+
329
+ Inngest Realtime caps each message at about 512 KB. The default `InngestPubSub` keeps every stream event under 480 KB:
330
+
331
+ - An oversized `finish` event is sent without `output.steps`. The final text, usage, and finish reason still arrive, but `steps`, `toolCalls`, and `toolResults` on the stream result are empty for that run.
332
+ - Any other oversized event, such as a `tool-result` chunk carrying a large tool result, is replaced with a `data-oversized-event` chunk. Its `data` holds the original `eventType`, `chunkType`, `bytes`, and `limit`. The chunk is transient, so it isn't saved to memory.
333
+
334
+ Both cases log a warning. Only the live stream is reduced: messages saved to memory and the run's workflow snapshot keep the full data.
335
+
336
+ To avoid the limit:
337
+
338
+ - Return small tool results, such as an ID or summary, and fetch large data separately.
339
+ - Read full results from memory or the workflow run after the stream finishes.
340
+ - Pass a `pubsub` without the limit, such as [`RedisStreamsPubSub`](https://mastra.ai/reference/pubsub/redis-streams):
341
+
342
+ ```typescript
343
+ import { createInngestAgent } from '@mastra/inngest'
344
+ import { RedisStreamsPubSub } from '@mastra/redis-streams'
345
+
346
+ const durableAgent = createInngestAgent({
347
+ agent,
348
+ inngest,
349
+ pubsub: new RedisStreamsPubSub({ url: 'redis://localhost:6379' }),
350
+ })
351
+ ```
352
+
327
353
  ## Serving Inngest functions
328
354
 
329
355
  The `@mastra/inngest` package provides `serve()` and `createServe()` to register Inngest workflow functions with your HTTP framework.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/mcp-docs-server",
3
- "version": "1.3.6-alpha.12",
3
+ "version": "1.3.6-alpha.14",
4
4
  "description": "MCP server for accessing Mastra.ai documentation, changelogs, and news.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -26,7 +26,7 @@
26
26
  "@mastra/mcp-legacy": "npm:@mastra/mcp@^1.18.0",
27
27
  "local-pkg": "^1.1.2",
28
28
  "zod": "^4.6.4",
29
- "@mastra/core": "1.76.0-alpha.6",
29
+ "@mastra/core": "1.76.0-alpha.7",
30
30
  "@mastra/mcp": "^2.3.0-alpha.1"
31
31
  },
32
32
  "devDependencies": {
@@ -43,9 +43,9 @@
43
43
  "tsx": "^4.23.1",
44
44
  "typescript": "^7.0.2",
45
45
  "vitest": "4.1.11",
46
- "@internal/types-builder": "0.0.116",
47
- "@mastra/core": "1.76.0-alpha.6",
48
- "@internal/lint": "0.0.141"
46
+ "@internal/lint": "0.0.141",
47
+ "@mastra/core": "1.76.0-alpha.7",
48
+ "@internal/types-builder": "0.0.116"
49
49
  },
50
50
  "homepage": "https://mastra.ai",
51
51
  "repository": {