@mastra/mcp-docs-server 1.3.15-alpha.2 → 1.3.15

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 (444) 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 +9 -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 +5 -5
  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 +3 -3
  26. package/.docs/docs/harness/background-tasks.md +1 -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/access-tokens.md +84 -0
  31. package/.docs/docs/mastra-platform/api.md +2 -2
  32. package/.docs/docs/mastra-platform/configuration.md +10 -14
  33. package/.docs/docs/mastra-platform/database.md +30 -23
  34. package/.docs/docs/mastra-platform/{environments.md → deploy/environments.md} +7 -7
  35. package/.docs/docs/mastra-platform/{github.md → deploy/github.md} +3 -3
  36. package/.docs/docs/mastra-platform/{deploy.md → deploy/overview.md} +8 -10
  37. package/.docs/docs/mastra-platform/{regions.md → deploy/regions.md} +4 -4
  38. package/.docs/docs/mastra-platform/{server.md → deploy/server.md} +18 -10
  39. package/.docs/docs/mastra-platform/{studio.md → deploy/studio.md} +2 -2
  40. package/.docs/docs/mastra-platform/{trace-intelligence.md → observability/trace-intelligence.md} +6 -6
  41. package/.docs/docs/mastra-platform/overview.md +12 -12
  42. package/.docs/docs/mastra-platform/system-environment-variables.md +13 -13
  43. package/.docs/docs/mastra-platform/team-members.md +49 -0
  44. package/.docs/docs/mastra-platform/workspaces.md +11 -11
  45. package/.docs/docs/memory/memory-processors.md +2 -2
  46. package/.docs/docs/memory/message-history.md +1 -1
  47. package/.docs/docs/memory/multi-user-threads.md +1 -1
  48. package/.docs/docs/memory/observational-memory.md +3 -3
  49. package/.docs/docs/memory/semantic-recall.md +4 -4
  50. package/.docs/docs/memory/working-memory.md +16 -16
  51. package/.docs/docs/observability/integrations/exporters/mastra-storage.md +13 -13
  52. package/.docs/docs/observability/overview.md +2 -2
  53. package/.docs/docs/observability/tracing/overview.md +4 -2
  54. package/.docs/docs/sandbox/filesystem.md +1 -1
  55. package/.docs/docs/server/custom-api-routes.md +1 -1
  56. package/.docs/docs/server/middleware.md +1 -1
  57. package/.docs/docs/server/request-context.md +1 -1
  58. package/.docs/docs/signals/overview.md +1 -1
  59. package/.docs/docs/signals/sending-signals.md +1 -1
  60. package/.docs/docs/studio/auth.md +1 -1
  61. package/.docs/docs/studio/deployment.md +3 -3
  62. package/.docs/docs/studio/editor.md +2 -2
  63. package/.docs/docs/studio/observability.md +3 -3
  64. package/.docs/docs/studio/overview.md +1 -1
  65. package/.docs/docs/workflows/control-flow.md +4 -4
  66. package/.docs/docs/workflows/overview.md +3 -3
  67. package/.docs/docs/workflows/snapshots.md +2 -2
  68. package/.docs/integrations/agentic-ui/ai-sdk-ui.md +3 -3
  69. package/.docs/integrations/agentic-ui/assistant-ui.md +5 -5
  70. package/.docs/integrations/agentic-ui/copilotkit.md +4 -4
  71. package/.docs/integrations/agentic-ui/openui.md +2 -2
  72. package/.docs/integrations/auth/auth0.md +3 -3
  73. package/.docs/integrations/auth/better-auth.md +1 -1
  74. package/.docs/integrations/auth/clerk.md +1 -1
  75. package/.docs/integrations/auth/firebase.md +3 -3
  76. package/.docs/integrations/auth/google.md +2 -2
  77. package/.docs/integrations/auth/okta.md +3 -3
  78. package/.docs/integrations/auth/supabase.md +1 -1
  79. package/.docs/integrations/auth/workos.md +1 -1
  80. package/.docs/integrations/browsers/stagehand.md +1 -1
  81. package/.docs/integrations/channels/imessage.md +1 -1
  82. package/.docs/integrations/channels/ring.md +6 -6
  83. package/.docs/integrations/channels/slack.md +1 -1
  84. package/.docs/integrations/channels/whatsapp.md +1 -1
  85. package/.docs/integrations/databases/aurora-dsql.md +13 -13
  86. package/.docs/integrations/databases/clickhouse.md +2 -2
  87. package/.docs/integrations/databases/cloudflare-d1.md +4 -4
  88. package/.docs/integrations/databases/cloudflare-kv.md +10 -10
  89. package/.docs/integrations/databases/convex.md +6 -6
  90. package/.docs/integrations/databases/dynamodb.md +8 -8
  91. package/.docs/integrations/databases/elasticsearch.md +6 -6
  92. package/.docs/integrations/databases/lancedb.md +4 -4
  93. package/.docs/integrations/databases/mongodb.md +2 -2
  94. package/.docs/integrations/databases/mssql.md +2 -2
  95. package/.docs/integrations/databases/oracledb.md +2 -2
  96. package/.docs/integrations/databases/postgresql.md +14 -14
  97. package/.docs/integrations/databases/redis.md +7 -7
  98. package/.docs/integrations/databases/spanner.md +2 -2
  99. package/.docs/integrations/databases/upstash.md +5 -5
  100. package/.docs/integrations/databases/valkey.md +1 -1
  101. package/.docs/integrations/deploy/amazon-ec2.md +1 -1
  102. package/.docs/integrations/deploy/aws-bedrock-agentcore.md +1 -1
  103. package/.docs/integrations/deploy/aws-lambda.md +12 -12
  104. package/.docs/integrations/deploy/azure-app-services.md +2 -2
  105. package/.docs/integrations/deploy/cloudflare.md +2 -2
  106. package/.docs/integrations/deploy/digital-ocean.md +2 -2
  107. package/.docs/integrations/deploy/inngest.md +5 -5
  108. package/.docs/integrations/deploy/kubernetes-helm.md +20 -20
  109. package/.docs/integrations/deploy/neon.md +1 -1
  110. package/.docs/integrations/deploy/netlify.md +1 -1
  111. package/.docs/integrations/deploy/render.md +1 -1
  112. package/.docs/integrations/deploy/temporal.md +1 -1
  113. package/.docs/integrations/deploy/vercel.md +4 -4
  114. package/.docs/integrations/file-storage/google-cloud-storage.md +1 -1
  115. package/.docs/integrations/frameworks/angular.md +1 -1
  116. package/.docs/integrations/frameworks/astro.md +3 -3
  117. package/.docs/integrations/frameworks/electron.md +1 -1
  118. package/.docs/integrations/frameworks/express.md +1 -1
  119. package/.docs/integrations/frameworks/hono.md +1 -1
  120. package/.docs/integrations/frameworks/nestjs.md +2 -2
  121. package/.docs/integrations/frameworks/next-js.md +3 -3
  122. package/.docs/integrations/frameworks/nuxt.md +1 -1
  123. package/.docs/integrations/frameworks/sveltekit.md +1 -1
  124. package/.docs/integrations/frameworks/tanstack-start.md +3 -3
  125. package/.docs/integrations/frameworks/vite-react.md +3 -3
  126. package/.docs/integrations/observability/arize.md +9 -9
  127. package/.docs/integrations/observability/arthur.md +3 -3
  128. package/.docs/integrations/observability/braintrust.md +3 -3
  129. package/.docs/integrations/observability/confident-ai.md +5 -5
  130. package/.docs/integrations/observability/datadog.md +9 -9
  131. package/.docs/integrations/observability/laminar.md +2 -2
  132. package/.docs/integrations/observability/langfuse.md +14 -14
  133. package/.docs/integrations/observability/langsmith.md +9 -9
  134. package/.docs/integrations/observability/opentelemetry.md +23 -23
  135. package/.docs/integrations/observability/sentry.md +4 -4
  136. package/.docs/integrations/sandboxes/agentcore.md +1 -1
  137. package/.docs/integrations/sandboxes/apple-container.md +2 -2
  138. package/.docs/integrations/sandboxes/cloudflare-sandbox.md +6 -6
  139. package/.docs/integrations/sandboxes/daytona.md +5 -5
  140. package/.docs/integrations/sandboxes/docker.md +6 -6
  141. package/.docs/integrations/sandboxes/e2b-desktop.md +1 -1
  142. package/.docs/integrations/sandboxes/e2b.md +14 -14
  143. package/.docs/integrations/sandboxes/modal.md +1 -1
  144. package/.docs/integrations/sandboxes/railway.md +1 -1
  145. package/.docs/integrations/sandboxes/sprites.md +2 -2
  146. package/.docs/integrations/sandboxes/vercel.md +4 -4
  147. package/.docs/integrations/vectors/couchbase.md +1 -1
  148. package/.docs/integrations/vectors/duckdb.md +5 -5
  149. package/.docs/integrations/vectors/lance.md +3 -3
  150. package/.docs/integrations/vectors/mongodb.md +5 -5
  151. package/.docs/integrations/vectors/pg.md +11 -11
  152. package/.docs/integrations/vectors/qdrant.md +2 -2
  153. package/.docs/integrations/vectors/upstash.md +4 -4
  154. package/.docs/integrations/voice/azure.md +1 -1
  155. package/.docs/integrations/voice/cloudflare.md +1 -1
  156. package/.docs/integrations/voice/google.md +12 -12
  157. package/.docs/integrations/voice/inworld.md +2 -2
  158. package/.docs/integrations/voice/livekit.md +25 -25
  159. package/.docs/integrations/voice/openai.md +4 -4
  160. package/.docs/integrations/voice/sarvam.md +1 -1
  161. package/.docs/integrations/voice/speechify.md +1 -1
  162. package/.docs/integrations/voice/xai.md +1 -1
  163. package/.docs/integrations.md +2 -2
  164. package/.docs/models/environment-variables.md +92 -3
  165. package/.docs/models/gateways/merge-gateway.md +4 -1
  166. package/.docs/models/gateways/neon.md +1 -2
  167. package/.docs/models/gateways/netlify.md +7 -6
  168. package/.docs/models/gateways/openrouter.md +16 -11
  169. package/.docs/models/gateways/requesty.md +7 -17
  170. package/.docs/models/gateways/vercel.md +12 -16
  171. package/.docs/models/index.md +93 -30
  172. package/.docs/models/providers/302ai.md +2 -1
  173. package/.docs/models/providers/abacus.md +1 -1
  174. package/.docs/models/providers/abliteratedllm.md +95 -0
  175. package/.docs/models/providers/abliteration-ai.md +7 -6
  176. package/.docs/models/providers/adaption.md +87 -0
  177. package/.docs/models/providers/adzuki.md +92 -0
  178. package/.docs/models/providers/aigrow.md +89 -0
  179. package/.docs/models/providers/aimlapi.md +1 -7
  180. package/.docs/models/providers/aipg.md +82 -0
  181. package/.docs/models/providers/aistupidlevel.md +90 -0
  182. package/.docs/models/providers/aki-io.md +15 -13
  183. package/.docs/models/providers/ambient.md +13 -12
  184. package/.docs/models/providers/anonrouter.md +83 -0
  185. package/.docs/models/providers/anthropic.md +18 -20
  186. package/.docs/models/providers/apiko.md +83 -0
  187. package/.docs/models/providers/augure.md +86 -0
  188. package/.docs/models/providers/autarcho.md +81 -0
  189. package/.docs/models/providers/bailing.md +15 -12
  190. package/.docs/models/providers/bumo.md +100 -0
  191. package/.docs/models/providers/byteplus.md +94 -0
  192. package/.docs/models/providers/cedarllm.md +81 -0
  193. package/.docs/models/providers/cheapaimodel.md +85 -0
  194. package/.docs/models/providers/cheapest-token.md +99 -0
  195. package/.docs/models/providers/cheapllm.md +81 -0
  196. package/.docs/models/providers/chutes.md +8 -8
  197. package/.docs/models/providers/cline-pass.md +4 -3
  198. package/.docs/models/providers/cloudcode.md +86 -0
  199. package/.docs/models/providers/cloudflare-workers-ai.md +2 -1
  200. package/.docs/models/providers/commandcode.md +22 -1
  201. package/.docs/models/providers/confidential-ai.md +81 -0
  202. package/.docs/models/providers/cortecs.md +14 -14
  203. package/.docs/models/providers/crossmodel.md +7 -2
  204. package/.docs/models/providers/deepinfra.md +3 -1
  205. package/.docs/models/providers/digitalocean.md +5 -4
  206. package/.docs/models/providers/dothoosh.md +96 -0
  207. package/.docs/models/providers/doubleword.md +98 -0
  208. package/.docs/models/providers/edenai.md +52 -44
  209. package/.docs/models/providers/empiriolabs.md +2 -1
  210. package/.docs/models/providers/engy.md +2 -1
  211. package/.docs/models/providers/entrim.md +84 -0
  212. package/.docs/models/providers/ezkielyna.md +85 -0
  213. package/.docs/models/providers/fastrouter.md +21 -5
  214. package/.docs/models/providers/fiftyx.md +81 -0
  215. package/.docs/models/providers/fireworks-ai.md +1 -1
  216. package/.docs/models/providers/fortytwo.md +81 -0
  217. package/.docs/models/providers/frequency.md +81 -0
  218. package/.docs/models/providers/frogbot.md +30 -5
  219. package/.docs/models/providers/gisoo.md +96 -0
  220. package/.docs/models/providers/google.md +5 -4
  221. package/.docs/models/providers/graphn.md +87 -0
  222. package/.docs/models/providers/hetzner.md +1 -1
  223. package/.docs/models/providers/hostinger-router.md +88 -0
  224. package/.docs/models/providers/huawei-maas.md +88 -0
  225. package/.docs/models/providers/hubris.md +96 -0
  226. package/.docs/models/providers/huggingface.md +5 -1
  227. package/.docs/models/providers/humain.md +82 -0
  228. package/.docs/models/providers/hyper.md +24 -22
  229. package/.docs/models/providers/inceptron.md +4 -4
  230. package/.docs/models/providers/infer.md +17 -9
  231. package/.docs/models/providers/inferall.md +86 -0
  232. package/.docs/models/providers/inference-coop.md +88 -0
  233. package/.docs/models/providers/inferenceapis.md +91 -0
  234. package/.docs/models/providers/inferris.md +84 -0
  235. package/.docs/models/providers/infersia.md +86 -0
  236. package/.docs/models/providers/isoquant.md +82 -0
  237. package/.docs/models/providers/iteracompute.md +33 -16
  238. package/.docs/models/providers/jad-ai.md +83 -0
  239. package/.docs/models/providers/joingonka.md +83 -0
  240. package/.docs/models/providers/jzstoken.md +102 -0
  241. package/.docs/models/providers/keln.md +94 -0
  242. package/.docs/models/providers/kenari.md +47 -12
  243. package/.docs/models/providers/kilo.md +191 -100
  244. package/.docs/models/providers/kitani.md +89 -0
  245. package/.docs/models/providers/klavo.md +90 -0
  246. package/.docs/models/providers/korouter.md +99 -0
  247. package/.docs/models/providers/kunavo.md +96 -0
  248. package/.docs/models/providers/liquid.md +15 -8
  249. package/.docs/models/providers/lithosai.md +83 -0
  250. package/.docs/models/providers/llmgateway-providers.md +96 -43
  251. package/.docs/models/providers/llmgateway.md +33 -21
  252. package/.docs/models/providers/logits.md +82 -0
  253. package/.docs/models/providers/lowrouter.md +17 -4
  254. package/.docs/models/providers/lyceum.md +88 -0
  255. package/.docs/models/providers/mallard.md +81 -0
  256. package/.docs/models/providers/meragpt.md +81 -0
  257. package/.docs/models/providers/mistral.md +1 -1
  258. package/.docs/models/providers/moneo.md +92 -0
  259. package/.docs/models/providers/nan.md +11 -8
  260. package/.docs/models/providers/nano-gpt.md +77 -73
  261. package/.docs/models/providers/nearai.md +1 -1
  262. package/.docs/models/providers/nebius.md +3 -6
  263. package/.docs/models/providers/neuralwatt.md +28 -25
  264. package/.docs/models/providers/nodecode.md +81 -0
  265. package/.docs/models/providers/nokeep.md +83 -0
  266. package/.docs/models/providers/novita-ai.md +4 -1
  267. package/.docs/models/providers/oathbreaker.md +82 -0
  268. package/.docs/models/providers/obscurify.md +95 -0
  269. package/.docs/models/providers/ofox.md +7 -3
  270. package/.docs/models/providers/ollama-cloud.md +2 -1
  271. package/.docs/models/providers/openai.md +4 -2
  272. package/.docs/models/providers/opencode-go.md +3 -1
  273. package/.docs/models/providers/opencode.md +5 -3
  274. package/.docs/models/providers/opper.md +2 -1
  275. package/.docs/models/providers/outerlabs.md +98 -0
  276. package/.docs/models/providers/paraloncloud.md +81 -0
  277. package/.docs/models/providers/pareto.md +9 -7
  278. package/.docs/models/providers/phala.md +99 -0
  279. package/.docs/models/providers/phase.md +82 -0
  280. package/.docs/models/providers/powerspring.md +87 -0
  281. package/.docs/models/providers/prime.md +5 -5
  282. package/.docs/models/providers/proxystacks.md +84 -0
  283. package/.docs/models/providers/rayline.md +82 -0
  284. package/.docs/models/providers/refuseless.md +86 -0
  285. package/.docs/models/providers/ruapi.md +89 -0
  286. package/.docs/models/providers/runcrate.md +91 -0
  287. package/.docs/models/providers/runinfra.md +2 -1
  288. package/.docs/models/providers/sagg.md +81 -0
  289. package/.docs/models/providers/sambanova.md +10 -12
  290. package/.docs/models/providers/sandbase.md +90 -0
  291. package/.docs/models/providers/scx-ai.md +20 -10
  292. package/.docs/models/providers/sensenova.md +4 -4
  293. package/.docs/models/providers/siliconflow-cn.md +2 -1
  294. package/.docs/models/providers/sokkan.md +85 -0
  295. package/.docs/models/providers/sparrowcodes.md +99 -0
  296. package/.docs/models/providers/steadyrouter.md +101 -0
  297. package/.docs/models/providers/stepping-stone.md +95 -0
  298. package/.docs/models/providers/superbot-gg.md +82 -0
  299. package/.docs/models/providers/synthetic.md +14 -14
  300. package/.docs/models/providers/synthorai.md +92 -0
  301. package/.docs/models/providers/teamorouter.md +90 -0
  302. package/.docs/models/providers/teapot-router.md +87 -0
  303. package/.docs/models/providers/tencent-token-plan.md +23 -11
  304. package/.docs/models/providers/tenstorrent.md +84 -0
  305. package/.docs/models/providers/therouter.md +81 -0
  306. package/.docs/models/providers/tinfoil.md +1 -1
  307. package/.docs/models/providers/toapis.md +83 -0
  308. package/.docs/models/providers/tokenify.md +85 -0
  309. package/.docs/models/providers/tokenlab.md +81 -0
  310. package/.docs/models/providers/tokenwatt.md +81 -0
  311. package/.docs/models/providers/trustedtokens.md +90 -0
  312. package/.docs/models/providers/umans-ai-coding-plan.md +2 -5
  313. package/.docs/models/providers/umans-ai.md +5 -7
  314. package/.docs/models/providers/unbiased.md +81 -0
  315. package/.docs/models/providers/uncensuredai.md +83 -0
  316. package/.docs/models/providers/unrestricted.md +84 -0
  317. package/.docs/models/providers/uplinkswitch.md +92 -0
  318. package/.docs/models/providers/verda.md +81 -0
  319. package/.docs/models/providers/volcengine-coding-plan.md +16 -9
  320. package/.docs/models/providers/volcengine.md +2 -2
  321. package/.docs/models/providers/wafer.ai.md +20 -10
  322. package/.docs/models/providers/wallaby.md +7 -5
  323. package/.docs/models/providers/wally.md +9 -8
  324. package/.docs/models/providers/watt.md +98 -0
  325. package/.docs/models/providers/xxapi.md +96 -0
  326. package/.docs/models/providers/zenifra.md +22 -10
  327. package/.docs/models/providers/zerogpu.md +89 -0
  328. package/.docs/models/providers/zro.md +85 -0
  329. package/.docs/models/providers.md +92 -3
  330. package/.docs/reference/agents/agent.md +1 -1
  331. package/.docs/reference/agents/durable-agent.md +2 -2
  332. package/.docs/reference/agents/generateLegacy.md +4 -4
  333. package/.docs/reference/agents/network.md +2 -2
  334. package/.docs/reference/ai-sdk/overview.md +2 -2
  335. package/.docs/reference/build-with-ai.md +3 -3
  336. package/.docs/reference/channels/slack-provider.md +1 -1
  337. package/.docs/reference/classifier/classifier.md +1 -1
  338. package/.docs/reference/cli/mastra.md +4 -4
  339. package/.docs/reference/client-js/agent-controller.md +1 -1
  340. package/.docs/reference/client-js/memory.md +10 -10
  341. package/.docs/reference/client-js/observability.md +1 -1
  342. package/.docs/reference/client-js/responses.md +1 -1
  343. package/.docs/reference/client-js/tools.md +2 -2
  344. package/.docs/reference/client-js/vectors.md +6 -6
  345. package/.docs/reference/configuration.md +1 -1
  346. package/.docs/reference/connect/tools.md +1 -1
  347. package/.docs/reference/deployer.md +4 -4
  348. package/.docs/reference/evals/answer-relevancy.md +2 -2
  349. package/.docs/reference/evals/bias.md +2 -2
  350. package/.docs/reference/evals/checks.md +1 -1
  351. package/.docs/reference/evals/completeness.md +4 -4
  352. package/.docs/reference/evals/content-similarity.md +4 -4
  353. package/.docs/reference/evals/context-precision.md +6 -6
  354. package/.docs/reference/evals/context-recall.md +1 -1
  355. package/.docs/reference/evals/context-relevance.md +9 -9
  356. package/.docs/reference/evals/create-scorer.md +3 -3
  357. package/.docs/reference/evals/faithfulness.md +1 -1
  358. package/.docs/reference/evals/hallucination.md +6 -6
  359. package/.docs/reference/evals/keyword-coverage.md +2 -2
  360. package/.docs/reference/evals/multi-turn-judge.md +1 -1
  361. package/.docs/reference/evals/noise-sensitivity.md +16 -16
  362. package/.docs/reference/evals/prompt-alignment.md +25 -25
  363. package/.docs/reference/evals/run-evals.md +2 -2
  364. package/.docs/reference/evals/summarization.md +1 -1
  365. package/.docs/reference/evals/textual-difference.md +2 -2
  366. package/.docs/reference/evals/tone-consistency.md +2 -2
  367. package/.docs/reference/evals/tool-call-accuracy.md +10 -10
  368. package/.docs/reference/evals/toxicity.md +2 -2
  369. package/.docs/reference/evals/trajectory-accuracy.md +2 -2
  370. package/.docs/reference/manual-install.md +2 -2
  371. package/.docs/reference/memory/listThreads.md +1 -1
  372. package/.docs/reference/migrations/agentnetwork.md +1 -1
  373. package/.docs/reference/migrations/mastra-cloud.md +9 -9
  374. package/.docs/reference/migrations/mcp-v2.md +1 -1
  375. package/.docs/reference/migrations/upgrade-to-v1/deployment.md +1 -1
  376. package/.docs/reference/migrations/upgrade-to-v1/overview.md +8 -8
  377. package/.docs/reference/migrations/upgrade-to-v1/tracing.md +3 -3
  378. package/.docs/reference/observability/tracing/advanced-queries.md +1 -1
  379. package/.docs/reference/observability/tracing/bridges/datadog.md +4 -4
  380. package/.docs/reference/observability/tracing/bridges/otel.md +4 -4
  381. package/.docs/reference/observability/tracing/exporters/arize.md +4 -4
  382. package/.docs/reference/observability/tracing/exporters/arthur.md +3 -3
  383. package/.docs/reference/observability/tracing/exporters/braintrust.md +2 -2
  384. package/.docs/reference/observability/tracing/exporters/cloud-exporter.md +2 -2
  385. package/.docs/reference/observability/tracing/exporters/confident-ai.md +2 -2
  386. package/.docs/reference/observability/tracing/exporters/console-exporter.md +1 -1
  387. package/.docs/reference/observability/tracing/exporters/datadog.md +3 -3
  388. package/.docs/reference/observability/tracing/exporters/default-exporter.md +5 -5
  389. package/.docs/reference/observability/tracing/exporters/laminar.md +2 -2
  390. package/.docs/reference/observability/tracing/exporters/langfuse.md +3 -3
  391. package/.docs/reference/observability/tracing/exporters/mastra-platform-exporter.md +1 -1
  392. package/.docs/reference/observability/tracing/exporters/mastra-storage-exporter.md +5 -5
  393. package/.docs/reference/observability/tracing/exporters/otel.md +4 -4
  394. package/.docs/reference/observability/tracing/exporters/posthog.md +2 -2
  395. package/.docs/reference/observability/tracing/exporters/sentry.md +4 -4
  396. package/.docs/reference/observability/tracing/instances.md +1 -1
  397. package/.docs/reference/processors/model-selection-processor.md +2 -2
  398. package/.docs/reference/processors/processor-interface.md +3 -3
  399. package/.docs/reference/processors/stream-error-retry-processor.md +1 -1
  400. package/.docs/reference/processors/system-prompt-scrubber.md +1 -1
  401. package/.docs/reference/processors/token-limiter-processor.md +1 -1
  402. package/.docs/reference/processors/unicode-normalizer.md +1 -1
  403. package/.docs/reference/project-structure.md +2 -2
  404. package/.docs/reference/pubsub/google-cloud-pubsub.md +1 -1
  405. package/.docs/reference/pubsub/lease-provider.md +1 -1
  406. package/.docs/reference/pubsub/redis-streams.md +1 -1
  407. package/.docs/reference/pubsub/unix-socket-pubsub.md +1 -1
  408. package/.docs/reference/rag/chunk.md +1 -1
  409. package/.docs/reference/rag/chunking-and-embedding.md +4 -4
  410. package/.docs/reference/rag/database-config.md +4 -4
  411. package/.docs/reference/rag/graph-rag-guide.md +3 -3
  412. package/.docs/reference/rag/metadata-filters.md +4 -4
  413. package/.docs/reference/rag/overview.md +4 -0
  414. package/.docs/reference/rag/rerank.md +1 -1
  415. package/.docs/reference/rag/rerankWithScorer.md +1 -1
  416. package/.docs/reference/rag/retrieval.md +8 -6
  417. package/.docs/reference/rag/vector-databases.md +7 -7
  418. package/.docs/reference/server/nestjs-adapter.md +1 -1
  419. package/.docs/reference/server/register-api-route.md +5 -5
  420. package/.docs/reference/storage/composite.md +1 -1
  421. package/.docs/reference/storage/overview.md +1 -1
  422. package/.docs/reference/storage/retention.md +2 -2
  423. package/.docs/reference/storage/turso.md +1 -1
  424. package/.docs/reference/streaming/agents/MastraModelOutput.md +5 -5
  425. package/.docs/reference/streaming/agents/stream.md +5 -5
  426. package/.docs/reference/streaming/agents/streamLegacy.md +4 -4
  427. package/.docs/reference/templates/overview.md +1 -1
  428. package/.docs/reference/tools/bedrock-kb-tool.md +8 -8
  429. package/.docs/reference/tools/create-tool.md +1 -1
  430. package/.docs/reference/tools/mcp-client.md +9 -9
  431. package/.docs/reference/tools/mcp-server.md +17 -17
  432. package/.docs/reference/tools/vector-query-tool.md +6 -6
  433. package/.docs/reference/voice/composite-voice.md +3 -3
  434. package/.docs/reference/voice/overview.md +5 -5
  435. package/.docs/reference/voice/speech-to-speech.md +2 -2
  436. package/.docs/reference/voice/voice.close.md +1 -1
  437. package/.docs/reference/voice/voice.connect.md +1 -1
  438. package/.docs/reference/voice/voice.listen.md +1 -1
  439. package/.docs/reference/voice/voice.speak.md +1 -1
  440. package/.docs/reference/workspace/local-sandbox.md +1 -1
  441. package/.docs/reference/workspace/platform-filesystem.md +1 -1
  442. package/.docs/reference/workspace/platform-sandbox.md +1 -1
  443. package/package.json +4 -4
  444. /package/.docs/docs/mastra-platform/{observability.md → observability/overview.md} +0 -0
@@ -67,7 +67,7 @@ await storage.init()
67
67
 
68
68
  **allowExitOnIdle** (`boolean`): Allow the process to exit when all connections are idle.
69
69
 
70
- ## Constructor Examples
70
+ ## Constructor examples
71
71
 
72
72
  You can instantiate `DSQLStore` in the following ways:
73
73
 
@@ -124,9 +124,9 @@ const store5 = new DSQLStore({
124
124
  })
125
125
  ```
126
126
 
127
- ## Additional Notes
127
+ ## Additional notes
128
128
 
129
- ### Schema Management
129
+ ### Schema management
130
130
 
131
131
  The storage implementation handles schema creation and updates automatically. It creates the following tables:
132
132
 
@@ -176,7 +176,7 @@ const thread = await memoryStore?.getThreadById({ threadId: '...' })
176
176
 
177
177
  > **Warning:** If `init()` isn't called, tables won't be created and storage operations will fail silently or throw errors.
178
178
 
179
- ### Direct Database and Pool Access
179
+ ### Direct database and pool access
180
180
 
181
181
  `DSQLStore` exposes both the underlying database client and the pg.Pool instance as public fields:
182
182
 
@@ -193,7 +193,7 @@ It supports direct queries and custom transaction management. When using these f
193
193
 
194
194
  This approach is intended for advanced scenarios where low-level access is required.
195
195
 
196
- ### Aurora DSQL Specifics
196
+ ### Aurora DSQL specifics
197
197
 
198
198
  #### IAM-only authentication
199
199
 
@@ -229,7 +229,7 @@ Aurora DSQL uses optimistic concurrency control (OCC) and may return retriable O
229
229
 
230
230
  Individual connections are limited to about 60 minutes. The default `maxLifetimeSeconds: 3300` ensures connections are recycled before hitting this limit.
231
231
 
232
- ## Usage Example
232
+ ## Usage example
233
233
 
234
234
  ### Adding memory to an agent
235
235
 
@@ -300,11 +300,11 @@ for await (const chunk of stream.textStream) {
300
300
  }
301
301
  ```
302
302
 
303
- ## Index Management
303
+ ## Index management
304
304
 
305
305
  Aurora DSQL storage provides index management capabilities to optimize query performance.
306
306
 
307
- ### Automatic Performance Indexes
307
+ ### Automatic performance indexes
308
308
 
309
309
  Aurora DSQL storage automatically creates composite indexes during initialization for common query patterns:
310
310
 
@@ -318,7 +318,7 @@ Aurora DSQL storage automatically creates composite indexes during initializatio
318
318
 
319
319
  Aurora DSQL creates these indexes asynchronously using `CREATE INDEX ASYNC`. Because index creation is asynchronous, new indexes may not be immediately available after `init()`. The store will continue to function without them, but queries may be slower until index creation completes.
320
320
 
321
- ### Creating Custom Indexes
321
+ ### Creating custom indexes
322
322
 
323
323
  Create additional indexes to optimize specific query patterns:
324
324
 
@@ -338,7 +338,7 @@ await storage.createIndex({
338
338
 
339
339
  Aurora DSQL doesn't allow `ASC`/`DESC` in `CREATE INDEX ASYNC`. If you include them, they will be automatically stripped.
340
340
 
341
- ### Index Options
341
+ ### Index options
342
342
 
343
343
  **name** (`string`): Unique name for the index
344
344
 
@@ -360,7 +360,7 @@ Aurora DSQL doesn't allow `ASC`/`DESC` in `CREATE INDEX ASYNC`. If you include t
360
360
 
361
361
  **tablespace** (`string`): Ignored in Aurora DSQL. Tablespaces are not supported.
362
362
 
363
- ### Managing Indexes
363
+ ### Managing indexes
364
364
 
365
365
  List and monitor existing indexes:
366
366
 
@@ -403,7 +403,7 @@ console.log(stats)
403
403
  await storage.dropIndex('idx_threads_status')
404
404
  ```
405
405
 
406
- ### Schema-Specific Indexes
406
+ ### Schema-specific indexes
407
407
 
408
408
  When using custom schemas, indexes are created with schema prefixes:
409
409
 
@@ -422,7 +422,7 @@ await storage.createIndex({
422
422
  })
423
423
  ```
424
424
 
425
- ## Related Resources
425
+ ## Related resources
426
426
 
427
427
  - [Aurora DSQL Documentation](https://docs.aws.amazon.com/aurora-dsql/)
428
428
  - [SQL Reference](https://docs.aws.amazon.com/aurora-dsql/latest/userguide/working-with-aurora-dsql-sql.html)
@@ -266,7 +266,7 @@ When `replication` is set, Mastra rewrites its `MergeTree` and `ReplacingMergeTr
266
266
  - `zookeeperPath`: `'/clickhouse/tables/{shard}/{database}/{table}'`
267
267
  - `replicaName`: `'{replica}'`
268
268
 
269
- The defaults match the most common self-managed convention. If your cluster's existing tables use a different layout (for example `/clickhouse/tables/{shard}/{table}` without the `{database}` segment), set `zookeeperPath` explicitly to match. Mastra doesn't read your cluster's convention from Keeper, so a mismatched default writes Mastra's metadata to a separate branch from the rest of the cluster.
269
+ The defaults match the most common self-managed convention. If your cluster's existing tables use a different layout (for example `/clickhouse/tables/{shard}/{table}` without the `{database}` segment), set `zookeeperPath` explicitly to match, because Mastra doesn't read your cluster's convention from Keeper: a mismatched default writes Mastra's metadata to a separate branch from the rest of the cluster.
270
270
 
271
271
  ```typescript
272
272
  new ClickhouseStoreVNext({
@@ -386,7 +386,7 @@ await observability.init()
386
386
  In CI/CD pipelines, set `disableInit: true` on `ClickhouseStore` and run `init()` from a deployment step that uses elevated credentials. Runtime application credentials need:
387
387
 
388
388
  - `SELECT` and `INSERT` on the Mastra tables.
389
- - `ALTER DELETE` on the observability tables you delete from. On ClickHouse 26.6 and earlier, lightweight deletes also require `ALTER UPDATE` on those tables; ClickHouse 26.7 removed that requirement.
389
+ - `ALTER DELETE` on the observability tables you delete from. On ClickHouse 26.6 and earlier, lightweight deletes also require `ALTER UPDATE` on those tables. ClickHouse 26.7 removed that requirement.
390
390
 
391
391
  ## Observability
392
392
 
@@ -106,7 +106,7 @@ const storage = new D1Store({
106
106
  })
107
107
  ```
108
108
 
109
- ### Wrangler Configuration
109
+ ### Wrangler configuration
110
110
 
111
111
  Add the D1 database binding to your `wrangler.toml`:
112
112
 
@@ -145,7 +145,7 @@ Or in `wrangler.jsonc`:
145
145
 
146
146
  ## Additional notes
147
147
 
148
- ### Schema Management
148
+ ### Schema management
149
149
 
150
150
  The storage implementation handles schema creation and updates automatically. It creates the following tables:
151
151
 
@@ -213,10 +213,10 @@ export default {
213
213
 
214
214
  > **Warning:** If `init()` isn't called, tables won't be created and storage operations will fail silently or throw errors.
215
215
 
216
- ### Transactions & Consistency
216
+ ### Transactions & consistency
217
217
 
218
218
  Cloudflare D1 provides transactional guarantees for single-row operations. Multiple operations can be executed as a single, all-or-nothing unit of work.
219
219
 
220
- ### Table Creation & Migrations
220
+ ### Table creation & migrations
221
221
 
222
222
  Tables are created automatically when storage is initialized (and can be isolated per environment using the `tablePrefix` option), but advanced schema changes require manual migration and careful planning. Examples include adding columns or changing data types and indexes to avoid data loss.
@@ -37,7 +37,7 @@ yarn add @mastra/cloudflare@latest
37
37
  bun add @mastra/cloudflare@latest
38
38
  ```
39
39
 
40
- ## Cloudflare KV Storage
40
+ ## Cloudflare KV storage
41
41
 
42
42
  The KV storage implementation provides a globally distributed, serverless key-value store solution using Cloudflare Workers KV.
43
43
 
@@ -82,7 +82,7 @@ const storageRest = new CloudflareKVStorage({
82
82
 
83
83
  ### Additional notes
84
84
 
85
- ### Schema Management
85
+ ### Schema management
86
86
 
87
87
  The storage implementation handles schema creation and updates automatically. It creates the following tables:
88
88
 
@@ -90,15 +90,15 @@ The storage implementation handles schema creation and updates automatically. It
90
90
  - `messages`: Stores individual messages
91
91
  - `metadata`: Stores additional metadata for threads and messages
92
92
 
93
- ### Consistency & Propagation
93
+ ### Consistency & propagation
94
94
 
95
95
  Cloudflare KV is an eventually consistent store, meaning that data may not be immediately available across all regions after a write.
96
96
 
97
- > **Resuming runs across Workers:** A write to KV can take up to about 60 seconds to reach other locations. If one Worker suspends a workflow or [durable agent](https://mastra.ai/docs/harness/durable-agents) run and a different Worker resumes it soon after, for example when a user approves a tool call quickly, the resume can read an older snapshot. It then fails with `AGENT_RESUME_NO_SNAPSHOT_FOUND` or `WORKFLOW_RUN_NOT_SUSPENDED`, or resumes from an earlier step.
97
+ > **Resuming runs across Workers:** A write to KV can take up to about 60 seconds to reach other locations. If one Worker suspends a workflow or [durable agent](https://mastra.ai/docs/harness/durable-agents) run and a different Worker resumes it soon after, for example when a user approves a tool call right away, the resume can read an older snapshot. It then fails with `AGENT_RESUME_NO_SNAPSHOT_FOUND` or `WORKFLOW_RUN_NOT_SUSPENDED`, or resumes from an earlier step.
98
98
  >
99
99
  > If runs can be resumed by a different Worker or process than the one that suspended them, use [Cloudflare Durable Objects storage](#cloudflare-durable-objects-storage) instead.
100
100
 
101
- ### Key Structure & Namespacing
101
+ ### Key structure & namespacing
102
102
 
103
103
  Keys in Cloudflare KV are structured as a combination of a configurable prefix and a table-specific format (e.g., `threads:threadId`). For Workers deployments, `keyPrefix` is used to isolate data within a namespace; for REST API deployments, `namespacePrefix` is used to isolate entire namespaces between environments or applications.
104
104
 
@@ -140,15 +140,15 @@ class AgentDurableObject extends DurableObject<Env> {
140
140
 
141
141
  **disableInit** (`boolean`): When true, automatic table creation/migrations are disabled. Useful for CI/CD pipelines where migrations run separately.
142
142
 
143
- ### Strong Consistency
143
+ ### Strong consistency
144
144
 
145
- Unlike KV, Durable Objects provide strong consistency guarantees. All reads and writes within a Durable Object are serialized, making it very suitable for fast, long-running agents.
145
+ Unlike KV, Durable Objects provide strong consistency guarantees. All reads and writes within a Durable Object are serialized, making it well suited to fast, long-running agents.
146
146
 
147
- ### SQL Capabilities
147
+ ### SQL capabilities
148
148
 
149
149
  Durable Objects storage uses SQLite under the hood, enabling efficient queries, filtering, and pagination that aren't possible with key-value storage.
150
150
 
151
- ## Schema Management
151
+ ## Schema management
152
152
 
153
153
  Both storage implementations handle schema creation and updates automatically. They create the following tables:
154
154
 
@@ -156,7 +156,7 @@ Both storage implementations handle schema creation and updates automatically. T
156
156
  - `messages`: Stores individual messages
157
157
  - `workflow_snapshot`: Stores workflow run state
158
158
 
159
- ## Deprecated Aliases
159
+ ## Deprecated aliases
160
160
 
161
161
  For backwards compatibility, the following aliases are available:
162
162
 
@@ -75,7 +75,7 @@ export default defineSchema({
75
75
  })
76
76
  ```
77
77
 
78
- ### 2. Create the Storage Handler
78
+ ### 2. Create the storage handler
79
79
 
80
80
  In `convex/mastra/storage.ts`:
81
81
 
@@ -174,11 +174,11 @@ const cache = new ConvexServerCache({
174
174
 
175
175
  `ConvexServerCache` stores list entries as separate Convex documents. This avoids growing a stream replay list inside one document and helps stay within Convex's record size limit.
176
176
 
177
- Each scalar cache value and each list item is stored as one Convex row and must stay within Convex's row-size limits. Very large lists are still bounded by Convex query limits when replaying a range.
177
+ Each scalar cache value and each list item is stored as one Convex row and must stay within Convex's row-size limits. Large lists are still bounded by Convex query limits when replaying a range.
178
178
 
179
- Cache cleanup and `clear()` run in bounded batches. A single client call can loop through up to 1,000 Convex mutations, with each mutation handling up to 25 list items. While `clear()` is cleaning a key, reads for that key can return empty results until cleanup finishes.
179
+ Cache cleanup and `clear()` run in bounded batches. A single client call can loop through up to 1,000 Convex mutations, with each mutation handling up to 25 list items. A key that `clear()` is cleaning returns empty results on read until cleanup finishes.
180
180
 
181
- For very large cache namespaces, clear incrementally or use narrower prefixes to avoid long-running cleanup operations.
181
+ For large cache namespaces, clear incrementally or use narrower prefixes to avoid long-running cleanup operations.
182
182
 
183
183
  During batched cleanup, cache metadata can temporarily use an internal `deleted` state. The next cleanup pass removes those rows. Avoid writing new values with the same prefix until `clear()` finishes.
184
184
 
@@ -192,7 +192,7 @@ Use a non-empty `keyPrefix` unless you intentionally want `clear()` to remove ev
192
192
 
193
193
  ## Additional notes
194
194
 
195
- ### Schema Management
195
+ ### Schema management
196
196
 
197
197
  The storage implementation uses typed Convex tables for each Mastra domain:
198
198
 
@@ -219,7 +219,7 @@ All typed tables include:
219
219
  - An `id` field for Mastra's record ID (distinct from Convex's auto-generated `_id`)
220
220
  - A `by_record_id` index for efficient lookups by Mastra ID
221
221
 
222
- This design ensures compatibility with Mastra's storage contract while using Convex's automatic indexing and real-time capabilities.
222
+ The adapter stores data in a layout compatible with Mastra's storage contract and uses Convex's automatic indexing and real-time capabilities.
223
223
 
224
224
  ### Environment variables
225
225
 
@@ -54,7 +54,7 @@ Detailed instructions for setting up the table using AWS CloudFormation or AWS C
54
54
 
55
55
  ## Usage
56
56
 
57
- ### Basic Usage
57
+ ### Basic usage
58
58
 
59
59
  ```typescript
60
60
  import { Memory } from '@mastra/memory'
@@ -80,7 +80,7 @@ const memory = new Memory({
80
80
  })
81
81
  ```
82
82
 
83
- ### Local Development with DynamoDB Local
83
+ ### Local development with DynamoDB Local
84
84
 
85
85
  For local development, you can use [DynamoDB Local](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DynamoDBLocal.html).
86
86
 
@@ -174,7 +174,7 @@ const storage = new DynamoDBStore({
174
174
  })
175
175
  ```
176
176
 
177
- ### Supported Entity Types
177
+ ### Supported entity types
178
178
 
179
179
  TTL can be configured for these entity types:
180
180
 
@@ -188,7 +188,7 @@ TTL can be configured for these entity types:
188
188
  | `resource` | User/resource data |
189
189
  | `score` | Scoring results |
190
190
 
191
- ### TTL Entity Configuration
191
+ ### TTL entity configuration
192
192
 
193
193
  Each entity type accepts the following configuration:
194
194
 
@@ -198,7 +198,7 @@ Each entity type accepts the following configuration:
198
198
 
199
199
  **defaultTtlSeconds** (`number`): Default TTL in seconds from item creation time. Items will be automatically deleted by DynamoDB after this duration.
200
200
 
201
- ### Enabling TTL on Your DynamoDB Table
201
+ ### Enabling TTL on your DynamoDB table
202
202
 
203
203
  After configuring TTL in your code, you must enable TTL on the DynamoDB table itself:
204
204
 
@@ -269,17 +269,17 @@ Key aspects of this approach:
269
269
  - **External Table Management:** Unlike some adapters that might offer helper functions to create tables via code, this adapter **expects the DynamoDB table and its associated Global Secondary Indexes (GSIs) to be provisioned externally** before use. Please refer to [TABLE_SETUP.md](https://github.com/mastra-ai/mastra/blob/main/stores/dynamodb/TABLE_SETUP.md) for detailed instructions using tools like AWS CloudFormation or CDK. The adapter focuses solely on interacting with the pre-existing table structure.
270
270
  - **Consistency via Interface:** While the underlying storage model differs, this adapter adheres to the same `MastraStorage` interface as other adapters, ensuring it can be used interchangeably within the Mastra `Memory` component.
271
271
 
272
- ### Mastra Data in the Single Table
272
+ ### Mastra data in the single table
273
273
 
274
274
  Within the single DynamoDB table, different Mastra data entities (such as Threads, Messages, Traces, Evals, and Workflows) are managed and distinguished using ElectroDB. ElectroDB defines specific models for each entity type, which include unique key structures and attributes. It allows the adapter to store and retrieve diverse data types efficiently within the same table.
275
275
 
276
276
  For example, a `Thread` item might have a primary key like `THREAD#<threadId>`, while a `Message` item belonging to that thread might use `THREAD#<threadId>` as a partition key and `MESSAGE#<messageId>` as a sort key. The Global Secondary Indexes (GSIs), detailed in `TABLE_SETUP.md`, are strategically designed to support common access patterns across these different entities, such as fetching all messages for a thread or querying traces associated with a workflow.
277
277
 
278
- ### Advantages of Single-Table Design
278
+ ### Advantages of single-table design
279
279
 
280
280
  This implementation uses a single-table design pattern with ElectroDB, which offers several advantages within the context of DynamoDB:
281
281
 
282
- 1. **Lower cost (potentially):** Fewer tables can simplify Read/Write Capacity Unit (RCU/WCU) provisioning and management, especially with on-demand capacity.
282
+ 1. **Lower cost (in some cases):** Fewer tables can simplify Read/Write Capacity Unit (RCU/WCU) provisioning and management, especially with on-demand capacity.
283
283
  2. **Better performance:** Related data can be co-located or accessed efficiently through GSIs, enabling fast lookups for common access patterns.
284
284
  3. **Simplified administration:** Fewer distinct tables to monitor and back up, with less to manage.
285
285
  4. **Reduced complexity in access patterns:** ElectroDB helps manage the complexity of item types and access patterns on a single table.
@@ -60,7 +60,7 @@ const storage = new ElasticSearchStore({ id: 'elasticsearch-storage', client })
60
60
  const vector = new ElasticSearchVector({ id: 'elasticsearch-vector', client })
61
61
  ```
62
62
 
63
- When you provide your own client, `storage.close()` does not close it — you remain responsible for its lifecycle.
63
+ When you provide your own client, `storage.close()` doesn't close it, and you remain responsible for its lifecycle.
64
64
 
65
65
  ## Parameters
66
66
 
@@ -76,11 +76,11 @@ When you provide your own client, `storage.close()` does not close it — you re
76
76
 
77
77
  > **Note:** You must provide either `url` or `client`. These options are mutually exclusive.
78
78
 
79
- ## Additional Notes
79
+ ## Additional notes
80
80
 
81
- ### Index Structure
81
+ ### Index structure
82
82
 
83
- Each Mastra storage table maps to one Elasticsearch index of the same name (for example `mastra_threads`, `mastra_messages`, `mastra_workflow_snapshot`, `mastra_scorers`). Records are stored as opaque JSON documents with a keyword `key` field, so no index mappings need to be managed manually — indexes are created on first use.
83
+ Each Mastra storage table maps to one Elasticsearch index of the same name (for example `mastra_threads`, `mastra_messages`, `mastra_workflow_snapshot`, `mastra_scorers`). Records are stored as opaque JSON documents with a keyword `key` field, so no index mappings need to be managed manually. Indexes are created on first use.
84
84
 
85
85
  ### Consistency
86
86
 
@@ -94,9 +94,9 @@ When shutting down your application, close the connection:
94
94
  await storage.close()
95
95
  ```
96
96
 
97
- This only closes clients created by `ElasticSearchStore` from a `url`; user-provided clients are left open.
97
+ This only closes clients created by `ElasticSearchStore` from a `url`. User-provided clients are left open.
98
98
 
99
- ## Usage Example
99
+ ## Usage example
100
100
 
101
101
  ### Adding memory to an agent
102
102
 
@@ -36,7 +36,7 @@ bun add @mastra/lance@latest
36
36
 
37
37
  ## Usage
38
38
 
39
- ### Basic Storage Usage
39
+ ### Basic storage usage
40
40
 
41
41
  ```typescript
42
42
  import { LanceStorage } from '@mastra/lance'
@@ -65,7 +65,7 @@ const storage = await LanceStorage.create('my-storage', 's3://bucket/db', {
65
65
 
66
66
  ## Additional notes
67
67
 
68
- ### Schema Management
68
+ ### Schema management
69
69
 
70
70
  The LanceStorage implementation automatically handles schema creation and updates. It maps Mastra's schema types to Apache Arrow data types, which are used by LanceDB internally:
71
71
 
@@ -107,7 +107,7 @@ const thread = await memoryStore?.getThreadById({ threadId: '...' })
107
107
 
108
108
  > **Warning:** If `init()` isn't called, tables won't be created and storage operations will fail silently or throw errors.
109
109
 
110
- ### Deployment Options
110
+ ### Deployment options
111
111
 
112
112
  LanceDB storage can be configured for different deployment scenarios:
113
113
 
@@ -124,7 +124,7 @@ LanceDB storage can be configured for different deployment scenarios:
124
124
  s3://bucket/db
125
125
  ```
126
126
 
127
- ### Table Management
127
+ ### Table management
128
128
 
129
129
  LanceStorage provides methods for managing tables:
130
130
 
@@ -118,7 +118,7 @@ await store4.init() // Call init explicitly
118
118
 
119
119
  ## Additional notes
120
120
 
121
- ### Collection Management
121
+ ### Collection management
122
122
 
123
123
  The storage implementation handles collection creation and management automatically. It creates the following collections:
124
124
 
@@ -173,7 +173,7 @@ const thread = await memoryStore?.getThreadById({ threadId: '...' })
173
173
 
174
174
  > **Warning:** If `init()` isn't called, collections won't be created and storage operations will fail silently or throw errors.
175
175
 
176
- ### Connection Management
176
+ ### Connection management
177
177
 
178
178
  The `close()` method closes the MongoDB client connection. Call this when shutting down your application:
179
179
 
@@ -95,7 +95,7 @@ const store5 = new MSSQLStore({
95
95
 
96
96
  ## Additional notes
97
97
 
98
- ### Schema Management
98
+ ### Schema management
99
99
 
100
100
  The storage implementation handles schema creation and updates automatically. It creates the following tables:
101
101
 
@@ -144,7 +144,7 @@ const thread = await memoryStore?.getThreadById({ threadId: '...' })
144
144
 
145
145
  > **Warning:** If `init()` isn't called, tables won't be created and storage operations will fail silently or throw errors.
146
146
 
147
- ### Direct Database and Pool Access
147
+ ### Direct database and pool access
148
148
 
149
149
  `MSSQLStore` exposes the mssql connection pool as public fields:
150
150
 
@@ -113,7 +113,7 @@ const storage = new OracleStore({
113
113
  })
114
114
  ```
115
115
 
116
- For external authentication, set `externalAuth: true` and omit `password`. To reuse an existing `oracledb.Pool`, pass it as `pool`. Mastra uses it but doesn't close it.
116
+ For external authentication, set `externalAuth: true` and omit `password`. To reuse an existing `oracledb.Pool`, pass it as `pool`, and Mastra uses it but doesn't close it.
117
117
 
118
118
  `OracleStore` backs memory, workflow snapshots, observability, scores, scorer definitions, MCP client metadata, and agent registry data. When using the store outside a `Mastra` instance, call `await storage.init()` and access a domain with `await storage.getStore('memory')`.
119
119
 
@@ -138,7 +138,7 @@ Repeatable migrations are idempotent. They reconcile the tables and indexes owne
138
138
 
139
139
  Initialization also creates the provider's default indexes for common Mastra query paths. Use `skipDefaultIndexes` when indexes are managed separately, or pass `indexes` for custom Oracle indexes. Custom definitions support Oracle options such as `bitmap`, `online`, `invisible`, `parallel`, `compress`, `noLogging`, and `reverse`, as well as function-based expressions like `JSON_VALUE(...)`.
140
140
 
141
- Custom indexes are useful when your app repeatedly filters on JSON metadata or when database administrators (DBAs) want to test an index before the optimizer uses it:
141
+ Custom indexes are useful when your app filters on JSON metadata in most queries or when database administrators (DBAs) want to test an index before the optimizer uses it:
142
142
 
143
143
  ```ts
144
144
  const storage = new OracleStore({
@@ -125,7 +125,7 @@ const store4 = new PostgresStore({
125
125
 
126
126
  ## Additional notes
127
127
 
128
- ### Schema Management
128
+ ### Schema management
129
129
 
130
130
  The storage implementation handles schema creation and updates automatically. It creates the following tables:
131
131
 
@@ -172,13 +172,13 @@ const storage = new PostgresStoreVNext({
172
172
  })
173
173
  ```
174
174
 
175
- Lower `lookbackSeconds` if refreshes are slow, and raise `ttlSeconds` if they run more often than your filter values change. Only one process refreshes a given cache entry at a time, so adding server instances doesn't multiply the work.
175
+ Lower `lookbackSeconds` if refreshes are slow, and raise `ttlSeconds` if they run more often than your filter values change. Only one process refreshes each cache entry at a time, so adding server instances doesn't multiply the work.
176
176
 
177
177
  #### Day partitions
178
178
 
179
- `PostgresStoreVNext` stores observability events in tables partitioned by day. If TimescaleDB or pg_partman is installed, that extension creates partitions for you. Without an extension, `init()` creates the partitions for yesterday, today, and the next `futureDays` days (default 14), and a write that lands on a day inside that window with no partition creates it before it retries, so writes keep working after the pre-created window runs out. Rows dated outside the window are still rejected.
179
+ `PostgresStoreVNext` stores observability events in tables partitioned by day. If TimescaleDB or pg_partman is installed, that extension creates partitions for you. Without an extension, `init()` creates the partitions for yesterday, today, and the next `futureDays` days (default 14), and a write that targets a day inside that window with no partition creates it before it retries, so writes keep working after the pre-created window runs out. Rows dated outside the window are still rejected.
180
180
 
181
- Creating a partition is DDL. If the role your app runs with cannot create tables, or does not own the observability tables, the write fails with an error that names the table and the missing day, and the exporter drops that batch after its retries. In that setup, call `ensurePartitions()` on a schedule, at least once every `futureDays` days, with a role that can create tables and owns the observability tables. It only extends the native day-partition window, and does nothing with TimescaleDB or pg_partman. You can also install TimescaleDB, or pg_partman with its background worker or a scheduled `run_maintenance()` call, so the database maintains the partitions itself.
181
+ Creating a partition is DDL. If the role your app runs with can't create tables, or doesn't own the observability tables, the write fails with an error that names the table and the missing day, and the exporter drops that batch after its retries. In that setup, call `ensurePartitions()` on a schedule, at least once every `futureDays` days, with a role that can create tables and owns the observability tables. It only extends the native day-partition window, and does nothing with TimescaleDB or pg_partman. You can also install TimescaleDB, or pg_partman with its background worker or a scheduled `run_maintenance()` call, to have the database maintain the partitions itself.
182
182
 
183
183
  A larger `futureDays` gives the scheduled job more time between runs:
184
184
 
@@ -289,7 +289,7 @@ export const mastra = new Mastra({
289
289
 
290
290
  `disableInit: true` also makes explicit `init()` calls a no-op, so leave it off the store in the deployment script.
291
291
 
292
- ### Using an Existing Pool
292
+ ### Using an existing pool
293
293
 
294
294
  If you already have a `pg.Pool` in your application (e.g., shared with an ORM or for Row Level Security), you can pass it directly to `PostgresStore`:
295
295
 
@@ -314,7 +314,7 @@ const storage = new PostgresStore({
314
314
  - When you **provide a pool**: Mastra uses your pool but **doesn't** close it when `store.close()` is called. You manage the pool lifecycle.
315
315
  - When Mastra **creates a pool**: Mastra owns the pool and will close it when `store.close()` is called.
316
316
 
317
- ### Direct Database and Pool Access
317
+ ### Direct database and pool access
318
318
 
319
319
  `PostgresStore` exposes the underlying database client and pool for advanced use cases:
320
320
 
@@ -501,7 +501,7 @@ for await (const chunk of stream.textStream) {
501
501
 
502
502
  PostgreSQL storage provides index management to optimize query performance.
503
503
 
504
- ### Default Indexes
504
+ ### Default indexes
505
505
 
506
506
  PostgreSQL storage creates composite indexes during initialization for common query patterns:
507
507
 
@@ -517,7 +517,7 @@ PostgreSQL storage creates composite indexes during initialization for common qu
517
517
 
518
518
  These indexes improve performance for filtered queries with sorting, including `dateRange` filters on message queries and Studio's workflow runs-list.
519
519
 
520
- ### Configuring Indexes
520
+ ### Configuring indexes
521
521
 
522
522
  You can control index creation via constructor options:
523
523
 
@@ -558,7 +558,7 @@ For advanced index types, you can specify additional options:
558
558
  - `storage: { fillfactor: 90 }` for update-heavy tables
559
559
  - `concurrent: true` for non-blocking creation (default)
560
560
 
561
- ### Index Options
561
+ ### Index options
562
562
 
563
563
  **name** (`string`): Unique name for the index
564
564
 
@@ -580,7 +580,7 @@ For advanced index types, you can specify additional options:
580
580
 
581
581
  **tablespace** (`string`): Tablespace name for index placement
582
582
 
583
- ### Schema-Specific Indexes
583
+ ### Schema-specific indexes
584
584
 
585
585
  When using custom schemas, index names are prefixed with the schema name:
586
586
 
@@ -601,7 +601,7 @@ const storage = new PostgresStore({
601
601
  // Creates index as: custom_schema_idx_threads_status
602
602
  ```
603
603
 
604
- ### Managing Indexes via SQL
604
+ ### Managing indexes via SQL
605
605
 
606
606
  For advanced index management (listing, dropping, analyzing), use direct SQL queries via the `db` accessor:
607
607
 
@@ -624,15 +624,15 @@ const stats = await storage.db.one(`
624
624
  `)
625
625
  ```
626
626
 
627
- ### Index Types and Use Cases
627
+ ### Index types and use cases
628
628
 
629
629
  PostgreSQL offers different index types optimized for specific scenarios:
630
630
 
631
631
  | Index Type | Best For | Storage size | Speed |
632
632
  | ------------------- | --------------------------------------- | ------------ | -------------------------- |
633
633
  | **btree** (default) | Range queries, sorting, general purpose | Moderate | Fast |
634
- | **hash** | Equality comparisons only | Small | Very fast for `=` |
634
+ | **hash** | Equality comparisons only | Small | Fast for `=` |
635
635
  | **gin** | JSONB, arrays, full-text search | Large | Fast for contains |
636
636
  | **gist** | Geometric data, full-text search | Moderate | Fast for nearest-neighbor |
637
637
  | **spgist** | Non-balanced data, text patterns | Small | Fast for specific patterns |
638
- | **brin** | Large tables with natural ordering | Very small | Fast for ranges |
638
+ | **brin** | Large tables with natural ordering | Small | Fast for ranges |
@@ -14,7 +14,7 @@ npm install @mastra/redis
14
14
 
15
15
  ## Usage
16
16
 
17
- ### Using Connection String
17
+ ### Using connection string
18
18
 
19
19
  ```typescript
20
20
  import { RedisStore } from '@mastra/redis'
@@ -27,7 +27,7 @@ const storage = new RedisStore({
27
27
  await storage.init()
28
28
  ```
29
29
 
30
- ### Using Host/Port Configuration
30
+ ### Using host and port configuration
31
31
 
32
32
  ```typescript
33
33
  import { RedisStore } from '@mastra/redis'
@@ -43,7 +43,7 @@ const storage = new RedisStore({
43
43
  await storage.init()
44
44
  ```
45
45
 
46
- ### Using Pre-configured Client
46
+ ### Using pre-configured client
47
47
 
48
48
  For advanced configurations such as Sentinel, you can pass a pre-configured Redis client:
49
49
 
@@ -85,9 +85,9 @@ const storage = new RedisStore({
85
85
 
86
86
  > **Note:** You must provide either `connectionString`, `host`, or `client`. These options are mutually exclusive.
87
87
 
88
- ## Additional Notes
88
+ ## Additional notes
89
89
 
90
- ### Key Structure
90
+ ### Key structure
91
91
 
92
92
  The Redis storage implementation uses the following key patterns:
93
93
 
@@ -124,7 +124,7 @@ const storage = new RedisStore({
124
124
 
125
125
  Redis Cluster isn't supported. `RedisStore` accepts only a standalone client from `createClient()`, and several operations read or write keys that hash to different slots, which Redis Cluster rejects with a `CROSSSLOT` error.
126
126
 
127
- ### Accessing the Underlying Client
127
+ ### Accessing the underlying client
128
128
 
129
129
  You can access the underlying Redis client for custom operations:
130
130
 
@@ -151,7 +151,7 @@ When shutting down your application, close the Redis connection:
151
151
  await storage.close()
152
152
  ```
153
153
 
154
- ## Usage Example
154
+ ## Usage example
155
155
 
156
156
  ### Adding memory to an agent
157
157
 
@@ -45,7 +45,7 @@ const storage = new SpannerStore({
45
45
  })
46
46
  ```
47
47
 
48
- The instance and database must already exist. The adapter creates the required tables on first use, so the credentials provided to the Spanner client need permission to run schema changes (or run `storage.init()` once during a deploy step with elevated credentials).
48
+ The instance and database must already exist. The adapter creates the required tables on first use, which means the credentials provided to the Spanner client need permission to run schema changes (or run `storage.init()` once during a deploy step with elevated credentials).
49
49
 
50
50
  ## Parameters
51
51
 
@@ -190,7 +190,7 @@ A few behaviors differ from other relational adapters:
190
190
  - Identifiers are quoted with backticks.
191
191
  - DDL is applied through `database.updateSchema(...)`, which is asynchronous (long-running operation).
192
192
  - `NULLS FIRST/LAST` isn't supported. Ordering with NULL handling is emulated through an `IS NULL` ordering key.
193
- - JSON containment isn't supported natively. `listTraces` `metadata` and `scope` filters compile to per-key `JSON_VALUE(...) = @v` equality checks, and `tags` filters compile to `EXISTS` over `JSON_QUERY_ARRAY(...)`. This differs from Postgres' `@>` containment operator (which can match nested structure in a single index scan): most one-shot lookups still work but deeply nested structural matches aren't expressible.
193
+ - JSON containment isn't supported natively. `listTraces` `metadata` and `scope` filters compile to per-key `JSON_VALUE(...) = @v` equality checks, and `tags` filters compile to `EXISTS` over `JSON_QUERY_ARRAY(...)`. This differs from Postgres' `@>` containment operator (which can match nested structure in a single index scan): most one-shot lookups still work but nested structural matches aren't expressible.
194
194
 
195
195
  ### Direct database access
196
196