Mastra
npx @buildinternet/releases get mastraRealtime voice agents now ship as a first-class Mastra primitive, and file-system routing eliminates the need for a manual entry file. Realtime voice agents via LiveKit. The new @mastra/livekit package wraps Mastra agents (or per-turn workflows) into realtime voice agents, with LiveKit managing the full audio loop — WebRTC, VAD, STT/TTS, turn detection, and barge-in — while Mastra handles replies, tools, and memory. Built-in tracing and Studio voice-mode support are included. File-system routing for all Mastra primitives. Dropping storage.ts, observability.ts, server.ts, studio.ts, workflows/*.ts, and agent processors into src/mastra now triggers auto-discovery during mastra dev and mastra build. The deployer can also auto-construct a Mastra instance when no src/mastra/index.ts entry file exists, enabling fully directory-based projects. Heartbeats unified as schedules. Agent cron scheduling and workflow schedules are now a single mastra.schedules API with matching GET /api/schedules server routes and client.js support. The earlier mastra.heartbeats name is deprecated. Opt-in storage retention and multi-tenant isolation. Storage adapters now support per-table retention policies (retention: { maxAge }) and a safe, batched, resumable storage.prune() method across Postgres, libSQL, and MongoDB. Optional organizationId/projectId scoping now covers datasets, experiments, scores, and scorers with storage-layer predicates to prevent cross-tenant access. AI SDK v7 support, GatewayManager, and DurableAgent parity. Agents accept LanguageModelV4 models directly, the model router resolves V4 natively, and modelSettings adds a reasoning effort control. A new GatewayManager enables gateway-first model discovery and auth. DurableAgent now matches Agent in stream/resume/generate with full AgentExecutionOptions, abortSignal, result.abort(), onAbort, and richer AGENT_RUN spans. Suspended run discovery and Studio panel redesign. agent.listSuspendedRuns() reads pending approvals from storage rather than memory, so approval UIs survive refresh and restart. Studio panels gained true resizable panels with smooth open/close and mobile drawer behavior.