@mastra/mcp-docs-server 1.3.15-alpha.1 → 1.3.15-alpha.3

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 (423) hide show
  1. package/.docs/docs/agents/guardrails.md +1 -1
  2. package/.docs/docs/agents/human-in-the-loop.md +2 -2
  3. package/.docs/docs/agents/networks.md +1 -1
  4. package/.docs/docs/agents/overview.md +2 -2
  5. package/.docs/docs/agents/processors.md +2 -2
  6. package/.docs/docs/agents/tools.md +3 -3
  7. package/.docs/docs/auth/composite-auth.md +1 -1
  8. package/.docs/docs/auth/custom-auth-provider.md +5 -5
  9. package/.docs/docs/auth/fga.md +1 -1
  10. package/.docs/docs/auth/jwt.md +2 -2
  11. package/.docs/docs/auth/simple-auth.md +1 -1
  12. package/.docs/docs/browser.md +1 -1
  13. package/.docs/docs/channels.md +2 -2
  14. package/.docs/docs/connections/sdk-agents.md +1 -1
  15. package/.docs/docs/deployment/overview.md +2 -2
  16. package/.docs/docs/deployment/web-framework.md +3 -3
  17. package/.docs/docs/develop.md +1 -1
  18. package/.docs/docs/evals/built-in-scorers.md +1 -1
  19. package/.docs/docs/evals/custom-scorers.md +8 -8
  20. package/.docs/docs/evals/overview.md +1 -1
  21. package/.docs/docs/evals/quick-checks.md +1 -1
  22. package/.docs/docs/guides/authentication-identity.md +1 -1
  23. package/.docs/docs/guides/context-engineering.md +1 -1
  24. package/.docs/docs/guides/multi-agent-systems.md +2 -2
  25. package/.docs/docs/harness/agent-controller.md +5 -3
  26. package/.docs/docs/harness/background-tasks.md +7 -1
  27. package/.docs/docs/harness/durable-agents.md +1 -1
  28. package/.docs/docs/index.md +2 -2
  29. package/.docs/docs/license.md +1 -1
  30. package/.docs/docs/mastra-platform/server.md +1 -1
  31. package/.docs/docs/mastra-platform/trace-intelligence.md +3 -3
  32. package/.docs/docs/mastra-platform/workspaces.md +1 -1
  33. package/.docs/docs/memory/memory-processors.md +2 -2
  34. package/.docs/docs/memory/message-history.md +1 -1
  35. package/.docs/docs/memory/multi-user-threads.md +1 -1
  36. package/.docs/docs/memory/observational-memory.md +3 -3
  37. package/.docs/docs/memory/semantic-recall.md +4 -4
  38. package/.docs/docs/memory/working-memory.md +16 -16
  39. package/.docs/docs/observability/integrations/exporters/mastra-storage.md +12 -12
  40. package/.docs/docs/observability/tracing/overview.md +4 -2
  41. package/.docs/docs/sandbox/filesystem.md +1 -1
  42. package/.docs/docs/server/custom-api-routes.md +1 -1
  43. package/.docs/docs/server/middleware.md +1 -1
  44. package/.docs/docs/server/request-context.md +1 -1
  45. package/.docs/docs/signals/overview.md +1 -1
  46. package/.docs/docs/signals/sending-signals.md +1 -1
  47. package/.docs/docs/studio/deployment.md +2 -2
  48. package/.docs/docs/studio/editor.md +2 -2
  49. package/.docs/docs/studio/observability.md +1 -1
  50. package/.docs/docs/workflows/control-flow.md +4 -4
  51. package/.docs/docs/workflows/overview.md +3 -3
  52. package/.docs/docs/workflows/snapshots.md +2 -2
  53. package/.docs/integrations/agentic-ui/ai-sdk-ui.md +3 -3
  54. package/.docs/integrations/agentic-ui/assistant-ui.md +5 -5
  55. package/.docs/integrations/agentic-ui/copilotkit.md +4 -4
  56. package/.docs/integrations/agentic-ui/openui.md +2 -2
  57. package/.docs/integrations/auth/auth0.md +3 -3
  58. package/.docs/integrations/auth/better-auth.md +1 -1
  59. package/.docs/integrations/auth/clerk.md +1 -1
  60. package/.docs/integrations/auth/firebase.md +3 -3
  61. package/.docs/integrations/auth/google.md +2 -2
  62. package/.docs/integrations/auth/okta.md +3 -3
  63. package/.docs/integrations/auth/supabase.md +1 -1
  64. package/.docs/integrations/auth/workos.md +1 -1
  65. package/.docs/integrations/browsers/stagehand.md +1 -1
  66. package/.docs/integrations/channels/imessage.md +1 -1
  67. package/.docs/integrations/channels/ring.md +6 -6
  68. package/.docs/integrations/channels/slack.md +1 -1
  69. package/.docs/integrations/channels/whatsapp.md +1 -1
  70. package/.docs/integrations/databases/aurora-dsql.md +13 -13
  71. package/.docs/integrations/databases/clickhouse.md +2 -2
  72. package/.docs/integrations/databases/cloudflare-d1.md +4 -4
  73. package/.docs/integrations/databases/cloudflare-kv.md +10 -10
  74. package/.docs/integrations/databases/convex.md +6 -6
  75. package/.docs/integrations/databases/dynamodb.md +8 -8
  76. package/.docs/integrations/databases/elasticsearch.md +6 -6
  77. package/.docs/integrations/databases/lancedb.md +4 -4
  78. package/.docs/integrations/databases/mongodb.md +2 -2
  79. package/.docs/integrations/databases/mssql.md +2 -2
  80. package/.docs/integrations/databases/oracledb.md +2 -2
  81. package/.docs/integrations/databases/postgresql.md +14 -14
  82. package/.docs/integrations/databases/redis.md +7 -7
  83. package/.docs/integrations/databases/spanner.md +2 -2
  84. package/.docs/integrations/databases/upstash.md +5 -5
  85. package/.docs/integrations/databases/valkey.md +1 -1
  86. package/.docs/integrations/deploy/amazon-ec2.md +1 -1
  87. package/.docs/integrations/deploy/aws-bedrock-agentcore.md +1 -1
  88. package/.docs/integrations/deploy/aws-lambda.md +12 -12
  89. package/.docs/integrations/deploy/azure-app-services.md +2 -2
  90. package/.docs/integrations/deploy/cloudflare.md +2 -2
  91. package/.docs/integrations/deploy/digital-ocean.md +2 -2
  92. package/.docs/integrations/deploy/inngest.md +5 -5
  93. package/.docs/integrations/deploy/kubernetes-helm.md +20 -20
  94. package/.docs/integrations/deploy/neon.md +1 -1
  95. package/.docs/integrations/deploy/netlify.md +1 -1
  96. package/.docs/integrations/deploy/render.md +1 -1
  97. package/.docs/integrations/deploy/temporal.md +1 -1
  98. package/.docs/integrations/deploy/vercel.md +4 -4
  99. package/.docs/integrations/file-storage/google-cloud-storage.md +1 -1
  100. package/.docs/integrations/frameworks/angular.md +1 -1
  101. package/.docs/integrations/frameworks/astro.md +3 -3
  102. package/.docs/integrations/frameworks/electron.md +1 -1
  103. package/.docs/integrations/frameworks/express.md +1 -1
  104. package/.docs/integrations/frameworks/hono.md +1 -1
  105. package/.docs/integrations/frameworks/nestjs.md +2 -2
  106. package/.docs/integrations/frameworks/next-js.md +3 -3
  107. package/.docs/integrations/frameworks/nuxt.md +1 -1
  108. package/.docs/integrations/frameworks/sveltekit.md +1 -1
  109. package/.docs/integrations/frameworks/tanstack-start.md +3 -3
  110. package/.docs/integrations/frameworks/vite-react.md +3 -3
  111. package/.docs/integrations/observability/arize.md +9 -9
  112. package/.docs/integrations/observability/arthur.md +3 -3
  113. package/.docs/integrations/observability/braintrust.md +3 -3
  114. package/.docs/integrations/observability/confident-ai.md +5 -5
  115. package/.docs/integrations/observability/datadog.md +9 -9
  116. package/.docs/integrations/observability/laminar.md +2 -2
  117. package/.docs/integrations/observability/langfuse.md +13 -13
  118. package/.docs/integrations/observability/langsmith.md +9 -9
  119. package/.docs/integrations/observability/opentelemetry.md +23 -23
  120. package/.docs/integrations/observability/sentry.md +4 -4
  121. package/.docs/integrations/sandboxes/agentcore.md +1 -1
  122. package/.docs/integrations/sandboxes/apple-container.md +2 -2
  123. package/.docs/integrations/sandboxes/cloudflare-sandbox.md +6 -6
  124. package/.docs/integrations/sandboxes/daytona.md +5 -5
  125. package/.docs/integrations/sandboxes/docker.md +6 -6
  126. package/.docs/integrations/sandboxes/e2b-desktop.md +1 -1
  127. package/.docs/integrations/sandboxes/e2b.md +14 -14
  128. package/.docs/integrations/sandboxes/modal.md +1 -1
  129. package/.docs/integrations/sandboxes/railway.md +1 -1
  130. package/.docs/integrations/sandboxes/sprites.md +2 -2
  131. package/.docs/integrations/sandboxes/vercel.md +4 -4
  132. package/.docs/integrations/vectors/couchbase.md +1 -1
  133. package/.docs/integrations/vectors/duckdb.md +5 -5
  134. package/.docs/integrations/vectors/lance.md +3 -3
  135. package/.docs/integrations/vectors/mongodb.md +5 -5
  136. package/.docs/integrations/vectors/pg.md +11 -11
  137. package/.docs/integrations/vectors/qdrant.md +2 -2
  138. package/.docs/integrations/vectors/upstash.md +4 -4
  139. package/.docs/integrations/voice/azure.md +1 -1
  140. package/.docs/integrations/voice/cloudflare.md +1 -1
  141. package/.docs/integrations/voice/google.md +12 -12
  142. package/.docs/integrations/voice/inworld.md +2 -2
  143. package/.docs/integrations/voice/livekit.md +25 -25
  144. package/.docs/integrations/voice/openai.md +4 -4
  145. package/.docs/integrations/voice/sarvam.md +1 -1
  146. package/.docs/integrations/voice/speechify.md +1 -1
  147. package/.docs/integrations/voice/xai.md +1 -1
  148. package/.docs/models/environment-variables.md +92 -3
  149. package/.docs/models/gateways/merge-gateway.md +4 -1
  150. package/.docs/models/gateways/neon.md +1 -2
  151. package/.docs/models/gateways/netlify.md +7 -6
  152. package/.docs/models/gateways/openrouter.md +16 -11
  153. package/.docs/models/gateways/requesty.md +7 -17
  154. package/.docs/models/gateways/vercel.md +12 -16
  155. package/.docs/models/index.md +93 -30
  156. package/.docs/models/providers/302ai.md +2 -1
  157. package/.docs/models/providers/abacus.md +1 -1
  158. package/.docs/models/providers/abliteratedllm.md +95 -0
  159. package/.docs/models/providers/abliteration-ai.md +7 -6
  160. package/.docs/models/providers/adaption.md +87 -0
  161. package/.docs/models/providers/adzuki.md +92 -0
  162. package/.docs/models/providers/aigrow.md +89 -0
  163. package/.docs/models/providers/aimlapi.md +1 -7
  164. package/.docs/models/providers/aipg.md +82 -0
  165. package/.docs/models/providers/aistupidlevel.md +90 -0
  166. package/.docs/models/providers/aki-io.md +15 -13
  167. package/.docs/models/providers/ambient.md +13 -12
  168. package/.docs/models/providers/anonrouter.md +83 -0
  169. package/.docs/models/providers/anthropic.md +18 -20
  170. package/.docs/models/providers/apiko.md +83 -0
  171. package/.docs/models/providers/augure.md +86 -0
  172. package/.docs/models/providers/autarcho.md +81 -0
  173. package/.docs/models/providers/bailing.md +15 -12
  174. package/.docs/models/providers/bumo.md +100 -0
  175. package/.docs/models/providers/byteplus.md +94 -0
  176. package/.docs/models/providers/cedarllm.md +81 -0
  177. package/.docs/models/providers/cheapaimodel.md +85 -0
  178. package/.docs/models/providers/cheapest-token.md +99 -0
  179. package/.docs/models/providers/cheapllm.md +81 -0
  180. package/.docs/models/providers/chutes.md +8 -8
  181. package/.docs/models/providers/cline-pass.md +4 -3
  182. package/.docs/models/providers/cloudcode.md +86 -0
  183. package/.docs/models/providers/cloudflare-workers-ai.md +2 -1
  184. package/.docs/models/providers/commandcode.md +22 -1
  185. package/.docs/models/providers/confidential-ai.md +81 -0
  186. package/.docs/models/providers/cortecs.md +14 -14
  187. package/.docs/models/providers/crossmodel.md +7 -2
  188. package/.docs/models/providers/deepinfra.md +3 -1
  189. package/.docs/models/providers/digitalocean.md +5 -4
  190. package/.docs/models/providers/dothoosh.md +96 -0
  191. package/.docs/models/providers/doubleword.md +98 -0
  192. package/.docs/models/providers/edenai.md +52 -44
  193. package/.docs/models/providers/empiriolabs.md +2 -1
  194. package/.docs/models/providers/engy.md +2 -1
  195. package/.docs/models/providers/entrim.md +84 -0
  196. package/.docs/models/providers/ezkielyna.md +85 -0
  197. package/.docs/models/providers/fastrouter.md +21 -5
  198. package/.docs/models/providers/fiftyx.md +81 -0
  199. package/.docs/models/providers/fireworks-ai.md +1 -1
  200. package/.docs/models/providers/fortytwo.md +81 -0
  201. package/.docs/models/providers/frequency.md +81 -0
  202. package/.docs/models/providers/frogbot.md +30 -5
  203. package/.docs/models/providers/gisoo.md +96 -0
  204. package/.docs/models/providers/google.md +5 -4
  205. package/.docs/models/providers/graphn.md +87 -0
  206. package/.docs/models/providers/hetzner.md +1 -1
  207. package/.docs/models/providers/hostinger-router.md +88 -0
  208. package/.docs/models/providers/huawei-maas.md +88 -0
  209. package/.docs/models/providers/hubris.md +96 -0
  210. package/.docs/models/providers/huggingface.md +5 -1
  211. package/.docs/models/providers/humain.md +82 -0
  212. package/.docs/models/providers/hyper.md +24 -22
  213. package/.docs/models/providers/inceptron.md +4 -4
  214. package/.docs/models/providers/infer.md +17 -9
  215. package/.docs/models/providers/inferall.md +86 -0
  216. package/.docs/models/providers/inference-coop.md +88 -0
  217. package/.docs/models/providers/inferenceapis.md +91 -0
  218. package/.docs/models/providers/inferris.md +84 -0
  219. package/.docs/models/providers/infersia.md +86 -0
  220. package/.docs/models/providers/isoquant.md +82 -0
  221. package/.docs/models/providers/iteracompute.md +33 -16
  222. package/.docs/models/providers/jad-ai.md +83 -0
  223. package/.docs/models/providers/joingonka.md +83 -0
  224. package/.docs/models/providers/jzstoken.md +102 -0
  225. package/.docs/models/providers/keln.md +94 -0
  226. package/.docs/models/providers/kenari.md +47 -12
  227. package/.docs/models/providers/kilo.md +191 -100
  228. package/.docs/models/providers/kitani.md +89 -0
  229. package/.docs/models/providers/klavo.md +90 -0
  230. package/.docs/models/providers/korouter.md +99 -0
  231. package/.docs/models/providers/kunavo.md +96 -0
  232. package/.docs/models/providers/liquid.md +15 -8
  233. package/.docs/models/providers/lithosai.md +83 -0
  234. package/.docs/models/providers/llmgateway-providers.md +96 -43
  235. package/.docs/models/providers/llmgateway.md +33 -21
  236. package/.docs/models/providers/logits.md +82 -0
  237. package/.docs/models/providers/lowrouter.md +17 -4
  238. package/.docs/models/providers/lyceum.md +88 -0
  239. package/.docs/models/providers/mallard.md +81 -0
  240. package/.docs/models/providers/meragpt.md +81 -0
  241. package/.docs/models/providers/mistral.md +1 -1
  242. package/.docs/models/providers/moneo.md +92 -0
  243. package/.docs/models/providers/nan.md +11 -8
  244. package/.docs/models/providers/nano-gpt.md +77 -73
  245. package/.docs/models/providers/nearai.md +1 -1
  246. package/.docs/models/providers/nebius.md +3 -6
  247. package/.docs/models/providers/neuralwatt.md +28 -25
  248. package/.docs/models/providers/nodecode.md +81 -0
  249. package/.docs/models/providers/nokeep.md +83 -0
  250. package/.docs/models/providers/novita-ai.md +4 -1
  251. package/.docs/models/providers/oathbreaker.md +82 -0
  252. package/.docs/models/providers/obscurify.md +95 -0
  253. package/.docs/models/providers/ofox.md +7 -3
  254. package/.docs/models/providers/ollama-cloud.md +2 -1
  255. package/.docs/models/providers/openai.md +4 -2
  256. package/.docs/models/providers/opencode-go.md +3 -1
  257. package/.docs/models/providers/opencode.md +5 -3
  258. package/.docs/models/providers/opper.md +2 -1
  259. package/.docs/models/providers/outerlabs.md +98 -0
  260. package/.docs/models/providers/paraloncloud.md +81 -0
  261. package/.docs/models/providers/pareto.md +9 -7
  262. package/.docs/models/providers/phala.md +99 -0
  263. package/.docs/models/providers/phase.md +82 -0
  264. package/.docs/models/providers/powerspring.md +87 -0
  265. package/.docs/models/providers/prime.md +5 -5
  266. package/.docs/models/providers/proxystacks.md +84 -0
  267. package/.docs/models/providers/rayline.md +82 -0
  268. package/.docs/models/providers/refuseless.md +86 -0
  269. package/.docs/models/providers/ruapi.md +89 -0
  270. package/.docs/models/providers/runcrate.md +91 -0
  271. package/.docs/models/providers/runinfra.md +2 -1
  272. package/.docs/models/providers/sagg.md +81 -0
  273. package/.docs/models/providers/sambanova.md +10 -12
  274. package/.docs/models/providers/sandbase.md +90 -0
  275. package/.docs/models/providers/scx-ai.md +20 -10
  276. package/.docs/models/providers/sensenova.md +4 -4
  277. package/.docs/models/providers/siliconflow-cn.md +2 -1
  278. package/.docs/models/providers/sokkan.md +85 -0
  279. package/.docs/models/providers/sparrowcodes.md +99 -0
  280. package/.docs/models/providers/steadyrouter.md +101 -0
  281. package/.docs/models/providers/stepping-stone.md +95 -0
  282. package/.docs/models/providers/superbot-gg.md +82 -0
  283. package/.docs/models/providers/synthetic.md +14 -14
  284. package/.docs/models/providers/synthorai.md +92 -0
  285. package/.docs/models/providers/teamorouter.md +90 -0
  286. package/.docs/models/providers/teapot-router.md +87 -0
  287. package/.docs/models/providers/tencent-token-plan.md +23 -11
  288. package/.docs/models/providers/tenstorrent.md +84 -0
  289. package/.docs/models/providers/therouter.md +81 -0
  290. package/.docs/models/providers/tinfoil.md +1 -1
  291. package/.docs/models/providers/toapis.md +83 -0
  292. package/.docs/models/providers/tokenify.md +85 -0
  293. package/.docs/models/providers/tokenlab.md +81 -0
  294. package/.docs/models/providers/tokenwatt.md +81 -0
  295. package/.docs/models/providers/trustedtokens.md +90 -0
  296. package/.docs/models/providers/umans-ai-coding-plan.md +2 -5
  297. package/.docs/models/providers/umans-ai.md +5 -7
  298. package/.docs/models/providers/unbiased.md +81 -0
  299. package/.docs/models/providers/uncensuredai.md +83 -0
  300. package/.docs/models/providers/unrestricted.md +84 -0
  301. package/.docs/models/providers/uplinkswitch.md +92 -0
  302. package/.docs/models/providers/verda.md +81 -0
  303. package/.docs/models/providers/volcengine-coding-plan.md +16 -9
  304. package/.docs/models/providers/volcengine.md +2 -2
  305. package/.docs/models/providers/wafer.ai.md +20 -10
  306. package/.docs/models/providers/wallaby.md +7 -5
  307. package/.docs/models/providers/wally.md +9 -8
  308. package/.docs/models/providers/watt.md +98 -0
  309. package/.docs/models/providers/xxapi.md +96 -0
  310. package/.docs/models/providers/zenifra.md +22 -10
  311. package/.docs/models/providers/zerogpu.md +89 -0
  312. package/.docs/models/providers/zro.md +85 -0
  313. package/.docs/models/providers.md +92 -3
  314. package/.docs/reference/agents/agent.md +1 -1
  315. package/.docs/reference/agents/durable-agent.md +2 -2
  316. package/.docs/reference/agents/generateLegacy.md +4 -4
  317. package/.docs/reference/agents/network.md +2 -2
  318. package/.docs/reference/ai-sdk/overview.md +2 -2
  319. package/.docs/reference/build-with-ai.md +3 -3
  320. package/.docs/reference/channels/slack-provider.md +1 -1
  321. package/.docs/reference/classifier/classifier.md +1 -1
  322. package/.docs/reference/cli/mastra.md +2 -2
  323. package/.docs/reference/client-js/agent-controller.md +1 -1
  324. package/.docs/reference/client-js/memory.md +10 -10
  325. package/.docs/reference/client-js/observability.md +1 -1
  326. package/.docs/reference/client-js/responses.md +1 -1
  327. package/.docs/reference/client-js/tools.md +2 -2
  328. package/.docs/reference/client-js/vectors.md +6 -6
  329. package/.docs/reference/configuration.md +1 -1
  330. package/.docs/reference/connect/tools.md +1 -1
  331. package/.docs/reference/deployer.md +4 -4
  332. package/.docs/reference/evals/answer-relevancy.md +2 -2
  333. package/.docs/reference/evals/bias.md +2 -2
  334. package/.docs/reference/evals/checks.md +1 -1
  335. package/.docs/reference/evals/completeness.md +4 -4
  336. package/.docs/reference/evals/content-similarity.md +4 -4
  337. package/.docs/reference/evals/context-precision.md +6 -6
  338. package/.docs/reference/evals/context-recall.md +1 -1
  339. package/.docs/reference/evals/context-relevance.md +9 -9
  340. package/.docs/reference/evals/create-scorer.md +3 -3
  341. package/.docs/reference/evals/faithfulness.md +1 -1
  342. package/.docs/reference/evals/hallucination.md +6 -6
  343. package/.docs/reference/evals/keyword-coverage.md +2 -2
  344. package/.docs/reference/evals/multi-turn-judge.md +1 -1
  345. package/.docs/reference/evals/noise-sensitivity.md +16 -16
  346. package/.docs/reference/evals/prompt-alignment.md +25 -25
  347. package/.docs/reference/evals/run-evals.md +2 -2
  348. package/.docs/reference/evals/summarization.md +1 -1
  349. package/.docs/reference/evals/textual-difference.md +2 -2
  350. package/.docs/reference/evals/tone-consistency.md +2 -2
  351. package/.docs/reference/evals/tool-call-accuracy.md +10 -10
  352. package/.docs/reference/evals/toxicity.md +2 -2
  353. package/.docs/reference/evals/trajectory-accuracy.md +2 -2
  354. package/.docs/reference/manual-install.md +2 -2
  355. package/.docs/reference/memory/listThreads.md +1 -1
  356. package/.docs/reference/migrations/agentnetwork.md +1 -1
  357. package/.docs/reference/migrations/mastra-cloud.md +4 -4
  358. package/.docs/reference/migrations/mcp-v2.md +1 -1
  359. package/.docs/reference/migrations/upgrade-to-v1/deployment.md +1 -1
  360. package/.docs/reference/migrations/upgrade-to-v1/overview.md +8 -8
  361. package/.docs/reference/migrations/upgrade-to-v1/tracing.md +3 -3
  362. package/.docs/reference/observability/tracing/bridges/datadog.md +4 -4
  363. package/.docs/reference/observability/tracing/bridges/otel.md +4 -4
  364. package/.docs/reference/observability/tracing/exporters/arize.md +4 -4
  365. package/.docs/reference/observability/tracing/exporters/arthur.md +3 -3
  366. package/.docs/reference/observability/tracing/exporters/braintrust.md +2 -2
  367. package/.docs/reference/observability/tracing/exporters/cloud-exporter.md +2 -2
  368. package/.docs/reference/observability/tracing/exporters/confident-ai.md +2 -2
  369. package/.docs/reference/observability/tracing/exporters/console-exporter.md +1 -1
  370. package/.docs/reference/observability/tracing/exporters/datadog.md +3 -3
  371. package/.docs/reference/observability/tracing/exporters/default-exporter.md +5 -5
  372. package/.docs/reference/observability/tracing/exporters/laminar.md +2 -2
  373. package/.docs/reference/observability/tracing/exporters/langfuse.md +3 -3
  374. package/.docs/reference/observability/tracing/exporters/mastra-platform-exporter.md +1 -1
  375. package/.docs/reference/observability/tracing/exporters/mastra-storage-exporter.md +5 -5
  376. package/.docs/reference/observability/tracing/exporters/otel.md +4 -4
  377. package/.docs/reference/observability/tracing/exporters/posthog.md +2 -2
  378. package/.docs/reference/observability/tracing/exporters/sentry.md +4 -4
  379. package/.docs/reference/observability/tracing/instances.md +1 -1
  380. package/.docs/reference/processors/model-selection-processor.md +2 -2
  381. package/.docs/reference/processors/processor-interface.md +3 -3
  382. package/.docs/reference/processors/stream-error-retry-processor.md +1 -1
  383. package/.docs/reference/processors/system-prompt-scrubber.md +1 -1
  384. package/.docs/reference/processors/token-limiter-processor.md +1 -1
  385. package/.docs/reference/processors/unicode-normalizer.md +1 -1
  386. package/.docs/reference/project-structure.md +2 -2
  387. package/.docs/reference/pubsub/google-cloud-pubsub.md +1 -1
  388. package/.docs/reference/pubsub/lease-provider.md +1 -1
  389. package/.docs/reference/pubsub/redis-streams.md +1 -1
  390. package/.docs/reference/pubsub/unix-socket-pubsub.md +1 -1
  391. package/.docs/reference/rag/chunk.md +1 -1
  392. package/.docs/reference/rag/chunking-and-embedding.md +4 -4
  393. package/.docs/reference/rag/database-config.md +4 -4
  394. package/.docs/reference/rag/graph-rag-guide.md +3 -3
  395. package/.docs/reference/rag/metadata-filters.md +4 -4
  396. package/.docs/reference/rag/overview.md +4 -0
  397. package/.docs/reference/rag/rerank.md +1 -1
  398. package/.docs/reference/rag/rerankWithScorer.md +1 -1
  399. package/.docs/reference/rag/retrieval.md +8 -6
  400. package/.docs/reference/rag/vector-databases.md +7 -7
  401. package/.docs/reference/server/nestjs-adapter.md +1 -1
  402. package/.docs/reference/server/register-api-route.md +5 -5
  403. package/.docs/reference/storage/composite.md +1 -1
  404. package/.docs/reference/storage/overview.md +1 -1
  405. package/.docs/reference/storage/retention.md +2 -2
  406. package/.docs/reference/storage/turso.md +1 -1
  407. package/.docs/reference/streaming/agents/MastraModelOutput.md +5 -5
  408. package/.docs/reference/streaming/agents/stream.md +5 -5
  409. package/.docs/reference/streaming/agents/streamLegacy.md +4 -4
  410. package/.docs/reference/templates/overview.md +1 -1
  411. package/.docs/reference/tools/bedrock-kb-tool.md +8 -8
  412. package/.docs/reference/tools/mcp-client.md +9 -9
  413. package/.docs/reference/tools/mcp-server.md +17 -17
  414. package/.docs/reference/tools/vector-query-tool.md +6 -6
  415. package/.docs/reference/voice/composite-voice.md +3 -3
  416. package/.docs/reference/voice/overview.md +5 -5
  417. package/.docs/reference/voice/speech-to-speech.md +2 -2
  418. package/.docs/reference/voice/voice.close.md +1 -1
  419. package/.docs/reference/voice/voice.connect.md +1 -1
  420. package/.docs/reference/voice/voice.listen.md +1 -1
  421. package/.docs/reference/voice/voice.speak.md +1 -1
  422. package/.docs/reference/workspace/local-sandbox.md +1 -1
  423. package/package.json +2 -2
@@ -59,7 +59,7 @@ const agent = new Agent({
59
59
 
60
60
  ### Repository templates
61
61
 
62
- `createDockerRepoTemplate` builds an image that already holds a checkout of a repository and the output of its setup command, so a session starts from installed dependencies instead of a cold clone:
62
+ `createDockerRepoTemplate` builds an image that already holds a checkout of a repository and the output of its setup command. A session starts from installed dependencies instead of a cold clone:
63
63
 
64
64
  ```typescript
65
65
  import { DockerSandbox, createDockerRepoTemplate } from '@mastra/docker'
@@ -79,7 +79,7 @@ const sandbox = new DockerSandbox({
79
79
 
80
80
  The repository is cloned to `<workingDirectory>/<repo>` (default `/workspace`), which becomes the working directory of the sandbox. Pass `ref` to prepare a branch, tag or commit other than the default branch. Right before the build the resolver runs `git ls-remote` to pin the ref to a commit, which is part of the image identity: a moved branch yields a fresh image on the next new sandbox and an unmoved one reuses the cached image. If the head can't be resolved the resolver rejects rather than caching an unpinned clone.
81
81
 
82
- `setupCommand` also accepts an array. Each entry runs as its own cached build step. A command cannot contain a bare newline, which would start a new Dockerfile instruction. End the line with `\` or pass separate commands instead.
82
+ `setupCommand` also accepts an array. Each entry runs as its own cached build step. A command can't contain a bare newline, which would start a new Dockerfile instruction. End the line with `\` or pass separate commands instead.
83
83
 
84
84
  #### Several repositories in one image
85
85
 
@@ -264,7 +264,7 @@ const sandbox = new DockerSandbox({
264
264
 
265
265
  ## Write files
266
266
 
267
- Upload multiple files in one call with `writeFiles`. Relative paths resolve under the working directory. Set an optional per-file `mode` to control POSIX permissions; it must be an integer between `0o001` and `0o777`. When `mode` is omitted, new files are created with `0644`.
267
+ Upload multiple files in one call with `writeFiles`. Relative paths resolve under the working directory. Set an optional per-file `mode` to control POSIX permissions. It must be an integer between `0o001` and `0o777`. When `mode` is omitted, new files are created with `0644`.
268
268
 
269
269
  ```typescript
270
270
  await sandbox.writeFiles([
@@ -273,7 +273,7 @@ await sandbox.writeFiles([
273
273
  ])
274
274
  ```
275
275
 
276
- Docker is the only built-in sandbox that applies an explicit `mode`. Providers that cannot honor per-file permissions (Vercel, E2B, Daytona, Cloudflare) reject a `writeFiles` call that includes a `mode` instead of silently dropping it.
276
+ Docker is the only built-in sandbox that applies an explicit `mode`. Providers that can't honor per-file permissions (Vercel, E2B, Daytona, Cloudflare) reject a `writeFiles` call that includes a `mode` instead of silently dropping it.
277
277
 
278
278
  ## Bind mounts
279
279
 
@@ -321,8 +321,8 @@ Review these trade-offs before enabling hardening:
321
321
  - `readonlyRootfs`: In-container package installs and tools that write outside mounted paths can fail. Add `tmpfs` entries for writable scratch paths such as `/tmp`, and mount tmpfs or volumes for package-manager caches such as `~/.npm` when needed.
322
322
  - `capDrop`: Dropping all capabilities disables commands that need Linux capabilities, including `ping` and mount operations. FUSE-backed tools are also disabled. Add back only the capabilities your workload needs.
323
323
  - `memory`: Docker treats `0` as unlimited. Omit `memory` or pass `0` only when you don't want a memory cap.
324
- - `memorySwap`: Docker memory and swap behavior depends on the host and Docker daemon configuration. When you set `memory` without `memorySwap`, Docker allows swap up to twice the memory limit by default. Set `memorySwap` equal to `memory` when you want to disable swap for the container; Docker also accepts `-1` for unlimited swap.
325
- - `pidsLimit`: Very low values can break `docker exec` workloads because each command starts additional processes inside the long-lived container.
324
+ - `memorySwap`: Docker memory and swap behavior depends on the host and Docker daemon configuration. When you set `memory` without `memorySwap`, Docker allows swap up to twice the memory limit by default. Set `memorySwap` equal to `memory` when you want to disable swap for the container. Docker also accepts `-1` for unlimited swap.
325
+ - `pidsLimit`: Low values can break `docker exec` workloads because each command starts additional processes inside the long-lived container.
326
326
  - `privileged`: Privileged containers bypass capability and security-option controls. Don't combine `privileged: true` with capability or security options unless the workload requires it.
327
327
  - Reconnection: `DockerSandbox` reuses an existing container when the sandbox ID matches and warns if inspected `HostConfig` hardening values differ. Destroy and recreate the sandbox to apply changed hardening options. Docker can normalize inspected values, and changing `memorySwap` on reconnect can trigger a warning if the original container used Docker's default swap behavior.
328
328
  - Docker Desktop: Resource limits apply inside the Docker Desktop virtual machine on macOS and Windows, so the VM's allocated resources can cap what containers receive.
@@ -62,7 +62,7 @@ const response = await agent.generate(
62
62
  )
63
63
  ```
64
64
 
65
- The agent can mix desktop actions (click, type, screenshot) with shell commands. Both surfaces operate on the same machine.
65
+ The agent can mix desktop actions (pointer input, typing, and screenshots) with shell commands. Both surfaces operate on the same machine.
66
66
 
67
67
  ### Direct desktop control
68
68
 
@@ -218,13 +218,13 @@ const workspace = new Workspace({
218
218
  })
219
219
  ```
220
220
 
221
- `owner` sets the uid and gid of the files inside the mount, so the `user` running commands can read and write them. Without it, the mount is owned by the user that mounted it. Create the user in the template first; E2B runs a command as that user but doesn't create it.
221
+ `owner` sets the uid and gid of the files inside the mount, so the `user` running commands can read and write them. Without it, the mount is owned by the user that mounted it. Create the user in the template first. E2B runs a command as that user but doesn't create it.
222
222
 
223
223
  ## Custom templates
224
224
 
225
225
  By default, when no template is specified, E2BSandbox automatically builds a template with `s3fs` installed for S3 mounting support, a current Node.js LTS installed over the base image's older runtime, and corepack enabled so `pnpm` and `yarn` resolve to whatever a repository's `packageManager` field pins. This template is cached and reused across sandbox instances.
226
226
 
227
- The Node.js version is pinned exactly and is part of the template's identity. Pass `nodeVersion` to `createDefaultMountableTemplate()` to select a different release; changing it builds a new template.
227
+ The Node.js version is pinned exactly and is part of the template's identity. Pass `nodeVersion` to `createDefaultMountableTemplate()` to select a different release. Changing it builds a new template.
228
228
 
229
229
  For GCS mounting, `gcsfuse` is automatically installed at mount time if not already present. For additional tools or faster cold starts, use custom templates.
230
230
 
@@ -320,11 +320,11 @@ const sandbox = new E2BSandbox({
320
320
  })
321
321
  ```
322
322
 
323
- `getRepositoryAccess` supplies the clone URL and, for private repositories, a credential. It's the only source of the clone URL, so what gets cloned and what the template is identified by can't drift apart. When it's `undefined`, `createRepoTemplate` returns `undefined` — which is how a session with no repository asks for the provider's default template without a conditional at the call site.
323
+ `getRepositoryAccess` supplies the clone URL and, for private repositories, a credential. It's the only source of the clone URL, so what gets cloned and what the template is identified by can't drift apart. When it's `undefined`, `createRepoTemplate` returns `undefined`, which is how a session with no repository asks for the provider's default template without a conditional at the call site.
324
324
 
325
- There is exactly one template per repository and setup command: the template name carries the repo slug plus a short hash of the inputs, and the commit sha rides as a tag on that name (`mastra-repo-<owner>-<repo>-<hash>:sha-<sha>`). The spec pins itself to the repository's current default-branch head at resolution time: right before the template lookup it runs `git ls-remote` (no clone, \~100ms) and keys the tag on that sha. When the default branch moves, the next new sandbox rebuilds the same template in place under a new tag, and old sha tags remain as prunable build history instead of piling up as stale templates. If the head can't be resolved, the ref degrades to the stable `current` tag and the build clones whatever the default branch is at build time.
325
+ Exactly one template exists per repository and setup command: the template name carries the repo slug plus a short hash of the inputs, and the commit sha rides as a tag on that name (`mastra-repo-<owner>-<repo>-<hash>:sha-<sha>`). The spec pins itself to the repository's current default-branch head at resolution time: right before the template lookup it runs `git ls-remote` (no clone, \~100ms) and keys the tag on that sha. When the default branch moves, the next new sandbox rebuilds the same template in place under a new tag, and old sha tags remain as prunable build history instead of piling up as stale templates. If the head can't be resolved, the ref degrades to the stable `current` tag and the build clones whatever the default branch is at build time.
326
326
 
327
- Resolution is lazy and only ever blocks on a template's very first build. Every successful build also moves a stable `current` tag, so when the head moves, the next sandbox boots immediately from the previous build while the fresh sha ref builds in the background on E2B's side (its runtime setup `git fetch` fast-forwards the slightly stale checkout — freshness never depends on the template). A changed setup command hashes to a new template name.
327
+ Resolution is lazy and blocks only on a template's first build. Every successful build also moves a stable `current` tag, so when the head moves, the next sandbox boots immediately from the previous build while the fresh sha ref builds in the background on E2B's side (its runtime setup `git fetch` fast-forwards the slightly stale checkout, so freshness never depends on the template). A changed setup command hashes to a new template name.
328
328
 
329
329
  `setupCommand` also accepts an array. Each entry runs as its own cached build step. `workingDirectory` sets the cwd for the build and the sandbox, and the repository is cloned to `<workingDirectory>/<repo>`.
330
330
 
@@ -381,9 +381,9 @@ const sandbox = new E2BSandbox({
381
381
  })
382
382
  ```
383
383
 
384
- Resources are part of the template's identity: they hash into the template name alongside the repository and setup command, so resizing builds a new template instead of silently reusing one built at the old size. When a repo template's build fails and the sandbox falls back to the default mountable template, the fallback builds at the requested size too, so setup never lands in a smaller machine than it asked for. Account tier limits apply to the values E2B accepts.
384
+ Resources are part of the template's identity: they hash into the template name alongside the repository and setup command, so resizing builds a new template instead of silently reusing one built at the old size. When a repo template's build fails and the sandbox falls back to the default mountable template, the fallback builds at the requested size too, so setup never runs in a smaller machine than it asked for. Account tier limits apply to the values E2B accepts.
385
385
 
386
- To warm templates proactively instead of waiting for the first session after a merge, call `refreshRepoTemplate` with the same options from a scheduled job or a merge-to-main event handler. It performs the same resolution as sandbox start — resolves the current head, reuses the build when it already exists, and otherwise builds it (moving `current`) — and reports `{ ref, action, sha }`:
386
+ To warm templates ahead of time instead of waiting for the first session after a merge, call `refreshRepoTemplate` with the same options from a scheduled job or a merge-to-main event handler. It performs the same resolution as sandbox start. It resolves the current head, reuses the build when it already exists, and otherwise builds it (moving `current`), then reports `{ ref, action, sha }`:
387
387
 
388
388
  ```typescript
389
389
  import { refreshRepoTemplate } from '@mastra/e2b'
@@ -397,7 +397,7 @@ const result = await refreshRepoTemplate({
397
397
  // { ref: 'mastra-repo-octocat-hello-world-…:sha-…', action: 'built' | 'reused', sha: '…' }
398
398
  ```
399
399
 
400
- The template layers on top of the default mountable base (E2B's `base` image, so git and common tooling are present, plus `s3fs`/FUSE for mount support). The clone lands in the build user's home directory at `$HOME/<repo>`, derived from the clone URL. Build steps and runtime commands both run as the sandbox's non-root `user` in its home, so no directory prep is needed, runtime file ownership stays correct, and a runtime `$HOME` probe finds the checkout exactly where the template left it.
400
+ The template layers on top of the default mountable base (E2B's `base` image, so git and common tooling are present, plus `s3fs`/FUSE for mount support). The clone goes into the build user's home directory at `$HOME/<repo>`, derived from the clone URL. Build steps and runtime commands both run as the sandbox's non-root `user` in its home, so no directory prep is needed, runtime file ownership stays correct, and a runtime `$HOME` probe finds the checkout exactly where the template left it.
401
401
 
402
402
  Failure handling is designed so a broken template never wedges a session:
403
403
 
@@ -419,17 +419,17 @@ const sandbox = new E2BSandbox({
419
419
  })
420
420
  ```
421
421
 
422
- Private repositories build warm templates when `getRepositoryAccess` returns an `authorization` alongside the clone URL — a fresh, short-lived credential (such as a GitHub App installation token) minted per template resolution. The credential authenticates the head lookup and the build's clone through an in-shell `http.extraheader` — it enters the template definition's environment (visible to build steps but not persisted into runtime sandbox environments) and never touches the image filesystem, so no captured layer can contain it. It's set as `GH_TOKEN`, the same variable a session installs before running setup, so a command that shells out to `gh` or authenticated https behaves the same in the build as it does in a session.
422
+ Private repositories build warm templates when `getRepositoryAccess` returns an `authorization` alongside the clone URL: a fresh, short-lived credential (such as a GitHub App installation token) created at each template resolution. The credential authenticates the head lookup and the build's clone through an in-shell `http.extraheader`. It enters the template definition's environment (visible to build steps but not persisted into runtime sandbox environments) and never touches the image filesystem, so no captured layer can contain it. It's set as `GH_TOKEN`, the same variable a session installs before running setup, so a command that shells out to `gh` or authenticated https behaves the same in the build as it does in a session.
423
423
 
424
- Only pass short-lived credentials — the value stays in the template definition until the next rebuild, so its expiry is what bounds the exposure. Note that the cloned repository contents become part of a team-visible template image. When the access call returns no credential the clone is tokenless: public repositories build fine, and a private repository's build degrades to the fallback, where the session's own runtime setup (with runtime-injected auth) does the clone.
424
+ Only pass short-lived credentials: the value stays in the template definition until the next rebuild, so its expiry is what bounds the exposure. Note that the cloned repository contents become part of a team-visible template image. When the access call returns no credential the clone is tokenless: public repositories build fine, and a private repository's build degrades to the fallback, where the session's own runtime setup (with runtime-injected auth) does the clone.
425
425
 
426
- Setup commands that need their own credentials — a registry token, a private index URL — take them through `buildEnv`, which accepts a record or an async resolver. Those values are part of the template's identity, so changing one produces a new template. To keep values out of the template name, also pass a `buildEnvRevision`. The values still reach the build steps like the clone credential, but only the revision names the template. Change the revision whenever the values change.
426
+ Setup commands that need their own credentials, such as a registry token or a private index URL, take them through `buildEnv`, which accepts a record or an async resolver. Those values are part of the template's identity, so changing one produces a new template. To keep values out of the template name, also pass a `buildEnvRevision`. The values still reach the build steps like the clone credential, but only the revision names the template. Change the revision whenever the values change.
427
427
 
428
- `repoTemplateRef` computes the tagged ref for a spec without building anything — useful for pruning old sha tags with the E2B CLI.
428
+ `repoTemplateRef` computes the tagged ref for a spec without building anything, useful for pruning old sha tags with the E2B CLI.
429
429
 
430
430
  ### Per-session sandboxes
431
431
 
432
- Hosts that construct one sandbox per session, such as Mastra Factory's `sandbox` config, use `E2BFactorySandbox`: sandbox identity is the session id (id-keyed getOrCreate, so the sandbox pauses on E2B's idle timeout and resumes by id), the repo template comes from `createRepoTemplate` over the session's repositories, and the project's `cpuCount` and `memoryMb` settings flow into the template. See the [FactorySandbox reference](https://mastra.ai/reference/workspace/factory-sandbox).
432
+ Hosts that construct one sandbox per session, such as Mastra Factory's `sandbox` config, use `E2BFactorySandbox`: sandbox identity is the session id (id-keyed getOrCreate: the sandbox pauses on E2B's idle timeout and resumes by id), the repo template comes from `createRepoTemplate` over the session's repositories, and the project's `cpuCount` and `memoryMb` settings flow into the template. See the [FactorySandbox reference](https://mastra.ai/reference/workspace/factory-sandbox).
433
433
 
434
434
  ```typescript
435
435
  import { MastraFactory } from '@mastra/factory'
@@ -442,7 +442,7 @@ new MastraFactory({
442
442
 
443
443
  The bare callback form, `sandbox: ctx => new E2BSandbox({ id: ctx.sessionId, template: createRepoTemplate(ctx) })`, is also supported: factory sees it as a custom provider with no settings to tune. Either way, factory attaches its own session setup to the sandbox it gets back.
444
444
 
445
- ## Using with Code Mode
445
+ ## Using with Code mode
446
446
 
447
447
  [Code Mode](https://mastra.ai/docs/agents/code-mode) lets an agent write a single TypeScript program that orchestrates its tools. Because E2B runs that program in a remote micro-VM, it needs a transport that writes the program into the sandbox filesystem rather than the host. `@mastra/e2b` provides `E2BCodeModeTransport` for this. Pass it as the second argument to `createCodeMode`:
448
448
 
@@ -175,7 +175,7 @@ Writes made by other sandboxes to the same Volume are only visible after a reloa
175
175
  await sandbox.reloadVolumes()
176
176
  ```
177
177
 
178
- > **Note:** Keep the working directory outside every Volume mount (for example `/workspace`). Modal can't reload a Volume that is the current working directory, so `ModalSandbox` throws if `workingDirectory` is at or inside a mount path.
178
+ > **Note:** Keep the working directory outside every Volume mount (for example `/workspace`). Modal can't reload a Volume that's the current working directory, so `ModalSandbox` throws if `workingDirectory` is at or inside a mount path.
179
179
 
180
180
  ## Background processes
181
181
 
@@ -143,7 +143,7 @@ const sandbox = new RailwaySandbox({
143
143
 
144
144
  `RailwaySandbox` refreshes the checkpoint shortly before the idle timeout. Recovery restores the latest successful checkpoint. It doesn't restore running processes or filesystem writes made after the last checkpoint.
145
145
 
146
- Set `seedCheckpointName` to provide a boot-only fallback when `checkpointName` doesn't exist yet. Railway restores `checkpointName` first when both checkpoints exist. Later snapshots write only to `checkpointName`, so each sandbox keeps an independent recovery history.
146
+ Set `seedCheckpointName` to provide a boot-only fallback when `checkpointName` doesn't exist yet. Railway restores `checkpointName` first when both checkpoints exist. Later snapshots write only to `checkpointName`, which keeps each sandbox's recovery history independent.
147
147
 
148
148
  ```typescript
149
149
  const sandbox = new RailwaySandbox({
@@ -85,7 +85,7 @@ const response = await agent.generate(
85
85
  console.log(response.text)
86
86
  ```
87
87
 
88
- ### Reusing a Sprite
88
+ ### Reusing a sprite
89
89
 
90
90
  The `id` is the Sprite name. On `start()`, `SpritesSandbox` looks up a Sprite with that name and reconnects to it, or creates one when none exists. Files written in an earlier session are still there:
91
91
 
@@ -199,7 +199,7 @@ await handle.sendStdin('reload\n')
199
199
  await handle.kill()
200
200
  ```
201
201
 
202
- Processes started by one `SpritesSandbox` instance are not visible to another instance, and `stop()` kills them.
202
+ Processes started by one `SpritesSandbox` instance aren't visible to another instance, and `stop()` kills them.
203
203
 
204
204
  See [`SandboxProcessManager` reference](https://mastra.ai/reference/workspace/process-manager) for the full API.
205
205
 
@@ -2,11 +2,11 @@
2
2
 
3
3
  > Discover all available pages from the documentation index: https://mastra.ai/llms.txt
4
4
 
5
- # Vercel Sandboxes
5
+ # Vercel sandboxes
6
6
 
7
7
  Run commands in isolated Vercel environments with either persistent Sandbox microVMs or stateless Serverless Functions.
8
8
 
9
- ## Vercel Sandbox
9
+ ## Vercel sandbox
10
10
 
11
11
  Executes commands inside [Vercel Sandbox](https://vercel.com/docs/vercel-sandbox) which is an ephemeral [Firecracker](https://firecracker-microvm.github.io/) MicroVM running Amazon Linux 2023. Provides a persistent in-session filesystem, `sudo` access, exposed ports, and background processes. For interface details, see the [WorkspaceSandbox interface](https://mastra.ai/reference/workspace/sandbox).
12
12
 
@@ -51,7 +51,7 @@ vercel link
51
51
  vercel env pull
52
52
  ```
53
53
 
54
- On Vercel, authentication is handled automatically — no configuration needed.
54
+ On Vercel, authentication is handled automatically. No configuration needed.
55
55
 
56
56
  **Access token (.env)**:
57
57
 
@@ -214,7 +214,7 @@ See the [`SandboxProcessManager` reference](https://mastra.ai/reference/workspac
214
214
 
215
215
  See the [Vercel Sandbox documentation](https://vercel.com/docs/vercel-sandbox) for current limits and pricing.
216
216
 
217
- ## Vercel Serverless Sandbox
217
+ ## Vercel serverless sandbox
218
218
 
219
219
  `VercelServerlessSandbox` executes commands as [Vercel](https://vercel.com) serverless functions. It provides globally distributed, zero-infrastructure execution with automatic scaling. For interface details, see the [WorkspaceSandbox interface](https://mastra.ai/reference/workspace/sandbox).
220
220
 
@@ -218,7 +218,7 @@ try {
218
218
  - **Index Deletion Caveat:** Deleting a Search index doesn't delete the vectors/documents in the associated Couchbase collection. Data remains unless explicitly removed.
219
219
  - **Required Permissions:** The Couchbase user must have permissions to connect, read/write documents in the target collection (`kv` role), and manage Search Indexes (`search_admin` role on the relevant bucket/scope).
220
220
  - **Index Definition Details & Document Structure:** The `createIndex` method builds a Search Index definition for documents in `scopeName.collectionName`. It indexes the `embedding` field as a vector and the `content` field as text. Each document stores its vector in `embedding`, with metadata kept in `metadata`. A `text` property within `metadata` is also copied to the top-level `content` field for text search.
221
- - **Replication & Durability:** Consider using Couchbase's built-in replication and persistence features for data durability. Monitor index statistics regularly to ensure efficient search.
221
+ - **Replication & Durability:** Consider using Couchbase's built-in replication and persistence features for data durability. Monitor index statistics to ensure efficient search.
222
222
 
223
223
  ## Limitations
224
224
 
@@ -220,7 +220,7 @@ DuckDB vector store supports MongoDB-like filter operators:
220
220
  | Element | `$exists` |
221
221
  | Text | `$contains` |
222
222
 
223
- ### Filter Examples
223
+ ### Filter examples
224
224
 
225
225
  ```typescript
226
226
  // Allegato operators
@@ -282,7 +282,7 @@ Common error cases include:
282
282
 
283
283
  ## Use cases
284
284
 
285
- ### Embedded Semantic Search
285
+ ### Embedded semantic search
286
286
 
287
287
  Build offline-capable AI applications with semantic search that runs entirely in-process:
288
288
 
@@ -293,7 +293,7 @@ const store = new DuckDBVector({
293
293
  })
294
294
  ```
295
295
 
296
- ### Local RAG Pipelines
296
+ ### Local RAG pipelines
297
297
 
298
298
  Process sensitive documents locally without sending data to cloud vector databases:
299
299
 
@@ -305,9 +305,9 @@ const store = new DuckDBVector({
305
305
  })
306
306
  ```
307
307
 
308
- ### Development and Testing
308
+ ### Development and testing
309
309
 
310
- Rapidly prototype vector search features with zero infrastructure:
310
+ Prototype vector search features with zero infrastructure:
311
311
 
312
312
  ```typescript
313
313
  const store = new DuckDBVector({
@@ -8,7 +8,7 @@ The LanceVectorStore class provides vector search using [LanceDB](https://lanced
8
8
 
9
9
  ## Factory method
10
10
 
11
- The LanceVectorStore uses a factory pattern for creation. You should use the static `create()` method rather than the constructor directly.
11
+ The LanceVectorStore uses a factory pattern for creation. Use the static `create()` method rather than the constructor directly.
12
12
 
13
13
  **uri** (`string`): Path to LanceDB database or URI for cloud deployments
14
14
 
@@ -180,7 +180,7 @@ Returns LanceDB `OptimizeStats` (compaction and pruning counts).
180
180
 
181
181
  `optimize()` adds new rows to the existing index without retraining it. If your data distribution has changed a lot, rebuild the index with `deleteIndex()` and `createIndex()` instead.
182
182
 
183
- LanceDB suggests optimizing after roughly 100,000 modified rows or 20 write operations. Use `getIndexCoverage()` to build your own policy:
183
+ LanceDB suggests optimizing after about 100,000 modified rows or 20 write operations. Use `getIndexCoverage()` to build your own policy:
184
184
 
185
185
  ```typescript
186
186
  const [coverage] = await store.getIndexCoverage({ indexName: 'docs' })
@@ -269,7 +269,7 @@ try {
269
269
 
270
270
  - For optimal performance with large datasets, consider adjusting `numPartitions` and `numSubVectors` values
271
271
 
272
- - Use `close()` method to properly close connections when done with the database
272
+ - Use the `close()` method to close connections when done with the database
273
273
 
274
274
  - Store metadata with a consistent schema to simplify filtering operations
275
275
 
@@ -44,7 +44,7 @@ const store = new MongoDBVector({
44
44
  })
45
45
  ```
46
46
 
47
- ### Custom Embedding Field Path
47
+ ### Custom embedding field path
48
48
 
49
49
  If you need to store embeddings in a nested field structure (e.g., to integrate with existing MongoDB collections), use the `embeddingFieldPath` option:
50
50
 
@@ -230,7 +230,7 @@ const results = await store.textQuery({
230
230
 
231
231
  ### `hybridQuery()`
232
232
 
233
- Runs a hybrid search that fuses vector similarity with full-text results through MongoDB's server-side `$rankFusion`. The feature requires MongoDB 8.0 or later and is generally available from 8.1. MongoDB Atlas 8.0.x supports it where enabled, although enablement may require a support case. A full-text search index must exist. Managed indexes create one automatically, while bring-your-own collections require an explicit `createSearchIndex()` call.
233
+ Runs a hybrid search that fuses vector similarity with full-text results through MongoDB's server-side `$rankFusion`. The feature requires MongoDB 8.0 or later and is available from 8.1. MongoDB Atlas 8.0.x supports it where enabled, although enablement may require a support case. A full-text search index must exist. Managed indexes create one automatically, while bring-your-own collections require an explicit `createSearchIndex()` call.
234
234
 
235
235
  **indexName** (`string`): Name of the Mastra index to search
236
236
 
@@ -267,7 +267,7 @@ const results = await store.hybridQuery({
267
267
  })
268
268
  ```
269
269
 
270
- `hybridQuery()` requires MongoDB 8.0 or later for the `$rankFusion` stage, which is generally available from 8.1. On 8.0.x, the stage runs where enabled, including MongoDB Atlas, but enablement may require a support case. If your deployment is older or lacks `$rankFusion`, run `query()` and `textQuery()` separately before merging the results client-side.
270
+ `hybridQuery()` requires MongoDB 8.0 or later for the `$rankFusion` stage, which is available from 8.1. On 8.0.x, the stage runs where enabled, including MongoDB Atlas, but enablement may require a support case. If your deployment is older or lacks `$rankFusion`, run `query()` and `textQuery()` separately before merging the results client-side.
271
271
 
272
272
  ### `describeIndex()`
273
273
 
@@ -382,7 +382,7 @@ try {
382
382
  }
383
383
  ```
384
384
 
385
- ## Automated Embedding
385
+ ## Automated embedding
386
386
 
387
387
  MongoDB can generate the embeddings for you. Create the index with `autoEmbed` and a Voyage AI model, write plain text through `documents`, and search with `queryText`. No embedding provider runs in your application, and no vectors travel through it.
388
388
 
@@ -510,7 +510,7 @@ await store.createSearchIndex({ indexName: 'precedents', fields: ['note'] })
510
510
 
511
511
  - Index metadata fields used in filters for optimal query performance.
512
512
  - Use consistent field naming in metadata to avoid unexpected query results.
513
- - Regularly monitor index and collection statistics to ensure efficient search.
513
+ - Monitor index and collection statistics to ensure efficient search.
514
514
  - When indexing existing collections, ensure all documents have the required `embedding` field.
515
515
 
516
516
  ## Usage example
@@ -36,7 +36,7 @@ The PgVector class provides vector search using [PostgreSQL](https://www.postgre
36
36
 
37
37
  ## Constructor examples
38
38
 
39
- ### Connection String
39
+ ### Connection string
40
40
 
41
41
  ```ts
42
42
  import { PgVector } from '@mastra/pg'
@@ -47,7 +47,7 @@ const vectorStore = new PgVector({
47
47
  })
48
48
  ```
49
49
 
50
- ### Host/Port/Database Configuration
50
+ ### Host, port, and database configuration
51
51
 
52
52
  ```ts
53
53
  const vectorStore = new PgVector({
@@ -60,7 +60,7 @@ const vectorStore = new PgVector({
60
60
  })
61
61
  ```
62
62
 
63
- ### Advanced Configuration
63
+ ### Advanced configuration
64
64
 
65
65
  ```ts
66
66
  const vectorStore = new PgVector({
@@ -114,7 +114,7 @@ const vectorStore = new PgVector({
114
114
 
115
115
  **hnsw\.efConstruction** (`number`): Build-time complexity (default: 32)
116
116
 
117
- #### Memory Requirements
117
+ #### Memory requirements
118
118
 
119
119
  HNSW indexes require substantial shared memory during construction. For 100K vectors:
120
120
 
@@ -326,21 +326,21 @@ try {
326
326
 
327
327
  ## Index configuration guide
328
328
 
329
- ### Performance Optimization
329
+ ### Performance optimization
330
330
 
331
- #### IVFFlat Tuning
331
+ #### IVFFlat tuning
332
332
 
333
333
  - **lists parameter**: Set to `sqrt(n) * 2` where n is the number of vectors
334
334
  - More lists = better accuracy but slower build time
335
- - Fewer lists = faster build but potentially lower accuracy
335
+ - Fewer lists = faster build but lower accuracy in some cases
336
336
 
337
- #### HNSW Tuning
337
+ #### HNSW tuning
338
338
 
339
339
  - **m parameter**:
340
340
 
341
341
  - 8-16: Moderate accuracy, lower memory
342
342
  - 16-32: High accuracy, moderate memory
343
- - 32-64: Very high accuracy, high memory
343
+ - 32-64: High accuracy, high memory
344
344
 
345
345
  - **efConstruction**:
346
346
 
@@ -348,7 +348,7 @@ try {
348
348
  - 64-128: Slower build, better quality
349
349
  - 128-256: Slowest build, best quality
350
350
 
351
- ### Index Recreation Behavior
351
+ ### Index recreation behavior
352
352
 
353
353
  The system automatically detects configuration changes and only rebuilds indexes when necessary:
354
354
 
@@ -358,7 +358,7 @@ The system automatically detects configuration changes and only rebuilds indexes
358
358
 
359
359
  ## Best practices
360
360
 
361
- - Regularly evaluate your index configuration to ensure optimal performance.
361
+ - Evaluate your index configuration to ensure optimal performance.
362
362
  - Adjust parameters like `lists` and `m` based on dataset size and query requirements.
363
363
  - **Monitor index performance** using `describeIndex()` to track usage
364
364
  - Rebuild indexes periodically to maintain efficiency, especially after substantial data changes
@@ -28,7 +28,7 @@ The QdrantVector class provides vector search using [Qdrant](https://qdrant.tech
28
28
 
29
29
  **namedVectors** (`Record<string, { size: number; distance: 'cosine' | 'euclidean' | 'dotproduct' }>`): Configuration for named vector spaces. When provided, creates a collection with multiple named vector fields.
30
30
 
31
- #### Creating a `named vectors` Collection
31
+ #### Creating a `named vectors` collection
32
32
 
33
33
  ```typescript
34
34
  // Create a collection with multiple named vector spaces
@@ -54,7 +54,7 @@ await store.createIndex({
54
54
 
55
55
  **vectorName** (`string`): Name of the vector space to upsert into when using named vectors.
56
56
 
57
- #### Upserting into Named Vector Spaces
57
+ #### Upserting into named vector spaces
58
58
 
59
59
  ```typescript
60
60
  // Upsert into the "text" vector space
@@ -108,7 +108,7 @@ Attempts to delete an item by its ID from the specified index. Logs an error mes
108
108
 
109
109
  Delete multiple vectors by IDs or by metadata filter. Either `ids` or `filter` must be provided, but not both, and neither can be empty.
110
110
 
111
- Filter deletion runs one approximate query with `topK: 1000` and deletes the returned IDs. `deleteVectors()` returns `Promise<void>` and does not report how many vectors it deleted, so repeating the call cannot guarantee complete deletion. Use [Upstash's filter-delete API](https://upstash.com/docs/vector/api/endpoints/delete) when complete filter deletion is required. Deleting by `ids` isn't subject to this query limit.
111
+ Filter deletion runs one approximate query with `topK: 1000` and deletes the returned IDs. `deleteVectors()` returns `Promise<void>` and doesn't report how many vectors it deleted, so repeating the call can't guarantee complete deletion. Use [Upstash's filter-delete API](https://upstash.com/docs/vector/api/endpoints/delete) when complete filter deletion is required. Deleting by `ids` isn't subject to this query limit.
112
112
 
113
113
  **indexName** (`string`): Namespace to delete from
114
114
 
@@ -120,7 +120,7 @@ Filter deletion runs one approximate query with `topK: 1000` and deletes the ret
120
120
 
121
121
  Upstash Vector supports hybrid search that combines semantic search (dense vectors) with keyword-based search (sparse vectors) for improved relevance and accuracy.
122
122
 
123
- ### Basic Hybrid Usage
123
+ ### Basic hybrid usage
124
124
 
125
125
  ```typescript
126
126
  import { UpstashVector } from '@mastra/upstash'
@@ -157,7 +157,7 @@ const results = await vectorStore.query({
157
157
  })
158
158
  ```
159
159
 
160
- ### Advanced Hybrid Search Options
160
+ ### Advanced hybrid search options
161
161
 
162
162
  ```typescript
163
163
  import { FusionAlgorithm, QueryMode } from '@upstash/vector'
@@ -189,7 +189,7 @@ const sparseResults = await vectorStore.query({
189
189
  })
190
190
  ```
191
191
 
192
- ### Updating Hybrid Vectors
192
+ ### Updating hybrid vectors
193
193
 
194
194
  ```typescript
195
195
  // Update both dense and sparse components
@@ -116,7 +116,7 @@ API keys and regions can be provided via constructor options or environment vari
116
116
  - `AZURE_API_KEY` - Your Azure Speech Services subscription key
117
117
  - `AZURE_REGION` - Your Azure region (e.g., 'eastus', 'westeurope')
118
118
 
119
- ### Voice Capabilities
119
+ ### Voice capabilities
120
120
 
121
121
  - Azure offers 200+ neural voices across 50+ languages
122
122
  - Each voice ID follows the format: `{language}-{region}-{name}Neural` (e.g., 'en-US-JennyNeural')
@@ -76,7 +76,7 @@ Returns an array of available voice options, where each node contains:
76
76
  - This provider only supports text-to-speech (TTS) functionality, not speech-to-text (STT)
77
77
  - The service integrates well with other Cloudflare Workers products
78
78
  - For production use, ensure your Cloudflare account has the appropriate Workers AI subscription
79
- - Voice options are more limited compared to some other providers, but performance at the edge is excellent
79
+ - Voice options are more limited compared to some other providers, but performance at the edge is strong
80
80
 
81
81
  ## Related providers
82
82
 
@@ -164,7 +164,7 @@ Returns: `string` - The location (default: `'us-central1'`)
164
164
 
165
165
  The Google Voice provider supports two authentication methods:
166
166
 
167
- #### Standard Mode (API Key)
167
+ #### Standard mode (API key)
168
168
 
169
169
  Uses a Google Cloud API key for authentication. Suitable for development and basic use cases.
170
170
 
@@ -180,7 +180,7 @@ const voice = new GoogleVoice({
180
180
  })
181
181
  ```
182
182
 
183
- #### Vertex AI Mode (Service Account)
183
+ #### Vertex AI mode (service account)
184
184
 
185
185
  Uses Google Cloud project-based authentication with service accounts. Recommended for production and enterprise deployments.
186
186
 
@@ -228,9 +228,9 @@ const voice = new GoogleVoice({
228
228
  })
229
229
  ```
230
230
 
231
- ##### Required Permissions
231
+ ##### Required permissions
232
232
 
233
- ##### IAM Roles
233
+ ##### IAM roles
234
234
 
235
235
  For Text-to-Speech:
236
236
 
@@ -242,7 +242,7 @@ For Speech-to-Text:
242
242
 
243
243
  - `roles/speech.client` - Speech-to-Text Client
244
244
 
245
- ##### OAuth Scopes
245
+ ##### OAuth scopes
246
246
 
247
247
  For synchronous Text-to-Speech synthesis:
248
248
 
@@ -271,7 +271,7 @@ For long-audio Text-to-Speech operations:
271
271
 
272
272
  5. The `speak()` method supports advanced audio configuration through the Google Cloud Text-to-Speech API.
273
273
 
274
- 6. The `listen()` method supports various recognition configurations through the Google Cloud Speech-to-Text API.
274
+ 6. The `listen()` method supports recognition configurations through the Google Cloud Speech-to-Text API.
275
275
 
276
276
  7. Available voices can be filtered by language code using the `getSpeakers()` method.
277
277
 
@@ -511,7 +511,7 @@ Returns: `Promise<Array<{ voiceId: string; description?: string }>>`
511
511
 
512
512
  #### `disconnect()`
513
513
 
514
- Disconnects from the Gemini Live session and cleans up resources. This is the async method that properly handles cleanup.
514
+ Disconnects from the Gemini Live session and cleans up resources. This is the async method that handles cleanup.
515
515
 
516
516
  Returns: `Promise<void>`
517
517
 
@@ -599,7 +599,7 @@ The following voice options are available:
599
599
 
600
600
  ### Authentication methods
601
601
 
602
- #### Gemini API (Development)
602
+ #### Gemini API (development)
603
603
 
604
604
  The simplest method using an API key from [Google AI Studio](https://makersuite.google.com/app/apikey):
605
605
 
@@ -610,7 +610,7 @@ const voice = new GeminiLiveVoice({
610
610
  })
611
611
  ```
612
612
 
613
- #### Vertex AI (Production)
613
+ #### Vertex AI (production)
614
614
 
615
615
  For production use with OAuth authentication and Google Cloud Platform:
616
616
 
@@ -641,7 +641,7 @@ const voice = new GeminiLiveVoice({
641
641
 
642
642
  ### Advanced features
643
643
 
644
- #### Session Management
644
+ #### Session management
645
645
 
646
646
  The Gemini Live API supports session resumption for handling network interruptions:
647
647
 
@@ -660,7 +660,7 @@ const voice = new GeminiLiveVoice({
660
660
  })
661
661
  ```
662
662
 
663
- #### Tool Calling
663
+ #### Tool calling
664
664
 
665
665
  Enable the model to call functions during conversations:
666
666
 
@@ -690,7 +690,7 @@ voice.on('toolCall', ({ name, args, id }) => {
690
690
  - The Gemini Live API uses WebSockets for real-time communication
691
691
  - Audio is processed as 16kHz PCM16 for input and 24kHz PCM16 for output
692
692
  - The voice instance must be connected with `connect()` before using other methods
693
- - Always call `close()` when done to properly clean up resources
693
+ - Always call `close()` when done to clean up resources
694
694
  - Vertex AI authentication requires appropriate IAM permissions (`aiplatform.user` role)
695
695
  - Session resumption allows recovery from network interruptions
696
696
  - The API supports real-time interactions with text and audio
@@ -196,7 +196,7 @@ await voice.send(microphoneStream)
196
196
  voice.close()
197
197
  ```
198
198
 
199
- > Inworld API keys are pre-Basic-encoded. Paste them verbatim into `INWORLD_API_KEY`. The package doesn't re-encode them.
199
+ > Inworld API keys are pre-Basic-encoded: paste them verbatim into `INWORLD_API_KEY`, and the package doesn't re-encode them.
200
200
 
201
201
  ### Constructor parameters
202
202
 
@@ -399,7 +399,7 @@ Returns: `void`
399
399
 
400
400
  #### `getSpeakers()`
401
401
 
402
- Returns the curated voice list bundled with the package. Inworld's catalog is larger than this list; any voice ID can be passed to `speaker` at runtime.
402
+ Returns the curated voice list bundled with the package. Inworld's catalog is larger than this list. Any voice ID can be passed to `speaker` at runtime.
403
403
 
404
404
  Returns: `Promise<Array<{ voiceId: string }>>`
405
405