@mastra/server 1.40.0 → 1.41.0

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 (86) hide show
  1. package/CHANGELOG.md +52 -0
  2. package/dist/{api-schema-manifest-ALHYYJMN.cjs → api-schema-manifest-3J75ZPRN.cjs} +4 -4
  3. package/dist/{api-schema-manifest-ALHYYJMN.cjs.map → api-schema-manifest-3J75ZPRN.cjs.map} +1 -1
  4. package/dist/{api-schema-manifest-PQ6VZTB3.js → api-schema-manifest-5PJMYYEP.js} +3 -3
  5. package/dist/{api-schema-manifest-PQ6VZTB3.js.map → api-schema-manifest-5PJMYYEP.js.map} +1 -1
  6. package/dist/{chunk-THXUZHS6.cjs → chunk-2T7K7BXT.cjs} +7 -7
  7. package/dist/{chunk-THXUZHS6.cjs.map → chunk-2T7K7BXT.cjs.map} +1 -1
  8. package/dist/{chunk-6MP52DMQ.cjs → chunk-34FGGH4V.cjs} +5 -5
  9. package/dist/{chunk-6MP52DMQ.cjs.map → chunk-34FGGH4V.cjs.map} +1 -1
  10. package/dist/{chunk-FQCCUWMS.js → chunk-3UAYDJLC.js} +3 -3
  11. package/dist/{chunk-FQCCUWMS.js.map → chunk-3UAYDJLC.js.map} +1 -1
  12. package/dist/{chunk-G2CL5JMK.js → chunk-7EXN7Q2U.js} +4 -4
  13. package/dist/{chunk-G2CL5JMK.js.map → chunk-7EXN7Q2U.js.map} +1 -1
  14. package/dist/{chunk-E7AEYMKH.js → chunk-7JWV7IFO.js} +3 -3
  15. package/dist/{chunk-E7AEYMKH.js.map → chunk-7JWV7IFO.js.map} +1 -1
  16. package/dist/{chunk-HEBNJ6KJ.js → chunk-7LBTVNI5.js} +11 -5
  17. package/dist/chunk-7LBTVNI5.js.map +1 -0
  18. package/dist/{chunk-IONXSX77.js → chunk-CEPTL3AG.js} +7 -4
  19. package/dist/chunk-CEPTL3AG.js.map +1 -0
  20. package/dist/{chunk-XNGC2C6Z.js → chunk-D2FLXNQM.js} +11 -11
  21. package/dist/{chunk-XNGC2C6Z.js.map → chunk-D2FLXNQM.js.map} +1 -1
  22. package/dist/{chunk-544IXGBW.cjs → chunk-EJQMKG42.cjs} +105 -105
  23. package/dist/{chunk-544IXGBW.cjs.map → chunk-EJQMKG42.cjs.map} +1 -1
  24. package/dist/{chunk-VSB4S6R5.js → chunk-IGNJBGHV.js} +3 -3
  25. package/dist/{chunk-VSB4S6R5.js.map → chunk-IGNJBGHV.js.map} +1 -1
  26. package/dist/{chunk-XGFN7MMF.cjs → chunk-IVCUBCKI.cjs} +4 -4
  27. package/dist/{chunk-XGFN7MMF.cjs.map → chunk-IVCUBCKI.cjs.map} +1 -1
  28. package/dist/{chunk-5WB7PKHN.cjs → chunk-KNHHBQHI.cjs} +4 -4
  29. package/dist/{chunk-5WB7PKHN.cjs.map → chunk-KNHHBQHI.cjs.map} +1 -1
  30. package/dist/{chunk-AW5INHG7.js → chunk-RWZEMNUW.js} +3 -3
  31. package/dist/{chunk-AW5INHG7.js.map → chunk-RWZEMNUW.js.map} +1 -1
  32. package/dist/{chunk-5DDUXRAY.cjs → chunk-SARIDRDK.cjs} +108 -102
  33. package/dist/chunk-SARIDRDK.cjs.map +1 -0
  34. package/dist/{chunk-K6XESXNQ.js → chunk-SL5CXTTT.js} +3 -3
  35. package/dist/{chunk-K6XESXNQ.js.map → chunk-SL5CXTTT.js.map} +1 -1
  36. package/dist/{chunk-HGREXGI2.cjs → chunk-SVR4L4VL.cjs} +3 -3
  37. package/dist/{chunk-HGREXGI2.cjs.map → chunk-SVR4L4VL.cjs.map} +1 -1
  38. package/dist/{chunk-D5M3VILP.cjs → chunk-TSX4BSIQ.cjs} +25 -25
  39. package/dist/{chunk-D5M3VILP.cjs.map → chunk-TSX4BSIQ.cjs.map} +1 -1
  40. package/dist/{chunk-AX6REP5O.cjs → chunk-VURMWFB3.cjs} +4 -4
  41. package/dist/{chunk-AX6REP5O.cjs.map → chunk-VURMWFB3.cjs.map} +1 -1
  42. package/dist/{chunk-CBG6LUEW.js → chunk-WSZWG55D.js} +3 -3
  43. package/dist/{chunk-CBG6LUEW.js.map → chunk-WSZWG55D.js.map} +1 -1
  44. package/dist/{chunk-B5NMA52D.js → chunk-XICWJPD7.js} +4 -4
  45. package/dist/{chunk-B5NMA52D.js.map → chunk-XICWJPD7.js.map} +1 -1
  46. package/dist/{chunk-LYF4J3JE.cjs → chunk-YG4BMJHW.cjs} +17 -17
  47. package/dist/{chunk-LYF4J3JE.cjs.map → chunk-YG4BMJHW.cjs.map} +1 -1
  48. package/dist/{chunk-IU3ZRZSG.cjs → chunk-YGOB5US6.cjs} +7 -4
  49. package/dist/chunk-YGOB5US6.cjs.map +1 -0
  50. package/dist/docs/SKILL.md +1 -1
  51. package/dist/docs/assets/SOURCE_MAP.json +1 -1
  52. package/dist/server/handlers/a2a.cjs +14 -14
  53. package/dist/server/handlers/a2a.js +1 -1
  54. package/dist/server/handlers/agent-builder.cjs +17 -17
  55. package/dist/server/handlers/agent-builder.js +1 -1
  56. package/dist/server/handlers/agents.cjs +45 -45
  57. package/dist/server/handlers/agents.d.ts +90 -0
  58. package/dist/server/handlers/agents.d.ts.map +1 -1
  59. package/dist/server/handlers/agents.js +1 -1
  60. package/dist/server/handlers/conversations.cjs +5 -5
  61. package/dist/server/handlers/conversations.js +1 -1
  62. package/dist/server/handlers/responses.cjs +4 -4
  63. package/dist/server/handlers/responses.js +1 -1
  64. package/dist/server/handlers/scores.cjs +7 -7
  65. package/dist/server/handlers/scores.js +1 -1
  66. package/dist/server/handlers/system.cjs +3 -3
  67. package/dist/server/handlers/system.js +1 -1
  68. package/dist/server/handlers/tools.cjs +6 -6
  69. package/dist/server/handlers/tools.js +1 -1
  70. package/dist/server/handlers/workflows.cjs +27 -27
  71. package/dist/server/handlers/workflows.js +1 -1
  72. package/dist/server/handlers.cjs +16 -16
  73. package/dist/server/handlers.js +8 -8
  74. package/dist/server/schemas/agents.d.ts +24 -0
  75. package/dist/server/schemas/agents.d.ts.map +1 -1
  76. package/dist/server/schemas/index.cjs +48 -48
  77. package/dist/server/schemas/index.js +1 -1
  78. package/dist/server/server-adapter/index.cjs +13 -13
  79. package/dist/server/server-adapter/index.js +2 -2
  80. package/dist/server/server-adapter/routes/legacy.d.ts +12 -0
  81. package/dist/server/server-adapter/routes/legacy.d.ts.map +1 -1
  82. package/package.json +7 -7
  83. package/dist/chunk-5DDUXRAY.cjs.map +0 -1
  84. package/dist/chunk-HEBNJ6KJ.js.map +0 -1
  85. package/dist/chunk-IONXSX77.js.map +0 -1
  86. package/dist/chunk-IU3ZRZSG.cjs.map +0 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,57 @@
1
1
  # @mastra/server
2
2
 
3
+ ## 1.41.0
4
+
5
+ ### Minor Changes
6
+
7
+ - The `/agents/:agentId/stream` and `/agents/:agentId/resume-stream` endpoints now accept an `untilIdle` field in the request body. When set, the stream stays open across background-task continuations (same behavior as the `/stream-until-idle` endpoint). The dedicated `/stream-until-idle` and `/resume-stream-until-idle` endpoints remain available but are deprecated. ([#17536](https://github.com/mastra-ai/mastra/pull/17536))
8
+
9
+ **Server example:**
10
+
11
+ ```ts
12
+ // POST /api/agents/:agentId/stream
13
+ fetch(`/api/agents/${agentId}/stream`, {
14
+ method: 'POST',
15
+ body: JSON.stringify({
16
+ messages: [{ role: 'user', content: 'Research solana for me' }],
17
+ untilIdle: true, // or { maxIdleMs: 60000 }
18
+ }),
19
+ });
20
+ ```
21
+
22
+ **Client SDK:** `streamUntilIdle()` and `resumeStreamUntilIdle()` are deprecated — use `stream(messages, { untilIdle: true })` instead.
23
+
24
+ ### Patch Changes
25
+
26
+ - Updated dependencies [[`f82cc72`](https://github.com/mastra-ai/mastra/commit/f82cc72edca0ce636fe18abaf2598d89a0c6bcca), [`fcf6027`](https://github.com/mastra-ai/mastra/commit/fcf602747f6771731dda268ff3493b836f9f0ee9)]:
27
+ - @mastra/core@1.41.0
28
+
29
+ ## 1.41.0-alpha.0
30
+
31
+ ### Minor Changes
32
+
33
+ - The `/agents/:agentId/stream` and `/agents/:agentId/resume-stream` endpoints now accept an `untilIdle` field in the request body. When set, the stream stays open across background-task continuations (same behavior as the `/stream-until-idle` endpoint). The dedicated `/stream-until-idle` and `/resume-stream-until-idle` endpoints remain available but are deprecated. ([#17536](https://github.com/mastra-ai/mastra/pull/17536))
34
+
35
+ **Server example:**
36
+
37
+ ```ts
38
+ // POST /api/agents/:agentId/stream
39
+ fetch(`/api/agents/${agentId}/stream`, {
40
+ method: 'POST',
41
+ body: JSON.stringify({
42
+ messages: [{ role: 'user', content: 'Research solana for me' }],
43
+ untilIdle: true, // or { maxIdleMs: 60000 }
44
+ }),
45
+ });
46
+ ```
47
+
48
+ **Client SDK:** `streamUntilIdle()` and `resumeStreamUntilIdle()` are deprecated — use `stream(messages, { untilIdle: true })` instead.
49
+
50
+ ### Patch Changes
51
+
52
+ - Updated dependencies [[`f82cc72`](https://github.com/mastra-ai/mastra/commit/f82cc72edca0ce636fe18abaf2598d89a0c6bcca), [`fcf6027`](https://github.com/mastra-ai/mastra/commit/fcf602747f6771731dda268ff3493b836f9f0ee9)]:
53
+ - @mastra/core@1.41.0-alpha.0
54
+
3
55
  ## 1.40.0
4
56
 
5
57
  ### Patch Changes
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunk544IXGBW_cjs = require('./chunk-544IXGBW.cjs');
3
+ var chunkEJQMKG42_cjs = require('./chunk-EJQMKG42.cjs');
4
4
  var chunkRZR7PLFW_cjs = require('./chunk-RZR7PLFW.cjs');
5
5
 
6
6
  // src/server/server-adapter/api-schema-manifest.ts
@@ -34,7 +34,7 @@ function inferResponseShape(responseSchema) {
34
34
  function isManifestRoute(route) {
35
35
  return route.responseType === "json" && !route.deprecated;
36
36
  }
37
- function buildApiSchemaManifest(routes = chunk544IXGBW_cjs.SERVER_ROUTES) {
37
+ function buildApiSchemaManifest(routes = chunkEJQMKG42_cjs.SERVER_ROUTES) {
38
38
  return {
39
39
  version: 1,
40
40
  routes: routes.filter(isManifestRoute).map((route) => {
@@ -54,5 +54,5 @@ function buildApiSchemaManifest(routes = chunk544IXGBW_cjs.SERVER_ROUTES) {
54
54
  }
55
55
 
56
56
  exports.buildApiSchemaManifest = buildApiSchemaManifest;
57
- //# sourceMappingURL=api-schema-manifest-ALHYYJMN.cjs.map
58
- //# sourceMappingURL=api-schema-manifest-ALHYYJMN.cjs.map
57
+ //# sourceMappingURL=api-schema-manifest-3J75ZPRN.cjs.map
58
+ //# sourceMappingURL=api-schema-manifest-3J75ZPRN.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/server/server-adapter/api-schema-manifest.ts"],"names":["schemaToJsonSchema","SERVER_ROUTES"],"mappings":";;;;;;AA2BA,SAAS,cAAc,MAAA,EAA4D;AACjF,EAAA,OAAO,MAAA,GAASA,oCAAA,CAAmB,MAAM,CAAA,GAAI,MAAA;AAC/C;AAEA,SAAS,aAAa,KAAA,EAAyC;AAC7D,EAAA,OAAO,KAAA,IAAS,OAAO,KAAA,KAAU,QAAA,IAAY,CAAC,KAAA,CAAM,OAAA,CAAQ,KAAK,CAAA,GAAK,KAAA,GAAwB,MAAA;AAChG;AAEA,SAAS,WAAW,MAAA,EAAkE;AACpF,EAAA,MAAM,OAAO,MAAA,EAAQ,IAAA;AACrB,EAAA,OAAO,MAAM,OAAA,CAAQ,IAAI,IAAI,IAAA,CAAK,IAAA,CAAK,OAAO,CAAA,GAAI,IAAA;AACpD;AAEA,SAAS,mBAAmB,cAAA,EAAiE;AAC3F,EAAA,IAAI,CAAC,cAAA,EAAgB,OAAO,EAAE,MAAM,SAAA,EAAU;AAE9C,EAAA,MAAM,IAAA,GAAO,WAAW,cAAc,CAAA;AACtC,EAAA,IAAI,IAAA,KAAS,OAAA,EAAS,OAAO,EAAE,MAAM,OAAA,EAAQ;AAC7C,EAAA,IAAI,IAAA,KAAS,QAAA,EAAU,OAAO,EAAE,MAAM,QAAA,EAAS;AAE/C,EAAA,MAAM,UAA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AA,QACd,MAAM,KAAA,CAAM,IAAA;AAAA,QACZ,cAAc,KAAA,CAAM,YAAA;AAAA,QACpB,eAAA,EAAiB,aAAA,CAAc,KAAA,CAAM,eAAe,CAAA;AAAA,QACpD,gBAAA,EAAkB,aAAA,CAAc,KAAA,CAAM,gBAAgB,CAAA;AAAA,QACtD,UAAA,EAAY,aAAA,CAAc,KAAA,CAAM,UAAU,CAAA;AAAA,QAC1C,cAAA;AAAA,QACA,aAAA,EAAe,mBAAmB,cAAc;AAAA,OAClD;AAAA,IACF,CAAC;AAAA,GACH;AACF","file":"api-schema-manifest-ALHYYJMN.cjs","sourcesContent":["import type { JSONSchema7 } from '@mastra/schema-compat';\nimport { schemaToJsonSchema } from './openapi-utils';\nimport { SERVER_ROUTES } from './routes/index';\nimport type { ServerRoute } from './routes/index';\n\nexport interface ApiSchemaResponseShape {\n kind: 'array' | 'record' | 'object-property' | 'single' | 'unknown';\n listProperty?: string;\n paginationProperty?: string;\n}\n\nexport interface ApiSchemaManifestRoute {\n method: string;\n path: string;\n responseType: string;\n pathParamSchema?: JSONSchema7;\n queryParamSchema?: JSONSchema7;\n bodySchema?: JSONSchema7;\n responseSchema?: JSONSchema7;\n responseShape: ApiSchemaResponseShape;\n}\n\nexport interface ApiSchemaManifest {\n version: 1;\n routes: ApiSchemaManifestRoute[];\n}\n\nfunction convertSchema(schema: ServerRoute['bodySchema']): JSONSchema7 | undefined {\n return schema ? schemaToJsonSchema(schema) : undefined;\n}\n\nfunction asJsonSchema(value: unknown): JSONSchema7 | undefined {\n return value && typeof value === 'object' && !Array.isArray(value) ? (value as JSONSchema7) : undefined;\n}\n\nfunction schemaType(schema: JSONSchema7 | undefined): JSONSchema7['type'] | undefined {\n const type = schema?.type;\n return Array.isArray(type) ? type.find(Boolean) : type;\n}\n\nfunction inferResponseShape(responseSchema: JSONSchema7 | undefined): ApiSchemaResponseShape {\n if (!responseSchema) return { kind: 'unknown' };\n\n const type = schemaType(responseSchema);\n if (type === 'array') return { kind: 'array' };\n if (type !== 'object') return { kind: 'single' };\n\n const properties =\n responseSchema.properties && !Array.isArray(responseSchema.properties) ? responseSchema.properties : {};\n const propertyNames = Object.keys(properties);\n const paginationProperty = 'page' in properties ? 'page' : 'pagination' in properties ? 'pagination' : undefined;\n const listProperty = Object.entries(properties).find(\n ([, property]) => schemaType(asJsonSchema(property)) === 'array',\n )?.[0];\n\n if (listProperty && (paginationProperty || propertyNames.length <= 2)) {\n return { kind: 'object-property', listProperty, paginationProperty };\n }\n if (responseSchema.additionalProperties && propertyNames.length === 0) return { kind: 'record' };\n return { kind: 'single' };\n}\n\nfunction isManifestRoute(route: ServerRoute): boolean {\n return route.responseType === 'json' && !route.deprecated;\n}\n\nexport function buildApiSchemaManifest(routes: readonly ServerRoute[] = SERVER_ROUTES): ApiSchemaManifest {\n return {\n version: 1,\n routes: routes.filter(isManifestRoute).map(route => {\n const responseSchema = convertSchema(route.responseSchema);\n return {\n method: route.method,\n path: route.path,\n responseType: route.responseType,\n pathParamSchema: convertSchema(route.pathParamSchema),\n queryParamSchema: convertSchema(route.queryParamSchema),\n bodySchema: convertSchema(route.bodySchema),\n responseSchema,\n responseShape: inferResponseShape(responseSchema),\n };\n }),\n };\n}\n"]}
1
+ {"version":3,"sources":["../src/server/server-adapter/api-schema-manifest.ts"],"names":["schemaToJsonSchema","SERVER_ROUTES"],"mappings":";;;;;;AA2BA,SAAS,cAAc,MAAA,EAA4D;AACjF,EAAA,OAAO,MAAA,GAASA,oCAAA,CAAmB,MAAM,CAAA,GAAI,MAAA;AAC/C;AAEA,SAAS,aAAa,KAAA,EAAyC;AAC7D,EAAA,OAAO,KAAA,IAAS,OAAO,KAAA,KAAU,QAAA,IAAY,CAAC,KAAA,CAAM,OAAA,CAAQ,KAAK,CAAA,GAAK,KAAA,GAAwB,MAAA;AAChG;AAEA,SAAS,WAAW,MAAA,EAAkE;AACpF,EAAA,MAAM,OAAO,MAAA,EAAQ,IAAA;AACrB,EAAA,OAAO,MAAM,OAA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EAA6B;AACpD,EAAA,OAAO,KAAA,CAAM,YAAA,KAAiB,MAAA,IAAU,CAAC,KAAA,CAAM,UAAA;AACjD;AAEO,SAAS,sBAAA,CAAuB,SAAiCC,+BAAA,EAAkC;AACxG,EAAA,OAAO;AAAA,IACL,OAAA,EAAS,CAAA;AAAA,IACT,QAAQ,MAAA,CAAO,MAAA,CAAO,eAAe,CAAA,CAAE,IAAI,CAAA,KAAA,KAAS;AAClD,MAAA,MAAM,cAAA,GAAiB,aAAA,CAAc,KAAA,CAAM,cAAc,CAAA;AACzD,MAAA,OAAO;AAAA,QACL,QAAQ,KAAA,CAAM,MAAA;AAAA,QACd,MAAM,KAAA,CAAM,IAAA;AAAA,QACZ,cAAc,KAAA,CAAM,YAAA;AAAA,QACpB,eAAA,EAAiB,aAAA,CAAc,KAAA,CAAM,eAAe,CAAA;AAAA,QACpD,gBAAA,EAAkB,aAAA,CAAc,KAAA,CAAM,gBAAgB,CAAA;AAAA,QACtD,UAAA,EAAY,aAAA,CAAc,KAAA,CAAM,UAAU,CAAA;AAAA,QAC1C,cAAA;AAAA,QACA,aAAA,EAAe,mBAAmB,cAAc;AAAA,OAClD;AAAA,IACF,CAAC;AAAA,GACH;AACF","file":"api-schema-manifest-3J75ZPRN.cjs","sourcesContent":["import type { JSONSchema7 } from '@mastra/schema-compat';\nimport { schemaToJsonSchema } from './openapi-utils';\nimport { SERVER_ROUTES } from './routes/index';\nimport type { ServerRoute } from './routes/index';\n\nexport interface ApiSchemaResponseShape {\n kind: 'array' | 'record' | 'object-property' | 'single' | 'unknown';\n listProperty?: string;\n paginationProperty?: string;\n}\n\nexport interface ApiSchemaManifestRoute {\n method: string;\n path: string;\n responseType: string;\n pathParamSchema?: JSONSchema7;\n queryParamSchema?: JSONSchema7;\n bodySchema?: JSONSchema7;\n responseSchema?: JSONSchema7;\n responseShape: ApiSchemaResponseShape;\n}\n\nexport interface ApiSchemaManifest {\n version: 1;\n routes: ApiSchemaManifestRoute[];\n}\n\nfunction convertSchema(schema: ServerRoute['bodySchema']): JSONSchema7 | undefined {\n return schema ? schemaToJsonSchema(schema) : undefined;\n}\n\nfunction asJsonSchema(value: unknown): JSONSchema7 | undefined {\n return value && typeof value === 'object' && !Array.isArray(value) ? (value as JSONSchema7) : undefined;\n}\n\nfunction schemaType(schema: JSONSchema7 | undefined): JSONSchema7['type'] | undefined {\n const type = schema?.type;\n return Array.isArray(type) ? type.find(Boolean) : type;\n}\n\nfunction inferResponseShape(responseSchema: JSONSchema7 | undefined): ApiSchemaResponseShape {\n if (!responseSchema) return { kind: 'unknown' };\n\n const type = schemaType(responseSchema);\n if (type === 'array') return { kind: 'array' };\n if (type !== 'object') return { kind: 'single' };\n\n const properties =\n responseSchema.properties && !Array.isArray(responseSchema.properties) ? responseSchema.properties : {};\n const propertyNames = Object.keys(properties);\n const paginationProperty = 'page' in properties ? 'page' : 'pagination' in properties ? 'pagination' : undefined;\n const listProperty = Object.entries(properties).find(\n ([, property]) => schemaType(asJsonSchema(property)) === 'array',\n )?.[0];\n\n if (listProperty && (paginationProperty || propertyNames.length <= 2)) {\n return { kind: 'object-property', listProperty, paginationProperty };\n }\n if (responseSchema.additionalProperties && propertyNames.length === 0) return { kind: 'record' };\n return { kind: 'single' };\n}\n\nfunction isManifestRoute(route: ServerRoute): boolean {\n return route.responseType === 'json' && !route.deprecated;\n}\n\nexport function buildApiSchemaManifest(routes: readonly ServerRoute[] = SERVER_ROUTES): ApiSchemaManifest {\n return {\n version: 1,\n routes: routes.filter(isManifestRoute).map(route => {\n const responseSchema = convertSchema(route.responseSchema);\n return {\n method: route.method,\n path: route.path,\n responseType: route.responseType,\n pathParamSchema: convertSchema(route.pathParamSchema),\n queryParamSchema: convertSchema(route.queryParamSchema),\n bodySchema: convertSchema(route.bodySchema),\n responseSchema,\n responseShape: inferResponseShape(responseSchema),\n };\n }),\n };\n}\n"]}
@@ -1,4 +1,4 @@
1
- import { SERVER_ROUTES } from './chunk-XNGC2C6Z.js';
1
+ import { SERVER_ROUTES } from './chunk-D2FLXNQM.js';
2
2
  import { schemaToJsonSchema } from './chunk-YQL3TXSD.js';
3
3
 
4
4
  // src/server/server-adapter/api-schema-manifest.ts
@@ -52,5 +52,5 @@ function buildApiSchemaManifest(routes = SERVER_ROUTES) {
52
52
  }
53
53
 
54
54
  export { buildApiSchemaManifest };
55
- //# sourceMappingURL=api-schema-manifest-PQ6VZTB3.js.map
56
- //# sourceMappingURL=api-schema-manifest-PQ6VZTB3.js.map
55
+ //# sourceMappingURL=api-schema-manifest-5PJMYYEP.js.map
56
+ //# sourceMappingURL=api-schema-manifest-5PJMYYEP.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/server/server-adapter/api-schema-manifest.ts"],"names":[],"mappings":";;;;AA2BA,SAAS,cAAc,MAAA,EAA4D;AACjF,EAAA,OAAO,MAAA,GAAS,kBAAA,CAAmB,MAAM,CAAA,GAAI,MAAA;AAC/C;AAEA,SAAS,aAAa,KAAA,EAAyC;AAC7D,EAAA,OAAO,KAAA,IAAS,OAAO,KAAA,KAAU,QAAA,IAAY,CAAC,KAAA,CAAM,OAAA,CAAQ,KAAK,CAAA,GAAK,KAAA,GAAwB,MAAA;AAChG;AAEA,SAAS,WAAW,MAAA,EAAkE;AACpF,EAAA,MAAM,OAAO,MAAA,EAAQ,IAAA;AACrB,EAAA,OAAO,MAAM,OAAA,CAAQ,IAAI,IAAI,IAAA,CAAK,IAAA,CAAK,OAAO,CAAA,GAAI,IAAA;AACpD;AAEA,SAAS,mBAAmB,cAAA,EAAiE;AAC3F,EAAA,IAAI,CAAC,cAAA,EAAgB,OAAO,EAAE,MAAM,SAAA,EAAU;AAE9C,EAAA,MAAM,IAAA,GAAO,WAAW,cAAc,CAAA;AACtC,EAAA,IAAI,IAAA,KAAS,OAAA,EAAS,OAAO,EAAE,MAAM,OAAA,EAAQ;AAC7C,EAAA,IAAI,IAAA,KAAS,QAAA,EAAU,OAAO,EAAE,MAAM,QAAA,EAAS;AAE/C,EAAA,MAA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;AAAA,QACd,MAAM,KAAA,CAAM,IAAA;AAAA,QACZ,cAAc,KAAA,CAAM,YAAA;AAAA,QACpB,eAAA,EAAiB,aAAA,CAAc,KAAA,CAAM,eAAe,CAAA;AAAA,QACpD,gBAAA,EAAkB,aAAA,CAAc,KAAA,CAAM,gBAAgB,CAAA;AAAA,QACtD,UAAA,EAAY,aAAA,CAAc,KAAA,CAAM,UAAU,CAAA;AAAA,QAC1C,cAAA;AAAA,QACA,aAAA,EAAe,mBAAmB,cAAc;AAAA,OAClD;AAAA,IACF,CAAC;AAAA,GACH;AACF","file":"api-schema-manifest-PQ6VZTB3.js","sourcesContent":["import type { JSONSchema7 } from '@mastra/schema-compat';\nimport { schemaToJsonSchema } from './openapi-utils';\nimport { SERVER_ROUTES } from './routes/index';\nimport type { ServerRoute } from './routes/index';\n\nexport interface ApiSchemaResponseShape {\n kind: 'array' | 'record' | 'object-property' | 'single' | 'unknown';\n listProperty?: string;\n paginationProperty?: string;\n}\n\nexport interface ApiSchemaManifestRoute {\n method: string;\n path: string;\n responseType: string;\n pathParamSchema?: JSONSchema7;\n queryParamSchema?: JSONSchema7;\n bodySchema?: JSONSchema7;\n responseSchema?: JSONSchema7;\n responseShape: ApiSchemaResponseShape;\n}\n\nexport interface ApiSchemaManifest {\n version: 1;\n routes: ApiSchemaManifestRoute[];\n}\n\nfunction convertSchema(schema: ServerRoute['bodySchema']): JSONSchema7 | undefined {\n return schema ? schemaToJsonSchema(schema) : undefined;\n}\n\nfunction asJsonSchema(value: unknown): JSONSchema7 | undefined {\n return value && typeof value === 'object' && !Array.isArray(value) ? (value as JSONSchema7) : undefined;\n}\n\nfunction schemaType(schema: JSONSchema7 | undefined): JSONSchema7['type'] | undefined {\n const type = schema?.type;\n return Array.isArray(type) ? type.find(Boolean) : type;\n}\n\nfunction inferResponseShape(responseSchema: JSONSchema7 | undefined): ApiSchemaResponseShape {\n if (!responseSchema) return { kind: 'unknown' };\n\n const type = schemaType(responseSchema);\n if (type === 'array') return { kind: 'array' };\n if (type !== 'object') return { kind: 'single' };\n\n const properties =\n responseSchema.properties && !Array.isArray(responseSchema.properties) ? responseSchema.properties : {};\n const propertyNames = Object.keys(properties);\n const paginationProperty = 'page' in properties ? 'page' : 'pagination' in properties ? 'pagination' : undefined;\n const listProperty = Object.entries(properties).find(\n ([, property]) => schemaType(asJsonSchema(property)) === 'array',\n )?.[0];\n\n if (listProperty && (paginationProperty || propertyNames.length <= 2)) {\n return { kind: 'object-property', listProperty, paginationProperty };\n }\n if (responseSchema.additionalProperties && propertyNames.length === 0) return { kind: 'record' };\n return { kind: 'single' };\n}\n\nfunction isManifestRoute(route: ServerRoute): boolean {\n return route.responseType === 'json' && !route.deprecated;\n}\n\nexport function buildApiSchemaManifest(routes: readonly ServerRoute[] = SERVER_ROUTES): ApiSchemaManifest {\n return {\n version: 1,\n routes: routes.filter(isManifestRoute).map(route => {\n const responseSchema = convertSchema(route.responseSchema);\n return {\n method: route.method,\n path: route.path,\n responseType: route.responseType,\n pathParamSchema: convertSchema(route.pathParamSchema),\n queryParamSchema: convertSchema(route.queryParamSchema),\n bodySchema: convertSchema(route.bodySchema),\n responseSchema,\n responseShape: inferResponseShape(responseSchema),\n };\n }),\n };\n}\n"]}
1
+ {"version":3,"sources":["../src/server/server-adapter/api-schema-manifest.ts"],"names":[],"mappings":";;;;AA2BA,SAAS,cAAc,MAAA,EAA4D;AACjF,EAAA,OAAO,MAAA,GAAS,kBAAA,CAAmB,MAAM,CAAA,GAAI,MAAA;AAC/C;AAEA,SAAS,aAAa,KAAA,EAAyC;AAC7D,EAAA,OAAO,KAAA,IAAS,OAAO,KAAA,KAAU,QAAA,IAAY,CAAC,KAAA,CAAM,OAAA,CAAQ,KAAK,CAAA,GAAK,KAAA,GAAwB,MAAA;AAChG;AAEA,SAAS,WAAW,MAAA,EAAkE;AACpF,EAAA,MAAM,OAAO,MAAA,EAAQ,IAAA;AACrB,EAAA,OAAO,MAAM,OAAA,CAAQ,IAAI,IAAI,IAAA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AAA,CAAM,YAAA,KAAiB,MAAA,IAAU,CAAC,KAAA,CAAM,UAAA;AACjD;AAEO,SAAS,sBAAA,CAAuB,SAAiC,aAAA,EAAkC;AACxG,EAAA,OAAO;AAAA,IACL,OAAA,EAAS,CAAA;AAAA,IACT,QAAQ,MAAA,CAAO,MAAA,CAAO,eAAe,CAAA,CAAE,IAAI,CAAA,KAAA,KAAS;AAClD,MAAA,MAAM,cAAA,GAAiB,aAAA,CAAc,KAAA,CAAM,cAAc,CAAA;AACzD,MAAA,OAAO;AAAA,QACL,QAAQ,KAAA,CAAM,MAAA;AAAA,QACd,MAAM,KAAA,CAAM,IAAA;AAAA,QACZ,cAAc,KAAA,CAAM,YAAA;AAAA,QACpB,eAAA,EAAiB,aAAA,CAAc,KAAA,CAAM,eAAe,CAAA;AAAA,QACpD,gBAAA,EAAkB,aAAA,CAAc,KAAA,CAAM,gBAAgB,CAAA;AAAA,QACtD,UAAA,EAAY,aAAA,CAAc,KAAA,CAAM,UAAU,CAAA;AAAA,QAC1C,cAAA;AAAA,QACA,aAAA,EAAe,mBAAmB,cAAc;AAAA,OAClD;AAAA,IACF,CAAC;AAAA,GACH;AACF","file":"api-schema-manifest-5PJMYYEP.js","sourcesContent":["import type { JSONSchema7 } from '@mastra/schema-compat';\nimport { schemaToJsonSchema } from './openapi-utils';\nimport { SERVER_ROUTES } from './routes/index';\nimport type { ServerRoute } from './routes/index';\n\nexport interface ApiSchemaResponseShape {\n kind: 'array' | 'record' | 'object-property' | 'single' | 'unknown';\n listProperty?: string;\n paginationProperty?: string;\n}\n\nexport interface ApiSchemaManifestRoute {\n method: string;\n path: string;\n responseType: string;\n pathParamSchema?: JSONSchema7;\n queryParamSchema?: JSONSchema7;\n bodySchema?: JSONSchema7;\n responseSchema?: JSONSchema7;\n responseShape: ApiSchemaResponseShape;\n}\n\nexport interface ApiSchemaManifest {\n version: 1;\n routes: ApiSchemaManifestRoute[];\n}\n\nfunction convertSchema(schema: ServerRoute['bodySchema']): JSONSchema7 | undefined {\n return schema ? schemaToJsonSchema(schema) : undefined;\n}\n\nfunction asJsonSchema(value: unknown): JSONSchema7 | undefined {\n return value && typeof value === 'object' && !Array.isArray(value) ? (value as JSONSchema7) : undefined;\n}\n\nfunction schemaType(schema: JSONSchema7 | undefined): JSONSchema7['type'] | undefined {\n const type = schema?.type;\n return Array.isArray(type) ? type.find(Boolean) : type;\n}\n\nfunction inferResponseShape(responseSchema: JSONSchema7 | undefined): ApiSchemaResponseShape {\n if (!responseSchema) return { kind: 'unknown' };\n\n const type = schemaType(responseSchema);\n if (type === 'array') return { kind: 'array' };\n if (type !== 'object') return { kind: 'single' };\n\n const properties =\n responseSchema.properties && !Array.isArray(responseSchema.properties) ? responseSchema.properties : {};\n const propertyNames = Object.keys(properties);\n const paginationProperty = 'page' in properties ? 'page' : 'pagination' in properties ? 'pagination' : undefined;\n const listProperty = Object.entries(properties).find(\n ([, property]) => schemaType(asJsonSchema(property)) === 'array',\n )?.[0];\n\n if (listProperty && (paginationProperty || propertyNames.length <= 2)) {\n return { kind: 'object-property', listProperty, paginationProperty };\n }\n if (responseSchema.additionalProperties && propertyNames.length === 0) return { kind: 'record' };\n return { kind: 'single' };\n}\n\nfunction isManifestRoute(route: ServerRoute): boolean {\n return route.responseType === 'json' && !route.deprecated;\n}\n\nexport function buildApiSchemaManifest(routes: readonly ServerRoute[] = SERVER_ROUTES): ApiSchemaManifest {\n return {\n version: 1,\n routes: routes.filter(isManifestRoute).map(route => {\n const responseSchema = convertSchema(route.responseSchema);\n return {\n method: route.method,\n path: route.path,\n responseType: route.responseType,\n pathParamSchema: convertSchema(route.pathParamSchema),\n queryParamSchema: convertSchema(route.queryParamSchema),\n bodySchema: convertSchema(route.bodySchema),\n responseSchema,\n responseShape: inferResponseShape(responseSchema),\n };\n }),\n };\n}\n"]}
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var chunkXOGNYKAF_cjs = require('./chunk-XOGNYKAF.cjs');
4
- var chunkIU3ZRZSG_cjs = require('./chunk-IU3ZRZSG.cjs');
4
+ var chunkYGOB5US6_cjs = require('./chunk-YGOB5US6.cjs');
5
5
  var chunk4BLUIUHS_cjs = require('./chunk-4BLUIUHS.cjs');
6
6
  var chunkPPNPOLWL_cjs = require('./chunk-PPNPOLWL.cjs');
7
7
  var chunkDIG2K5CV_cjs = require('./chunk-DIG2K5CV.cjs');
@@ -361,7 +361,7 @@ var RESUME_STREAM_WORKFLOW_ROUTE = chunkRZR7PLFW_cjs.createRoute({
361
361
  pathParamSchema: chunkXOGNYKAF_cjs.workflowIdPathParams,
362
362
  queryParamSchema: chunkDIG2K5CV_cjs.runIdSchema,
363
363
  bodySchema: chunkXOGNYKAF_cjs.resumeBodySchema,
364
- responseSchema: chunkIU3ZRZSG_cjs.streamResponseSchema,
364
+ responseSchema: chunkYGOB5US6_cjs.streamResponseSchema,
365
365
  summary: "Resume workflow stream",
366
366
  description: "Resumes a suspended workflow execution and continues streaming results",
367
367
  tags: ["Workflows"],
@@ -477,7 +477,7 @@ var OBSERVE_STREAM_WORKFLOW_ROUTE = chunkRZR7PLFW_cjs.createRoute({
477
477
  responseType: "stream",
478
478
  pathParamSchema: chunkXOGNYKAF_cjs.workflowIdPathParams,
479
479
  queryParamSchema: chunkXOGNYKAF_cjs.observeWorkflowQuerySchema,
480
- responseSchema: chunkIU3ZRZSG_cjs.streamResponseSchema,
480
+ responseSchema: chunkYGOB5US6_cjs.streamResponseSchema,
481
481
  summary: "Observe workflow stream",
482
482
  description: "Observes and streams updates from an already running workflow execution. Supports position-based resume with offset for efficient reconnection.",
483
483
  tags: ["Workflows"],
@@ -923,7 +923,7 @@ var STREAM_LEGACY_WORKFLOW_ROUTE = chunkRZR7PLFW_cjs.createRoute({
923
923
  pathParamSchema: chunkXOGNYKAF_cjs.workflowIdPathParams,
924
924
  queryParamSchema: chunkDIG2K5CV_cjs.runIdSchema,
925
925
  bodySchema: chunkXOGNYKAF_cjs.streamWorkflowBodySchema,
926
- responseSchema: chunkIU3ZRZSG_cjs.streamResponseSchema,
926
+ responseSchema: chunkYGOB5US6_cjs.streamResponseSchema,
927
927
  summary: "[DEPRECATED] Stream workflow with legacy format",
928
928
  description: "Legacy endpoint for streaming workflow execution. Use /workflows/:workflowId/stream instead.",
929
929
  tags: ["Workflows", "Legacy"],
@@ -965,7 +965,7 @@ var OBSERVE_STREAM_LEGACY_WORKFLOW_ROUTE = chunkRZR7PLFW_cjs.createRoute({
965
965
  responseType: "stream",
966
966
  pathParamSchema: chunkXOGNYKAF_cjs.workflowIdPathParams,
967
967
  queryParamSchema: chunkDIG2K5CV_cjs.runIdSchema,
968
- responseSchema: chunkIU3ZRZSG_cjs.streamResponseSchema,
968
+ responseSchema: chunkYGOB5US6_cjs.streamResponseSchema,
969
969
  summary: "[DEPRECATED] Observe workflow stream with legacy format",
970
970
  description: "Legacy endpoint for observing workflow stream. Use /workflows/:workflowId/observe instead.",
971
971
  tags: ["Workflows", "Legacy"],
@@ -1135,5 +1135,5 @@ exports.TIME_TRAVEL_ASYNC_WORKFLOW_ROUTE = TIME_TRAVEL_ASYNC_WORKFLOW_ROUTE;
1135
1135
  exports.TIME_TRAVEL_STREAM_WORKFLOW_ROUTE = TIME_TRAVEL_STREAM_WORKFLOW_ROUTE;
1136
1136
  exports.TIME_TRAVEL_WORKFLOW_ROUTE = TIME_TRAVEL_WORKFLOW_ROUTE;
1137
1137
  exports.workflows_exports = workflows_exports;
1138
- //# sourceMappingURL=chunk-THXUZHS6.cjs.map
1139
- //# sourceMappingURL=chunk-THXUZHS6.cjs.map
1138
+ //# sourceMappingURL=chunk-2T7K7BXT.cjs.map
1139
+ //# sourceMappingURL=chunk-2T7K7BXT.cjs.map