@mastra/server 1.40.0 → 1.41.0-alpha.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.
- package/CHANGELOG.md +26 -0
- package/dist/{api-schema-manifest-ALHYYJMN.cjs → api-schema-manifest-AXUY4V2G.cjs} +4 -4
- package/dist/{api-schema-manifest-ALHYYJMN.cjs.map → api-schema-manifest-AXUY4V2G.cjs.map} +1 -1
- package/dist/{api-schema-manifest-PQ6VZTB3.js → api-schema-manifest-GDXMP2GJ.js} +3 -3
- package/dist/{api-schema-manifest-PQ6VZTB3.js.map → api-schema-manifest-GDXMP2GJ.js.map} +1 -1
- package/dist/{chunk-LQQCTO6D.js → chunk-2H6G5NZ3.js} +3 -3
- package/dist/{chunk-LQQCTO6D.js.map → chunk-2H6G5NZ3.js.map} +1 -1
- package/dist/{chunk-CBG6LUEW.js → chunk-2YKS7AIK.js} +4 -4
- package/dist/{chunk-CBG6LUEW.js.map → chunk-2YKS7AIK.js.map} +1 -1
- package/dist/{chunk-HGREXGI2.cjs → chunk-372LNSLF.cjs} +3 -3
- package/dist/{chunk-HGREXGI2.cjs.map → chunk-372LNSLF.cjs.map} +1 -1
- package/dist/{chunk-LNBKA6IA.js → chunk-3WKCK5JR.js} +5 -5
- package/dist/{chunk-LNBKA6IA.js.map → chunk-3WKCK5JR.js.map} +1 -1
- package/dist/{chunk-AV6CVKHQ.js → chunk-3ZE4EVDP.js} +3 -3
- package/dist/{chunk-AV6CVKHQ.js.map → chunk-3ZE4EVDP.js.map} +1 -1
- package/dist/{chunk-ESJTIVEQ.js → chunk-4YX3LS4T.js} +3 -3
- package/dist/{chunk-ESJTIVEQ.js.map → chunk-4YX3LS4T.js.map} +1 -1
- package/dist/{chunk-FQCCUWMS.js → chunk-5CSOVFIG.js} +4 -4
- package/dist/{chunk-FQCCUWMS.js.map → chunk-5CSOVFIG.js.map} +1 -1
- package/dist/{chunk-C7SZPANJ.js → chunk-6PQ63TUG.js} +3 -3
- package/dist/{chunk-C7SZPANJ.js.map → chunk-6PQ63TUG.js.map} +1 -1
- package/dist/{chunk-VBQKBXAI.cjs → chunk-7UWJXM7L.cjs} +3 -3
- package/dist/{chunk-VBQKBXAI.cjs.map → chunk-7UWJXM7L.cjs.map} +1 -1
- package/dist/{chunk-A4PMW64L.js → chunk-AAP3TMWB.js} +4 -4
- package/dist/{chunk-A4PMW64L.js.map → chunk-AAP3TMWB.js.map} +1 -1
- package/dist/{chunk-3APAH25G.cjs → chunk-C54N2MVH.cjs} +3 -3
- package/dist/{chunk-3APAH25G.cjs.map → chunk-C54N2MVH.cjs.map} +1 -1
- package/dist/{chunk-IONXSX77.js → chunk-CEPTL3AG.js} +7 -4
- package/dist/chunk-CEPTL3AG.js.map +1 -0
- package/dist/{chunk-E7AEYMKH.js → chunk-CVNTDL7L.js} +4 -4
- package/dist/{chunk-E7AEYMKH.js.map → chunk-CVNTDL7L.js.map} +1 -1
- package/dist/{chunk-SEAEQN2H.js → chunk-DCQ2LRAU.js} +4 -4
- package/dist/{chunk-SEAEQN2H.js.map → chunk-DCQ2LRAU.js.map} +1 -1
- package/dist/{chunk-5WB7PKHN.cjs → chunk-DSQQD4SH.cjs} +5 -5
- package/dist/{chunk-5WB7PKHN.cjs.map → chunk-DSQQD4SH.cjs.map} +1 -1
- package/dist/{chunk-ZN3JHWNH.js → chunk-ED27HDEZ.js} +3 -3
- package/dist/{chunk-ZN3JHWNH.js.map → chunk-ED27HDEZ.js.map} +1 -1
- package/dist/{chunk-AEH5OCIH.js → chunk-FOP2WP5L.js} +3 -3
- package/dist/{chunk-AEH5OCIH.js.map → chunk-FOP2WP5L.js.map} +1 -1
- package/dist/{chunk-GAERIPY2.cjs → chunk-FPQN2P56.cjs} +5 -5
- package/dist/{chunk-GAERIPY2.cjs.map → chunk-FPQN2P56.cjs.map} +1 -1
- package/dist/{chunk-K6XESXNQ.js → chunk-G3I5LY7G.js} +3 -3
- package/dist/{chunk-K6XESXNQ.js.map → chunk-G3I5LY7G.js.map} +1 -1
- package/dist/{chunk-VWFP6O2W.cjs → chunk-GIX5UJOV.cjs} +15 -15
- package/dist/{chunk-VWFP6O2W.cjs.map → chunk-GIX5UJOV.cjs.map} +1 -1
- package/dist/{chunk-R6NHDZOY.js → chunk-HIU5CJ4M.js} +3 -3
- package/dist/{chunk-R6NHDZOY.js.map → chunk-HIU5CJ4M.js.map} +1 -1
- package/dist/{chunk-544IXGBW.cjs → chunk-HUAYVCEZ.cjs} +209 -209
- package/dist/{chunk-544IXGBW.cjs.map → chunk-HUAYVCEZ.cjs.map} +1 -1
- package/dist/{chunk-65NVES6T.js → chunk-HZAQSKJ3.js} +4 -4
- package/dist/{chunk-65NVES6T.js.map → chunk-HZAQSKJ3.js.map} +1 -1
- package/dist/{chunk-D5M3VILP.cjs → chunk-J3T3DX6U.cjs} +26 -26
- package/dist/{chunk-D5M3VILP.cjs.map → chunk-J3T3DX6U.cjs.map} +1 -1
- package/dist/{chunk-VSB4S6R5.js → chunk-JBYUPSPU.js} +4 -4
- package/dist/{chunk-VSB4S6R5.js.map → chunk-JBYUPSPU.js.map} +1 -1
- package/dist/{chunk-IGE7NPFH.cjs → chunk-K6CWKMNN.cjs} +5 -5
- package/dist/{chunk-IGE7NPFH.cjs.map → chunk-K6CWKMNN.cjs.map} +1 -1
- package/dist/{chunk-LPYCF5B2.js → chunk-KGCYG7N3.js} +4 -4
- package/dist/{chunk-LPYCF5B2.js.map → chunk-KGCYG7N3.js.map} +1 -1
- package/dist/{chunk-AX6REP5O.cjs → chunk-KGDCXDRF.cjs} +5 -5
- package/dist/{chunk-AX6REP5O.cjs.map → chunk-KGDCXDRF.cjs.map} +1 -1
- package/dist/{chunk-XGFN7MMF.cjs → chunk-KPAFBOKP.cjs} +5 -5
- package/dist/{chunk-XGFN7MMF.cjs.map → chunk-KPAFBOKP.cjs.map} +1 -1
- package/dist/{chunk-THXUZHS6.cjs → chunk-KXV4LK76.cjs} +8 -8
- package/dist/{chunk-THXUZHS6.cjs.map → chunk-KXV4LK76.cjs.map} +1 -1
- package/dist/{chunk-LYF4J3JE.cjs → chunk-N3FDFU4Y.cjs} +18 -18
- package/dist/{chunk-LYF4J3JE.cjs.map → chunk-N3FDFU4Y.cjs.map} +1 -1
- package/dist/{chunk-B5NMA52D.js → chunk-N3IAI7Z2.js} +5 -5
- package/dist/{chunk-B5NMA52D.js.map → chunk-N3IAI7Z2.js.map} +1 -1
- package/dist/{chunk-C7I2QUNB.cjs → chunk-NHXMFEXE.cjs} +4 -4
- package/dist/{chunk-C7I2QUNB.cjs.map → chunk-NHXMFEXE.cjs.map} +1 -1
- package/dist/{chunk-V57FPA4V.cjs → chunk-NYZUNL2U.cjs} +3 -3
- package/dist/{chunk-V57FPA4V.cjs.map → chunk-NYZUNL2U.cjs.map} +1 -1
- package/dist/{chunk-HEBNJ6KJ.js → chunk-OBLDFR7P.js} +12 -6
- package/dist/chunk-OBLDFR7P.js.map +1 -0
- package/dist/{chunk-K5ANQB3I.cjs → chunk-OQHLNBTJ.cjs} +4 -4
- package/dist/{chunk-K5ANQB3I.cjs.map → chunk-OQHLNBTJ.cjs.map} +1 -1
- package/dist/{chunk-BHAAMXKQ.cjs → chunk-Q65QRWU7.cjs} +3 -3
- package/dist/{chunk-BHAAMXKQ.cjs.map → chunk-Q65QRWU7.cjs.map} +1 -1
- package/dist/{chunk-ZIWTQGJV.cjs → chunk-QXJQEVFW.cjs} +20 -20
- package/dist/{chunk-ZIWTQGJV.cjs.map → chunk-QXJQEVFW.cjs.map} +1 -1
- package/dist/{chunk-FSSG5YQJ.js → chunk-R3COQKBK.js} +3 -3
- package/dist/{chunk-FSSG5YQJ.js.map → chunk-R3COQKBK.js.map} +1 -1
- package/dist/{chunk-3CPWBXXK.cjs → chunk-RBLDPJSS.cjs} +3 -3
- package/dist/{chunk-3CPWBXXK.cjs.map → chunk-RBLDPJSS.cjs.map} +1 -1
- package/dist/{chunk-ZAWZ2BWD.cjs → chunk-REOMWKQ4.cjs} +3 -3
- package/dist/{chunk-ZAWZ2BWD.cjs.map → chunk-REOMWKQ4.cjs.map} +1 -1
- package/dist/{chunk-XNGC2C6Z.js → chunk-RKPRQA77.js} +27 -27
- package/dist/{chunk-XNGC2C6Z.js.map → chunk-RKPRQA77.js.map} +1 -1
- package/dist/{chunk-RULES2JK.js → chunk-RTHNRR6J.js} +3 -3
- package/dist/{chunk-RULES2JK.js.map → chunk-RTHNRR6J.js.map} +1 -1
- package/dist/{chunk-G2CL5JMK.js → chunk-SPXFB7AO.js} +5 -5
- package/dist/{chunk-G2CL5JMK.js.map → chunk-SPXFB7AO.js.map} +1 -1
- package/dist/{chunk-6MP52DMQ.cjs → chunk-TGZP7MGO.cjs} +7 -7
- package/dist/{chunk-6MP52DMQ.cjs.map → chunk-TGZP7MGO.cjs.map} +1 -1
- package/dist/{chunk-ET7KSUVJ.cjs → chunk-TK7DR4WJ.cjs} +3 -3
- package/dist/{chunk-ET7KSUVJ.cjs.map → chunk-TK7DR4WJ.cjs.map} +1 -1
- package/dist/{chunk-UOQHTFYI.js → chunk-TSZTYY4B.js} +3 -3
- package/dist/{chunk-UOQHTFYI.js.map → chunk-TSZTYY4B.js.map} +1 -1
- package/dist/{chunk-WUPBIK5J.cjs → chunk-UBSOSTCH.cjs} +16 -16
- package/dist/{chunk-WUPBIK5J.cjs.map → chunk-UBSOSTCH.cjs.map} +1 -1
- package/dist/{chunk-AUO32DAZ.cjs → chunk-VPHMNGUL.cjs} +3 -3
- package/dist/{chunk-AUO32DAZ.cjs.map → chunk-VPHMNGUL.cjs.map} +1 -1
- package/dist/{chunk-V4G7MSFL.js → chunk-VVVZSFYW.js} +3 -3
- package/dist/{chunk-V4G7MSFL.js.map → chunk-VVVZSFYW.js.map} +1 -1
- package/dist/{chunk-AW5INHG7.js → chunk-W7GASJ5I.js} +4 -4
- package/dist/{chunk-AW5INHG7.js.map → chunk-W7GASJ5I.js.map} +1 -1
- package/dist/{chunk-5DDUXRAY.cjs → chunk-WSY7E4Q2.cjs} +110 -104
- package/dist/chunk-WSY7E4Q2.cjs.map +1 -0
- package/dist/{chunk-NTE3Q3BA.js → chunk-X6S4QDVD.js} +3 -3
- package/dist/{chunk-NTE3Q3BA.js.map → chunk-X6S4QDVD.js.map} +1 -1
- package/dist/{chunk-76ONC2XD.cjs → chunk-XDCSO4D2.cjs} +23 -23
- package/dist/{chunk-76ONC2XD.cjs.map → chunk-XDCSO4D2.cjs.map} +1 -1
- package/dist/{chunk-IU3ZRZSG.cjs → chunk-YGOB5US6.cjs} +7 -4
- package/dist/chunk-YGOB5US6.cjs.map +1 -0
- package/dist/{chunk-77IY4RTO.cjs → chunk-YQ47E42W.cjs} +16 -16
- package/dist/{chunk-77IY4RTO.cjs.map → chunk-YQ47E42W.cjs.map} +1 -1
- package/dist/{chunk-OCWY55IQ.js → chunk-Z5B3WVXR.js} +3 -3
- package/dist/{chunk-OCWY55IQ.js.map → chunk-Z5B3WVXR.js.map} +1 -1
- package/dist/{chunk-3KXE2KXE.cjs → chunk-ZFWS55BA.cjs} +4 -4
- package/dist/{chunk-3KXE2KXE.cjs.map → chunk-ZFWS55BA.cjs.map} +1 -1
- package/dist/docs/SKILL.md +1 -1
- package/dist/docs/assets/SOURCE_MAP.json +1 -1
- package/dist/server/handlers/a2a.cjs +14 -14
- package/dist/server/handlers/a2a.js +1 -1
- package/dist/server/handlers/agent-builder.cjs +17 -17
- package/dist/server/handlers/agent-builder.js +1 -1
- package/dist/server/handlers/agent-versions.cjs +8 -8
- package/dist/server/handlers/agent-versions.js +1 -1
- package/dist/server/handlers/agents.cjs +45 -45
- package/dist/server/handlers/agents.d.ts +90 -0
- package/dist/server/handlers/agents.d.ts.map +1 -1
- package/dist/server/handlers/agents.js +1 -1
- package/dist/server/handlers/auth.cjs +12 -12
- package/dist/server/handlers/auth.js +1 -1
- package/dist/server/handlers/conversations.cjs +5 -5
- package/dist/server/handlers/conversations.js +1 -1
- package/dist/server/handlers/datasets.cjs +26 -26
- package/dist/server/handlers/datasets.js +1 -1
- package/dist/server/handlers/logs.cjs +4 -4
- package/dist/server/handlers/logs.js +1 -1
- package/dist/server/handlers/mcp-client-versions.cjs +8 -8
- package/dist/server/handlers/mcp-client-versions.js +1 -1
- package/dist/server/handlers/prompt-block-versions.cjs +8 -8
- package/dist/server/handlers/prompt-block-versions.js +1 -1
- package/dist/server/handlers/responses.cjs +4 -4
- package/dist/server/handlers/responses.js +1 -1
- package/dist/server/handlers/scorer-versions.cjs +8 -8
- package/dist/server/handlers/scorer-versions.js +1 -1
- package/dist/server/handlers/scores.cjs +7 -7
- package/dist/server/handlers/scores.js +1 -1
- package/dist/server/handlers/stored-agent-favorites.cjs +3 -3
- package/dist/server/handlers/stored-agent-favorites.js +1 -1
- package/dist/server/handlers/stored-agents.cjs +9 -9
- package/dist/server/handlers/stored-agents.js +1 -1
- package/dist/server/handlers/stored-mcp-clients.cjs +6 -6
- package/dist/server/handlers/stored-mcp-clients.js +1 -1
- package/dist/server/handlers/stored-prompt-blocks.cjs +6 -6
- package/dist/server/handlers/stored-prompt-blocks.js +1 -1
- package/dist/server/handlers/stored-scorers.cjs +6 -6
- package/dist/server/handlers/stored-scorers.js +1 -1
- package/dist/server/handlers/stored-skill-favorites.cjs +3 -3
- package/dist/server/handlers/stored-skill-favorites.js +1 -1
- package/dist/server/handlers/stored-skills.cjs +7 -7
- package/dist/server/handlers/stored-skills.js +1 -1
- package/dist/server/handlers/system.cjs +3 -3
- package/dist/server/handlers/system.js +1 -1
- package/dist/server/handlers/tools.cjs +6 -6
- package/dist/server/handlers/tools.js +1 -1
- package/dist/server/handlers/workflows.cjs +27 -27
- package/dist/server/handlers/workflows.js +1 -1
- package/dist/server/handlers.cjs +23 -23
- package/dist/server/handlers.js +10 -10
- package/dist/server/schemas/agents.d.ts +24 -0
- package/dist/server/schemas/agents.d.ts.map +1 -1
- package/dist/server/schemas/index.cjs +662 -662
- package/dist/server/schemas/index.js +11 -11
- package/dist/server/server-adapter/index.cjs +13 -13
- package/dist/server/server-adapter/index.js +2 -2
- package/dist/server/server-adapter/routes/legacy.d.ts +12 -0
- package/dist/server/server-adapter/routes/legacy.d.ts.map +1 -1
- package/package.json +5 -5
- package/dist/chunk-5DDUXRAY.cjs.map +0 -1
- package/dist/chunk-HEBNJ6KJ.js.map +0 -1
- package/dist/chunk-IONXSX77.js.map +0 -1
- package/dist/chunk-IU3ZRZSG.cjs.map +0 -1
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
export { apiSchemaManifestResponseSchema, apiSchemaManifestRouteSchema, apiSchemaResponseShapeSchema, editorSourceSchema, mastraPackageSchema, observabilityRuntimeStrategySchema, systemPackagesResponseSchema } from '../../chunk-7ZW76TJN.js';
|
|
2
2
|
export { createStoredMCPClientBodySchema, createStoredMCPClientResponseSchema, deleteStoredMCPClientResponseSchema, getStoredMCPClientResponseSchema, listStoredMCPClientsQuerySchema, listStoredMCPClientsResponseSchema, storedMCPClientIdPathParams, storedMCPClientSchema, updateStoredMCPClientBodySchema, updateStoredMCPClientResponseSchema } from '../../chunk-K6WBL3KZ.js';
|
|
3
3
|
export { createStoredPromptBlockBodySchema, createStoredPromptBlockResponseSchema, deleteStoredPromptBlockResponseSchema, getStoredPromptBlockResponseSchema, listStoredPromptBlocksQuerySchema, listStoredPromptBlocksResponseSchema, storedPromptBlockIdPathParams, storedPromptBlockSchema, updateStoredPromptBlockBodySchema, updateStoredPromptBlockResponseSchema } from '../../chunk-BUFXUC67.js';
|
|
4
|
-
export { createStoredScorerBodySchema, createStoredScorerResponseSchema, deleteStoredScorerResponseSchema, getStoredScorerResponseSchema, listStoredScorersQuerySchema, listStoredScorersResponseSchema, storedScorerIdPathParams, storedScorerSchema, updateStoredScorerBodySchema, updateStoredScorerResponseSchema } from '../../chunk-
|
|
4
|
+
export { createStoredScorerBodySchema, createStoredScorerResponseSchema, deleteStoredScorerResponseSchema, getStoredScorerResponseSchema, listStoredScorersQuerySchema, listStoredScorersResponseSchema, storedScorerIdPathParams, storedScorerSchema, updateStoredScorerBodySchema, updateStoredScorerResponseSchema } from '../../chunk-FOP2WP5L.js';
|
|
5
5
|
export { SKILL_ORIGIN_METADATA_KEY, buildOriginMetadata, createStoredSkillBodySchema, createStoredSkillResponseSchema, deleteStoredSkillResponseSchema, getStoredSkillResponseSchema, listStoredSkillsQuerySchema, listStoredSkillsResponseSchema, publishStoredSkillBodySchema, publishStoredSkillResponseSchema, readSkillOrigin, skillOriginSchema, storedSkillIdPathParams, storedSkillSchema, updateStoredSkillBodySchema, updateStoredSkillResponseSchema } from '../../chunk-UIRQU4GW.js';
|
|
6
|
-
export {
|
|
6
|
+
export { activatePromptBlockVersionResponseSchema, comparePromptBlockVersionsQuerySchema, comparePromptBlockVersionsResponseSchema, createPromptBlockVersionBodySchema, createPromptBlockVersionResponseSchema, deletePromptBlockVersionResponseSchema, getPromptBlockVersionResponseSchema, listPromptBlockVersionsQuerySchema, listPromptBlockVersionsResponseSchema, promptBlockVersionIdPathParams, promptBlockVersionPathParams, promptBlockVersionSchema, restorePromptBlockVersionResponseSchema } from '../../chunk-3BLT6ISZ.js';
|
|
7
|
+
export { activateScorerVersionResponseSchema, compareScorerVersionsQuerySchema, compareScorerVersionsResponseSchema, createScorerVersionBodySchema, createScorerVersionResponseSchema, deleteScorerVersionResponseSchema, getScorerVersionResponseSchema, listScorerVersionsQuerySchema, listScorerVersionsResponseSchema, restoreScorerVersionResponseSchema, scorerVersionIdPathParams, scorerVersionPathParams, scorerVersionSchema } from '../../chunk-TSZTYY4B.js';
|
|
7
8
|
export { getProcessorProviderResponseSchema, getProcessorProvidersResponseSchema, processorProviderIdPathParams } from '../../chunk-SJOVDYRT.js';
|
|
8
9
|
export { executeProcessorBodySchema, executeProcessorResponseSchema, listProcessorsResponseSchema, processorConfigurationSchema, processorIdPathParams, serializedProcessorSchema as processorSerializedSchema, serializedProcessorDetailSchema } from '../../chunk-2R5GLZJD.js';
|
|
9
|
-
export {
|
|
10
|
+
export { addItemBodySchema, batchDeleteItemsBodySchema, batchDeleteItemsResponseSchema, batchInsertItemsBodySchema, batchInsertItemsResponseSchema, clusterFailuresBodySchema, clusterFailuresResponseSchema, compareExperimentsBodySchema, comparisonResponseSchema, createDatasetBodySchema, datasetAndExperimentIdPathParams, datasetAndItemIdPathParams, datasetIdPathParams, datasetItemResponseSchema, datasetItemVersionPathParams, datasetResponseSchema, datasetVersionResponseSchema, experimentIdPathParams, experimentResponseSchema, experimentResultIdPathParams, experimentResultResponseSchema, experimentReviewCountsSchema, experimentSummaryResponseSchema, generateItemsBodySchema, generateItemsResponseSchema, itemIdPathParams, itemVersionResponseSchema, listDatasetVersionsResponseSchema, listDatasetsResponseSchema, listExperimentResultsResponseSchema, listExperimentsResponseSchema, listItemVersionsResponseSchema, listItemsQuerySchema, listItemsResponseSchema, paginationQuerySchema, reviewSummaryResponseSchema, scorerResultSchema, triggerExperimentBodySchema, updateDatasetBodySchema, updateExperimentResultBodySchema, updateItemBodySchema } from '../../chunk-N624P3VO.js';
|
|
10
11
|
export { agentConfigurationSchema, agentFeaturesSchema, agentModelsSchema, builderModelPolicySchema, builderPickerSchema, builderSettingsResponseSchema, defaultModelEntrySchema, infrastructureStatusResponseSchema, pickerAllowlistSchema, providerModelEntrySchema } from '../../chunk-T5H4CFHL.js';
|
|
11
12
|
export { activateMCPClientVersionResponseSchema, compareMCPClientVersionsQuerySchema, compareMCPClientVersionsResponseSchema, createMCPClientVersionBodySchema, createMCPClientVersionResponseSchema, deleteMCPClientVersionResponseSchema, getMCPClientVersionResponseSchema, listMCPClientVersionsQuerySchema, listMCPClientVersionsResponseSchema, mcpClientVersionIdPathParams, mcpClientVersionPathParams, mcpClientVersionSchema, restoreMCPClientVersionResponseSchema } from '../../chunk-EFJIK2PW.js';
|
|
12
|
-
export {
|
|
13
|
+
export { agentVersionPathParams, agentVersionSchema, compareVersionsResponseSchema, createVersionResponseSchema, getVersionResponseSchema, listVersionsResponseSchema, restoreVersionResponseSchema, versionIdPathParams } from '../../chunk-Z5B3WVXR.js';
|
|
14
|
+
export { activateVersionResponseSchema, compareVersionsQuerySchema, createCompareVersionsResponseSchema, createListVersionsResponseSchema, createVersionBodySchema, deleteVersionResponseSchema, listVersionsQuerySchema, versionDiffEntrySchema, versionOrderBySchema } from '../../chunk-3OQMTFIV.js';
|
|
13
15
|
export { createIndexBodySchema, createIndexResponseSchema, deleteIndexResponseSchema, describeIndexResponseSchema, listEmbeddersResponseSchema, listIndexesResponseSchema, listVectorsResponseSchema, queryVectorsBodySchema, queryVectorsResponseSchema, upsertVectorsBodySchema, upsertVectorsResponseSchema, vectorIndexPathParams, vectorNamePathParams } from '../../chunk-RVICRXZF.js';
|
|
14
16
|
export { entityPathParams, listScorersResponseSchema, listScoresByEntityIdQuerySchema, listScoresByRunIdQuerySchema, listScoresByScorerIdQuerySchema, saveScoreBodySchema, saveScoreResponseSchema, scorerEntrySchema, scorerIdPathParams, scoresWithPaginationResponseSchema } from '../../chunk-OC4S3EDO.js';
|
|
15
17
|
export { listLogTransportsResponseSchema, listLogsQuerySchema, listLogsResponseSchema } from '../../chunk-MXZPGEC2.js';
|
|
@@ -19,17 +21,15 @@ export { conversationItemMessageSchema, conversationItemSchema, conversationMess
|
|
|
19
21
|
export { agentIdQuerySchema, awaitBufferStatusBodySchema, awaitBufferStatusResponseSchema, cloneThreadBodySchema, cloneThreadResponseSchema, createThreadBodySchema, createThreadNetworkQuerySchema, deleteMessagesBodySchema, deleteMessagesNetworkQuerySchema, deleteMessagesQuerySchema, deleteMessagesResponseSchema, deleteThreadNetworkQuerySchema, deleteThreadQuerySchema, deleteThreadResponseSchema, getMemoryConfigQuerySchema, getMemoryStatusNetworkQuerySchema, getMemoryStatusQuerySchema, getObservationalMemoryQuerySchema, getObservationalMemoryResponseSchema, getThreadByIdNetworkQuerySchema, getThreadByIdQuerySchema, getThreadByIdResponseSchema, getWorkingMemoryQuerySchema, getWorkingMemoryResponseSchema, listMessagesNetworkQuerySchema, listMessagesQuerySchema, listMessagesResponseSchema, listThreadsNetworkQuerySchema, listThreadsQuerySchema, listThreadsResponseSchema, memoryConfigResponseSchema, memoryStatusResponseSchema, optionalAgentIdQuerySchema, saveMessagesBodySchema, saveMessagesNetworkQuerySchema, saveMessagesResponseSchema, searchMemoryQuerySchema, searchMemoryResponseSchema, threadIdPathParams, updateThreadBodySchema, updateThreadNetworkQuerySchema, updateWorkingMemoryBodySchema, updateWorkingMemoryResponseSchema } from '../../chunk-UZKVYNYR.js';
|
|
20
22
|
export { agentExecutionBodySchema as a2aAgentExecutionBodySchema, a2aAgentIdPathParams, a2aTaskPathParams, agentCardResponseSchema, agentExecutionResponseSchema, messageSendBodySchema, taskQueryBodySchema, taskResponseSchema } from '../../chunk-KEE6UMGC.js';
|
|
21
23
|
export { authenticatedCapabilitiesSchema, authenticatedUserSchema, capabilitiesResponseSchema, capabilityFlagsSchema, credentialsResponseSchema, credentialsSignInBodySchema, credentialsSignUpBodySchema, currentUserResponseSchema, loginConfigSchema, logoutResponseSchema, publicCapabilitiesSchema, refreshResponseSchema, ssoCallbackQuerySchema, ssoCallbackResponseSchema, ssoConfigSchema, ssoLoginQuerySchema, ssoLoginResponseSchema, userAccessSchema } from '../../chunk-EPCOAEFM.js';
|
|
24
|
+
export { conditionalFieldSchema, createStoredAgentBodySchema, createStoredAgentResponseSchema, deleteStoredAgentResponseSchema, exportStoredAgentBodySchema, exportStoredAgentResponseSchema, getStoredAgentDependentsResponseSchema, getStoredAgentResponseSchema, instructionsSchema, listStoredAgentsQuerySchema, listStoredAgentsResponseSchema, modelConfigSchema, previewInstructionsBodySchema, previewInstructionsResponseSchema, processorGraphEntrySchema, processorGraphStepSchema, processorPhaseSchema, scorerConfigSchema, semanticRecallSchema, serializedMemoryConfigSchema, serializedObservationConfigSchema, serializedObservationalMemoryConfigObjectSchema, serializedObservationalMemoryConfigSchema, serializedReflectionConfigSchema, snapshotConfigSchema, storedAgentIdPathParams, storedAgentSchema, storedProcessorGraphSchema, titleGenerationSchema, toolConfigSchema, toolsConfigSchema, updateStoredAgentBodySchema, updateStoredAgentResponseSchema } from '../../chunk-4YX3LS4T.js';
|
|
25
|
+
export { createStoredWorkspaceBodySchema, createStoredWorkspaceResponseSchema, deleteStoredWorkspaceResponseSchema, getStoredWorkspaceResponseSchema, listStoredWorkspacesQuerySchema, listStoredWorkspacesResponseSchema, storedWorkspaceIdPathParams, storedWorkspaceSchema, updateStoredWorkspaceBodySchema, updateStoredWorkspaceResponseSchema, snapshotConfigSchema as workspaceSnapshotConfigSchema } from '../../chunk-64QFFUEH.js';
|
|
26
|
+
export { authStatusToolProviderResponseSchema, authorizeToolProviderBodySchema, authorizeToolProviderResponseSchema, connectionSchema, connectionScopeSchema, connectionStatusToolProviderBodySchema, connectionStatusToolProviderResponseSchema, connectionUsageQuerySchema, connectionUsageResponseSchema, disconnectConnectionQuerySchema, disconnectConnectionResponseSchema, getToolProviderToolSchemaResponseSchema, listConnectionFieldsQuerySchema, listConnectionFieldsResponseSchema, listConnectionsQuerySchema, listConnectionsResponseSchema, listToolProviderToolkitsResponseSchema, listToolProviderToolsQuerySchema, listToolProviderToolsResponseSchema, listToolProvidersResponseSchema, toolProviderAuthStatusPathParams, toolProviderConfigSchema, toolProviderConnectionPathParams, toolProviderHealthResponseSchema, toolProviderIdPathParams, toolProvidersSchema, toolSlugPathParams, updateConnectionBodySchema, updateConnectionResponseSchema } from '../../chunk-EUFT3MIX.js';
|
|
27
|
+
export { ruleGroupSchema, ruleSchema } from '../../chunk-JA4UAHWP.js';
|
|
22
28
|
export { fileEntrySchema, fsDeleteQuerySchema, fsDeleteResponseSchema, fsListQuerySchema, fsListResponseSchema, fsMkdirBodySchema, fsMkdirResponseSchema, fsPathParams, fsReadQuerySchema, fsReadResponseSchema, fsStatQuerySchema, fsStatResponseSchema, fsWriteBodySchema, fsWriteResponseSchema, getAgentSkillResponseSchema, getSkillResponseSchema, indexBodySchema, indexResponseSchema, listReferencesResponseSchema, listSkillsResponseSchema, listWorkspacesResponseSchema, mountInfoSchema, searchQuerySchema, searchResponseSchema, searchResultSchema, searchSkillsQuerySchema, searchSkillsResponseSchema, skillDisambiguationQuerySchema, skillMetadataSchema, skillMetadataWithPathSchema, skillNamePathParams, skillReferencePathParams, skillReferenceResponseSchema, skillSchema, skillSearchResultSchema, skillSourceSchema, skillsShInstallBodySchema, skillsShInstallResponseSchema, skillsShListResponseSchema, skillsShPopularQuerySchema, skillsShPreviewQuerySchema, skillsShPreviewResponseSchema, skillsShRemoveBodySchema, skillsShRemoveResponseSchema, skillsShSearchQuerySchema, skillsShSearchResponseSchema, skillsShSkillSchema, skillsShSourceSchema, skillsShUpdateBodySchema, skillsShUpdateResponseSchema, workspaceIdPathParams, workspaceInfoResponseSchema } from '../../chunk-ZHULRNJG.js';
|
|
23
29
|
export { actionIdPathParams, actionRunPathParams, resumeAgentBuilderBodySchema, startAsyncAgentBuilderBodySchema, streamAgentBuilderBodySchema, streamLegacyAgentBuilderBodySchema } from '../../chunk-AAA3TYIM.js';
|
|
24
30
|
export { createWorkflowRunResponseSchema, listWorkflowRunsQuerySchema, listWorkflowsResponseSchema, sendWorkflowRunEventBodySchema, workflowControlResponseSchema, workflowExecutionResultSchema, workflowInfoSchema, workflowRunResultQuerySchema, workflowRunResultSchema, workflowRunsResponseSchema } from '../../chunk-J3LTFYRY.js';
|
|
25
|
-
export { abortAgentThreadBodySchema, abortAgentThreadResponseSchema, agentExecutionBodySchema, agentExecutionLegacyBodySchema, agentIdPathParams, agentSkillPathParams, agentToolPathParams, agentVersionQuerySchema, approveNetworkToolCallBodySchema, approveToolCallBodySchema, declineNetworkToolCallBodySchema, declineToolCallBodySchema, enhanceInstructionsBodySchema, enhanceInstructionsResponseSchema, executeToolBodySchema, executeToolContextBodySchema, executeToolResponseSchema, generateResponseSchema, listAgentsResponseSchema, listToolsResponseSchema, modelConfigIdPathParams, modelManagementResponseSchema, observeAgentBodySchema, observeAgentResponseSchema, providerSchema, providersResponseSchema, queueAgentMessageBodySchema, reorderAgentModelListBodySchema, resumeStreamBodySchema, resumeStreamUntilIdleBodySchema, sendAgentMessageBodySchema, sendAgentSignalBodySchema, sendToolApprovalBodySchema, sendToolApprovalResponseSchema, serializedAgentDefinitionSchema, serializedAgentSchema, serializedAgentWithIdSchema, serializedProcessorSchema, serializedToolSchema, serializedWorkflowSchema, streamResponseSchema, streamUntilIdleBodySchema, subscribeAgentThreadBodySchema, toolCallResponseSchema, toolIdPathParams, updateAgentModelBodySchema, updateAgentModelInModelListBodySchema } from '../../chunk-
|
|
31
|
+
export { abortAgentThreadBodySchema, abortAgentThreadResponseSchema, agentExecutionBodySchema, agentExecutionLegacyBodySchema, agentIdPathParams, agentSkillPathParams, agentToolPathParams, agentVersionQuerySchema, approveNetworkToolCallBodySchema, approveToolCallBodySchema, declineNetworkToolCallBodySchema, declineToolCallBodySchema, enhanceInstructionsBodySchema, enhanceInstructionsResponseSchema, executeToolBodySchema, executeToolContextBodySchema, executeToolResponseSchema, generateResponseSchema, listAgentsResponseSchema, listToolsResponseSchema, modelConfigIdPathParams, modelManagementResponseSchema, observeAgentBodySchema, observeAgentResponseSchema, providerSchema, providersResponseSchema, queueAgentMessageBodySchema, reorderAgentModelListBodySchema, resumeStreamBodySchema, resumeStreamUntilIdleBodySchema, sendAgentMessageBodySchema, sendAgentSignalBodySchema, sendToolApprovalBodySchema, sendToolApprovalResponseSchema, serializedAgentDefinitionSchema, serializedAgentSchema, serializedAgentWithIdSchema, serializedProcessorSchema, serializedToolSchema, serializedWorkflowSchema, streamResponseSchema, streamUntilIdleBodySchema, subscribeAgentThreadBodySchema, toolCallResponseSchema, toolIdPathParams, updateAgentModelBodySchema, updateAgentModelInModelListBodySchema } from '../../chunk-CEPTL3AG.js';
|
|
26
32
|
export { generateSpeechBodySchema, getListenerResponseSchema, speakResponseSchema, transcribeSpeechBodySchema, transcribeSpeechResponseSchema, voiceSpeakersResponseSchema } from '../../chunk-H7TPN2Y6.js';
|
|
27
|
-
export { agentVersionPathParams, agentVersionSchema, compareVersionsResponseSchema, createVersionResponseSchema, getVersionResponseSchema, listVersionsResponseSchema, restoreVersionResponseSchema, versionIdPathParams } from '../../chunk-OCWY55IQ.js';
|
|
28
|
-
export { activateVersionResponseSchema, compareVersionsQuerySchema, createCompareVersionsResponseSchema, createListVersionsResponseSchema, createVersionBodySchema, deleteVersionResponseSchema, listVersionsQuerySchema, versionDiffEntrySchema, versionOrderBySchema } from '../../chunk-3OQMTFIV.js';
|
|
29
|
-
export { conditionalFieldSchema, createStoredAgentBodySchema, createStoredAgentResponseSchema, deleteStoredAgentResponseSchema, exportStoredAgentBodySchema, exportStoredAgentResponseSchema, getStoredAgentDependentsResponseSchema, getStoredAgentResponseSchema, instructionsSchema, listStoredAgentsQuerySchema, listStoredAgentsResponseSchema, modelConfigSchema, previewInstructionsBodySchema, previewInstructionsResponseSchema, processorGraphEntrySchema, processorGraphStepSchema, processorPhaseSchema, scorerConfigSchema, semanticRecallSchema, serializedMemoryConfigSchema, serializedObservationConfigSchema, serializedObservationalMemoryConfigObjectSchema, serializedObservationalMemoryConfigSchema, serializedReflectionConfigSchema, snapshotConfigSchema, storedAgentIdPathParams, storedAgentSchema, storedProcessorGraphSchema, titleGenerationSchema, toolConfigSchema, toolsConfigSchema, updateStoredAgentBodySchema, updateStoredAgentResponseSchema } from '../../chunk-ESJTIVEQ.js';
|
|
30
|
-
export { authStatusToolProviderResponseSchema, authorizeToolProviderBodySchema, authorizeToolProviderResponseSchema, connectionSchema, connectionScopeSchema, connectionStatusToolProviderBodySchema, connectionStatusToolProviderResponseSchema, connectionUsageQuerySchema, connectionUsageResponseSchema, disconnectConnectionQuerySchema, disconnectConnectionResponseSchema, getToolProviderToolSchemaResponseSchema, listConnectionFieldsQuerySchema, listConnectionFieldsResponseSchema, listConnectionsQuerySchema, listConnectionsResponseSchema, listToolProviderToolkitsResponseSchema, listToolProviderToolsQuerySchema, listToolProviderToolsResponseSchema, listToolProvidersResponseSchema, toolProviderAuthStatusPathParams, toolProviderConfigSchema, toolProviderConnectionPathParams, toolProviderHealthResponseSchema, toolProviderIdPathParams, toolProvidersSchema, toolSlugPathParams, updateConnectionBodySchema, updateConnectionResponseSchema } from '../../chunk-EUFT3MIX.js';
|
|
31
|
-
export { createStoredWorkspaceBodySchema, createStoredWorkspaceResponseSchema, deleteStoredWorkspaceResponseSchema, getStoredWorkspaceResponseSchema, listStoredWorkspacesQuerySchema, listStoredWorkspacesResponseSchema, storedWorkspaceIdPathParams, storedWorkspaceSchema, updateStoredWorkspaceBodySchema, updateStoredWorkspaceResponseSchema, snapshotConfigSchema as workspaceSnapshotConfigSchema } from '../../chunk-64QFFUEH.js';
|
|
32
|
-
export { ruleGroupSchema, ruleSchema } from '../../chunk-JA4UAHWP.js';
|
|
33
33
|
export { defaultOptionsSchema } from '../../chunk-TKP6FJQ3.js';
|
|
34
34
|
export { baseLogMessageSchema, coreMessageSchema, createCombinedPaginationSchema, createPagePaginationSchema, messageResponseSchema, optionalRunIdSchema, paginationInfoSchema, partialQuerySchema, runIdSchema, statusQuerySchema, successResponseSchema, tracingOptionsSchema } from '../../chunk-2YY3EMMS.js';
|
|
35
35
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkHUAYVCEZ_cjs = require('../../chunk-HUAYVCEZ.cjs');
|
|
4
4
|
var chunkLBVQK4LO_cjs = require('../../chunk-LBVQK4LO.cjs');
|
|
5
5
|
var chunkPPNPOLWL_cjs = require('../../chunk-PPNPOLWL.cjs');
|
|
6
6
|
var chunkZ7LCIYK7_cjs = require('../../chunk-Z7LCIYK7.cjs');
|
|
@@ -62,7 +62,7 @@ function getBuiltInRouteFGAConfig(route) {
|
|
|
62
62
|
if (!isProtectedFGARoute(route) || !route.path || !route.method) {
|
|
63
63
|
return null;
|
|
64
64
|
}
|
|
65
|
-
const permission =
|
|
65
|
+
const permission = chunkHUAYVCEZ_cjs.getEffectivePermission(route);
|
|
66
66
|
if (!permission) {
|
|
67
67
|
return null;
|
|
68
68
|
}
|
|
@@ -262,7 +262,7 @@ function getFGARouteInfo(route) {
|
|
|
262
262
|
};
|
|
263
263
|
}
|
|
264
264
|
function getRoutePermissions(route) {
|
|
265
|
-
return [
|
|
265
|
+
return [chunkHUAYVCEZ_cjs.getEffectivePermission(route), route.fga?.permission].flatMap((value) => Array.isArray(value) ? value : [value]).filter((permission) => Boolean(permission));
|
|
266
266
|
}
|
|
267
267
|
async function resolveRouteFGAConfig(fgaProvider, route, requestContext, params) {
|
|
268
268
|
if (route.fga) {
|
|
@@ -524,7 +524,7 @@ var MastraServer = class _MastraServer extends server.MastraServerBase {
|
|
|
524
524
|
if (!rbacProvider) {
|
|
525
525
|
return null;
|
|
526
526
|
}
|
|
527
|
-
const requiredPermission =
|
|
527
|
+
const requiredPermission = chunkHUAYVCEZ_cjs.getEffectivePermission(route);
|
|
528
528
|
if (!requiredPermission) {
|
|
529
529
|
return null;
|
|
530
530
|
}
|
|
@@ -614,7 +614,7 @@ Ensure @mastra/core is updated to a version that includes EE support.`
|
|
|
614
614
|
const customRoutes = (this.customApiRoutes ?? serverConfig?.apiRoutes ?? []).filter(
|
|
615
615
|
(route) => !route._mastraInternal
|
|
616
616
|
);
|
|
617
|
-
const routes = [...
|
|
617
|
+
const routes = [...chunkHUAYVCEZ_cjs.SERVER_ROUTES, ...customRoutes];
|
|
618
618
|
if (fgaProvider.validatePermissions) {
|
|
619
619
|
const permissions = [...new Set(routes.flatMap((route) => getRoutePermissions(route)))];
|
|
620
620
|
await fgaProvider.validatePermissions(permissions);
|
|
@@ -786,7 +786,7 @@ Ensure @mastra/core is updated to a version that includes EE support.`
|
|
|
786
786
|
* Builds the OpenAPI spec object with servers field and custom route paths.
|
|
787
787
|
*/
|
|
788
788
|
buildOpenAPISpec(config, prefix) {
|
|
789
|
-
const openApiSpec = chunkRZR7PLFW_cjs.generateOpenAPIDocument(
|
|
789
|
+
const openApiSpec = chunkRZR7PLFW_cjs.generateOpenAPIDocument(chunkHUAYVCEZ_cjs.SERVER_ROUTES, config);
|
|
790
790
|
if (prefix) {
|
|
791
791
|
openApiSpec.servers = [{ url: prefix }];
|
|
792
792
|
}
|
|
@@ -821,7 +821,7 @@ Ensure @mastra/core is updated to a version that includes EE support.`
|
|
|
821
821
|
await this.registerRoute(app, openApiRoute, { prefix });
|
|
822
822
|
}
|
|
823
823
|
async registerRoutes() {
|
|
824
|
-
for (const route of
|
|
824
|
+
for (const route of chunkHUAYVCEZ_cjs.SERVER_ROUTES) {
|
|
825
825
|
await this.registerRoute(this.app, route, { prefix: this.prefix });
|
|
826
826
|
}
|
|
827
827
|
if (this.openapiPath) {
|
|
@@ -910,7 +910,7 @@ async function checkRouteFGA(mastra, route, requestContext, params) {
|
|
|
910
910
|
message: "FGA authorization denied: route FGA metadata is incomplete"
|
|
911
911
|
};
|
|
912
912
|
}
|
|
913
|
-
const effectivePermission = route.path ?
|
|
913
|
+
const effectivePermission = route.path ? chunkHUAYVCEZ_cjs.getEffectivePermission(route) : null;
|
|
914
914
|
const permission = fgaConfig.permission || effectivePermission || `${getFGAResourcePermissionSlug(fgaConfig.resourceType)}:${deriveFGAAction(route.method)}`;
|
|
915
915
|
const authorized = await fgaProvider.check(user, {
|
|
916
916
|
resource: { type: fgaConfig.resourceType, id: resourceId },
|
|
@@ -952,23 +952,23 @@ function getFGAResourcePermissionSlug(resourceType) {
|
|
|
952
952
|
|
|
953
953
|
Object.defineProperty(exports, "SERVER_ROUTES", {
|
|
954
954
|
enumerable: true,
|
|
955
|
-
get: function () { return
|
|
955
|
+
get: function () { return chunkHUAYVCEZ_cjs.SERVER_ROUTES; }
|
|
956
956
|
});
|
|
957
957
|
Object.defineProperty(exports, "deriveAction", {
|
|
958
958
|
enumerable: true,
|
|
959
|
-
get: function () { return
|
|
959
|
+
get: function () { return chunkHUAYVCEZ_cjs.deriveAction; }
|
|
960
960
|
});
|
|
961
961
|
Object.defineProperty(exports, "derivePermission", {
|
|
962
962
|
enumerable: true,
|
|
963
|
-
get: function () { return
|
|
963
|
+
get: function () { return chunkHUAYVCEZ_cjs.derivePermission; }
|
|
964
964
|
});
|
|
965
965
|
Object.defineProperty(exports, "extractResource", {
|
|
966
966
|
enumerable: true,
|
|
967
|
-
get: function () { return
|
|
967
|
+
get: function () { return chunkHUAYVCEZ_cjs.extractResource; }
|
|
968
968
|
});
|
|
969
969
|
Object.defineProperty(exports, "getEffectivePermission", {
|
|
970
970
|
enumerable: true,
|
|
971
|
-
get: function () { return
|
|
971
|
+
get: function () { return chunkHUAYVCEZ_cjs.getEffectivePermission; }
|
|
972
972
|
});
|
|
973
973
|
Object.defineProperty(exports, "WorkflowRegistry", {
|
|
974
974
|
enumerable: true,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { getEffectivePermission, SERVER_ROUTES } from '../../chunk-
|
|
2
|
-
export { SERVER_ROUTES, deriveAction, derivePermission, extractResource, getEffectivePermission } from '../../chunk-
|
|
1
|
+
import { getEffectivePermission, SERVER_ROUTES } from '../../chunk-RKPRQA77.js';
|
|
2
|
+
export { SERVER_ROUTES, deriveAction, derivePermission, extractResource, getEffectivePermission } from '../../chunk-RKPRQA77.js';
|
|
3
3
|
import { coreAuthMiddleware } from '../../chunk-YH4WGIEH.js';
|
|
4
4
|
import { normalizeRoutePath } from '../../chunk-PLV74XAL.js';
|
|
5
5
|
export { WorkflowRegistry, normalizeRoutePath } from '../../chunk-PLV74XAL.js';
|
|
@@ -82,6 +82,9 @@ export declare const LEGACY_ROUTES: readonly [import(".").ServerRoute<import("."
|
|
|
82
82
|
}>>;
|
|
83
83
|
fallbackValue: import("zod").ZodOptional<import("zod").ZodAny>;
|
|
84
84
|
}, import("zod/v4/core").$strip>>;
|
|
85
|
+
untilIdle: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodBoolean, import("zod").ZodObject<{
|
|
86
|
+
maxIdleMs: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
87
|
+
}, import("zod/v4/core").$strip>]>>;
|
|
85
88
|
resourceId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
86
89
|
resourceid: import("zod").ZodOptional<import("zod").ZodString>;
|
|
87
90
|
threadId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -165,6 +168,9 @@ export declare const LEGACY_ROUTES: readonly [import(".").ServerRoute<import("."
|
|
|
165
168
|
}>>;
|
|
166
169
|
fallbackValue: import("zod").ZodOptional<import("zod").ZodAny>;
|
|
167
170
|
}, import("zod/v4/core").$strip>>;
|
|
171
|
+
untilIdle: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodBoolean, import("zod").ZodObject<{
|
|
172
|
+
maxIdleMs: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
173
|
+
}, import("zod/v4/core").$strip>]>>;
|
|
168
174
|
resourceId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
169
175
|
resourceid: import("zod").ZodOptional<import("zod").ZodString>;
|
|
170
176
|
threadId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -248,6 +254,9 @@ export declare const LEGACY_ROUTES: readonly [import(".").ServerRoute<import("."
|
|
|
248
254
|
}>>;
|
|
249
255
|
fallbackValue: import("zod").ZodOptional<import("zod").ZodAny>;
|
|
250
256
|
}, import("zod/v4/core").$strip>>;
|
|
257
|
+
untilIdle: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodBoolean, import("zod").ZodObject<{
|
|
258
|
+
maxIdleMs: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
259
|
+
}, import("zod/v4/core").$strip>]>>;
|
|
251
260
|
resourceId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
252
261
|
resourceid: import("zod").ZodOptional<import("zod").ZodString>;
|
|
253
262
|
threadId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -331,6 +340,9 @@ export declare const LEGACY_ROUTES: readonly [import(".").ServerRoute<import("."
|
|
|
331
340
|
}>>;
|
|
332
341
|
fallbackValue: import("zod").ZodOptional<import("zod").ZodAny>;
|
|
333
342
|
}, import("zod/v4/core").$strip>>;
|
|
343
|
+
untilIdle: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodBoolean, import("zod").ZodObject<{
|
|
344
|
+
maxIdleMs: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
345
|
+
}, import("zod/v4/core").$strip>]>>;
|
|
334
346
|
resourceId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
335
347
|
resourceid: import("zod").ZodOptional<import("zod").ZodString>;
|
|
336
348
|
threadId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"legacy.d.ts","sourceRoot":"","sources":["../../../../src/server/server-adapter/routes/legacy.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAKH,eAAO,MAAM,aAAa
|
|
1
|
+
{"version":3,"file":"legacy.d.ts","sourceRoot":"","sources":["../../../../src/server/server-adapter/routes/legacy.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAKH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4HAYhB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/server",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.41.0-alpha.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
@@ -115,14 +115,14 @@
|
|
|
115
115
|
"zod": "^4.4.3",
|
|
116
116
|
"zod-to-ts": "^2.0.0",
|
|
117
117
|
"@internal/core": "0.0.0",
|
|
118
|
-
"@internal/
|
|
118
|
+
"@internal/test-utils": "0.0.38",
|
|
119
119
|
"@internal/storage-test-utils": "0.0.98",
|
|
120
120
|
"@mastra/agent-builder": "1.0.40",
|
|
121
121
|
"@internal/voice": "0.0.3",
|
|
122
|
-
"@internal/
|
|
123
|
-
"@internal/types-builder": "0.0.77",
|
|
122
|
+
"@internal/lint": "0.0.102",
|
|
124
123
|
"@mastra/schema-compat": "1.2.11",
|
|
125
|
-
"@
|
|
124
|
+
"@internal/types-builder": "0.0.77",
|
|
125
|
+
"@mastra/core": "1.41.0-alpha.0"
|
|
126
126
|
},
|
|
127
127
|
"homepage": "https://mastra.ai",
|
|
128
128
|
"repository": {
|