@mastra/tanstack-start 0.2.35-alpha.1 → 0.2.35-alpha.2
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.
- package/dist/index.cjs +4 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -1
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
package/dist/index.cjs
CHANGED
|
@@ -27,7 +27,10 @@ function createStartRouteHandler(options) {
|
|
|
27
27
|
const { mastra, tools = {}, prefix = "/api" } = options;
|
|
28
28
|
let appPromise;
|
|
29
29
|
function getApp() {
|
|
30
|
-
|
|
30
|
+
appPromise ??= initApp(mastra, tools, prefix).catch((error) => {
|
|
31
|
+
appPromise = void 0;
|
|
32
|
+
throw error;
|
|
33
|
+
});
|
|
31
34
|
return appPromise;
|
|
32
35
|
}
|
|
33
36
|
const handler = async ({ request }) => {
|
package/dist/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","names":["Hono","MastraServer","InMemoryTaskStore"],"sources":["../src/index.ts"],"sourcesContent":["import type { ToolsInput } from '@mastra/core/agent';\nimport type { Mastra } from '@mastra/core/mastra';\nimport type { ApiRoute } from '@mastra/core/server';\nimport { MastraServer } from '@mastra/hono';\nimport type { HonoApp } from '@mastra/hono';\nimport { InMemoryTaskStore } from '@mastra/server/a2a/store';\nimport { Hono } from 'hono';\n\n/**\n * Context provided to each TanStack Start server route handler.\n */\nexport interface StartHandlerContext {\n request: Request;\n params: Record<string, string>;\n}\n\nexport interface StartRouteHandlerOptions {\n /**\n * The Mastra instance to serve.\n */\n mastra: Mastra;\n\n /**\n * Tools to register with the server.\n * @default {}\n */\n tools?: ToolsInput;\n\n /**\n * API route prefix. Should match the path where the catch-all route is mounted.\n * For example, if you mount at `src/routes/api/$.ts`, set this to `/api`.\n * @default '/api'\n */\n prefix?: string;\n}\n\n/**\n * A TanStack Start server route handler function.\n */\nexport type StartRouteHandler = (ctx: StartHandlerContext) => Response | Promise<Response>;\n\nexport interface StartRouteHandlers {\n GET: StartRouteHandler;\n POST: StartRouteHandler;\n PUT: StartRouteHandler;\n DELETE: StartRouteHandler;\n PATCH: StartRouteHandler;\n OPTIONS: StartRouteHandler;\n HEAD: StartRouteHandler;\n}\n\n/**\n * Creates TanStack Start server route handlers for a Mastra instance.\n *\n * Mount this in a catch-all (splat) server route file such as:\n * `src/routes/api/$.ts`\n *\n * @example\n * ```ts\n * // src/routes/api/$.ts\n * import { createFileRoute } from '@tanstack/react-router';\n * import { createStartRouteHandler } from '@mastra/tanstack-start';\n * import { mastra } from '../../mastra';\n *\n * export const Route = createFileRoute('/api/$')({\n * server: {\n * handlers: createStartRouteHandler({ mastra }),\n * },\n * });\n * ```\n */\nexport function createStartRouteHandler(options: StartRouteHandlerOptions): StartRouteHandlers {\n const { mastra, tools = {}, prefix = '/api' } = options;\n\n // Lazily initialize the Hono app so the module-level export works synchronously\n let appPromise: Promise<Hono> | undefined;\n\n function getApp(): Promise<Hono> {\n
|
|
1
|
+
{"version":3,"file":"index.cjs","names":["Hono","MastraServer","InMemoryTaskStore"],"sources":["../src/index.ts"],"sourcesContent":["import type { ToolsInput } from '@mastra/core/agent';\nimport type { Mastra } from '@mastra/core/mastra';\nimport type { ApiRoute } from '@mastra/core/server';\nimport { MastraServer } from '@mastra/hono';\nimport type { HonoApp } from '@mastra/hono';\nimport { InMemoryTaskStore } from '@mastra/server/a2a/store';\nimport { Hono } from 'hono';\n\n/**\n * Context provided to each TanStack Start server route handler.\n */\nexport interface StartHandlerContext {\n request: Request;\n params: Record<string, string>;\n}\n\nexport interface StartRouteHandlerOptions {\n /**\n * The Mastra instance to serve.\n */\n mastra: Mastra;\n\n /**\n * Tools to register with the server.\n * @default {}\n */\n tools?: ToolsInput;\n\n /**\n * API route prefix. Should match the path where the catch-all route is mounted.\n * For example, if you mount at `src/routes/api/$.ts`, set this to `/api`.\n * @default '/api'\n */\n prefix?: string;\n}\n\n/**\n * A TanStack Start server route handler function.\n */\nexport type StartRouteHandler = (ctx: StartHandlerContext) => Response | Promise<Response>;\n\nexport interface StartRouteHandlers {\n GET: StartRouteHandler;\n POST: StartRouteHandler;\n PUT: StartRouteHandler;\n DELETE: StartRouteHandler;\n PATCH: StartRouteHandler;\n OPTIONS: StartRouteHandler;\n HEAD: StartRouteHandler;\n}\n\n/**\n * Creates TanStack Start server route handlers for a Mastra instance.\n *\n * Mount this in a catch-all (splat) server route file such as:\n * `src/routes/api/$.ts`\n *\n * @example\n * ```ts\n * // src/routes/api/$.ts\n * import { createFileRoute } from '@tanstack/react-router';\n * import { createStartRouteHandler } from '@mastra/tanstack-start';\n * import { mastra } from '../../mastra';\n *\n * export const Route = createFileRoute('/api/$')({\n * server: {\n * handlers: createStartRouteHandler({ mastra }),\n * },\n * });\n * ```\n */\nexport function createStartRouteHandler(options: StartRouteHandlerOptions): StartRouteHandlers {\n const { mastra, tools = {}, prefix = '/api' } = options;\n\n // Lazily initialize the Hono app so the module-level export works synchronously\n let appPromise: Promise<Hono> | undefined;\n\n function getApp(): Promise<Hono> {\n // Clear a failed initialization so the next request can retry it\n appPromise ??= initApp(mastra, tools, prefix).catch(error => {\n appPromise = undefined;\n throw error;\n });\n return appPromise;\n }\n\n const handler: StartRouteHandler = async ({ request }) => {\n const app = await getApp();\n return app.fetch(request);\n };\n\n return {\n GET: handler,\n POST: handler,\n PUT: handler,\n DELETE: handler,\n PATCH: handler,\n OPTIONS: handler,\n HEAD: handler,\n };\n}\n\nasync function initApp(mastra: Mastra, tools: ToolsInput, prefix: string): Promise<Hono> {\n const app = new Hono();\n\n const serverConfig = mastra.getServer();\n const apiRoutes: ApiRoute[] | undefined = serverConfig?.apiRoutes;\n\n // Store custom route auth configurations\n const customRouteAuthConfig = new Map<string, boolean>();\n if (apiRoutes) {\n for (const route of apiRoutes) {\n const requiresAuth = route.requiresAuth !== false;\n const routeKey = `${route.method}:${route.path}`;\n customRouteAuthConfig.set(routeKey, requiresAuth);\n }\n }\n\n const taskStore = new InMemoryTaskStore();\n\n const bodySizeLimit = serverConfig?.bodySizeLimit ?? 4.5 * 1024 * 1024;\n\n // Create the MastraServer adapter\n const honoServerAdapter = new MastraServer({\n app: app as unknown as HonoApp,\n mastra,\n tools,\n taskStore,\n bodyLimitOptions: {\n maxSize: bodySizeLimit,\n onError: (_err: unknown) => ({ error: 'Request body too large' }),\n },\n customRouteAuthConfig,\n customApiRoutes: apiRoutes,\n prefix,\n mcpOptions: serverConfig?.mcpOptions,\n });\n\n // Initialize: registers context middleware, auth, routes, etc.\n await honoServerAdapter.init();\n\n return app;\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAuEA,SAAgB,wBAAwB,SAAuD;CAC7F,MAAM,EAAE,QAAQ,QAAQ,CAAC,GAAG,SAAS,WAAW;CAGhD,IAAI;CAEJ,SAAS,SAAwB;EAE/B,eAAe,QAAQ,QAAQ,OAAO,MAAM,CAAC,CAAC,OAAM,UAAS;GAC3D,aAAa,KAAA;GACb,MAAM;EACR,CAAC;EACD,OAAO;CACT;CAEA,MAAM,UAA6B,OAAO,EAAE,cAAc;EAExD,QAAO,MADW,OAAO,EAAA,CACd,MAAM,OAAO;CAC1B;CAEA,OAAO;EACL,KAAK;EACL,MAAM;EACN,KAAK;EACL,QAAQ;EACR,OAAO;EACP,SAAS;EACT,MAAM;CACR;AACF;AAEA,eAAe,QAAQ,QAAgB,OAAmB,QAA+B;CACvF,MAAM,MAAM,IAAIA,KAAAA,KAAK;CAErB,MAAM,eAAe,OAAO,UAAU;CACtC,MAAM,YAAoC,cAAc;CAGxD,MAAM,wCAAwB,IAAI,IAAqB;CACvD,IAAI,WACF,KAAK,MAAM,SAAS,WAAW;EAC7B,MAAM,eAAe,MAAM,iBAAiB;EAC5C,MAAM,WAAW,GAAG,MAAM,OAAO,GAAG,MAAM;EAC1C,sBAAsB,IAAI,UAAU,YAAY;CAClD;CAwBF,MAAM,IAhBwBC,aAAAA,aAAa;EACpC;EACL;EACA;EACA,WAAA,IAToBC,yBAAAA,kBASZ;EACR,kBAAkB;GAChB,SATkB,cAAc,iBAAiB,MAAM,OAAO;GAU9D,UAAU,UAAmB,EAAE,OAAO,yBAAyB;EACjE;EACA;EACA,iBAAiB;EACjB;EACA,YAAY,cAAc;CAC5B,CAGsB,CAAC,CAAC,KAAK;CAE7B,OAAO;AACT"}
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAOlD;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAClC,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CAChC;AAED,MAAM,WAAW,wBAAwB;IACvC;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;;OAGG;IACH,KAAK,CAAC,EAAE,UAAU,CAAC;IAEnB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG,CAAC,GAAG,EAAE,mBAAmB,KAAK,QAAQ,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAC;AAE3F,MAAM,WAAW,kBAAkB;IACjC,GAAG,EAAE,iBAAiB,CAAC;IACvB,IAAI,EAAE,iBAAiB,CAAC;IACxB,GAAG,EAAE,iBAAiB,CAAC;IACvB,MAAM,EAAE,iBAAiB,CAAC;IAC1B,KAAK,EAAE,iBAAiB,CAAC;IACzB,OAAO,EAAE,iBAAiB,CAAC;IAC3B,IAAI,EAAE,iBAAiB,CAAC;CACzB;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,uBAAuB,CAAC,OAAO,EAAE,wBAAwB,GAAG,kBAAkB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAOlD;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAClC,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CAChC;AAED,MAAM,WAAW,wBAAwB;IACvC;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;;OAGG;IACH,KAAK,CAAC,EAAE,UAAU,CAAC;IAEnB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG,CAAC,GAAG,EAAE,mBAAmB,KAAK,QAAQ,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAC;AAE3F,MAAM,WAAW,kBAAkB;IACjC,GAAG,EAAE,iBAAiB,CAAC;IACvB,IAAI,EAAE,iBAAiB,CAAC;IACxB,GAAG,EAAE,iBAAiB,CAAC;IACvB,MAAM,EAAE,iBAAiB,CAAC;IAC1B,KAAK,EAAE,iBAAiB,CAAC;IACzB,OAAO,EAAE,iBAAiB,CAAC;IAC3B,IAAI,EAAE,iBAAiB,CAAC;CACzB;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,uBAAuB,CAAC,OAAO,EAAE,wBAAwB,GAAG,kBAAkB,CA6B7F"}
|
package/dist/index.js
CHANGED
|
@@ -26,7 +26,10 @@ function createStartRouteHandler(options) {
|
|
|
26
26
|
const { mastra, tools = {}, prefix = "/api" } = options;
|
|
27
27
|
let appPromise;
|
|
28
28
|
function getApp() {
|
|
29
|
-
|
|
29
|
+
appPromise ??= initApp(mastra, tools, prefix).catch((error) => {
|
|
30
|
+
appPromise = void 0;
|
|
31
|
+
throw error;
|
|
32
|
+
});
|
|
30
33
|
return appPromise;
|
|
31
34
|
}
|
|
32
35
|
const handler = async ({ request }) => {
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["../src/index.ts"],"sourcesContent":["import type { ToolsInput } from '@mastra/core/agent';\nimport type { Mastra } from '@mastra/core/mastra';\nimport type { ApiRoute } from '@mastra/core/server';\nimport { MastraServer } from '@mastra/hono';\nimport type { HonoApp } from '@mastra/hono';\nimport { InMemoryTaskStore } from '@mastra/server/a2a/store';\nimport { Hono } from 'hono';\n\n/**\n * Context provided to each TanStack Start server route handler.\n */\nexport interface StartHandlerContext {\n request: Request;\n params: Record<string, string>;\n}\n\nexport interface StartRouteHandlerOptions {\n /**\n * The Mastra instance to serve.\n */\n mastra: Mastra;\n\n /**\n * Tools to register with the server.\n * @default {}\n */\n tools?: ToolsInput;\n\n /**\n * API route prefix. Should match the path where the catch-all route is mounted.\n * For example, if you mount at `src/routes/api/$.ts`, set this to `/api`.\n * @default '/api'\n */\n prefix?: string;\n}\n\n/**\n * A TanStack Start server route handler function.\n */\nexport type StartRouteHandler = (ctx: StartHandlerContext) => Response | Promise<Response>;\n\nexport interface StartRouteHandlers {\n GET: StartRouteHandler;\n POST: StartRouteHandler;\n PUT: StartRouteHandler;\n DELETE: StartRouteHandler;\n PATCH: StartRouteHandler;\n OPTIONS: StartRouteHandler;\n HEAD: StartRouteHandler;\n}\n\n/**\n * Creates TanStack Start server route handlers for a Mastra instance.\n *\n * Mount this in a catch-all (splat) server route file such as:\n * `src/routes/api/$.ts`\n *\n * @example\n * ```ts\n * // src/routes/api/$.ts\n * import { createFileRoute } from '@tanstack/react-router';\n * import { createStartRouteHandler } from '@mastra/tanstack-start';\n * import { mastra } from '../../mastra';\n *\n * export const Route = createFileRoute('/api/$')({\n * server: {\n * handlers: createStartRouteHandler({ mastra }),\n * },\n * });\n * ```\n */\nexport function createStartRouteHandler(options: StartRouteHandlerOptions): StartRouteHandlers {\n const { mastra, tools = {}, prefix = '/api' } = options;\n\n // Lazily initialize the Hono app so the module-level export works synchronously\n let appPromise: Promise<Hono> | undefined;\n\n function getApp(): Promise<Hono> {\n
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../src/index.ts"],"sourcesContent":["import type { ToolsInput } from '@mastra/core/agent';\nimport type { Mastra } from '@mastra/core/mastra';\nimport type { ApiRoute } from '@mastra/core/server';\nimport { MastraServer } from '@mastra/hono';\nimport type { HonoApp } from '@mastra/hono';\nimport { InMemoryTaskStore } from '@mastra/server/a2a/store';\nimport { Hono } from 'hono';\n\n/**\n * Context provided to each TanStack Start server route handler.\n */\nexport interface StartHandlerContext {\n request: Request;\n params: Record<string, string>;\n}\n\nexport interface StartRouteHandlerOptions {\n /**\n * The Mastra instance to serve.\n */\n mastra: Mastra;\n\n /**\n * Tools to register with the server.\n * @default {}\n */\n tools?: ToolsInput;\n\n /**\n * API route prefix. Should match the path where the catch-all route is mounted.\n * For example, if you mount at `src/routes/api/$.ts`, set this to `/api`.\n * @default '/api'\n */\n prefix?: string;\n}\n\n/**\n * A TanStack Start server route handler function.\n */\nexport type StartRouteHandler = (ctx: StartHandlerContext) => Response | Promise<Response>;\n\nexport interface StartRouteHandlers {\n GET: StartRouteHandler;\n POST: StartRouteHandler;\n PUT: StartRouteHandler;\n DELETE: StartRouteHandler;\n PATCH: StartRouteHandler;\n OPTIONS: StartRouteHandler;\n HEAD: StartRouteHandler;\n}\n\n/**\n * Creates TanStack Start server route handlers for a Mastra instance.\n *\n * Mount this in a catch-all (splat) server route file such as:\n * `src/routes/api/$.ts`\n *\n * @example\n * ```ts\n * // src/routes/api/$.ts\n * import { createFileRoute } from '@tanstack/react-router';\n * import { createStartRouteHandler } from '@mastra/tanstack-start';\n * import { mastra } from '../../mastra';\n *\n * export const Route = createFileRoute('/api/$')({\n * server: {\n * handlers: createStartRouteHandler({ mastra }),\n * },\n * });\n * ```\n */\nexport function createStartRouteHandler(options: StartRouteHandlerOptions): StartRouteHandlers {\n const { mastra, tools = {}, prefix = '/api' } = options;\n\n // Lazily initialize the Hono app so the module-level export works synchronously\n let appPromise: Promise<Hono> | undefined;\n\n function getApp(): Promise<Hono> {\n // Clear a failed initialization so the next request can retry it\n appPromise ??= initApp(mastra, tools, prefix).catch(error => {\n appPromise = undefined;\n throw error;\n });\n return appPromise;\n }\n\n const handler: StartRouteHandler = async ({ request }) => {\n const app = await getApp();\n return app.fetch(request);\n };\n\n return {\n GET: handler,\n POST: handler,\n PUT: handler,\n DELETE: handler,\n PATCH: handler,\n OPTIONS: handler,\n HEAD: handler,\n };\n}\n\nasync function initApp(mastra: Mastra, tools: ToolsInput, prefix: string): Promise<Hono> {\n const app = new Hono();\n\n const serverConfig = mastra.getServer();\n const apiRoutes: ApiRoute[] | undefined = serverConfig?.apiRoutes;\n\n // Store custom route auth configurations\n const customRouteAuthConfig = new Map<string, boolean>();\n if (apiRoutes) {\n for (const route of apiRoutes) {\n const requiresAuth = route.requiresAuth !== false;\n const routeKey = `${route.method}:${route.path}`;\n customRouteAuthConfig.set(routeKey, requiresAuth);\n }\n }\n\n const taskStore = new InMemoryTaskStore();\n\n const bodySizeLimit = serverConfig?.bodySizeLimit ?? 4.5 * 1024 * 1024;\n\n // Create the MastraServer adapter\n const honoServerAdapter = new MastraServer({\n app: app as unknown as HonoApp,\n mastra,\n tools,\n taskStore,\n bodyLimitOptions: {\n maxSize: bodySizeLimit,\n onError: (_err: unknown) => ({ error: 'Request body too large' }),\n },\n customRouteAuthConfig,\n customApiRoutes: apiRoutes,\n prefix,\n mcpOptions: serverConfig?.mcpOptions,\n });\n\n // Initialize: registers context middleware, auth, routes, etc.\n await honoServerAdapter.init();\n\n return app;\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAuEA,SAAgB,wBAAwB,SAAuD;CAC7F,MAAM,EAAE,QAAQ,QAAQ,CAAC,GAAG,SAAS,WAAW;CAGhD,IAAI;CAEJ,SAAS,SAAwB;EAE/B,eAAe,QAAQ,QAAQ,OAAO,MAAM,CAAC,CAAC,OAAM,UAAS;GAC3D,aAAa,KAAA;GACb,MAAM;EACR,CAAC;EACD,OAAO;CACT;CAEA,MAAM,UAA6B,OAAO,EAAE,cAAc;EAExD,QAAO,MADW,OAAO,EAAA,CACd,MAAM,OAAO;CAC1B;CAEA,OAAO;EACL,KAAK;EACL,MAAM;EACN,KAAK;EACL,QAAQ;EACR,OAAO;EACP,SAAS;EACT,MAAM;CACR;AACF;AAEA,eAAe,QAAQ,QAAgB,OAAmB,QAA+B;CACvF,MAAM,MAAM,IAAI,KAAK;CAErB,MAAM,eAAe,OAAO,UAAU;CACtC,MAAM,YAAoC,cAAc;CAGxD,MAAM,wCAAwB,IAAI,IAAqB;CACvD,IAAI,WACF,KAAK,MAAM,SAAS,WAAW;EAC7B,MAAM,eAAe,MAAM,iBAAiB;EAC5C,MAAM,WAAW,GAAG,MAAM,OAAO,GAAG,MAAM;EAC1C,sBAAsB,IAAI,UAAU,YAAY;CAClD;CAwBF,MAAM,IAhBwB,aAAa;EACpC;EACL;EACA;EACA,WAAA,IAToB,kBASZ;EACR,kBAAkB;GAChB,SATkB,cAAc,iBAAiB,MAAM,OAAO;GAU9D,UAAU,UAAmB,EAAE,OAAO,yBAAyB;EACjE;EACA;EACA,iBAAiB;EACjB;EACA,YAAY,cAAc;CAC5B,CAGsB,CAAC,CAAC,KAAK;CAE7B,OAAO;AACT"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/tanstack-start",
|
|
3
|
-
"version": "0.2.35-alpha.
|
|
3
|
+
"version": "0.2.35-alpha.2",
|
|
4
4
|
"description": "Mastra TanStack Start server adapter — drop your Mastra instance into a TanStack Start app",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
},
|
|
21
21
|
"license": "Apache-2.0",
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@mastra/
|
|
24
|
-
"@mastra/
|
|
23
|
+
"@mastra/server": "1.77.0-alpha.2",
|
|
24
|
+
"@mastra/hono": "1.7.19-alpha.2"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"@types/node": "22.20.1",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"vitest": "4.1.11",
|
|
33
33
|
"@internal/lint": "0.0.142",
|
|
34
34
|
"@internal/types-builder": "0.0.117",
|
|
35
|
-
"@mastra/core": "1.77.0-alpha.
|
|
35
|
+
"@mastra/core": "1.77.0-alpha.2"
|
|
36
36
|
},
|
|
37
37
|
"peerDependencies": {
|
|
38
38
|
"@mastra/core": ">=1.58.0-0 <2.0.0-0",
|