@mastra/mcp-docs-server 1.3.6-alpha.3 → 1.3.6-alpha.5

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.
Files changed (61) hide show
  1. package/.docs/docs/observability/tracing/overview.md +1 -1
  2. package/.docs/docs/workflows/time-travel.md +5 -3
  3. package/.docs/integrations/deploy/temporal.md +23 -0
  4. package/.docs/models/embeddings.md +1 -1
  5. package/.docs/models/gateways/vercel.md +1 -2
  6. package/.docs/models/index.md +1 -1
  7. package/.docs/models/providers/crossmodel.md +2 -1
  8. package/.docs/models/providers/kilo.md +12 -11
  9. package/.docs/models/providers/llmgateway-providers.md +1 -2
  10. package/.docs/models/providers/nano-gpt.md +26 -26
  11. package/.docs/models/providers/ovhcloud.md +1 -2
  12. package/.docs/models/providers/requesty.md +4 -2
  13. package/.docs/models/providers/vivgrid.md +2 -1
  14. package/.docs/reference/ai-sdk/to-ai-sdk-v4-messages.md +3 -3
  15. package/.docs/reference/client-js/memory.md +1 -1
  16. package/.docs/reference/datasets/updateItem.md +10 -0
  17. package/.docs/reference/deployer/vercel.md +1 -1
  18. package/.docs/reference/deployer.md +7 -14
  19. package/.docs/reference/editor/blob-store-provider.md +2 -1
  20. package/.docs/reference/editor/browser-provider.md +3 -2
  21. package/.docs/reference/editor/filesystem-provider.md +2 -1
  22. package/.docs/reference/editor/sandbox-provider.md +2 -1
  23. package/.docs/reference/editor/storage-workspace-ref.md +27 -2
  24. package/.docs/reference/evals/answer-relevancy.md +4 -2
  25. package/.docs/reference/evals/answer-similarity.md +1 -1
  26. package/.docs/reference/evals/bias.md +3 -1
  27. package/.docs/reference/evals/content-similarity.md +1 -1
  28. package/.docs/reference/evals/context-recall.md +1 -1
  29. package/.docs/reference/evals/context-relevance.md +6 -6
  30. package/.docs/reference/evals/hallucination.md +7 -8
  31. package/.docs/reference/evals/keyword-coverage.md +4 -4
  32. package/.docs/reference/evals/noise-sensitivity.md +6 -6
  33. package/.docs/reference/evals/prompt-alignment.md +1 -1
  34. package/.docs/reference/evals/run-evals.md +1 -1
  35. package/.docs/reference/evals/scorer-utils.md +8 -8
  36. package/.docs/reference/evals/tone-consistency.md +23 -24
  37. package/.docs/reference/evals/tool-call-accuracy.md +19 -15
  38. package/.docs/reference/evals/toxicity.md +3 -1
  39. package/.docs/reference/logging/pino-logger.md +3 -3
  40. package/.docs/reference/memory/summarizeConversation.md +1 -1
  41. package/.docs/reference/migrations/ai-sdk-v4-to-v5.md +2 -2
  42. package/.docs/reference/migrations/upgrade-to-v1/mcp.md +2 -0
  43. package/.docs/reference/migrations/upgrade-to-v1/tools.md +1 -1
  44. package/.docs/reference/observability/tracing/configuration.md +10 -1
  45. package/.docs/reference/observability/tracing/instances.md +1 -1
  46. package/.docs/reference/observability/tracing/interfaces.md +1 -1
  47. package/.docs/reference/processors/batch-parts-processor.md +1 -1
  48. package/.docs/reference/processors/unicode-normalizer.md +1 -1
  49. package/.docs/reference/project-structure.md +11 -13
  50. package/.docs/reference/rag/chunk.md +2 -2
  51. package/.docs/reference/rag/chunking-and-embedding.md +1 -1
  52. package/.docs/reference/rag/database-config.md +14 -2
  53. package/.docs/reference/rag/document.md +7 -2
  54. package/.docs/reference/rag/extract-params.md +5 -5
  55. package/.docs/reference/rag/graph-rag-guide.md +1 -1
  56. package/.docs/reference/rag/rerank.md +5 -4
  57. package/.docs/reference/rag/rerankWithScorer.md +2 -2
  58. package/.docs/reference/rag/retrieval.md +7 -5
  59. package/.docs/reference/server/mastra-server.md +2 -2
  60. package/.docs/reference/workflows/run-methods/restart.md +6 -0
  61. package/package.json +3 -3
@@ -450,7 +450,7 @@ Span processors transform, filter, or enrich trace data before it's exported. Th
450
450
  You can create custom span processors by implementing the `SpanOutputProcessor` interface. Here's a basic example that converts all input text in spans to lowercase:
451
451
 
452
452
  ```ts
453
- import type { SpanOutputProcessor, AnySpan } from '@mastra/observability'
453
+ import type { SpanOutputProcessor, AnySpan } from '@mastra/core/observability'
454
454
 
455
455
  export class LowercaseInputProcessor implements SpanOutputProcessor {
456
456
  name = 'lowercase-processor'
@@ -104,7 +104,7 @@ const result = await run.timeTravel({
104
104
 
105
105
  The context object contains step results keyed by step ID. Each step result includes:
106
106
 
107
- - `status`: The step's execution status (`success`, `failed`, `suspended`)
107
+ - `status`: The step's execution status. Commonly `success`, `failed`, or `suspended`, but any workflow run status is accepted: `running`, `success`, `failed`, `tripwire`, `suspended`, `waiting`, `pending`, `canceled`, `bailed`, `paused`, or `skipped`
108
108
  - `payload`: The input data passed to the step
109
109
  - `output`: The step's output data (for successful steps)
110
110
  - `startedAt`: Timestamp when the step started
@@ -213,16 +213,18 @@ try {
213
213
 
214
214
  ### Invalid step ID
215
215
 
216
- Time travel throws if the target step doesn't exist in the workflow:
216
+ Time travel throws if the target step doesn't exist in the current workflow definition:
217
217
 
218
218
  ```typescript
219
219
  try {
220
220
  await run.timeTravel({ step: 'nonExistentStep' })
221
221
  } catch (error) {
222
- // "Time travel target step not found in execution graph: 'nonExistentStep'. Verify the step id/path."
222
+ // "Cannot time travel to step 'nonExistentStep': the step does not exist in the current execution graph. ..."
223
223
  }
224
224
  ```
225
225
 
226
+ The error also lists up to 10 of the step IDs recorded in the run's snapshot (with a count of any remaining IDs), and confirms that the stored snapshot wasn't modified. If the run has no recorded step results, the error reads `Time travel target step not found in execution graph: 'nonExistentStep'. Verify the step id/path.` instead.
227
+
226
228
  ### Invalid input data
227
229
 
228
230
  When `validateInputs` is enabled, time travel validates the input data against the step's schema:
@@ -71,6 +71,29 @@ export const { createWorkflow, createStep } = init({
71
71
 
72
72
  `loadClientConnectConfig()` reads standard Temporal environment variables such as `TEMPORAL_ADDRESS`, `TEMPORAL_NAMESPACE`, and mTLS settings. See the [Temporal envconfig docs](https://docs.temporal.io/develop/typescript/temporal-clients) for the full list.
73
73
 
74
+ ### Configure activity retries
75
+
76
+ Pass `retry` to `init()` to set a Temporal activity retry policy for workflows created by these helpers. For example, add the following options to the initialization above to limit a failing activity to five total attempts:
77
+
78
+ ```ts
79
+ export const { createWorkflow, createStep } = init({
80
+ client,
81
+ taskQueue: 'mastra',
82
+ startToCloseTimeout: '5 minutes',
83
+ retry: {
84
+ initialInterval: '5 seconds',
85
+ backoffCoefficient: 2,
86
+ maximumInterval: '5 minutes',
87
+ maximumAttempts: 5,
88
+ nonRetryableErrorTypes: ['ValidationError'],
89
+ },
90
+ })
91
+ ```
92
+
93
+ The policy applies to all generated activities, including steps, mappings, and conditions. Set `maximumAttempts: 1` to disable retries. Omitting `retry` preserves Temporal's default policy, which allows unlimited attempts. Mastra's workflow `retryConfig` doesn't configure Temporal activity retries.
94
+
95
+ Keep retry options in the statically analyzable `init()` configuration so the worker build can include them. Inline object literal spreads are supported. Spreads of variables or function results are skipped during activity option extraction, so `retry` and `startToCloseTimeout` inside those spreads aren't forwarded to the generated workflow. Provide these options directly in `init()` or in an inline object literal spread instead. Rebuild and restart the worker after changing the policy.
96
+
74
97
  ### Creating steps
75
98
 
76
99
  Define the individual steps that will compose your workflow. Each step becomes a Temporal activity.
@@ -242,7 +242,7 @@ await vectorStore.upsert(
242
242
  The model router provides full TypeScript autocomplete for embedding model IDs:
243
243
 
244
244
  ```typescript
245
- import type { EmbeddingModelId } from '@mastra/core'
245
+ import type { EmbeddingModelId } from '@mastra/core/llm'
246
246
 
247
247
  // Type-safe embedding model selection
248
248
  const modelId: EmbeddingModelId = 'openai/text-embedding-3-small'
@@ -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 407 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
 
@@ -152,7 +152,6 @@ ANTHROPIC_API_KEY=ant-...
152
152
  | `deepseek/deepseek-v4-pro` |
153
153
  | `deepseek/deepseek-v4-pro-0813` |
154
154
  | `deepseek/deepseek-v4.1-flash` |
155
- | `deepseek/deepseek-v4.1-flash-fast` |
156
155
  | `fireworks/ember-1` |
157
156
  | `fish-audio/s1` |
158
157
  | `fish-audio/s2-pro` |
@@ -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 7815 models from 213 providers through a single API.
7
+ Mastra provides a unified interface for working with LLMs across multiple providers, giving you access to 7817 models from 213 providers through a single API.
8
8
 
9
9
  ## Features
10
10
 
@@ -4,7 +4,7 @@
4
4
 
5
5
  # ![CrossModel logo](https://models.dev/logos/crossmodel.svg)CrossModel
6
6
 
7
- Access 68 CrossModel models through Mastra's model router. Authentication is handled automatically using the `CROSSMODEL_API_KEY` environment variable.
7
+ Access 69 CrossModel models through Mastra's model router. Authentication is handled automatically using the `CROSSMODEL_API_KEY` environment variable.
8
8
 
9
9
  Learn more in the [CrossModel documentation](https://www.crossmodel.ai/docs).
10
10
 
@@ -41,6 +41,7 @@ for await (const chunk of stream) {
41
41
  | `crossmodel/anthropic/claude-fable-5` | 1.0M | | | | | | $10 | $50 |
42
42
  | `crossmodel/anthropic/claude-fable-5-1` | 1.0M | | | | | | $10 | $50 |
43
43
  | `crossmodel/anthropic/claude-haiku-4-5` | 200K | | | | | | $1 | $5 |
44
+ | `crossmodel/anthropic/claude-haiku-5-5` | 1.0M | | | | | | $0.10 | $0.50 |
44
45
  | `crossmodel/anthropic/claude-opus-4-7` | 1.0M | | | | | | $5 | $25 |
45
46
  | `crossmodel/anthropic/claude-opus-4-8` | 1.0M | | | | | | $5 | $25 |
46
47
  | `crossmodel/anthropic/claude-opus-5` | 1.0M | | | | | | $5 | $25 |
@@ -4,7 +4,7 @@
4
4
 
5
5
  # ![Kilo Gateway logo](https://models.dev/logos/kilo.svg)Kilo Gateway
6
6
 
7
- Access 396 Kilo Gateway models through Mastra's model router. Authentication is handled automatically using the `KILO_API_KEY` environment variable.
7
+ Access 397 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
 
@@ -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.80 |
46
- | `kilo/~deepseek/deepseek-pro-latest` | 1.0M | | | | | | $0.29 | $4 |
47
- | `kilo/~deepseek/deepseek-v4-flash-latest` | 1.0M | | | | | | $0.02 | $1 |
45
+ | `kilo/~deepseek/deepseek-flash-latest` | 1.0M | | | | | | $0.04 | $1 |
46
+ | `kilo/~deepseek/deepseek-pro-latest` | 1.0M | | | | | | $0.11 | $8 |
47
+ | `kilo/~deepseek/deepseek-v4-flash-latest` | 1.0M | | | | | | $0.01 | $0.39 |
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.49 | $13 |
50
+ | `kilo/~moonshotai/kimi-latest` | 1.0M | | | | | | $0.45 | $13 |
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.04 | $0.50 |
58
- | `kilo/~z-ai/glm-latest` | 1.0M | | | | | | $0.05 | $6 |
57
+ | `kilo/~z-ai/glm-flash-latest` | 1.0M | | | | | | $0.03 | $3 |
58
+ | `kilo/~z-ai/glm-latest` | 1.0M | | | | | | $0.04 | $12 |
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 |
@@ -325,7 +325,7 @@ for await (const chunk of stream) {
325
325
  | `kilo/qwen/qwen3-235b-a22b-2507` | 262K | | | | | | $0.15 | $0.60 |
326
326
  | `kilo/qwen/qwen3-235b-a22b-thinking-2507` | 131K | | | | | | $0.23 | $2 |
327
327
  | `kilo/qwen/qwen3-30b-a3b` | 41K | | | | | | $0.13 | $0.52 |
328
- | `kilo/qwen/qwen3-30b-a3b-instruct-2507` | 262K | | | | | | $0.13 | $0.52 |
328
+ | `kilo/qwen/qwen3-30b-a3b-instruct-2507` | 128K | | | | | | $0.13 | $0.52 |
329
329
  | `kilo/qwen/qwen3-30b-a3b-thinking-2507` | 82K | | | | | | $0.20 | $2 |
330
330
  | `kilo/qwen/qwen3-32b` | 41K | | | | | | $0.08 | $0.28 |
331
331
  | `kilo/qwen/qwen3-8b` | 131K | | | | | | $0.12 | $0.46 |
@@ -336,7 +336,7 @@ for await (const chunk of stream) {
336
336
  | `kilo/qwen/qwen3-coder-plus` | 1.0M | | | | | | $0.65 | $3 |
337
337
  | `kilo/qwen/qwen3-max` | 262K | | | | | | $0.78 | $4 |
338
338
  | `kilo/qwen/qwen3-max-thinking` | 262K | | | | | | $0.78 | $4 |
339
- | `kilo/qwen/qwen3-next-80b-a3b-instruct` | 262K | | | | | | $0.10 | $0.78 |
339
+ | `kilo/qwen/qwen3-next-80b-a3b-instruct` | 131K | | | | | | $0.10 | $0.78 |
340
340
  | `kilo/qwen/qwen3-next-80b-a3b-thinking` | 131K | | | | | | $0.15 | $1 |
341
341
  | `kilo/qwen/qwen3-vl-235b-a22b-instruct` | 131K | | | | | | $0.26 | $1 |
342
342
  | `kilo/qwen/qwen3-vl-235b-a22b-thinking` | 131K | | | | | | $0.40 | $4 |
@@ -382,6 +382,7 @@ for await (const chunk of stream) {
382
382
  | `kilo/stealth/claude-opus-4.7` | 1.0M | | | | | | $4 | $20 |
383
383
  | `kilo/stealth/claude-opus-4.8` | 1.0M | | | | | | $4 | $20 |
384
384
  | `kilo/stealth/claude-sonnet-4.6` | 1.0M | | | | | | $2 | $12 |
385
+ | `kilo/stealth/glyph-cluster` | 256K | | | | | | — | — |
385
386
  | `kilo/stealth/qwen3.6-plus` | 1.0M | | | | | | $0.25 | $2 |
386
387
  | `kilo/stepfun/step-3.5-flash` | 262K | | | | | | $0.10 | $0.30 |
387
388
  | `kilo/stepfun/step-3.7-flash` | 256K | | | | | | $0.20 | $1 |
@@ -390,9 +391,9 @@ for await (const chunk of stream) {
390
391
  | `kilo/tencent/hy-mt2-1.8b` | 8K | | | | | | $0.04 | $0.18 |
391
392
  | `kilo/tencent/hy-mt2-30b-a3b` | 8K | | | | | | $0.07 | $0.29 |
392
393
  | `kilo/tencent/hy-mt2-7b` | 8K | | | | | | $0.07 | $0.29 |
393
- | `kilo/tencent/hy3` | 262K | | | | | | $0.08 | $0.33 |
394
+ | `kilo/tencent/hy3` | 262K | | | | | | $0.13 | $0.53 |
394
395
  | `kilo/tencent/hy3-preview` | 262K | | | | | | $0.18 | $0.60 |
395
- | `kilo/tencent/hy4-preview` | 1.0M | | | | | | $0.75 | $2 |
396
+ | `kilo/tencent/hy4-preview` | 1.0M | | | | | | $0.83 | $3 |
396
397
  | `kilo/thedrummer/cydonia-24b-v4.1` | 131K | | | | | | $0.30 | $0.50 |
397
398
  | `kilo/thedrummer/skyfall-36b-v2` | 33K | | | | | | $0.55 | $0.80 |
398
399
  | `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 447 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
 
@@ -198,7 +198,6 @@ for await (const chunk of stream) {
198
198
  | `llmgateway-providers/deepinfra/gemma-4-26b-a4b-it` | 262K | | | | | | $0.07 | $0.34 |
199
199
  | `llmgateway-providers/deepinfra/gemma-4-31b-it` | 262K | | | | | | $0.20 | $0.40 |
200
200
  | `llmgateway-providers/deepinfra/granite-4.2-8b` | 131K | | | | | | $0.06 | $0.25 |
201
- | `llmgateway-providers/deepinfra/hy3` | 262K | | | | | | $0.14 | $0.58 |
202
201
  | `llmgateway-providers/deepinfra/inkling` | 524K | | | | | | $0.95 | $4 |
203
202
  | `llmgateway-providers/deepinfra/ling-3.0-flash` | 262K | | | | | | $0.06 | $0.18 |
204
203
  | `llmgateway-providers/deepinfra/ling-3.0-flash-vl` | 131K | | | | | | $0.06 | $0.18 |
@@ -60,7 +60,7 @@ for await (const chunk of stream) {
60
60
  | `nano-gpt/anthropic/claude-haiku-4.5` | 200K | | | | | | $1 | $5 |
61
61
  | `nano-gpt/anthropic/claude-haiku-4.5:thinking` | 200K | | | | | | $1 | $5 |
62
62
  | `nano-gpt/anthropic/claude-haiku-5.5` | 1.0M | | | | | | $0.10 | $0.50 |
63
- | `nano-gpt/anthropic/claude-haiku-latest` | 200K | | | | | | $1 | $5 |
63
+ | `nano-gpt/anthropic/claude-haiku-latest` | 1.0M | | | | | | $0.10 | $0.50 |
64
64
  | `nano-gpt/anthropic/claude-opus-4.1` | 200K | | | | | | $15 | $75 |
65
65
  | `nano-gpt/anthropic/claude-opus-4.1:thinking` | 200K | | | | | | $15 | $75 |
66
66
  | `nano-gpt/anthropic/claude-opus-4.1:thinking:1024` | 200K | | | | | | $15 | $75 |
@@ -109,9 +109,9 @@ for await (const chunk of stream) {
109
109
  | `nano-gpt/bytedance/doubao-seed-2.1-turbo` | 256K | | | | | | $0.50 | $3 |
110
110
  | `nano-gpt/bytedance/doubao-seed-character` | 128K | | | | | | $0.12 | $0.29 |
111
111
  | `nano-gpt/celeris-1` | 8K | | | | | | $2 | $6 |
112
- | `nano-gpt/claw-high` | 1.0M | | | | | | $1 | $3 |
113
- | `nano-gpt/claw-low` | 1.0M | | | | | | $1 | $3 |
114
- | `nano-gpt/claw-medium` | 1.0M | | | | | | $1 | $3 |
112
+ | `nano-gpt/claw-high` | 1.0M | | | | | | $0.70 | $2 |
113
+ | `nano-gpt/claw-low` | 1.0M | | | | | | $0.70 | $2 |
114
+ | `nano-gpt/claw-medium` | 1.0M | | | | | | $0.70 | $2 |
115
115
  | `nano-gpt/cohere/command-r-plus-08-2024` | 128K | | | | | | $3 | $14 |
116
116
  | `nano-gpt/command-a-reasoning-08-2025` | 256K | | | | | | $3 | $10 |
117
117
  | `nano-gpt/deepcogito/cogito-v1-preview-qwen-32B` | 128K | | | | | | $2 | $2 |
@@ -246,9 +246,9 @@ for await (const chunk of stream) {
246
246
  | `nano-gpt/google/gemma4-31b-splituntied` | 262K | | | | | | $0.10 | $0.30 |
247
247
  | `nano-gpt/Gryphe/MythoMax-L2-13b` | 4K | | | | | | $0.10 | $0.10 |
248
248
  | `nano-gpt/heabsy/cyberheabsy` | 1.0M | | | | | | $2 | $5 |
249
- | `nano-gpt/hermes-high` | 1.0M | | | | | | $1 | $3 |
250
- | `nano-gpt/hermes-low` | 1.0M | | | | | | $1 | $3 |
251
- | `nano-gpt/hermes-medium` | 1.0M | | | | | | $1 | $3 |
249
+ | `nano-gpt/hermes-high` | 1.0M | | | | | | $0.70 | $2 |
250
+ | `nano-gpt/hermes-low` | 1.0M | | | | | | $0.70 | $2 |
251
+ | `nano-gpt/hermes-medium` | 1.0M | | | | | | $0.70 | $2 |
252
252
  | `nano-gpt/holo3-35b-a3b` | 66K | | | | | | $0.25 | $2 |
253
253
  | `nano-gpt/holo3-35b-a3b:thinking` | 66K | | | | | | $0.25 | $2 |
254
254
  | `nano-gpt/huihui-ai/DeepSeek-R1-Distill-Llama-70B-abliterated` | 16K | | | | | | $0.70 | $0.70 |
@@ -331,10 +331,10 @@ for await (const chunk of stream) {
331
331
  | `nano-gpt/moonshotai/kimi-k2-instruct-0711` | 128K | | | | | | $0.40 | $2 |
332
332
  | `nano-gpt/moonshotai/Kimi-K2-Instruct-0905` | 262K | | | | | | $0.40 | $2 |
333
333
  | `nano-gpt/moonshotai/kimi-k2-thinking` | 262K | | | | | | $0.60 | $3 |
334
- | `nano-gpt/moonshotai/kimi-k2.5` | 256K | | | | | | $0.30 | $2 |
335
- | `nano-gpt/moonshotai/kimi-k2.5:thinking` | 256K | | | | | | $0.30 | $2 |
336
- | `nano-gpt/moonshotai/kimi-k2.6` | 256K | | | | | | $0.50 | $3 |
337
- | `nano-gpt/moonshotai/kimi-k2.6:thinking` | 256K | | | | | | $0.50 | $3 |
334
+ | `nano-gpt/moonshotai/kimi-k2.5` | 262K | | | | | | $0.30 | $2 |
335
+ | `nano-gpt/moonshotai/kimi-k2.5:thinking` | 262K | | | | | | $0.30 | $2 |
336
+ | `nano-gpt/moonshotai/kimi-k2.6` | 262K | | | | | | $0.50 | $3 |
337
+ | `nano-gpt/moonshotai/kimi-k2.6:thinking` | 262K | | | | | | $0.50 | $3 |
338
338
  | `nano-gpt/moonshotai/kimi-k2.7-code` | 262K | | | | | | $0.95 | $4 |
339
339
  | `nano-gpt/moonshotai/kimi-k2.7-code-highspeed` | 262K | | | | | | $2 | $8 |
340
340
  | `nano-gpt/moonshotai/kimi-k3` | 1.0M | | | | | | $2 | $10 |
@@ -404,7 +404,7 @@ for await (const chunk of stream) {
404
404
  | `nano-gpt/openai/gpt-latest` | 1.1M | | | | | | $10 | $50 |
405
405
  | `nano-gpt/openai/gpt-luna-latest` | 1.1M | | | | | | $0.10 | $0.50 |
406
406
  | `nano-gpt/openai/gpt-oss-120b` | 128K | | | | | | $0.35 | $0.75 |
407
- | `nano-gpt/openai/gpt-oss-20b` | 128K | | | | | | $0.20 | $0.30 |
407
+ | `nano-gpt/openai/gpt-oss-20b` | 131K | | | | | | $0.20 | $0.30 |
408
408
  | `nano-gpt/openai/gpt-oss-safeguard-20b` | 128K | | | | | | $0.07 | $0.30 |
409
409
  | `nano-gpt/openai/gpt-sol-latest` | 1.1M | | | | | | $2 | $10 |
410
410
  | `nano-gpt/openai/gpt-terra-latest` | 1.1M | | | | | | $2 | $12 |
@@ -453,23 +453,23 @@ for await (const chunk of stream) {
453
453
  | `nano-gpt/qwen/qwen3-next-80b-a3b-thinking` | 256K | | | | | | $0.15 | $0.65 |
454
454
  | `nano-gpt/qwen/qwen3-vl-235b-a22b-instruct` | 131K | | | | | | $0.30 | $2 |
455
455
  | `nano-gpt/qwen/qwen3-vl-235b-a22b-thinking` | 131K | | | | | | $0.50 | $6 |
456
- | `nano-gpt/qwen/qwen3.5-122b-a10b` | 131K | | | | | | $0.44 | $3 |
457
- | `nano-gpt/qwen/qwen3.5-122b-a10b:thinking` | 131K | | | | | | $0.44 | $3 |
456
+ | `nano-gpt/qwen/qwen3.5-122b-a10b` | 262K | | | | | | $0.44 | $3 |
457
+ | `nano-gpt/qwen/qwen3.5-122b-a10b:thinking` | 262K | | | | | | $0.44 | $3 |
458
458
  | `nano-gpt/qwen/qwen3.5-27b` | 260K | | | | | | $0.27 | $2 |
459
459
  | `nano-gpt/qwen/qwen3.5-27b:thinking` | 260K | | | | | | $0.27 | $2 |
460
460
  | `nano-gpt/qwen/qwen3.5-35b-a3b` | 260K | | | | | | $0.23 | $2 |
461
461
  | `nano-gpt/qwen/qwen3.5-35b-a3b:thinking` | 260K | | | | | | $0.23 | $2 |
462
- | `nano-gpt/qwen/qwen3.5-397b-a17b` | 258K | | | | | | $0.60 | $4 |
463
- | `nano-gpt/qwen/qwen3.5-397b-a17b:thinking` | 258K | | | | | | $0.60 | $4 |
464
- | `nano-gpt/qwen/qwen3.5-9b` | 256K | | | | | | $0.05 | $0.15 |
462
+ | `nano-gpt/qwen/qwen3.5-397b-a17b` | 262K | | | | | | $0.60 | $4 |
463
+ | `nano-gpt/qwen/qwen3.5-397b-a17b:thinking` | 262K | | | | | | $0.60 | $4 |
464
+ | `nano-gpt/qwen/qwen3.5-9b` | 262K | | | | | | $0.05 | $0.15 |
465
465
  | `nano-gpt/qwen/qwen3.5-flash` | 992K | | | | | | $0.10 | $0.40 |
466
466
  | `nano-gpt/qwen/qwen3.5-flash:thinking` | 992K | | | | | | $0.10 | $0.40 |
467
467
  | `nano-gpt/qwen/qwen3.5-omni-flash` | 49K | | | | | | — | — |
468
468
  | `nano-gpt/qwen/qwen3.5-omni-plus` | 984K | | | | | | — | — |
469
469
  | `nano-gpt/qwen/qwen3.5-plus` | 984K | | | | | | $0.40 | $2 |
470
470
  | `nano-gpt/qwen/qwen3.5-plus:thinking` | 984K | | | | | | $0.40 | $2 |
471
- | `nano-gpt/qwen/qwen3.6-27b` | 260K | | | | | | $0.20 | $2 |
472
- | `nano-gpt/qwen/qwen3.6-27b:thinking` | 260K | | | | | | $0.20 | $2 |
471
+ | `nano-gpt/qwen/qwen3.6-27b` | 262K | | | | | | $0.20 | $2 |
472
+ | `nano-gpt/qwen/qwen3.6-27b:thinking` | 262K | | | | | | $0.20 | $2 |
473
473
  | `nano-gpt/qwen/qwen3.6-35b-a3b` | 262K | | | | | | $0.11 | $0.80 |
474
474
  | `nano-gpt/qwen/qwen3.6-35b-a3b:thinking` | 262K | | | | | | $0.11 | $0.80 |
475
475
  | `nano-gpt/qwen/qwen3.6-flash` | 992K | | | | | | $0.19 | $1 |
@@ -481,7 +481,7 @@ for await (const chunk of stream) {
481
481
  | `nano-gpt/qwen/qwen3.7-max:thinking` | 1.0M | | | | | | $3 | $8 |
482
482
  | `nano-gpt/qwen/qwen3.7-plus` | 992K | | | | | | $0.40 | $2 |
483
483
  | `nano-gpt/qwen/qwen3.7-plus:thinking` | 984K | | | | | | $0.40 | $2 |
484
- | `nano-gpt/qwen/qwen3.8-27b` | 262K | | | | | | $0.15 | $0.70 |
484
+ | `nano-gpt/qwen/qwen3.8-27b` | 1.0M | | | | | | $0.15 | $0.70 |
485
485
  | `nano-gpt/qwen/qwen3.8-27b-antislop` | 262K | | | | | | $0.10 | $0.60 |
486
486
  | `nano-gpt/qwen/qwen3.8-27b-cybersecurity` | 262K | | | | | | $0.10 | $0.60 |
487
487
  | `nano-gpt/qwen/qwen3.8-27b-darkidol` | 262K | | | | | | $0.10 | $0.60 |
@@ -496,9 +496,9 @@ for await (const chunk of stream) {
496
496
  | `nano-gpt/qwen/qwen3.8-27b-queen` | 524K | | | | | | $0.25 | $2 |
497
497
  | `nano-gpt/qwen/qwen3.8-27b-swift` | 262K | | | | | | $0.10 | $0.60 |
498
498
  | `nano-gpt/qwen/qwen3.8-27b-synthia` | 262K | | | | | | $0.10 | $0.60 |
499
- | `nano-gpt/qwen/qwen3.8-27b-uncensored` | 524K | | | | | | $0.15 | $1 |
500
- | `nano-gpt/qwen/qwen3.8-27b-uncensored:thinking` | 524K | | | | | | $0.15 | $1 |
501
- | `nano-gpt/qwen/qwen3.8-27b:thinking` | 262K | | | | | | $0.15 | $0.70 |
499
+ | `nano-gpt/qwen/qwen3.8-27b-uncensored` | 1.0M | | | | | | $0.15 | $1 |
500
+ | `nano-gpt/qwen/qwen3.8-27b-uncensored:thinking` | 1.0M | | | | | | $0.15 | $1 |
501
+ | `nano-gpt/qwen/qwen3.8-27b:thinking` | 1.0M | | | | | | $0.15 | $0.70 |
502
502
  | `nano-gpt/qwen/qwen3.8-flash` | 992K | | | | | | $0.14 | $0.42 |
503
503
  | `nano-gpt/qwen/qwen3.8-max` | 991K | | | | | | $2 | $6 |
504
504
  | `nano-gpt/qwen/qwen3.8-max-0902` | 992K | | | | | | $2 | $6 |
@@ -636,17 +636,17 @@ for await (const chunk of stream) {
636
636
  | `nano-gpt/z-ai/glm-5.1:thinking` | 200K | | | | | | $0.75 | $3 |
637
637
  | `nano-gpt/z-ai/glm-5.2` | 1.0M | | | | | | $0.42 | $1 |
638
638
  | `nano-gpt/z-ai/glm-5.2:thinking` | 1.0M | | | | | | $0.42 | $1 |
639
- | `nano-gpt/z-ai/glm-5.3` | 1.0M | | | | | | $1 | $3 |
639
+ | `nano-gpt/z-ai/glm-5.3` | 1.0M | | | | | | $0.70 | $2 |
640
640
  | `nano-gpt/z-ai/glm-5.3-flash` | 1.0M | | | | | | $0.10 | $0.30 |
641
641
  | `nano-gpt/z-ai/glm-5.3-flash-apex` | 1.0M | | | | | | $0.15 | $0.50 |
642
642
  | `nano-gpt/z-ai/glm-5.3-flash-apex-abliterated` | 1.0M | | | | | | $0.15 | $0.50 |
643
643
  | `nano-gpt/z-ai/glm-5.3-flash-cybersecurity` | 1.0M | | | | | | $0.15 | $0.50 |
644
644
  | `nano-gpt/z-ai/glm-5.3-flash-uncensored` | 1.0M | | | | | | $0.20 | $0.80 |
645
645
  | `nano-gpt/z-ai/glm-5.3-uncensored` | 1.0M | | | | | | $1 | $2 |
646
- | `nano-gpt/z-ai/glm-5.3:thinking` | 1.0M | | | | | | $1 | $3 |
646
+ | `nano-gpt/z-ai/glm-5.3:thinking` | 1.0M | | | | | | $0.70 | $2 |
647
647
  | `nano-gpt/z-ai/glm-5v-turbo` | 203K | | | | | | $1 | $4 |
648
648
  | `nano-gpt/z-ai/glm-5v-turbo:thinking` | 203K | | | | | | $1 | $4 |
649
- | `nano-gpt/z-ai/glm-latest` | 1.0M | | | | | | $1 | $3 |
649
+ | `nano-gpt/z-ai/glm-latest` | 1.0M | | | | | | $0.70 | $2 |
650
650
 
651
651
  Model availability, capabilities, context windows, and pricing are sourced from [models.dev](https://models.dev) and may change.
652
652
 
@@ -4,7 +4,7 @@
4
4
 
5
5
  # ![OVHcloud AI Endpoints logo](https://models.dev/logos/ovhcloud.svg)OVHcloud AI Endpoints
6
6
 
7
- Access 14 OVHcloud AI Endpoints models through Mastra's model router. Authentication is handled automatically using the `OVHCLOUD_API_KEY` environment variable.
7
+ Access 13 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
 
@@ -45,7 +45,6 @@ for await (const chunk of stream) {
45
45
  | `ovhcloud/mistral-nemo-instruct-2407` | 66K | | | | | | $0.14 | $0.14 |
46
46
  | `ovhcloud/mistral-small-3.2-24b-instruct-2506` | 131K | | | | | | $0.10 | $0.31 |
47
47
  | `ovhcloud/qwen2.5-vl-72b-instruct` | 33K | | | | | | $1 | $1 |
48
- | `ovhcloud/qwen3-coder-30b-a3b-instruct` | 262K | | | | | | $0.07 | $0.26 |
49
48
  | `ovhcloud/qwen3.5-397b-a17b` | 262K | | | | | | $0.71 | $4 |
50
49
  | `ovhcloud/qwen3.5-9b` | 262K | | | | | | $0.12 | $0.18 |
51
50
  | `ovhcloud/qwen3.6-27b` | 262K | | | | | | $0.47 | $3 |
@@ -4,7 +4,7 @@
4
4
 
5
5
  # ![Requesty logo](https://models.dev/logos/requesty.svg)Requesty
6
6
 
7
- Access 168 Requesty models through Mastra's model router. Authentication is handled automatically using the `REQUESTY_API_KEY` environment variable.
7
+ Access 170 Requesty models through Mastra's model router. Authentication is handled automatically using the `REQUESTY_API_KEY` environment variable.
8
8
 
9
9
  Learn more in the [Requesty documentation](https://requesty.ai/solution/llm-routing/models).
10
10
 
@@ -38,12 +38,14 @@ for await (const chunk of stream) {
38
38
 
39
39
  | Model | Context | Tools | Reasoning | Image | Audio | Video | Input $/1M | Output $/1M |
40
40
  | ------------------------------------------------- | ------- | ----- | --------- | ----- | ----- | ----- | ---------- | ----------- |
41
- | `requesty/claude-fable-5` | 1.0M | | | | | | $10 | $50 |
41
+ | `requesty/claude-fable-5` | 1.0M | | | | | | $11 | $55 |
42
42
  | `requesty/claude-fable-5.1` | 1.0M | | | | | | $10 | $50 |
43
43
  | `requesty/claude-fable-5.1@eu` | 1.0M | | | | | | $11 | $55 |
44
44
  | `requesty/claude-fable-5@eu` | 1.0M | | | | | | $11 | $55 |
45
45
  | `requesty/claude-haiku-4-5` | 200K | | | | | | $1 | $5 |
46
46
  | `requesty/claude-haiku-4-5@eu` | 200K | | | | | | $1 | $6 |
47
+ | `requesty/claude-haiku-5-5` | 1.0M | | | | | | $0.10 | $0.50 |
48
+ | `requesty/claude-haiku-5-5@eu` | 1.0M | | | | | | $0.11 | $0.55 |
47
49
  | `requesty/claude-opus-4-1` | 200K | | | | | | $15 | $75 |
48
50
  | `requesty/claude-opus-4-5` | 200K | | | | | | $5 | $25 |
49
51
  | `requesty/claude-opus-4-5@eu` | 200K | | | | | | $6 | $28 |
@@ -4,7 +4,7 @@
4
4
 
5
5
  # ![Vivgrid logo](https://models.dev/logos/vivgrid.svg)Vivgrid
6
6
 
7
- Access 36 Vivgrid models through Mastra's model router. Authentication is handled automatically using the `VIVGRID_API_KEY` environment variable.
7
+ Access 37 Vivgrid models through Mastra's model router. Authentication is handled automatically using the `VIVGRID_API_KEY` environment variable.
8
8
 
9
9
  Learn more in the [Vivgrid documentation](https://docs.vivgrid.com/models).
10
10
 
@@ -40,6 +40,7 @@ for await (const chunk of stream) {
40
40
  | --------------------------------------- | ------- | ----- | --------- | ----- | ----- | ----- | ---------- | ----------- |
41
41
  | `vivgrid/claude-fable-5` | 1.0M | | | | | | $10 | $50 |
42
42
  | `vivgrid/claude-fable-5-1` | 1.0M | | | | | | $10 | $50 |
43
+ | `vivgrid/claude-haiku-5-5` | 1.0M | | | | | | $0.10 | $0.50 |
43
44
  | `vivgrid/claude-opus-5` | 1.0M | | | | | | $5 | $25 |
44
45
  | `vivgrid/claude-opus-5-5` | 1.0M | | | | | | $4 | $20 |
45
46
  | `vivgrid/claude-sonnet-5` | 1.0M | | | | | | $2 | $10 |
@@ -9,7 +9,7 @@ Converts messages from input formats to AI SDK V4 UI message format. This functi
9
9
  ## Usage example
10
10
 
11
11
  ```typescript
12
- import { toAISdkV4Messages } from '@mastra/ai-sdk'
12
+ import { toAISdkV4Messages } from '@mastra/ai-sdk/ui'
13
13
  import { useChat } from 'ai/react' // AI SDK V4
14
14
 
15
15
  // Stored messages from your database, memory or API
@@ -64,7 +64,7 @@ Returns an array of AI SDK V4 `UIMessage` objects with the following structure:
64
64
  ### Converting text messages
65
65
 
66
66
  ```typescript
67
- import { toAISdkV4Messages } from '@mastra/ai-sdk'
67
+ import { toAISdkV4Messages } from '@mastra/ai-sdk/ui'
68
68
 
69
69
  const messages = toAISdkV4Messages(['Hello', 'How can I help you today?'])
70
70
  // Returns array of UIMessage objects with user role and content string
@@ -74,7 +74,7 @@ const messages = toAISdkV4Messages(['Hello', 'How can I help you today?'])
74
74
 
75
75
  ```typescript
76
76
  import { MastraClient } from '@mastra/client-js'
77
- import { toAISdkV4Messages } from '@mastra/ai-sdk'
77
+ import { toAISdkV4Messages } from '@mastra/ai-sdk/ui'
78
78
 
79
79
  const client = new MastraClient()
80
80
 
@@ -204,7 +204,7 @@ const workingMemory = await mastraClient.getWorkingMemory({
204
204
 
205
205
  The response includes:
206
206
 
207
- - `workingMemory`: The current working memory content (string or null)
207
+ - `workingMemory`: The current working memory content (a string or `null`). When using a JSON or schema-based working memory template, the content is a JSON-encoded string
208
208
  - `source`: Whether the memory is from `"thread"` or `"resource"` scope
209
209
  - `workingMemoryTemplate`: The template used for working memory (if configured)
210
210
  - `threadExists`: Whether the thread exists
@@ -34,10 +34,20 @@ const updated = await dataset.updateItem({
34
34
 
35
35
  **groundTruth** (`unknown`): Updated ground truth.
36
36
 
37
+ **expectedTrajectory** (`unknown`): Updated expected trajectory for trajectory scorers.
38
+
39
+ **toolMocks** (`DatasetItemToolMock[]`): Updated static tool mocks used during experiments. Each mock has toolName, args, output, and an optional matchArgs ('strict' | 'ignore').
40
+
41
+ **unmockedToolPolicy** (`'allow' | 'deny'`): Overrides how the experiment handles tool calls that are not declared in toolMocks.
42
+
43
+ **requestContext** (`Record<string, unknown>`): Updated request context applied when the item runs.
44
+
37
45
  **scorerIds** (`string[] | null`): Scorer IDs that override dataset-attached scorers for this item. Use \[] to run no scorers, null to remove the override and restore dataset inheritance, or omit the field to preserve the current value.
38
46
 
39
47
  **metadata** (`Record<string, unknown>`): Updated metadata.
40
48
 
49
+ **source** (`{ type: 'csv' | 'json' | 'trace' | 'llm' | 'experiment-result' | 'candidate-screener'; referenceId?: string }`): Updated provenance of the item.
50
+
41
51
  ## Returns
42
52
 
43
53
  **result** (`Promise<DatasetItem>`): The updated dataset item. See dataset.addItem() for the item shape.
@@ -115,6 +115,6 @@ With `studio: true`:
115
115
  └── node_modules/
116
116
  ```
117
117
 
118
- When studio is enabled, the routing is configured so that `/api/*` requests are handled by the serverless function, static assets (JS, CSS) are served from Vercel's Edge CDN with no function invocations, and all other paths fall back to `index.html` for client-side routing.
118
+ When studio is enabled, the routing is configured so that `/` and the Studio routes listed in the Studio build's route manifest are served from `index.html` for client-side routing, and static assets (JS, CSS) are served from Vercel's Edge CDN with no function invocations. All other paths, including `/api/*` and custom routes registered with `registerApiRoute()`, are handled by the serverless function. Custom routes that fall under a Studio route (for example, `/agents/custom`) are served from `index.html` instead, so register custom routes outside Studio's route roots.
119
119
 
120
120
  This folder is generated during build and shouldn't be committed to version control.
@@ -44,7 +44,7 @@ class CustomDeployer extends Deployer {
44
44
 
45
45
  ## Methods
46
46
 
47
- **getEnvFiles** (`() => Promise<string[]>`): Returns a list of environment files to be used during deployment. By default, it looks for '.env.production' and '.env' files.
47
+ **getEnvFiles** (`() => Promise<string[]>`): Returns the environment files to be used during deployment. By default, it returns every existing file among '.env', '.env.local', and '.env.production', in that order (lowest to highest precedence).
48
48
 
49
49
  **deploy** (`(outputDirectory: string) => Promise<void>`): Abstract method that must be implemented by subclasses. Handles the deployment process to the specified output directory.
50
50
 
@@ -65,7 +65,7 @@ The Deployer class inherits the following key methods from the Bundler class:
65
65
  The Deployer abstract class implements a structured deployment lifecycle:
66
66
 
67
67
  1. **Initialization**: The deployer is initialized with a name and creates a Deps instance for dependency management.
68
- 2. **Environment Setup**: The `getEnvFiles` method identifies environment files (.env.production, .env) to be used during deployment.
68
+ 2. **Environment Setup**: The `getEnvFiles` method identifies the environment files (`.env`, `.env.local`, `.env.production`) to be used during deployment.
69
69
  3. **Preparation**: The `prepare` method (inherited from Bundler) cleans the output directory and creates necessary subdirectories.
70
70
  4. **Bundling**: The `_bundle` method (inherited from Bundler) packages the application code and its dependencies.
71
71
  5. **Deployment**: The abstract `deploy` method is implemented by subclasses to handle the actual deployment process.
@@ -74,23 +74,16 @@ The Deployer abstract class implements a structured deployment lifecycle:
74
74
 
75
75
  The Deployer class includes built-in support for environment file management through the `getEnvFiles` method. This method:
76
76
 
77
- - Looks for environment files in a predefined order (.env.production, .env)
78
- - Uses the FileService to find the first existing file
79
- - Returns an array of found environment files
77
+ - Looks for environment files in a predefined order, from lowest to highest precedence: `.env`, `.env.local`, `.env.production`
78
+ - Returns every file that exists, in that order, so values in later files override earlier ones
80
79
  - Returns an empty array if no environment files are found
81
80
 
82
81
  ```typescript
83
82
  getEnvFiles(): Promise<string[]> {
84
- const possibleFiles = ['.env.production', '.env.local', '.env'];
83
+ const possibleFiles = ['.env', '.env.local', '.env.production'];
84
+ const fileService = new FileService();
85
85
 
86
- try {
87
- const fileService = new FileService();
88
- const envFile = fileService.getFirstExistingFile(possibleFiles);
89
-
90
- return Promise.resolve([envFile]);
91
- } catch {}
92
-
93
- return Promise.resolve([]);
86
+ return Promise.resolve(fileService.getExistingFiles(possibleFiles));
94
87
  }
95
88
  ```
96
89
 
@@ -36,7 +36,8 @@ new MastraEditor({
36
36
  ## Implementing a provider
37
37
 
38
38
  ```typescript
39
- import type { BlobStore, BlobStoreProvider } from '@mastra/core/editor'
39
+ import type { BlobStoreProvider } from '@mastra/core/editor'
40
+ import type { BlobStore } from '@mastra/core/storage'
40
41
 
41
42
  export const myBlobStoreProvider: BlobStoreProvider<{ bucket: string; region: string }> = {
42
43
  id: 'my-blob-store',
@@ -31,12 +31,13 @@ new MastraEditor({
31
31
 
32
32
  **configSchema** (`Record<string, unknown>`): JSON Schema describing provider-specific configuration. Used by the UI to render config forms.
33
33
 
34
- **createBrowser** (`(config: TConfig) => MastraBrowser | Promise<MastraBrowser>`): Create a runtime MastraBrowser instance from the stored config. Called once per agent hydration; the resulting instance is cached alongside the agent.
34
+ **createBrowser** (`(config: TConfig) => MastraBrowser | Promise<MastraBrowser>`): Create a runtime MastraBrowser instance from the stored config. For a static browser config, it is called once per agent hydration and the resulting instance is cached alongside the agent.
35
35
 
36
36
  ## Implementing a provider
37
37
 
38
38
  ```typescript
39
- import type { BrowserProvider, MastraBrowser } from '@mastra/core/editor'
39
+ import type { BrowserProvider } from '@mastra/core/editor'
40
+ import type { MastraBrowser } from '@mastra/core/browser'
40
41
 
41
42
  export const myBrowserProvider: BrowserProvider<{ apiKey: string }> = {
42
43
  id: 'my-browser',
@@ -36,7 +36,8 @@ new MastraEditor({
36
36
  ## Implementing a provider
37
37
 
38
38
  ```typescript
39
- import type { FilesystemProvider, WorkspaceFilesystem } from '@mastra/core/editor'
39
+ import type { FilesystemProvider } from '@mastra/core/editor'
40
+ import type { WorkspaceFilesystem } from '@mastra/core/workspace'
40
41
 
41
42
  export const myFilesystemProvider: FilesystemProvider<{ bucket: string; region: string }> = {
42
43
  id: 'my-fs',
@@ -36,7 +36,8 @@ new MastraEditor({
36
36
  ## Implementing a provider
37
37
 
38
38
  ```typescript
39
- import type { SandboxProvider, WorkspaceSandbox } from '@mastra/core/editor'
39
+ import type { SandboxProvider } from '@mastra/core/editor'
40
+ import type { WorkspaceSandbox } from '@mastra/core/workspace'
40
41
 
41
42
  export const mySandboxProvider: SandboxProvider<{ apiKey: string }> = {
42
43
  id: 'my-sandbox',