server
Express-layer plumbing for the Mastra plugin: a MastraServer that
stamps the per-request RequestContext, and a route-patch middleware
that lets the plugin’s custom API routes (e.g. historyRoute) work
behind an Express mount point.
Express-layer plumbing for the Mastra plugin: a MastraServer that
stamps the per-request RequestContext, and a route-patch middleware
that lets the plugin’s custom API routes (e.g. historyRoute) work
behind an Express mount point.