@mastra/mcp-docs-server 1.0.0-beta.2 → 1.0.0-beta.4

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 (391) hide show
  1. package/.docs/organized/changelogs/%40mastra%2Fagent-builder.md +9 -9
  2. package/.docs/organized/changelogs/%40mastra%2Fai-sdk.md +55 -55
  3. package/.docs/organized/changelogs/%40mastra%2Fauth.md +6 -0
  4. package/.docs/organized/changelogs/%40mastra%2Fclickhouse.md +11 -11
  5. package/.docs/organized/changelogs/%40mastra%2Fclient-js.md +21 -21
  6. package/.docs/organized/changelogs/%40mastra%2Fcloudflare-d1.md +11 -11
  7. package/.docs/organized/changelogs/%40mastra%2Fcloudflare.md +11 -11
  8. package/.docs/organized/changelogs/%40mastra%2Fcodemod.md +6 -0
  9. package/.docs/organized/changelogs/%40mastra%2Fcore.md +207 -207
  10. package/.docs/organized/changelogs/%40mastra%2Fcouchbase.md +10 -10
  11. package/.docs/organized/changelogs/%40mastra%2Fdeployer-cloud.md +20 -20
  12. package/.docs/organized/changelogs/%40mastra%2Fdeployer-netlify.md +11 -11
  13. package/.docs/organized/changelogs/%40mastra%2Fdeployer-vercel.md +11 -11
  14. package/.docs/organized/changelogs/%40mastra%2Fdeployer.md +34 -34
  15. package/.docs/organized/changelogs/%40mastra%2Fdynamodb.md +14 -14
  16. package/.docs/organized/changelogs/%40mastra%2Fevals.md +10 -10
  17. package/.docs/organized/changelogs/%40mastra%2Flance.md +14 -14
  18. package/.docs/organized/changelogs/%40mastra%2Flibsql.md +11 -11
  19. package/.docs/organized/changelogs/%40mastra%2Floggers.md +10 -10
  20. package/.docs/organized/changelogs/%40mastra%2Fmcp-docs-server.md +24 -24
  21. package/.docs/organized/changelogs/%40mastra%2Fmcp.md +12 -12
  22. package/.docs/organized/changelogs/%40mastra%2Fmemory.md +10 -10
  23. package/.docs/organized/changelogs/%40mastra%2Fmongodb.md +11 -11
  24. package/.docs/organized/changelogs/%40mastra%2Fmssql.md +11 -11
  25. package/.docs/organized/changelogs/%40mastra%2Fpg.md +11 -11
  26. package/.docs/organized/changelogs/%40mastra%2Fpinecone.md +11 -11
  27. package/.docs/organized/changelogs/%40mastra%2Fplayground-ui.md +44 -44
  28. package/.docs/organized/changelogs/%40mastra%2Frag.md +11 -11
  29. package/.docs/organized/changelogs/%40mastra%2Freact.md +15 -15
  30. package/.docs/organized/changelogs/%40mastra%2Fserver.md +19 -19
  31. package/.docs/organized/changelogs/%40mastra%2Fupstash.md +14 -14
  32. package/.docs/organized/changelogs/%40mastra%2Fvoice-google-gemini-live.md +21 -21
  33. package/.docs/organized/changelogs/%40mastra%2Fvoice-openai.md +10 -10
  34. package/.docs/organized/changelogs/create-mastra.md +21 -21
  35. package/.docs/organized/changelogs/mastra.md +47 -47
  36. package/.docs/organized/code-examples/ai-elements.md +1 -1
  37. package/.docs/organized/code-examples/ai-sdk-useChat.md +1 -1
  38. package/.docs/organized/code-examples/ai-sdk-v5.md +1 -1
  39. package/.docs/organized/code-examples/assistant-ui.md +1 -1
  40. package/.docs/organized/code-examples/bird-checker-with-express.md +1 -1
  41. package/.docs/organized/code-examples/bird-checker-with-nextjs-and-eval.md +1 -1
  42. package/.docs/organized/code-examples/bird-checker-with-nextjs.md +1 -1
  43. package/.docs/organized/code-examples/client-side-tools.md +1 -1
  44. package/.docs/organized/code-examples/crypto-chatbot.md +1 -1
  45. package/.docs/organized/code-examples/fireworks-r1.md +1 -1
  46. package/.docs/organized/code-examples/heads-up-game.md +1 -1
  47. package/.docs/organized/code-examples/mcp-configuration.md +0 -3
  48. package/.docs/organized/code-examples/memory-per-resource-example.md +1 -1
  49. package/.docs/organized/code-examples/openapi-spec-writer.md +1 -1
  50. package/.docs/organized/code-examples/quick-start.md +1 -1
  51. package/.docs/organized/code-examples/stock-price-tool.md +1 -21
  52. package/.docs/organized/code-examples/workflow-ai-recruiter.md +1 -1
  53. package/.docs/organized/code-examples/workflow-with-inline-steps.md +1 -1
  54. package/.docs/organized/code-examples/workflow-with-memory.md +1 -1
  55. package/.docs/organized/code-examples/workflow-with-separate-steps.md +1 -1
  56. package/.docs/organized/code-examples/workflow-with-suspend-resume.md +1 -1
  57. package/.docs/raw/agents/adding-voice.mdx +50 -1
  58. package/.docs/raw/agents/agent-memory.mdx +1 -1
  59. package/.docs/raw/agents/guardrails.mdx +1 -1
  60. package/.docs/raw/agents/human-in-the-loop-with-tools.mdx +90 -0
  61. package/.docs/raw/agents/networks.mdx +1 -1
  62. package/.docs/raw/agents/overview.mdx +8 -13
  63. package/.docs/raw/agents/using-tools.mdx +10 -9
  64. package/.docs/raw/auth/auth0.mdx +1 -1
  65. package/.docs/raw/auth/clerk.mdx +1 -1
  66. package/.docs/raw/auth/firebase.mdx +1 -1
  67. package/.docs/raw/auth/index.mdx +1 -1
  68. package/.docs/raw/auth/jwt.mdx +1 -1
  69. package/.docs/raw/auth/supabase.mdx +1 -1
  70. package/.docs/raw/auth/workos.mdx +1 -1
  71. package/.docs/raw/community/contributing-templates.mdx +1 -1
  72. package/.docs/raw/community/discord.mdx +2 -2
  73. package/.docs/raw/community/licensing.mdx +1 -1
  74. package/.docs/raw/deployment/{server-deployment.mdx → building-mastra.mdx} +4 -4
  75. package/.docs/raw/deployment/cloud-providers/amazon-ec2.mdx +2 -2
  76. package/.docs/raw/deployment/cloud-providers/aws-lambda.mdx +3 -3
  77. package/.docs/raw/deployment/cloud-providers/azure-app-services.mdx +2 -2
  78. package/.docs/raw/deployment/{serverless-platforms → cloud-providers}/cloudflare-deployer.mdx +1 -1
  79. package/.docs/raw/deployment/cloud-providers/digital-ocean.mdx +2 -2
  80. package/.docs/raw/deployment/cloud-providers/index.mdx +8 -4
  81. package/.docs/raw/deployment/{serverless-platforms → cloud-providers}/netlify-deployer.mdx +1 -1
  82. package/.docs/raw/deployment/{serverless-platforms → cloud-providers}/vercel-deployer.mdx +1 -1
  83. package/.docs/raw/{mastra-cloud → deployment/mastra-cloud}/dashboard.mdx +3 -3
  84. package/.docs/raw/{mastra-cloud → deployment/mastra-cloud}/observability.mdx +2 -2
  85. package/.docs/raw/{mastra-cloud → deployment/mastra-cloud}/overview.mdx +3 -3
  86. package/.docs/raw/{mastra-cloud → deployment/mastra-cloud}/setting-up.mdx +4 -4
  87. package/.docs/raw/deployment/monorepo.mdx +3 -3
  88. package/.docs/raw/deployment/overview.mdx +5 -5
  89. package/.docs/raw/deployment/web-framework.mdx +1 -1
  90. package/.docs/raw/evals/{off-the-shelf-scorers.mdx → built-in-scorers.mdx} +17 -15
  91. package/.docs/raw/evals/custom-scorers.mdx +1 -1
  92. package/.docs/raw/evals/overview.mdx +3 -3
  93. package/.docs/raw/evals/running-in-ci.mdx +2 -2
  94. package/.docs/raw/frameworks/agentic-uis/ai-sdk.mdx +11 -128
  95. package/.docs/raw/frameworks/agentic-uis/assistant-ui.mdx +71 -19
  96. package/.docs/raw/frameworks/agentic-uis/cedar-os.mdx +8 -29
  97. package/.docs/raw/frameworks/agentic-uis/copilotkit.mdx +91 -267
  98. package/.docs/raw/frameworks/agentic-uis/openrouter.mdx +3 -3
  99. package/.docs/raw/frameworks/servers/express.mdx +1 -1
  100. package/.docs/raw/frameworks/web-frameworks/astro.mdx +1 -1
  101. package/.docs/raw/frameworks/web-frameworks/next-js.mdx +1 -1
  102. package/.docs/raw/frameworks/web-frameworks/sveltekit.mdx +1 -1
  103. package/.docs/raw/frameworks/web-frameworks/vite-react.mdx +1 -1
  104. package/.docs/raw/getting-started/mcp-docs-server.mdx +6 -6
  105. package/.docs/raw/getting-started/project-structure.mdx +1 -1
  106. package/.docs/raw/getting-started/quickstart.mdx +27 -0
  107. package/.docs/raw/getting-started/studio.mdx +3 -3
  108. package/.docs/raw/getting-started/templates.mdx +1 -1
  109. package/.docs/raw/guides/guide/ai-recruiter.mdx +1 -1
  110. package/.docs/raw/guides/guide/chef-michel.mdx +1 -1
  111. package/.docs/raw/{getting-started/installation.mdx → guides/guide/manual-install.mdx} +6 -80
  112. package/.docs/raw/guides/guide/notes-mcp-server.mdx +2 -2
  113. package/.docs/raw/guides/guide/research-assistant.mdx +2 -2
  114. package/.docs/raw/guides/guide/stock-agent.mdx +1 -1
  115. package/.docs/raw/guides/guide/web-search.mdx +1 -1
  116. package/.docs/raw/guides/migrations/ai-sdk-v4-to-v5.mdx +119 -0
  117. package/.docs/raw/guides/migrations/upgrade-to-v1/mastra.mdx +1 -1
  118. package/.docs/raw/guides/migrations/upgrade-to-v1/overview.mdx +9 -1
  119. package/.docs/raw/guides/migrations/upgrade-to-v1/tools.mdx +60 -0
  120. package/.docs/raw/guides/migrations/upgrade-to-v1/workflows.mdx +12 -0
  121. package/.docs/raw/guides/quickstarts/nextjs.mdx +18 -17
  122. package/.docs/raw/guides/quickstarts/standalone-server.mdx +86 -0
  123. package/.docs/raw/index.mdx +3 -3
  124. package/.docs/raw/logging.mdx +7 -7
  125. package/.docs/raw/mcp/overview.mdx +360 -0
  126. package/.docs/raw/mcp/publishing-mcp-server.mdx +139 -0
  127. package/.docs/raw/memory/conversation-history.mdx +1 -1
  128. package/.docs/raw/memory/memory-processors.mdx +1 -1
  129. package/.docs/raw/memory/overview.mdx +1 -1
  130. package/.docs/raw/memory/semantic-recall.mdx +1 -1
  131. package/.docs/raw/memory/storage/memory-with-libsql.mdx +1 -4
  132. package/.docs/raw/memory/storage/memory-with-mongodb.mdx +1 -1
  133. package/.docs/raw/memory/storage/memory-with-pg.mdx +1 -4
  134. package/.docs/raw/memory/storage/memory-with-upstash.mdx +1 -4
  135. package/.docs/raw/memory/threads-and-resources.mdx +1 -1
  136. package/.docs/raw/memory/working-memory.mdx +1 -1
  137. package/.docs/raw/observability/overview.mdx +2 -2
  138. package/.docs/raw/observability/tracing/exporters/arize.mdx +1 -1
  139. package/.docs/raw/observability/tracing/exporters/braintrust.mdx +1 -1
  140. package/.docs/raw/observability/tracing/exporters/cloud.mdx +2 -2
  141. package/.docs/raw/observability/tracing/exporters/default.mdx +1 -1
  142. package/.docs/raw/observability/tracing/exporters/langfuse.mdx +1 -1
  143. package/.docs/raw/observability/tracing/exporters/langsmith.mdx +1 -1
  144. package/.docs/raw/observability/tracing/exporters/otel.mdx +1 -1
  145. package/.docs/raw/observability/tracing/overview.mdx +2 -2
  146. package/.docs/raw/observability/tracing/processors/sensitive-data-filter.mdx +2 -2
  147. package/.docs/raw/rag/overview.mdx +1 -1
  148. package/.docs/raw/rag/retrieval.mdx +1 -1
  149. package/.docs/raw/rag/vector-databases.mdx +1 -1
  150. package/.docs/raw/reference/agents/agent.mdx +1 -2
  151. package/.docs/raw/reference/agents/generate.mdx +12 -93
  152. package/.docs/raw/reference/agents/generateLegacy.mdx +1 -1
  153. package/.docs/raw/reference/agents/getDefaultGenerateOptions.mdx +1 -1
  154. package/.docs/raw/reference/agents/getDefaultOptions.mdx +1 -1
  155. package/.docs/raw/reference/agents/getDefaultStreamOptions.mdx +1 -1
  156. package/.docs/raw/reference/agents/getDescription.mdx +1 -1
  157. package/.docs/raw/reference/agents/getInstructions.mdx +1 -1
  158. package/.docs/raw/reference/agents/getLLM.mdx +1 -1
  159. package/.docs/raw/reference/agents/getMemory.mdx +1 -1
  160. package/.docs/raw/reference/agents/getModel.mdx +1 -1
  161. package/.docs/raw/reference/agents/getTools.mdx +69 -0
  162. package/.docs/raw/reference/agents/getVoice.mdx +1 -1
  163. package/.docs/raw/reference/agents/listAgents.mdx +1 -1
  164. package/.docs/raw/reference/agents/listScorers.mdx +1 -1
  165. package/.docs/raw/reference/agents/listTools.mdx +2 -2
  166. package/.docs/raw/reference/agents/listWorkflows.mdx +1 -1
  167. package/.docs/raw/reference/agents/network.mdx +4 -86
  168. package/.docs/raw/reference/auth/auth0.mdx +1 -1
  169. package/.docs/raw/reference/auth/clerk.mdx +1 -1
  170. package/.docs/raw/reference/auth/firebase.mdx +1 -1
  171. package/.docs/raw/reference/auth/jwt.mdx +1 -1
  172. package/.docs/raw/reference/auth/supabase.mdx +1 -1
  173. package/.docs/raw/reference/auth/workos.mdx +1 -1
  174. package/.docs/raw/reference/cli/create-mastra.mdx +1 -1
  175. package/.docs/raw/reference/cli/mastra.mdx +4 -4
  176. package/.docs/raw/reference/client-js/agents.mdx +1 -1
  177. package/.docs/raw/reference/client-js/error-handling.mdx +1 -1
  178. package/.docs/raw/reference/client-js/logs.mdx +1 -1
  179. package/.docs/raw/reference/client-js/mastra-client.mdx +2 -2
  180. package/.docs/raw/reference/client-js/memory.mdx +1 -1
  181. package/.docs/raw/reference/client-js/observability.mdx +1 -1
  182. package/.docs/raw/reference/client-js/telemetry.mdx +1 -1
  183. package/.docs/raw/reference/client-js/tools.mdx +1 -1
  184. package/.docs/raw/reference/client-js/vectors.mdx +1 -1
  185. package/.docs/raw/reference/client-js/workflows.mdx +1 -1
  186. package/.docs/raw/reference/core/addGateway.mdx +59 -0
  187. package/.docs/raw/reference/core/getAgent.mdx +1 -1
  188. package/.docs/raw/reference/core/getAgentById.mdx +1 -1
  189. package/.docs/raw/reference/core/getDeployer.mdx +1 -1
  190. package/.docs/raw/reference/core/getGateway.mdx +59 -0
  191. package/.docs/raw/reference/core/getGatewayById.mdx +62 -0
  192. package/.docs/raw/reference/core/getLogger.mdx +1 -1
  193. package/.docs/raw/reference/core/getMCPServer.mdx +2 -2
  194. package/.docs/raw/reference/core/getMCPServerById.mdx +2 -2
  195. package/.docs/raw/reference/core/getScorer.mdx +1 -1
  196. package/.docs/raw/reference/core/getScorerById.mdx +1 -1
  197. package/.docs/raw/reference/core/getServer.mdx +2 -2
  198. package/.docs/raw/reference/core/getStorage.mdx +1 -1
  199. package/.docs/raw/reference/core/getTelemetry.mdx +1 -1
  200. package/.docs/raw/reference/core/getVector.mdx +1 -1
  201. package/.docs/raw/reference/core/getWorkflow.mdx +1 -1
  202. package/.docs/raw/reference/core/listAgents.mdx +1 -1
  203. package/.docs/raw/reference/core/listGateways.mdx +53 -0
  204. package/.docs/raw/reference/core/listLogs.mdx +1 -1
  205. package/.docs/raw/reference/core/listLogsByRunId.mdx +1 -1
  206. package/.docs/raw/reference/core/listMCPServers.mdx +2 -2
  207. package/.docs/raw/reference/core/listScorers.mdx +1 -1
  208. package/.docs/raw/reference/core/listVectors.mdx +1 -1
  209. package/.docs/raw/reference/core/listWorkflows.mdx +1 -1
  210. package/.docs/raw/reference/core/mastra-class.mdx +9 -1
  211. package/.docs/raw/reference/core/mastra-model-gateway.mdx +241 -0
  212. package/.docs/raw/reference/core/setLogger.mdx +1 -1
  213. package/.docs/raw/reference/core/setStorage.mdx +1 -1
  214. package/.docs/raw/reference/core/setTelemetry.mdx +1 -1
  215. package/.docs/raw/reference/deployer/cloudflare.mdx +1 -1
  216. package/.docs/raw/reference/deployer/deployer.mdx +1 -1
  217. package/.docs/raw/reference/deployer/netlify.mdx +1 -1
  218. package/.docs/raw/reference/deployer/vercel.mdx +1 -1
  219. package/.docs/raw/reference/evals/answer-relevancy.mdx +1 -1
  220. package/.docs/raw/reference/evals/answer-similarity.mdx +1 -1
  221. package/.docs/raw/reference/evals/bias.mdx +1 -1
  222. package/.docs/raw/reference/evals/completeness.mdx +1 -1
  223. package/.docs/raw/reference/evals/content-similarity.mdx +1 -1
  224. package/.docs/raw/reference/evals/context-precision.mdx +1 -1
  225. package/.docs/raw/reference/evals/context-relevance.mdx +1 -1
  226. package/.docs/raw/reference/evals/create-scorer.mdx +1 -1
  227. package/.docs/raw/reference/evals/faithfulness.mdx +1 -1
  228. package/.docs/raw/reference/evals/hallucination.mdx +1 -1
  229. package/.docs/raw/reference/evals/keyword-coverage.mdx +1 -1
  230. package/.docs/raw/reference/evals/mastra-scorer.mdx +1 -1
  231. package/.docs/raw/reference/evals/noise-sensitivity.mdx +1 -1
  232. package/.docs/raw/reference/evals/prompt-alignment.mdx +1 -1
  233. package/.docs/raw/reference/evals/run-evals.mdx +1 -1
  234. package/.docs/raw/reference/evals/textual-difference.mdx +1 -1
  235. package/.docs/raw/reference/evals/tone-consistency.mdx +1 -1
  236. package/.docs/raw/reference/evals/tool-call-accuracy.mdx +1 -1
  237. package/.docs/raw/reference/evals/toxicity.mdx +1 -1
  238. package/.docs/raw/reference/logging/pino-logger.mdx +2 -2
  239. package/.docs/raw/reference/memory/createThread.mdx +1 -1
  240. package/.docs/raw/reference/memory/deleteMessages.mdx +1 -1
  241. package/.docs/raw/reference/memory/getThreadById.mdx +1 -1
  242. package/.docs/raw/reference/memory/listThreadsByResourceId.mdx +1 -1
  243. package/.docs/raw/reference/memory/memory-class.mdx +1 -1
  244. package/.docs/raw/reference/memory/query.mdx +1 -1
  245. package/.docs/raw/reference/memory/recall.mdx +1 -1
  246. package/.docs/raw/reference/observability/tracing/configuration.mdx +2 -2
  247. package/.docs/raw/reference/observability/tracing/exporters/arize.mdx +1 -1
  248. package/.docs/raw/reference/observability/tracing/exporters/braintrust.mdx +1 -1
  249. package/.docs/raw/reference/observability/tracing/exporters/cloud-exporter.mdx +1 -1
  250. package/.docs/raw/reference/observability/tracing/exporters/console-exporter.mdx +1 -1
  251. package/.docs/raw/reference/observability/tracing/exporters/default-exporter.mdx +1 -1
  252. package/.docs/raw/reference/observability/tracing/exporters/langfuse.mdx +1 -1
  253. package/.docs/raw/reference/observability/tracing/exporters/langsmith.mdx +1 -1
  254. package/.docs/raw/reference/observability/tracing/exporters/otel.mdx +1 -1
  255. package/.docs/raw/reference/observability/tracing/instances.mdx +2 -2
  256. package/.docs/raw/reference/observability/tracing/interfaces.mdx +2 -2
  257. package/.docs/raw/reference/observability/tracing/processors/sensitive-data-filter.mdx +1 -1
  258. package/.docs/raw/reference/observability/tracing/spans.mdx +2 -2
  259. package/.docs/raw/reference/processors/batch-parts-processor.mdx +1 -1
  260. package/.docs/raw/reference/processors/language-detector.mdx +1 -1
  261. package/.docs/raw/reference/processors/moderation-processor.mdx +1 -1
  262. package/.docs/raw/reference/processors/pii-detector.mdx +1 -1
  263. package/.docs/raw/reference/processors/prompt-injection-detector.mdx +1 -1
  264. package/.docs/raw/reference/processors/system-prompt-scrubber.mdx +1 -1
  265. package/.docs/raw/reference/processors/token-limiter-processor.mdx +1 -1
  266. package/.docs/raw/reference/processors/unicode-normalizer.mdx +1 -1
  267. package/.docs/raw/reference/rag/chunk.mdx +1 -1
  268. package/.docs/raw/reference/rag/database-config.mdx +1 -1
  269. package/.docs/raw/reference/rag/document.mdx +1 -1
  270. package/.docs/raw/reference/rag/embeddings.mdx +1 -1
  271. package/.docs/raw/reference/rag/extract-params.mdx +1 -1
  272. package/.docs/raw/reference/rag/graph-rag.mdx +1 -1
  273. package/.docs/raw/reference/rag/metadata-filters.mdx +1 -1
  274. package/.docs/raw/reference/rag/rerank.mdx +1 -1
  275. package/.docs/raw/reference/rag/rerankWithScorer.mdx +1 -1
  276. package/.docs/raw/reference/storage/cloudflare-d1.mdx +1 -1
  277. package/.docs/raw/reference/storage/cloudflare.mdx +1 -1
  278. package/.docs/raw/reference/storage/dynamodb.mdx +1 -1
  279. package/.docs/raw/reference/storage/lance.mdx +1 -1
  280. package/.docs/raw/reference/storage/libsql.mdx +1 -1
  281. package/.docs/raw/reference/storage/mongodb.mdx +1 -1
  282. package/.docs/raw/reference/storage/mssql.mdx +1 -1
  283. package/.docs/raw/reference/storage/postgresql.mdx +1 -1
  284. package/.docs/raw/reference/storage/upstash.mdx +1 -1
  285. package/.docs/raw/reference/streaming/ChunkType.mdx +1 -1
  286. package/.docs/raw/reference/streaming/agents/MastraModelOutput.mdx +1 -1
  287. package/.docs/raw/reference/streaming/agents/stream.mdx +4 -93
  288. package/.docs/raw/reference/streaming/agents/streamLegacy.mdx +1 -1
  289. package/.docs/raw/reference/streaming/workflows/observeStream.mdx +1 -1
  290. package/.docs/raw/reference/streaming/workflows/observeStreamVNext.mdx +1 -1
  291. package/.docs/raw/reference/streaming/workflows/resumeStreamVNext.mdx +1 -1
  292. package/.docs/raw/reference/streaming/workflows/stream.mdx +1 -1
  293. package/.docs/raw/reference/streaming/workflows/streamVNext.mdx +1 -1
  294. package/.docs/raw/reference/templates/overview.mdx +1 -1
  295. package/.docs/raw/reference/tools/client.mdx +1 -1
  296. package/.docs/raw/reference/tools/create-tool.mdx +3 -4
  297. package/.docs/raw/reference/tools/document-chunker-tool.mdx +1 -1
  298. package/.docs/raw/reference/tools/graph-rag-tool.mdx +2 -2
  299. package/.docs/raw/reference/tools/mcp-client.mdx +1 -1
  300. package/.docs/raw/reference/tools/mcp-server.mdx +6 -6
  301. package/.docs/raw/reference/tools/vector-query-tool.mdx +2 -2
  302. package/.docs/raw/reference/vectors/astra.mdx +1 -1
  303. package/.docs/raw/reference/vectors/chroma.mdx +1 -1
  304. package/.docs/raw/reference/vectors/couchbase.mdx +1 -1
  305. package/.docs/raw/reference/vectors/lance.mdx +1 -1
  306. package/.docs/raw/reference/vectors/libsql.mdx +1 -1
  307. package/.docs/raw/reference/vectors/mongodb.mdx +1 -1
  308. package/.docs/raw/reference/vectors/opensearch.mdx +1 -1
  309. package/.docs/raw/reference/vectors/pg.mdx +1 -1
  310. package/.docs/raw/reference/vectors/pinecone.mdx +22 -2
  311. package/.docs/raw/reference/vectors/qdrant.mdx +1 -1
  312. package/.docs/raw/reference/vectors/s3vectors.mdx +1 -1
  313. package/.docs/raw/reference/vectors/turbopuffer.mdx +1 -1
  314. package/.docs/raw/reference/vectors/upstash.mdx +1 -1
  315. package/.docs/raw/reference/vectors/vectorize.mdx +1 -1
  316. package/.docs/raw/reference/voice/azure.mdx +96 -81
  317. package/.docs/raw/reference/voice/cloudflare.mdx +1 -1
  318. package/.docs/raw/reference/voice/composite-voice.mdx +72 -29
  319. package/.docs/raw/reference/voice/deepgram.mdx +1 -1
  320. package/.docs/raw/reference/voice/elevenlabs.mdx +1 -1
  321. package/.docs/raw/reference/voice/google-gemini-live.mdx +1 -1
  322. package/.docs/raw/reference/voice/google.mdx +1 -1
  323. package/.docs/raw/reference/voice/mastra-voice.mdx +1 -1
  324. package/.docs/raw/reference/voice/murf.mdx +1 -1
  325. package/.docs/raw/reference/voice/openai-realtime.mdx +1 -1
  326. package/.docs/raw/reference/voice/openai.mdx +1 -1
  327. package/.docs/raw/reference/voice/playai.mdx +1 -1
  328. package/.docs/raw/reference/voice/sarvam.mdx +1 -1
  329. package/.docs/raw/reference/voice/speechify.mdx +1 -1
  330. package/.docs/raw/reference/voice/voice.addInstructions.mdx +1 -1
  331. package/.docs/raw/reference/voice/voice.addTools.mdx +1 -1
  332. package/.docs/raw/reference/voice/voice.answer.mdx +1 -1
  333. package/.docs/raw/reference/voice/voice.close.mdx +1 -1
  334. package/.docs/raw/reference/voice/voice.connect.mdx +1 -1
  335. package/.docs/raw/reference/voice/voice.events.mdx +1 -1
  336. package/.docs/raw/reference/voice/voice.getSpeakers.mdx +1 -1
  337. package/.docs/raw/reference/voice/voice.listen.mdx +87 -53
  338. package/.docs/raw/reference/voice/voice.off.mdx +1 -1
  339. package/.docs/raw/reference/voice/voice.on.mdx +1 -1
  340. package/.docs/raw/reference/voice/voice.send.mdx +1 -1
  341. package/.docs/raw/reference/voice/voice.speak.mdx +76 -41
  342. package/.docs/raw/reference/voice/voice.updateConfig.mdx +1 -1
  343. package/.docs/raw/reference/workflows/run-methods/cancel.mdx +1 -1
  344. package/.docs/raw/reference/workflows/run-methods/resume.mdx +1 -1
  345. package/.docs/raw/reference/workflows/run-methods/start.mdx +1 -1
  346. package/.docs/raw/reference/workflows/run.mdx +1 -1
  347. package/.docs/raw/reference/workflows/step.mdx +1 -1
  348. package/.docs/raw/reference/workflows/workflow-methods/branch.mdx +1 -1
  349. package/.docs/raw/reference/workflows/workflow-methods/commit.mdx +1 -1
  350. package/.docs/raw/reference/workflows/workflow-methods/create-run.mdx +1 -1
  351. package/.docs/raw/reference/workflows/workflow-methods/dountil.mdx +1 -1
  352. package/.docs/raw/reference/workflows/workflow-methods/dowhile.mdx +1 -1
  353. package/.docs/raw/reference/workflows/workflow-methods/foreach.mdx +1 -1
  354. package/.docs/raw/reference/workflows/workflow-methods/map.mdx +1 -1
  355. package/.docs/raw/reference/workflows/workflow-methods/parallel.mdx +1 -1
  356. package/.docs/raw/reference/workflows/workflow-methods/sendEvent.mdx +1 -1
  357. package/.docs/raw/reference/workflows/workflow-methods/sleep.mdx +1 -1
  358. package/.docs/raw/reference/workflows/workflow-methods/sleepUntil.mdx +1 -1
  359. package/.docs/raw/reference/workflows/workflow-methods/then.mdx +1 -1
  360. package/.docs/raw/reference/workflows/workflow-methods/waitForEvent.mdx +1 -1
  361. package/.docs/raw/reference/workflows/workflow.mdx +2 -2
  362. package/.docs/raw/server-db/custom-api-routes.mdx +1 -1
  363. package/.docs/raw/server-db/mastra-client.mdx +2 -2
  364. package/.docs/raw/server-db/{production-server.mdx → mastra-server.mdx} +2 -2
  365. package/.docs/raw/server-db/middleware.mdx +31 -31
  366. package/.docs/raw/server-db/request-context.mdx +3 -3
  367. package/.docs/raw/server-db/storage.mdx +1 -1
  368. package/.docs/raw/streaming/events.mdx +1 -1
  369. package/.docs/raw/streaming/overview.mdx +1 -1
  370. package/.docs/raw/streaming/tool-streaming.mdx +1 -1
  371. package/.docs/raw/streaming/workflow-streaming.mdx +1 -1
  372. package/.docs/raw/tools-mcp/advanced-usage.mdx +1 -1
  373. package/.docs/raw/tools-mcp/mcp-overview.mdx +1 -1
  374. package/.docs/raw/tools-mcp/overview.mdx +1 -1
  375. package/.docs/raw/voice/overview.mdx +68 -1
  376. package/.docs/raw/voice/speech-to-speech.mdx +1 -1
  377. package/.docs/raw/voice/speech-to-text.mdx +1 -1
  378. package/.docs/raw/voice/text-to-speech.mdx +1 -1
  379. package/.docs/raw/workflows/agents-and-tools.mdx +2 -4
  380. package/.docs/raw/workflows/control-flow.mdx +6 -1
  381. package/.docs/raw/workflows/error-handling.mdx +4 -4
  382. package/.docs/raw/workflows/human-in-the-loop.mdx +160 -213
  383. package/.docs/raw/workflows/inngest-workflow.mdx +1 -1
  384. package/.docs/raw/workflows/input-data-mapping.mdx +1 -1
  385. package/.docs/raw/workflows/overview.mdx +11 -3
  386. package/.docs/raw/workflows/snapshots.mdx +4 -3
  387. package/.docs/raw/workflows/suspend-and-resume.mdx +72 -224
  388. package/CHANGELOG.md +23 -0
  389. package/dist/stdio.js +11 -9
  390. package/package.json +10 -14
  391. package/.docs/raw/deployment/serverless-platforms/index.mdx +0 -58
@@ -1,5 +1,209 @@
1
1
  # @mastra/core
2
2
 
3
+ ## 1.0.0-beta.4
4
+
5
+ ### Patch Changes
6
+
7
+ - Fix message list provider metadata handling and reasoning text optimization ([#10281](https://github.com/mastra-ai/mastra/pull/10281))
8
+ - Improved provider metadata preservation across message transformations
9
+ - Optimized reasoning text storage to avoid duplication (using `details` instead of `reasoning` field)
10
+ - Fixed test snapshots for timestamp precision and metadata handling
11
+
12
+ - Allow provider to pass through options to the auth config ([#10284](https://github.com/mastra-ai/mastra/pull/10284))
13
+
14
+ - Fix deprecation warning when agent network executes workflows by using `.fullStream` instead of iterating `WorkflowRunOutput` directly ([#10285](https://github.com/mastra-ai/mastra/pull/10285))
15
+
16
+ - Fix generate toolResults and mismatch in provider tool names ([#10282](https://github.com/mastra-ai/mastra/pull/10282))
17
+
18
+ - Support AI SDK voice models ([#10304](https://github.com/mastra-ai/mastra/pull/10304))
19
+
20
+ Mastra now supports AI SDK's transcription and speech models directly in `CompositeVoice`, enabling seamless integration with a wide range of voice providers through the AI SDK ecosystem. This allows you to use models from OpenAI, ElevenLabs, Groq, Deepgram, LMNT, Hume, and many more for both speech-to-text (transcription) and text-to-speech capabilities.
21
+
22
+ AI SDK models are automatically wrapped when passed to `CompositeVoice`, so you can mix and match AI SDK models with existing Mastra voice providers for maximum flexibility.
23
+
24
+ ## Usage Example
25
+
26
+ ```typescript
27
+ import { CompositeVoice } from '@mastra/core/voice';
28
+ import { openai } from '@ai-sdk/openai';
29
+ import { elevenlabs } from '@ai-sdk/elevenlabs';
30
+
31
+ // Use AI SDK models directly with CompositeVoice
32
+ const voice = new CompositeVoice({
33
+ input: openai.transcription('whisper-1'), // AI SDK transcription model
34
+ output: elevenlabs.speech('eleven_turbo_v2'), // AI SDK speech model
35
+ });
36
+
37
+ // Convert text to speech
38
+ const audioStream = await voice.speak('Hello from AI SDK!');
39
+
40
+ // Convert speech to text
41
+ const transcript = await voice.listen(audioStream);
42
+ console.log(transcript);
43
+ ```
44
+
45
+ Fixes #9947
46
+
47
+ ## 1.0.0-beta.3
48
+
49
+ ### Major Changes
50
+
51
+ - Use tool's outputSchema to validate results and return an error object if schema does not match output results. ([#9664](https://github.com/mastra-ai/mastra/pull/9664))
52
+
53
+ ```typescript
54
+ const getUserTool = createTool({
55
+ id: 'get-user',
56
+ outputSchema: z.object({
57
+ id: z.string(),
58
+ name: z.string(),
59
+ email: z.string().email(),
60
+ }),
61
+ execute: async inputData => {
62
+ return { id: '123', name: 'John' };
63
+ },
64
+ });
65
+ ```
66
+
67
+ When validation fails, the tool returns a `ValidationError`:
68
+
69
+ ```typescript
70
+ // Before v1 - invalid output would silently pass through
71
+ await getUserTool.execute({});
72
+ // { id: "123", name: "John" } - missing email
73
+
74
+ // After v1 - validation error is returned
75
+ await getUserTool.execute({});
76
+ // {
77
+ // error: true,
78
+ // message: "Tool output validation failed for get-user. The tool returned invalid output:\n- email: Required\n\nReturned output: {...}",
79
+ // validationErrors: { ... }
80
+ // }
81
+ ```
82
+
83
+ ### Patch Changes
84
+
85
+ - dependencies updates: ([#10131](https://github.com/mastra-ai/mastra/pull/10131))
86
+ - Updated dependency [`hono@^4.10.5` ↗︎](https://www.npmjs.com/package/hono/v/4.10.5) (from `^4.9.7`, in `dependencies`)
87
+
88
+ - Only handle download image asset transformation if needed ([#10122](https://github.com/mastra-ai/mastra/pull/10122))
89
+
90
+ - Add serializedStepGraph to runExecutionResult response ([#10004](https://github.com/mastra-ai/mastra/pull/10004))
91
+
92
+ - Fix tool outputSchema validation to allow unsupported Zod types like ZodTuple. The outputSchema is only used for internal validation and never sent to the LLM, so model compatibility checks are not needed. ([#9409](https://github.com/mastra-ai/mastra/pull/9409))
93
+
94
+ - Fix vector definition to fix pinecone ([#10150](https://github.com/mastra-ai/mastra/pull/10150))
95
+
96
+ - fix resumeStream type to use resumeSchema ([#10202](https://github.com/mastra-ai/mastra/pull/10202))
97
+
98
+ - Add type bailed to workflowRunStatus ([#10091](https://github.com/mastra-ai/mastra/pull/10091))
99
+
100
+ - default validate inputs to true in Workflow execute ([#10222](https://github.com/mastra-ai/mastra/pull/10222))
101
+
102
+ - Add support for doGenerate in LanguageModelV2. This change fixes issues with OpenAI stream permissions. ([#10239](https://github.com/mastra-ai/mastra/pull/10239))
103
+ - Added new abstraction over LanguageModelV2
104
+
105
+ - Fix input tool validation when no inputSchema is provided ([#9941](https://github.com/mastra-ai/mastra/pull/9941))
106
+
107
+ - Adds ability to create custom `MastraModelGateway`'s that can be added to the `Mastra` class instance under the `gateways` property. Giving you typescript autocompletion in any model picker string. ([#10180](https://github.com/mastra-ai/mastra/pull/10180))
108
+
109
+ ```typescript
110
+ import { MastraModelGateway, type ProviderConfig } from '@mastra/core/llm';
111
+ import { createOpenAICompatible } from '@ai-sdk/openai-compatible-v5';
112
+ import type { LanguageModelV2 } from '@ai-sdk/provider-v5';
113
+
114
+ class MyCustomGateway extends MastraModelGateway {
115
+ readonly id = 'my-custom-gateway';
116
+ readonly name = 'My Custom Gateway';
117
+ readonly prefix = 'custom';
118
+
119
+ async fetchProviders(): Promise<Record<string, ProviderConfig>> {
120
+ return {
121
+ 'my-provider': {
122
+ name: 'My Provider',
123
+ models: ['model-1', 'model-2'],
124
+ apiKeyEnvVar: 'MY_API_KEY',
125
+ gateway: this.id,
126
+ },
127
+ };
128
+ }
129
+
130
+ buildUrl(modelId: string, envVars?: Record<string, string>): string {
131
+ return 'https://api.my-provider.com/v1';
132
+ }
133
+
134
+ async getApiKey(modelId: string): Promise<string> {
135
+ const apiKey = process.env.MY_API_KEY;
136
+ if (!apiKey) throw new Error('MY_API_KEY not set');
137
+ return apiKey;
138
+ }
139
+
140
+ async resolveLanguageModel({
141
+ modelId,
142
+ providerId,
143
+ apiKey,
144
+ }: {
145
+ modelId: string;
146
+ providerId: string;
147
+ apiKey: string;
148
+ }): Promise<LanguageModelV2> {
149
+ const baseURL = this.buildUrl(`${providerId}/${modelId}`);
150
+ return createOpenAICompatible({
151
+ name: providerId,
152
+ apiKey,
153
+ baseURL,
154
+ }).chatModel(modelId);
155
+ }
156
+ }
157
+
158
+ new Mastra({
159
+ gateways: {
160
+ myGateway: new MyCustomGateway(),
161
+ },
162
+ });
163
+ ```
164
+
165
+ - Add an additional check to determine whether the model natively supports specific file types. Only download the file if the model does not support it natively. ([#9790](https://github.com/mastra-ai/mastra/pull/9790))
166
+
167
+ - Add restart method to workflow run that allows restarting an active workflow run ([#9750](https://github.com/mastra-ai/mastra/pull/9750))
168
+ Add status filter to `listWorkflowRuns`
169
+ Add automatic restart to restart active workflow runs when server starts
170
+
171
+ - Validate schemas by default in workflow. Previously, if you want schemas in the workflow to be validated, you'd have to add `validateInputs` option, now, this will be done by default but can be disabled. ([#10186](https://github.com/mastra-ai/mastra/pull/10186))
172
+
173
+ For workflows whose schemas and step schemas you don't want validated, do this
174
+
175
+ ```diff
176
+ createWorkflow({
177
+ + options: {
178
+ + validateInputs: false
179
+ + }
180
+ })
181
+ ```
182
+
183
+ - Fix inngest parallel workflow ([#10169](https://github.com/mastra-ai/mastra/pull/10169))
184
+ Fix tool as step in inngest
185
+ Fix inngest nested workflow
186
+
187
+ - Add timeTravel to workflows. This makes it possible to start a workflow run from a particular step in the workflow ([#9994](https://github.com/mastra-ai/mastra/pull/9994))
188
+
189
+ Example code:
190
+
191
+ ```ts
192
+ const result = await run.timeTravel({
193
+ step: 'step2',
194
+ inputData: {
195
+ value: 'input',
196
+ },
197
+ });
198
+ ```
199
+
200
+ - Fixes assets not being downloaded when available ([#10079](https://github.com/mastra-ai/mastra/pull/10079))
201
+
202
+ - Remove unused dependencies ([#10019](https://github.com/mastra-ai/mastra/pull/10019))
203
+
204
+ - Updated dependencies [[`a64d16a`](https://github.com/mastra-ai/mastra/commit/a64d16aedafe57ee5707bdcc25f96e07fa1a0233)]:
205
+ - @mastra/observability@1.0.0-beta.1
206
+
3
207
  ## 1.0.0-beta.2
4
208
 
5
209
  ### Patch Changes
@@ -17,6 +221,8 @@
17
221
 
18
222
  - Add visual styles and labels for more workflow node types ([#9777](https://github.com/mastra-ai/mastra/pull/9777))
19
223
 
224
+ - `registerApiRoute` now accepts a `requiresAuth` option, so custom endpoints can opt in/out of Mastra auth without mutating the returned route object.
225
+
20
226
  ## 1.0.0-beta.0
21
227
 
22
228
  ### Major Changes
@@ -92,211 +298,5 @@
92
298
  page: 0,
93
299
  perPage: 50,
94
300
  });
95
- const messages = result.messages; // Access messages array
96
- console.log(result.total); // Total count
97
- console.log(result.hasMore); // Whether more pages exist
98
- ```
99
-
100
- ### Message ordering default
101
-
102
- `listMessages()` defaults to ASC (oldest first) ordering by `createdAt`, matching the previous `getMessages()` behavior.
103
-
104
- **To use DESC ordering (newest first):**
105
-
106
- ```typescript
107
- const result = await storage.listMessages({
108
- threadId: 'thread-1',
109
- orderBy: { field: 'createdAt', direction: 'DESC' },
110
- });
111
- ```
112
-
113
- ## Client SDK
114
-
115
- ### BREAKING: Renamed `client.getThreadMessages()` → `client.listThreadMessages()`
116
-
117
- **Migration:**
118
-
119
- ```typescript
120
- // Before
121
- const response = await client.getThreadMessages(threadId, { agentId });
122
-
123
- // After
124
- const response = await client.listThreadMessages(threadId, { agentId });
125
- ```
126
-
127
- The response format remains the same.
128
-
129
- ## Type Changes
130
-
131
- ### BREAKING: Removed `StorageGetMessagesArg` type
132
-
133
- Use `StorageListMessagesInput` instead:
134
-
135
- ```typescript
136
- // Before
137
- import type { StorageGetMessagesArg } from '@mastra/core';
138
-
139
- // After
140
- import type { StorageListMessagesInput } from '@mastra/core';
141
- ```
142
-
143
- - - Removes modelSettings.abortSignal in favour of top-level abortSignal only. Also removes the deprecated output field - use structuredOutput.schema instead. ([`9e1911d`](https://github.com/mastra-ai/mastra/commit/9e1911db2b4db85e0e768c3f15e0d61e319869f6))
144
- - The deprecated generateVNext() and streamVNext() methods have been removed since they're now the stable generate() and stream() methods.
145
- - The deprecated `output` option has been removed entirely, in favour of `structuredOutput`.
146
-
147
- Method renames to clarify the API surface:
148
- - getDefaultGenerateOptions → getDefaultGenerateOptionsLegacy
149
- - getDefaultStreamOptions → getDefaultStreamOptionsLegacy
150
- - getDefaultVNextStreamOptions → getDefaultStreamOptions
151
-
152
- - Bump minimum required Node.js version to 22.13.0 ([#9706](https://github.com/mastra-ai/mastra/pull/9706))
153
-
154
- - Replace `getThreadsByResourceIdPaginated` with `listThreadsByResourceId` across memory handlers. Update client SDK to use `listThreads()` with `offset`/`limit` parameters instead of deprecated `getMemoryThreads()`. Consolidate `/api/memory/threads` routes to single paginated endpoint. ([#9508](https://github.com/mastra-ai/mastra/pull/9508))
155
-
156
- - Add new list methods to storage API: `listMessages`, `listMessagesById`, `listThreadsByResourceId`, and `listWorkflowRuns`. Most methods are currently wrappers around existing methods. Full implementations will be added when migrating away from legacy methods. ([#9489](https://github.com/mastra-ai/mastra/pull/9489))
157
-
158
- - Update tool execution signature ([#9587](https://github.com/mastra-ai/mastra/pull/9587))
159
-
160
- Consolidated the 3 different execution contexts to one
161
-
162
- ```typescript
163
- // before depending on the context the tool was executed in
164
- tool.execute({ context: data });
165
- tool.execute({ context: { inputData: data } });
166
- tool.execute(data);
167
-
168
- // now, for all contexts
169
- tool.execute(data, context);
170
- ```
171
-
172
- **Before:**
173
-
174
- ```typescript
175
- inputSchema: z.object({ something: z.string() }),
176
- execute: async ({ context, tracingContext, runId, ... }) => {
177
- return doSomething(context.string);
178
- }
179
- ```
180
-
181
- **After:**
182
-
183
- ```typescript
184
- inputSchema: z.object({ something: z.string() }),
185
- execute: async (inputData, context) => {
186
- const { agent, mcp, workflow, ...sharedContext } = context
187
-
188
- // context that only an agent would get like toolCallId, messages, suspend, resume, etc
189
- if (agent) {
190
- doSomething(inputData.something, agent)
191
- // context that only a workflow would get like runId, state, suspend, resume, etc
192
- } else if (workflow) {
193
- doSomething(inputData.something, workflow)
194
- // context that only a workflow would get like "extra", "elicitation"
195
- } else if (mcp) {
196
- doSomething(inputData.something, mcp)
197
- } else {
198
- // Running a tool in no execution context
199
- return doSomething(inputData.something);
200
- }
201
- }
202
- ```
203
-
204
- - The `@mastra/core` package no longer allows top-level imports except for `Mastra` and `type Config`. You must use subpath imports for all other imports. ([#9544](https://github.com/mastra-ai/mastra/pull/9544))
205
-
206
- For example:
207
-
208
- ```diff
209
- import { Mastra, type Config } from "@mastra/core";
210
- - import { Agent } from "@mastra/core";
211
- - import { createTool } from "@mastra/core";
212
- - import { createStep } from "@mastra/core";
213
-
214
- + import { Agent } from "@mastra/core/agent";
215
- + import { createTool } from "@mastra/core/tools";
216
- + import { createStep } from "@mastra/core/workflows";
217
- ```
218
-
219
- - This simplifies the Memory API by removing the confusing rememberMessages method and renaming query to recall for better clarity. ([#9701](https://github.com/mastra-ai/mastra/pull/9701))
220
-
221
- The rememberMessages method name implied it might persist data when it was actually just retrieving messages, same as query. Having two methods that did essentially the same thing was unnecessary.
222
-
223
- Before:
224
-
225
- ```typescript
226
- // Two methods that did the same thing
227
- memory.rememberMessages({ threadId, resourceId, config, vectorMessageSearch });
228
- memory.query({ threadId, resourceId, perPage, vectorSearchString });
229
- ```
230
-
231
- After:
232
-
233
- ```typescript
234
- // Single unified method with clear purpose
235
- memory.recall({ threadId, resourceId, perPage, vectorMessageSearch, threadConfig });
236
- ```
237
-
238
- All usages have been updated across the codebase including tests. The agent now calls recall directly with the appropriate parameters.
239
-
240
- - Rename RuntimeContext to RequestContext ([#9511](https://github.com/mastra-ai/mastra/pull/9511))
241
-
242
- - Implement listMessages API for replacing previous methods ([#9531](https://github.com/mastra-ai/mastra/pull/9531))
243
-
244
- - Rename `defaultVNextStreamOptions` to `defaultOptions`. Add "Legacy" suffix to v1 option properties and methods (`defaultGenerateOptions` → `defaultGenerateOptionsLegacy`, `defaultStreamOptions` → `defaultStreamOptionsLegacy`). ([#9535](https://github.com/mastra-ai/mastra/pull/9535))
245
-
246
- - Remove `getThreadsByResourceId` and `getThreadsByResourceIdPaginated` methods from storage interfaces in favor of `listThreadsByResourceId`. The new method uses `offset`/`limit` pagination and a nested `orderBy` object structure (`{ field, direction }`). ([#9536](https://github.com/mastra-ai/mastra/pull/9536))
247
-
248
- - Remove `getMessagesById` method from storage interfaces in favor of `listMessagesById`. The new method only returns V2-format messages and removes the format parameter, simplifying the API surface. Users should migrate from `getMessagesById({ messageIds, format })` to `listMessagesById({ messageIds })`. ([#9534](https://github.com/mastra-ai/mastra/pull/9534))
249
-
250
- - Experimental auth -> auth ([#9660](https://github.com/mastra-ai/mastra/pull/9660))
251
-
252
- - Renamed a bunch of observability/tracing-related things to drop the AI prefix. ([#9744](https://github.com/mastra-ai/mastra/pull/9744))
253
-
254
- - Removed MastraMessageV3 intermediary format, now we go from MastraDBMessage->aiv5 formats and back directly ([#9094](https://github.com/mastra-ai/mastra/pull/9094))
255
-
256
- - **Breaking Change**: Remove legacy v1 watch events and consolidate on v2 implementation. ([#9252](https://github.com/mastra-ai/mastra/pull/9252))
257
-
258
- This change simplifies the workflow watching API by removing the legacy v1 event system and promoting v2 as the standard (renamed to just `watch`).
259
-
260
- ### What's Changed
261
- - Removed legacy v1 watch event handlers and types
262
- - Renamed `watch-v2` to `watch` throughout the codebase
263
- - Removed `.watch()` method from client-js SDK (`Workflow` and `AgentBuilder` classes)
264
- - Removed `/watch` HTTP endpoints from server and deployer
265
- - Removed `WorkflowWatchResult` and v1 `WatchEvent` types
266
-
267
- - Remove various deprecated APIs from agent class. ([#9257](https://github.com/mastra-ai/mastra/pull/9257))
268
- - `agent.llm` → `agent.getLLM()`
269
- - `agent.tools` → `agent.getTools()`
270
- - `agent.instructions` → `agent.getInstructions()`
271
- - `agent.speak()` → `agent.voice.speak()`
272
- - `agent.getSpeakers()` → `agent.voice.getSpeakers()`
273
- - `agent.listen` → `agent.voice.listen()`
274
- - `agent.fetchMemory` → `(await agent.getMemory()).query()`
275
- - `agent.toStep` → Add agent directly to the step, workflows handle the transformation
276
-
277
- - **BREAKING CHANGE**: Pagination APIs now use `page`/`perPage` instead of `offset`/`limit` ([#9592](https://github.com/mastra-ai/mastra/pull/9592))
278
-
279
- All storage and memory pagination APIs have been updated to use `page` (0-indexed) and `perPage` instead of `offset` and `limit`, aligning with standard REST API patterns.
280
-
281
- **Affected APIs:**
282
- - `Memory.listThreadsByResourceId()`
283
- - `Memory.listMessages()`
284
- - `Storage.listWorkflowRuns()`
285
-
286
- **Migration:**
287
-
288
- ```typescript
289
- // Before
290
- await memory.listThreadsByResourceId({
291
- resourceId: 'user-123',
292
- offset: 20,
293
- limit: 10,
294
- });
295
-
296
- // After
297
- await memory.listThreadsByResourceId({
298
- resourceId: 'user-123',
299
- page: 2, // page = Math.floor(offset / limit)
300
- perPage: 10,
301
301
 
302
- ... 5137 more lines hidden. See full changelog in package directory.
302
+ ... 5343 more lines hidden. See full changelog in package directory.
@@ -1,5 +1,14 @@
1
1
  # @mastra/couchbase
2
2
 
3
+ ## 1.0.0-beta.1
4
+
5
+ ### Patch Changes
6
+
7
+ - dependencies updates: ([#10128](https://github.com/mastra-ai/mastra/pull/10128))
8
+ - Updated dependency [`couchbase@^4.6.0` ↗︎](https://www.npmjs.com/package/couchbase/v/4.6.0) (from `^4.5.0`, in `dependencies`)
9
+ - Updated dependencies [[`2319326`](https://github.com/mastra-ai/mastra/commit/2319326f8c64e503a09bbcf14be2dd65405445e0), [`d629361`](https://github.com/mastra-ai/mastra/commit/d629361a60f6565b5bfb11976fdaf7308af858e2), [`08c31c1`](https://github.com/mastra-ai/mastra/commit/08c31c188ebccd598acaf55e888b6397d01f7eae), [`fd3d338`](https://github.com/mastra-ai/mastra/commit/fd3d338a2c362174ed5b383f1f011ad9fb0302aa), [`c30400a`](https://github.com/mastra-ai/mastra/commit/c30400a49b994b1b97256fe785eb6c906fc2b232), [`69e0a87`](https://github.com/mastra-ai/mastra/commit/69e0a878896a2da9494945d86e056a5f8f05b851), [`01f8878`](https://github.com/mastra-ai/mastra/commit/01f88783de25e4de048c1c8aace43e26373c6ea5), [`4c77209`](https://github.com/mastra-ai/mastra/commit/4c77209e6c11678808b365d545845918c40045c8), [`d827d08`](https://github.com/mastra-ai/mastra/commit/d827d0808ffe1f3553a84e975806cc989b9735dd), [`23c10a1`](https://github.com/mastra-ai/mastra/commit/23c10a1efdd9a693c405511ab2dc8a1236603162), [`676ccc7`](https://github.com/mastra-ai/mastra/commit/676ccc7fe92468d2d45d39c31a87825c89fd1ea0), [`c10398d`](https://github.com/mastra-ai/mastra/commit/c10398d5b88f1d4af556f4267ff06f1d11e89179), [`00c2387`](https://github.com/mastra-ai/mastra/commit/00c2387f5f04a365316f851e58666ac43f8c4edf), [`ad6250d`](https://github.com/mastra-ai/mastra/commit/ad6250dbdaad927e29f74a27b83f6c468b50a705), [`3a73998`](https://github.com/mastra-ai/mastra/commit/3a73998fa4ebeb7f3dc9301afe78095fc63e7999), [`e16d553`](https://github.com/mastra-ai/mastra/commit/e16d55338403c7553531cc568125c63d53653dff), [`4d59f58`](https://github.com/mastra-ai/mastra/commit/4d59f58de2d90d6e2810a19d4518e38ddddb9038), [`e1bb9c9`](https://github.com/mastra-ai/mastra/commit/e1bb9c94b4eb68b019ae275981be3feb769b5365), [`351a11f`](https://github.com/mastra-ai/mastra/commit/351a11fcaf2ed1008977fa9b9a489fc422e51cd4)]:
10
+ - @mastra/core@1.0.0-beta.3
11
+
3
12
  ## 1.0.0-beta.0
4
13
 
5
14
  ### Major Changes
@@ -290,13 +299,4 @@
290
299
 
291
300
  ## 0.11.4-alpha.0
292
301
 
293
- ### Patch Changes
294
-
295
- - 03997ae: Update peerdeps
296
- - @mastra/core@0.14.0-alpha.7
297
-
298
- ## 0.11.3
299
-
300
- ### Patch Changes
301
-
302
- ... 447 more lines hidden. See full changelog in package directory.
302
+ ... 456 more lines hidden. See full changelog in package directory.
@@ -1,5 +1,24 @@
1
1
  # @mastra/deployer-cloud
2
2
 
3
+ ## 1.0.0-beta.4
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`352a5d6`](https://github.com/mastra-ai/mastra/commit/352a5d625cfe09849b21e8f52a24c9f0366759d5), [`a0a5b4b`](https://github.com/mastra-ai/mastra/commit/a0a5b4bbebe6c701ebbadf744873aa0d5ca01371), [`69ea758`](https://github.com/mastra-ai/mastra/commit/69ea758358edd7117f191c2e69c8bb5fc79e7a1a), [`993ad98`](https://github.com/mastra-ai/mastra/commit/993ad98d7ad3bebda9ecef5fec5c94349a0d04bc), [`3ff2c17`](https://github.com/mastra-ai/mastra/commit/3ff2c17a58e312fad5ea37377262c12d92ca0908)]:
8
+ - @mastra/core@1.0.0-beta.4
9
+ - @mastra/deployer@1.0.0-beta.4
10
+
11
+ ## 1.0.0-beta.3
12
+
13
+ ### Patch Changes
14
+
15
+ - dependencies updates: ([#10111](https://github.com/mastra-ai/mastra/pull/10111))
16
+ - Updated dependency [`pino@^10.1.0` ↗︎](https://www.npmjs.com/package/pino/v/10.1.0) (from `^9.7.0`, in `dependencies`)
17
+ - Updated dependencies [[`2319326`](https://github.com/mastra-ai/mastra/commit/2319326f8c64e503a09bbcf14be2dd65405445e0), [`2319326`](https://github.com/mastra-ai/mastra/commit/2319326f8c64e503a09bbcf14be2dd65405445e0), [`df9fdcd`](https://github.com/mastra-ai/mastra/commit/df9fdcd8403652c894cf4ac0503afea3b822588c), [`65591d2`](https://github.com/mastra-ai/mastra/commit/65591d2b7cecb83fff4ebc1d743e2f71859a2f7d), [`52e5984`](https://github.com/mastra-ai/mastra/commit/52e5984b067254e955646d09b217165b3f145292), [`d629361`](https://github.com/mastra-ai/mastra/commit/d629361a60f6565b5bfb11976fdaf7308af858e2), [`08c31c1`](https://github.com/mastra-ai/mastra/commit/08c31c188ebccd598acaf55e888b6397d01f7eae), [`fd3d338`](https://github.com/mastra-ai/mastra/commit/fd3d338a2c362174ed5b383f1f011ad9fb0302aa), [`c30400a`](https://github.com/mastra-ai/mastra/commit/c30400a49b994b1b97256fe785eb6c906fc2b232), [`69e0a87`](https://github.com/mastra-ai/mastra/commit/69e0a878896a2da9494945d86e056a5f8f05b851), [`01f8878`](https://github.com/mastra-ai/mastra/commit/01f88783de25e4de048c1c8aace43e26373c6ea5), [`4c77209`](https://github.com/mastra-ai/mastra/commit/4c77209e6c11678808b365d545845918c40045c8), [`d827d08`](https://github.com/mastra-ai/mastra/commit/d827d0808ffe1f3553a84e975806cc989b9735dd), [`23c10a1`](https://github.com/mastra-ai/mastra/commit/23c10a1efdd9a693c405511ab2dc8a1236603162), [`676ccc7`](https://github.com/mastra-ai/mastra/commit/676ccc7fe92468d2d45d39c31a87825c89fd1ea0), [`c10398d`](https://github.com/mastra-ai/mastra/commit/c10398d5b88f1d4af556f4267ff06f1d11e89179), [`00c2387`](https://github.com/mastra-ai/mastra/commit/00c2387f5f04a365316f851e58666ac43f8c4edf), [`ad6250d`](https://github.com/mastra-ai/mastra/commit/ad6250dbdaad927e29f74a27b83f6c468b50a705), [`3a73998`](https://github.com/mastra-ai/mastra/commit/3a73998fa4ebeb7f3dc9301afe78095fc63e7999), [`e16d553`](https://github.com/mastra-ai/mastra/commit/e16d55338403c7553531cc568125c63d53653dff), [`4d59f58`](https://github.com/mastra-ai/mastra/commit/4d59f58de2d90d6e2810a19d4518e38ddddb9038), [`e1bb9c9`](https://github.com/mastra-ai/mastra/commit/e1bb9c94b4eb68b019ae275981be3feb769b5365), [`351a11f`](https://github.com/mastra-ai/mastra/commit/351a11fcaf2ed1008977fa9b9a489fc422e51cd4)]:
18
+ - @mastra/core@1.0.0-beta.3
19
+ - @mastra/deployer@1.0.0-beta.3
20
+ - @mastra/loggers@1.0.0-beta.1
21
+
3
22
  ## 1.0.0-beta.2
4
23
 
5
24
  ### Patch Changes
@@ -279,24 +298,5 @@
279
298
  ### Patch Changes
280
299
 
281
300
  - Updated dependencies [[`10e633a`](https://github.com/mastra-ai/mastra/commit/10e633a07d333466d9734c97acfc3dbf757ad2d0)]:
282
- - @mastra/core@0.20.1-alpha.0
283
- - @mastra/deployer@0.20.1-alpha.0
284
-
285
- ## 0.20.0
286
-
287
- ### Patch Changes
288
-
289
- - Creates a playground specific auth token ([#8420](https://github.com/mastra-ai/mastra/pull/8420))
290
-
291
- - Breaking change to move the agent.streamVNext/generateVNext implementation to the default stream/generate. The old stream/generate have now been moved to streamLegacy and generateLegacy ([#8097](https://github.com/mastra-ai/mastra/pull/8097))
292
-
293
- - Bump cloud deployer external mastra deps ([#8363](https://github.com/mastra-ai/mastra/pull/8363))
294
-
295
- - Updated dependencies [[`00cb6bd`](https://github.com/mastra-ai/mastra/commit/00cb6bdf78737c0fac14a5a0c7b532a11e38558a), [`869ba22`](https://github.com/mastra-ai/mastra/commit/869ba222e1d6b58fc1b65e7c9fd55ca4e01b8c2f), [`1b73665`](https://github.com/mastra-ai/mastra/commit/1b73665e8e23f5c09d49fcf3e7d709c75259259e), [`989a4db`](https://github.com/mastra-ai/mastra/commit/989a4dbbaf07a2794d0e1863714c6d10f1244d6b), [`f7d7475`](https://github.com/mastra-ai/mastra/commit/f7d747507341aef60ed39e4b49318db1f86034a6), [`084b77b`](https://github.com/mastra-ai/mastra/commit/084b77b2955960e0190af8db3f77138aa83ed65c), [`a93ff84`](https://github.com/mastra-ai/mastra/commit/a93ff84b5e1af07ee236ac8873dac9b49aa5d501), [`bc5aacb`](https://github.com/mastra-ai/mastra/commit/bc5aacb646d468d325327e36117129f28cd13bf6), [`6b5af12`](https://github.com/mastra-ai/mastra/commit/6b5af12ce9e09066e0c32e821c203a6954498bea), [`bf60e4a`](https://github.com/mastra-ai/mastra/commit/bf60e4a89c515afd9570b7b79f33b95e7d07c397), [`d41aee5`](https://github.com/mastra-ai/mastra/commit/d41aee526d124e35f42720a08e64043229193679), [`e8fe13c`](https://github.com/mastra-ai/mastra/commit/e8fe13c4b4c255a42520127797ec394310f7c919), [`3ca833d`](https://github.com/mastra-ai/mastra/commit/3ca833dc994c38e3c9b4f9b4478a61cd8e07b32a), [`1edb8d1`](https://github.com/mastra-ai/mastra/commit/1edb8d1cfb963e72a12412990fb9170936c9904c), [`fbf6e32`](https://github.com/mastra-ai/mastra/commit/fbf6e324946332d0f5ed8930bf9d4d4479cefd7a), [`4753027`](https://github.com/mastra-ai/mastra/commit/4753027ee889288775c6958bdfeda03ff909af67)]:
296
- - @mastra/core@0.20.0
297
- - @mastra/deployer@0.20.0
298
- - @mastra/loggers@0.10.15
299
-
300
- ## 0.20.0-alpha.0
301
301
 
302
- ... 612 more lines hidden. See full changelog in package directory.
302
+ ... 631 more lines hidden. See full changelog in package directory.
@@ -1,5 +1,15 @@
1
1
  # @mastra/deployer-netlify
2
2
 
3
+ ## 1.0.0-beta.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Remove unused dependencies ([#10019](https://github.com/mastra-ai/mastra/pull/10019))
8
+
9
+ - Updated dependencies [[`2319326`](https://github.com/mastra-ai/mastra/commit/2319326f8c64e503a09bbcf14be2dd65405445e0), [`2319326`](https://github.com/mastra-ai/mastra/commit/2319326f8c64e503a09bbcf14be2dd65405445e0), [`df9fdcd`](https://github.com/mastra-ai/mastra/commit/df9fdcd8403652c894cf4ac0503afea3b822588c), [`65591d2`](https://github.com/mastra-ai/mastra/commit/65591d2b7cecb83fff4ebc1d743e2f71859a2f7d), [`d629361`](https://github.com/mastra-ai/mastra/commit/d629361a60f6565b5bfb11976fdaf7308af858e2), [`08c31c1`](https://github.com/mastra-ai/mastra/commit/08c31c188ebccd598acaf55e888b6397d01f7eae), [`fd3d338`](https://github.com/mastra-ai/mastra/commit/fd3d338a2c362174ed5b383f1f011ad9fb0302aa), [`c30400a`](https://github.com/mastra-ai/mastra/commit/c30400a49b994b1b97256fe785eb6c906fc2b232), [`69e0a87`](https://github.com/mastra-ai/mastra/commit/69e0a878896a2da9494945d86e056a5f8f05b851), [`01f8878`](https://github.com/mastra-ai/mastra/commit/01f88783de25e4de048c1c8aace43e26373c6ea5), [`4c77209`](https://github.com/mastra-ai/mastra/commit/4c77209e6c11678808b365d545845918c40045c8), [`d827d08`](https://github.com/mastra-ai/mastra/commit/d827d0808ffe1f3553a84e975806cc989b9735dd), [`23c10a1`](https://github.com/mastra-ai/mastra/commit/23c10a1efdd9a693c405511ab2dc8a1236603162), [`676ccc7`](https://github.com/mastra-ai/mastra/commit/676ccc7fe92468d2d45d39c31a87825c89fd1ea0), [`c10398d`](https://github.com/mastra-ai/mastra/commit/c10398d5b88f1d4af556f4267ff06f1d11e89179), [`00c2387`](https://github.com/mastra-ai/mastra/commit/00c2387f5f04a365316f851e58666ac43f8c4edf), [`ad6250d`](https://github.com/mastra-ai/mastra/commit/ad6250dbdaad927e29f74a27b83f6c468b50a705), [`3a73998`](https://github.com/mastra-ai/mastra/commit/3a73998fa4ebeb7f3dc9301afe78095fc63e7999), [`e16d553`](https://github.com/mastra-ai/mastra/commit/e16d55338403c7553531cc568125c63d53653dff), [`4d59f58`](https://github.com/mastra-ai/mastra/commit/4d59f58de2d90d6e2810a19d4518e38ddddb9038), [`e1bb9c9`](https://github.com/mastra-ai/mastra/commit/e1bb9c94b4eb68b019ae275981be3feb769b5365), [`351a11f`](https://github.com/mastra-ai/mastra/commit/351a11fcaf2ed1008977fa9b9a489fc422e51cd4)]:
10
+ - @mastra/core@1.0.0-beta.3
11
+ - @mastra/deployer@1.0.0-beta.3
12
+
3
13
  ## 1.0.0-beta.0
4
14
 
5
15
  ### Major Changes
@@ -289,14 +299,4 @@
289
299
 
290
300
  ### Patch Changes
291
301
 
292
- - dependencies updates: ([#8007](https://github.com/mastra-ai/mastra/pull/8007))
293
- - Updated dependency [`fs-extra@^11.3.2` ↗︎](https://www.npmjs.com/package/fs-extra/v/11.3.2) (from `^11.3.1`, in `dependencies`)
294
- - Updated dependencies [[`288745a`](https://github.com/mastra-ai/mastra/commit/288745a19aa9557db3ab3c877d667ff59f14d79c), [`c45298a`](https://github.com/mastra-ai/mastra/commit/c45298a0a0791db35cf79f1199d77004da0704cb)]:
295
- - @mastra/deployer@0.17.2-alpha.1
296
- - @mastra/core@0.17.2-alpha.1
297
-
298
- ## 0.13.2-alpha.0
299
-
300
- ### Patch Changes
301
-
302
- ... 3679 more lines hidden. See full changelog in package directory.
302
+ ... 3689 more lines hidden. See full changelog in package directory.
@@ -1,5 +1,15 @@
1
1
  # @mastra/deployer-vercel
2
2
 
3
+ ## 1.0.0-beta.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Remove unused dependencies ([#10019](https://github.com/mastra-ai/mastra/pull/10019))
8
+
9
+ - Updated dependencies [[`2319326`](https://github.com/mastra-ai/mastra/commit/2319326f8c64e503a09bbcf14be2dd65405445e0), [`2319326`](https://github.com/mastra-ai/mastra/commit/2319326f8c64e503a09bbcf14be2dd65405445e0), [`df9fdcd`](https://github.com/mastra-ai/mastra/commit/df9fdcd8403652c894cf4ac0503afea3b822588c), [`65591d2`](https://github.com/mastra-ai/mastra/commit/65591d2b7cecb83fff4ebc1d743e2f71859a2f7d), [`d629361`](https://github.com/mastra-ai/mastra/commit/d629361a60f6565b5bfb11976fdaf7308af858e2), [`08c31c1`](https://github.com/mastra-ai/mastra/commit/08c31c188ebccd598acaf55e888b6397d01f7eae), [`fd3d338`](https://github.com/mastra-ai/mastra/commit/fd3d338a2c362174ed5b383f1f011ad9fb0302aa), [`c30400a`](https://github.com/mastra-ai/mastra/commit/c30400a49b994b1b97256fe785eb6c906fc2b232), [`69e0a87`](https://github.com/mastra-ai/mastra/commit/69e0a878896a2da9494945d86e056a5f8f05b851), [`01f8878`](https://github.com/mastra-ai/mastra/commit/01f88783de25e4de048c1c8aace43e26373c6ea5), [`4c77209`](https://github.com/mastra-ai/mastra/commit/4c77209e6c11678808b365d545845918c40045c8), [`d827d08`](https://github.com/mastra-ai/mastra/commit/d827d0808ffe1f3553a84e975806cc989b9735dd), [`23c10a1`](https://github.com/mastra-ai/mastra/commit/23c10a1efdd9a693c405511ab2dc8a1236603162), [`676ccc7`](https://github.com/mastra-ai/mastra/commit/676ccc7fe92468d2d45d39c31a87825c89fd1ea0), [`c10398d`](https://github.com/mastra-ai/mastra/commit/c10398d5b88f1d4af556f4267ff06f1d11e89179), [`00c2387`](https://github.com/mastra-ai/mastra/commit/00c2387f5f04a365316f851e58666ac43f8c4edf), [`ad6250d`](https://github.com/mastra-ai/mastra/commit/ad6250dbdaad927e29f74a27b83f6c468b50a705), [`3a73998`](https://github.com/mastra-ai/mastra/commit/3a73998fa4ebeb7f3dc9301afe78095fc63e7999), [`e16d553`](https://github.com/mastra-ai/mastra/commit/e16d55338403c7553531cc568125c63d53653dff), [`4d59f58`](https://github.com/mastra-ai/mastra/commit/4d59f58de2d90d6e2810a19d4518e38ddddb9038), [`e1bb9c9`](https://github.com/mastra-ai/mastra/commit/e1bb9c94b4eb68b019ae275981be3feb769b5365), [`351a11f`](https://github.com/mastra-ai/mastra/commit/351a11fcaf2ed1008977fa9b9a489fc422e51cd4)]:
10
+ - @mastra/core@1.0.0-beta.3
11
+ - @mastra/deployer@1.0.0-beta.3
12
+
3
13
  ## 1.0.0-beta.0
4
14
 
5
15
  ### Major Changes
@@ -289,14 +299,4 @@
289
299
 
290
300
  ## 0.12.2-alpha.1
291
301
 
292
- ### Patch Changes
293
-
294
- - dependencies updates: ([#8007](https://github.com/mastra-ai/mastra/pull/8007))
295
- - Updated dependency [`fs-extra@^11.3.2` ↗︎](https://www.npmjs.com/package/fs-extra/v/11.3.2) (from `^11.3.1`, in `dependencies`)
296
- - Updated dependencies [[`288745a`](https://github.com/mastra-ai/mastra/commit/288745a19aa9557db3ab3c877d667ff59f14d79c), [`c45298a`](https://github.com/mastra-ai/mastra/commit/c45298a0a0791db35cf79f1199d77004da0704cb)]:
297
- - @mastra/deployer@0.17.2-alpha.1
298
- - @mastra/core@0.17.2-alpha.1
299
-
300
- ## 0.12.2-alpha.0
301
-
302
- ... 3635 more lines hidden. See full changelog in package directory.
302
+ ... 3645 more lines hidden. See full changelog in package directory.