@mastra/server 1.83.0-alpha.0 → 1.83.0-alpha.10
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/README.md +0 -6
- package/dist/_types/@internal_core@0.1.4/dist/storage/index.d.ts +59 -0
- package/dist/{a2a-kz7NjjCg.cjs → a2a-DIcMx6x-.cjs} +4 -4
- package/dist/{a2a-kz7NjjCg.cjs.map → a2a-DIcMx6x-.cjs.map} +1 -1
- package/dist/{a2a-DCpd3CTv.js → a2a-DTTGA2Xg.js} +4 -4
- package/dist/{a2a-DCpd3CTv.js.map → a2a-DTTGA2Xg.js.map} +1 -1
- package/dist/{agent-builder-CocfOSi8.js → agent-builder-BNfBksTT.js} +6 -6
- package/dist/{agent-builder-CocfOSi8.js.map → agent-builder-BNfBksTT.js.map} +1 -1
- package/dist/{agent-builder-uDstZROq.cjs → agent-builder-CopkMfWF.cjs} +6 -6
- package/dist/{agent-builder-uDstZROq.cjs.map → agent-builder-CopkMfWF.cjs.map} +1 -1
- package/dist/{agent-versions-BccL4mEW.cjs → agent-versions-CwWhEoU5.cjs} +2 -2
- package/dist/{agent-versions-BccL4mEW.cjs.map → agent-versions-CwWhEoU5.cjs.map} +1 -1
- package/dist/{agent-versions-DFJyxWY1.js → agent-versions-DfcKpYNW.js} +2 -2
- package/dist/{agent-versions-DFJyxWY1.js.map → agent-versions-DfcKpYNW.js.map} +1 -1
- package/dist/{agents-BXqMKoOz.js → agents-BCgiMlDq.js} +2 -2
- package/dist/{agents-BXqMKoOz.js.map → agents-BCgiMlDq.js.map} +1 -1
- package/dist/{agents-BI8ez-FT.js → agents-CTgjTASj.js} +248 -65
- package/dist/agents-CTgjTASj.js.map +1 -0
- package/dist/{agents-DbnPZXIN.cjs → agents-CjcvdF2e.cjs} +2 -2
- package/dist/{agents-DbnPZXIN.cjs.map → agents-CjcvdF2e.cjs.map} +1 -1
- package/dist/{agents-DsfsDhIT.cjs → agents-DjpBmwhv.cjs} +249 -66
- package/dist/agents-DjpBmwhv.cjs.map +1 -0
- package/dist/{api-schema-manifest-ChxbN16M.js → api-schema-manifest-LHpJSi-Y.js} +3 -3
- package/dist/{api-schema-manifest-ChxbN16M.js.map → api-schema-manifest-LHpJSi-Y.js.map} +1 -1
- package/dist/{api-schema-manifest-DtYTPvh9.cjs → api-schema-manifest-hPT7_FSw.cjs} +3 -3
- package/dist/{api-schema-manifest-DtYTPvh9.cjs.map → api-schema-manifest-hPT7_FSw.cjs.map} +1 -1
- package/dist/{background-tasks-BIuEr2of.js → background-tasks-CYvlxFz3.js} +6 -2
- package/dist/background-tasks-CYvlxFz3.js.map +1 -0
- package/dist/{background-tasks-BXTIp0QV.cjs → background-tasks-Dv9o8cR7.cjs} +6 -2
- package/dist/background-tasks-Dv9o8cR7.cjs.map +1 -0
- package/dist/{builder-registry-Dd7pbJ5A.js → builder-registry-BmrttdGj.js} +3 -3
- package/dist/{builder-registry-Dd7pbJ5A.js.map → builder-registry-BmrttdGj.js.map} +1 -1
- package/dist/{builder-registry-DrBUA6EZ.cjs → builder-registry-CmbtZzbE.cjs} +3 -3
- package/dist/{builder-registry-DrBUA6EZ.cjs.map → builder-registry-CmbtZzbE.cjs.map} +1 -1
- package/dist/{channels-DbfSH5O2.cjs → channels-CXwFVxi2.cjs} +2 -2
- package/dist/{channels-DbfSH5O2.cjs.map → channels-CXwFVxi2.cjs.map} +1 -1
- package/dist/{channels-B6hwVMbV.js → channels-KHhb7hAm.js} +2 -2
- package/dist/{channels-B6hwVMbV.js.map → channels-KHhb7hAm.js.map} +1 -1
- package/dist/{conversations-QuKJVEFe.cjs → conversations-BFqmDglO.cjs} +3 -3
- package/dist/{conversations-QuKJVEFe.cjs.map → conversations-BFqmDglO.cjs.map} +1 -1
- package/dist/{conversations-BbZYXKIa.js → conversations-BkX00xDs.js} +3 -3
- package/dist/{conversations-BbZYXKIa.js.map → conversations-BkX00xDs.js.map} +1 -1
- package/dist/{datasets--F0QkdGX.js → datasets-C1XJLHN8.js} +6 -1
- package/dist/datasets-C1XJLHN8.js.map +1 -0
- package/dist/{datasets-BiEAIm0s.cjs → datasets-hqDd4IUN.cjs} +6 -1
- package/dist/datasets-hqDd4IUN.cjs.map +1 -0
- package/dist/{dist-ZYvqJK9p.cjs → dist-3WMLkPSs.cjs} +1 -1
- package/dist/dist-4NnakSte.js +1 -0
- package/dist/{dist-Ctfk9X6u.cjs → dist-COfASzWw.cjs} +206 -304
- package/dist/dist-COfASzWw.cjs.map +1 -0
- package/dist/{dist-OKFDPspq.js → dist-G8g-Cg67.js} +202 -300
- package/dist/dist-G8g-Cg67.js.map +1 -0
- package/dist/docs/SKILL.md +3 -1
- package/dist/docs/assets/SOURCE_MAP.json +1 -1
- package/dist/docs/references/docs-agents-resumable-streams.md +140 -0
- package/dist/docs/references/docs-server-custom-adapters.md +40 -11
- package/dist/docs/references/docs-server-middleware.md +1 -1
- package/dist/docs/references/docs-server-server-adapters.md +679 -0
- package/dist/docs/references/reference-observability-tracing-advanced-queries.md +49 -59
- package/dist/{dynamic-workflows-CyaZLmHX.js → dynamic-workflows-CYtakeIQ.js} +2 -2
- package/dist/{dynamic-workflows-CyaZLmHX.js.map → dynamic-workflows-CYtakeIQ.js.map} +1 -1
- package/dist/{dynamic-workflows-ZmzWJXxG.cjs → dynamic-workflows-QgKLYkiC.cjs} +2 -2
- package/dist/{dynamic-workflows-ZmzWJXxG.cjs.map → dynamic-workflows-QgKLYkiC.cjs.map} +1 -1
- package/dist/{editor-builder-CbfX5bvL.js → editor-builder-C4H2l6tz.js} +4 -4
- package/dist/{editor-builder-CbfX5bvL.js.map → editor-builder-C4H2l6tz.js.map} +1 -1
- package/dist/{editor-builder-CjJlqR9a.cjs → editor-builder-Cqw1npOK.cjs} +4 -4
- package/dist/{editor-builder-CjJlqR9a.cjs.map → editor-builder-Cqw1npOK.cjs.map} +1 -1
- package/dist/{editor-builder-Bln4Pg1U.js → editor-builder-fe70YP8g.js} +2 -2
- package/dist/{editor-builder-Bln4Pg1U.js.map → editor-builder-fe70YP8g.js.map} +1 -1
- package/dist/{editor-builder-BaI8pttR.cjs → editor-builder-xQmDgVgJ.cjs} +2 -2
- package/dist/{editor-builder-BaI8pttR.cjs.map → editor-builder-xQmDgVgJ.cjs.map} +1 -1
- package/dist/{helpers-CylvUIZm.cjs → helpers-0LJI4DxR.cjs} +190 -55
- package/dist/helpers-0LJI4DxR.cjs.map +1 -0
- package/dist/{helpers-B29a1nM3.js → helpers-C9QZKOhz.js} +185 -56
- package/dist/helpers-C9QZKOhz.js.map +1 -0
- package/dist/{knowledge-Q_SCnD9m.cjs → knowledge-CRkWkTBC.cjs} +2 -2
- package/dist/{knowledge-Q_SCnD9m.cjs.map → knowledge-CRkWkTBC.cjs.map} +1 -1
- package/dist/{knowledge-Cd2cCq-Y.js → knowledge-Dfe_CFtt.js} +2 -2
- package/dist/{knowledge-Cd2cCq-Y.js.map → knowledge-Dfe_CFtt.js.map} +1 -1
- package/dist/{logs-DWIbFIw6.cjs → logs-B2ov1yZQ.cjs} +2 -2
- package/dist/{logs-DWIbFIw6.cjs.map → logs-B2ov1yZQ.cjs.map} +1 -1
- package/dist/{logs-C5L6gRGr.js → logs-Dg2AWexF.js} +2 -2
- package/dist/{logs-C5L6gRGr.js.map → logs-Dg2AWexF.js.map} +1 -1
- package/dist/{mcp-CKvOVfHn.cjs → mcp-Bon4eIV1.cjs} +2 -2
- package/dist/{mcp-CKvOVfHn.cjs.map → mcp-Bon4eIV1.cjs.map} +1 -1
- package/dist/{mcp-CntC59iU.js → mcp-bsPRIGFX.js} +2 -2
- package/dist/{mcp-CntC59iU.js.map → mcp-bsPRIGFX.js.map} +1 -1
- package/dist/{memory-DIos0BE-.cjs → memory-BRE3ofvI.cjs} +109 -45
- package/dist/memory-BRE3ofvI.cjs.map +1 -0
- package/dist/{memory-JzgWJevA.js → memory-Dw7xG5nn.js} +109 -45
- package/dist/memory-Dw7xG5nn.js.map +1 -0
- package/dist/{observability-BCTkIhJT.js → observability-BYIy4kPf.js} +5 -3
- package/dist/{observability-BCTkIhJT.js.map → observability-BYIy4kPf.js.map} +1 -1
- package/dist/{observability-mnHHbnoc.cjs → observability-DHJ7mzoE.cjs} +5 -3
- package/dist/{observability-mnHHbnoc.cjs.map → observability-DHJ7mzoE.cjs.map} +1 -1
- package/dist/{observability-new-endpoints-B6fo20v5.cjs → observability-new-endpoints-BOe3wej1.cjs} +229 -99
- package/dist/observability-new-endpoints-BOe3wej1.cjs.map +1 -0
- package/dist/{observability-new-endpoints-DHn8uKyr.js → observability-new-endpoints-COy7lpeR.js} +136 -18
- package/dist/observability-new-endpoints-COy7lpeR.js.map +1 -0
- package/dist/{plans-9hdkc-t8.js → plans-D_GKFz2x.js} +4 -4
- package/dist/{plans-9hdkc-t8.js.map → plans-D_GKFz2x.js.map} +1 -1
- package/dist/{plans-DMs8SVBG.cjs → plans-_nR8lqgD.cjs} +4 -4
- package/dist/{plans-DMs8SVBG.cjs.map → plans-_nR8lqgD.cjs.map} +1 -1
- package/dist/{probe-image-size-Cxm5QtwO.js → probe-image-size-C2b8QfA7.js} +2 -2
- package/dist/{probe-image-size-Cxm5QtwO.js.map → probe-image-size-C2b8QfA7.js.map} +1 -1
- package/dist/{probe-image-size-bDuzMW0E.cjs → probe-image-size-DLuC8QsM.cjs} +2 -2
- package/dist/{probe-image-size-bDuzMW0E.cjs.map → probe-image-size-DLuC8QsM.cjs.map} +1 -1
- package/dist/{responses-B5_syoSo.js → responses-C_OEJoxU.js} +3 -3
- package/dist/{responses-B5_syoSo.js.map → responses-C_OEJoxU.js.map} +1 -1
- package/dist/{responses-CNKJoC5a.cjs → responses-CdWbS4jA.cjs} +3 -3
- package/dist/{responses-CNKJoC5a.cjs.map → responses-CdWbS4jA.cjs.map} +1 -1
- package/dist/{route-builder-DHqDrSSy.cjs → route-builder-B9C5vT54.cjs} +4 -4
- package/dist/{route-builder-DHqDrSSy.cjs.map → route-builder-B9C5vT54.cjs.map} +1 -1
- package/dist/{route-builder-BKEzjw_M.js → route-builder-DfDT1g4L.js} +2 -2
- package/dist/{route-builder-BKEzjw_M.js.map → route-builder-DfDT1g4L.js.map} +1 -1
- package/dist/{routes-C0pgNcG-.js → routes-BR7W0b_u.js} +28 -26
- package/dist/routes-BR7W0b_u.js.map +1 -0
- package/dist/{routes-BYQ38dFx.cjs → routes-Brf5Qfbu.cjs} +28 -26
- package/dist/routes-Brf5Qfbu.cjs.map +1 -0
- package/dist/{schedules-CvWX2yKR.cjs → schedules-BQvnAe1j.cjs} +50 -12
- package/dist/schedules-BQvnAe1j.cjs.map +1 -0
- package/dist/{schedules-D9CKB18-.js → schedules-BcAIELfB.js} +50 -12
- package/dist/schedules-BcAIELfB.js.map +1 -0
- package/dist/{schema-Bf12g7KC-5EUrrnSf.js → schema-xsUy1mlm-CAPin6jE.js} +303 -6
- package/dist/{schema-Bf12g7KC-5EUrrnSf.js.map → schema-xsUy1mlm-CAPin6jE.js.map} +1 -1
- package/dist/{schema-Bf12g7KC-C5XzpQxe.cjs → schema-xsUy1mlm-pvZI8YC0.cjs} +303 -6
- package/dist/{schema-Bf12g7KC-C5XzpQxe.cjs.map → schema-xsUy1mlm-pvZI8YC0.cjs.map} +1 -1
- package/dist/{scorer-versions-vQVWyYWA.cjs → scorer-versions-Bhdvt-cX.cjs} +2 -2
- package/dist/{scorer-versions-vQVWyYWA.cjs.map → scorer-versions-Bhdvt-cX.cjs.map} +1 -1
- package/dist/{scorer-versions-BZ58s09W.js → scorer-versions-DhT7Lj33.js} +2 -2
- package/dist/{scorer-versions-BZ58s09W.js.map → scorer-versions-DhT7Lj33.js.map} +1 -1
- package/dist/{scores-Dxa8dDfV.cjs → scores-DEvPN0kz.cjs} +3 -3
- package/dist/{scores-Dxa8dDfV.cjs.map → scores-DEvPN0kz.cjs.map} +1 -1
- package/dist/{scores-B3mS6vqB.js → scores-Dm0yu1Pt.js} +3 -3
- package/dist/{scores-B3mS6vqB.js.map → scores-Dm0yu1Pt.js.map} +1 -1
- package/dist/server/auth/custom-route-matcher.d.ts +54 -0
- package/dist/server/auth/custom-route-matcher.d.ts.map +1 -0
- package/dist/server/auth/helpers.d.ts +14 -5
- package/dist/server/auth/helpers.d.ts.map +1 -1
- package/dist/server/auth/index.cjs +1 -1
- package/dist/server/auth/index.js +1 -1
- package/dist/server/auth/path-pattern.d.ts.map +1 -1
- package/dist/server/handlers/a2a.cjs +1 -1
- package/dist/server/handlers/a2a.js +1 -1
- package/dist/server/handlers/agent-builder.cjs +1 -1
- package/dist/server/handlers/agent-builder.js +1 -1
- package/dist/server/handlers/agent-controller.cjs +30 -6
- package/dist/server/handlers/agent-controller.cjs.map +1 -1
- package/dist/server/handlers/agent-controller.d.ts.map +1 -1
- package/dist/server/handlers/agent-controller.js +30 -6
- package/dist/server/handlers/agent-controller.js.map +1 -1
- package/dist/server/handlers/agent-versions.cjs +3 -3
- package/dist/server/handlers/agent-versions.js +3 -3
- package/dist/server/handlers/agents.cjs +1 -1
- package/dist/server/handlers/agents.d.ts.map +1 -1
- package/dist/server/handlers/agents.js +1 -1
- package/dist/server/handlers/auth.cjs +2 -2
- package/dist/server/handlers/auth.js +2 -2
- package/dist/server/handlers/background-tasks.cjs +1 -1
- package/dist/server/handlers/background-tasks.d.ts.map +1 -1
- package/dist/server/handlers/background-tasks.js +1 -1
- package/dist/server/handlers/builder-registry.cjs +1 -1
- package/dist/server/handlers/builder-registry.js +1 -1
- package/dist/server/handlers/channels.cjs +1 -1
- package/dist/server/handlers/channels.js +1 -1
- package/dist/server/handlers/conversations.cjs +1 -1
- package/dist/server/handlers/conversations.js +1 -1
- package/dist/server/handlers/datasets.cjs +30 -8
- package/dist/server/handlers/datasets.cjs.map +1 -1
- package/dist/server/handlers/datasets.d.ts +28 -2
- package/dist/server/handlers/datasets.d.ts.map +1 -1
- package/dist/server/handlers/datasets.js +30 -8
- package/dist/server/handlers/datasets.js.map +1 -1
- package/dist/server/handlers/dynamic-workflows.cjs +1 -1
- package/dist/server/handlers/dynamic-workflows.js +1 -1
- package/dist/server/handlers/editor-builder.cjs +1 -1
- package/dist/server/handlers/editor-builder.js +1 -1
- package/dist/server/handlers/error.cjs +2 -0
- package/dist/server/handlers/error.cjs.map +1 -1
- package/dist/server/handlers/error.d.ts.map +1 -1
- package/dist/server/handlers/error.js +2 -0
- package/dist/server/handlers/error.js.map +1 -1
- package/dist/server/handlers/favorites-enrichment.cjs +1 -1
- package/dist/server/handlers/favorites-enrichment.js +1 -1
- package/dist/server/handlers/knowledge.cjs +1 -1
- package/dist/server/handlers/knowledge.js +1 -1
- package/dist/server/handlers/logs.cjs +1 -1
- package/dist/server/handlers/logs.js +1 -1
- package/dist/server/handlers/mcp-client-versions.cjs +2 -2
- package/dist/server/handlers/mcp-client-versions.js +2 -2
- package/dist/server/handlers/mcp.cjs +1 -1
- package/dist/server/handlers/mcp.js +1 -1
- package/dist/server/handlers/memory.cjs +1 -1
- package/dist/server/handlers/memory.d.ts.map +1 -1
- package/dist/server/handlers/memory.js +1 -1
- package/dist/server/handlers/observability-export.cjs +66 -0
- package/dist/server/handlers/observability-export.cjs.map +1 -0
- package/dist/server/handlers/observability-export.d.ts +12 -0
- package/dist/server/handlers/observability-export.d.ts.map +1 -0
- package/dist/server/handlers/observability-export.js +62 -0
- package/dist/server/handlers/observability-export.js.map +1 -0
- package/dist/server/handlers/observability-new-endpoints.cjs +3 -1
- package/dist/server/handlers/observability-new-endpoints.d.ts +602 -2
- package/dist/server/handlers/observability-new-endpoints.d.ts.map +1 -1
- package/dist/server/handlers/observability-new-endpoints.js +1 -1
- package/dist/server/handlers/observability-shared.cjs +35 -3
- package/dist/server/handlers/observability-shared.cjs.map +1 -1
- package/dist/server/handlers/observability-shared.d.ts +23 -0
- package/dist/server/handlers/observability-shared.d.ts.map +1 -1
- package/dist/server/handlers/observability-shared.js +34 -4
- package/dist/server/handlers/observability-shared.js.map +1 -1
- package/dist/server/handlers/observability-signal-context.cjs +69 -2
- package/dist/server/handlers/observability-signal-context.cjs.map +1 -0
- package/dist/server/handlers/observability-signal-context.js +70 -1
- package/dist/server/handlers/observability-signal-context.js.map +1 -0
- package/dist/server/handlers/observability.cjs +4 -2
- package/dist/server/handlers/observability.js +3 -3
- package/dist/server/handlers/plans.cjs +1 -1
- package/dist/server/handlers/plans.js +1 -1
- package/dist/server/handlers/processor-providers.cjs +1 -1
- package/dist/server/handlers/processor-providers.js +1 -1
- package/dist/server/handlers/processors.cjs +1 -1
- package/dist/server/handlers/processors.js +1 -1
- package/dist/server/handlers/prompt-block-versions.cjs +2 -2
- package/dist/server/handlers/prompt-block-versions.js +2 -2
- package/dist/server/handlers/responses.cjs +1 -1
- package/dist/server/handlers/responses.d.ts +11 -11
- package/dist/server/handlers/responses.js +1 -1
- package/dist/server/handlers/schedules.cjs +1 -1
- package/dist/server/handlers/schedules.d.ts +88 -28
- package/dist/server/handlers/schedules.d.ts.map +1 -1
- package/dist/server/handlers/schedules.js +1 -1
- package/dist/server/handlers/scorer-versions.cjs +3 -3
- package/dist/server/handlers/scorer-versions.js +3 -3
- package/dist/server/handlers/scores.cjs +1 -1
- package/dist/server/handlers/scores.js +1 -1
- package/dist/server/handlers/stored-agent-favorites.cjs +4 -4
- package/dist/server/handlers/stored-agent-favorites.js +4 -4
- package/dist/server/handlers/stored-agents.cjs +6 -5
- package/dist/server/handlers/stored-agents.cjs.map +1 -1
- package/dist/server/handlers/stored-agents.d.ts +2 -6
- package/dist/server/handlers/stored-agents.d.ts.map +1 -1
- package/dist/server/handlers/stored-agents.js +6 -5
- package/dist/server/handlers/stored-agents.js.map +1 -1
- package/dist/server/handlers/stored-mcp-clients.cjs +2 -2
- package/dist/server/handlers/stored-mcp-clients.js +2 -2
- package/dist/server/handlers/stored-prompt-blocks.cjs +2 -2
- package/dist/server/handlers/stored-prompt-blocks.js +2 -2
- package/dist/server/handlers/stored-scorers.cjs +3 -3
- package/dist/server/handlers/stored-scorers.js +3 -3
- package/dist/server/handlers/stored-skill-favorites.cjs +3 -3
- package/dist/server/handlers/stored-skill-favorites.js +3 -3
- package/dist/server/handlers/stored-skills.cjs +3 -3
- package/dist/server/handlers/stored-skills.js +3 -3
- package/dist/server/handlers/stored-workspaces.cjs +2 -2
- package/dist/server/handlers/stored-workspaces.js +2 -2
- package/dist/server/handlers/system.cjs +3 -3
- package/dist/server/handlers/system.d.ts +10 -0
- package/dist/server/handlers/system.d.ts.map +1 -1
- package/dist/server/handlers/system.js +3 -3
- package/dist/server/handlers/tool-providers.cjs +1 -1
- package/dist/server/handlers/tool-providers.js +1 -1
- package/dist/server/handlers/tools.cjs +1 -1
- package/dist/server/handlers/tools.js +1 -1
- package/dist/server/handlers/validate-agent-instructions.cjs +1 -1
- package/dist/server/handlers/validate-agent-instructions.js +1 -1
- package/dist/server/handlers/vector.cjs +1 -1
- package/dist/server/handlers/vector.js +1 -1
- package/dist/server/handlers/workflow-builder.cjs +1 -1
- package/dist/server/handlers/workflow-builder.js +1 -1
- package/dist/server/handlers/workflows.cjs +1 -1
- package/dist/server/handlers/workflows.js +1 -1
- package/dist/server/handlers/workspace.cjs +1 -1
- package/dist/server/handlers/workspace.d.ts +23 -23
- package/dist/server/handlers/workspace.js +1 -1
- package/dist/server/handlers.cjs +16 -16
- package/dist/server/handlers.js +16 -16
- package/dist/server/schemas/agents.d.ts.map +1 -1
- package/dist/server/schemas/datasets.d.ts +10 -0
- package/dist/server/schemas/datasets.d.ts.map +1 -1
- package/dist/server/schemas/feedback.d.ts +49 -0
- package/dist/server/schemas/feedback.d.ts.map +1 -1
- package/dist/server/schemas/index.cjs +8 -8
- package/dist/server/schemas/index.js +8 -8
- package/dist/server/schemas/schedules.d.ts +26 -8
- package/dist/server/schemas/schedules.d.ts.map +1 -1
- package/dist/server/schemas/stored-agents.d.ts +5 -10
- package/dist/server/schemas/stored-agents.d.ts.map +1 -1
- package/dist/server/schemas/system.d.ts +10 -0
- package/dist/server/schemas/system.d.ts.map +1 -1
- package/dist/server/server-adapter/api-schema-manifest.d.ts +1 -1
- package/dist/server/server-adapter/index.cjs +167 -7
- package/dist/server/server-adapter/index.cjs.map +1 -1
- package/dist/server/server-adapter/index.d.ts +35 -0
- package/dist/server/server-adapter/index.d.ts.map +1 -1
- package/dist/server/server-adapter/index.js +166 -8
- package/dist/server/server-adapter/index.js.map +1 -1
- package/dist/server/server-adapter/openapi-utils.d.ts +1 -1
- package/dist/server/server-adapter/routes/conversations.d.ts +3 -3
- package/dist/server/server-adapter/routes/datasets.d.ts +28 -2
- package/dist/server/server-adapter/routes/datasets.d.ts.map +1 -1
- package/dist/server/server-adapter/routes/observability.d.ts +299 -1
- package/dist/server/server-adapter/routes/observability.d.ts.map +1 -1
- package/dist/server/server-adapter/routes/system.d.ts +10 -0
- package/dist/server/server-adapter/routes/system.d.ts.map +1 -1
- package/dist/server/server-adapter/stream-disconnect.d.ts +24 -0
- package/dist/server/server-adapter/stream-disconnect.d.ts.map +1 -0
- package/dist/server/utils/agent-stream-events.d.ts +2 -0
- package/dist/server/utils/agent-stream-events.d.ts.map +1 -1
- package/dist/{observability-signal-context-CL5-rCWM.js → storage-CVkNJ5eB.js} +15 -69
- package/dist/storage-CVkNJ5eB.js.map +1 -0
- package/dist/{observability-signal-context-BYOFtbM_.cjs → storage-mEqRYYDg.cjs} +22 -70
- package/dist/storage-mEqRYYDg.cjs.map +1 -0
- package/dist/{stored-agents-DA8Zx6o9.js → stored-agents-DmN_pIIl.js} +10 -10
- package/dist/stored-agents-DmN_pIIl.js.map +1 -0
- package/dist/{stored-agents-TQ2lIFbx.cjs → stored-agents-m0Knvv29.cjs} +10 -10
- package/dist/stored-agents-m0Knvv29.cjs.map +1 -0
- package/dist/{stored-scorers-DhOq8ZQC.js → stored-scorers-2F2k6XSx.js} +2 -2
- package/dist/{stored-scorers-DhOq8ZQC.js.map → stored-scorers-2F2k6XSx.js.map} +1 -1
- package/dist/{stored-scorers-FJOs5774.cjs → stored-scorers-iM2Qq9Nh.cjs} +2 -2
- package/dist/{stored-scorers-FJOs5774.cjs.map → stored-scorers-iM2Qq9Nh.cjs.map} +1 -1
- package/dist/{system-DT0pqJSk.js → system-DlW760k2.js} +6 -1
- package/dist/system-DlW760k2.js.map +1 -0
- package/dist/{system-eeBLPCu1.cjs → system-zL047vEq.cjs} +6 -1
- package/dist/system-zL047vEq.cjs.map +1 -0
- package/dist/{tools-Ce7SFoT1.js → tools-BJFq9JKF.js} +6 -6
- package/dist/{tools-Ce7SFoT1.js.map → tools-BJFq9JKF.js.map} +1 -1
- package/dist/{tools-C9W7WvyI.cjs → tools-Daot5Zgz.cjs} +7 -7
- package/dist/{tools-C9W7WvyI.cjs.map → tools-Daot5Zgz.cjs.map} +1 -1
- package/dist/{utils-CL-m2SWZ.cjs → utils-DptI_ERr.cjs} +5 -5
- package/dist/{utils-CL-m2SWZ.cjs.map → utils-DptI_ERr.cjs.map} +1 -1
- package/dist/{utils-y-cW3mQU.js → utils-yedETkNk.js} +2 -2
- package/dist/{utils-y-cW3mQU.js.map → utils-yedETkNk.js.map} +1 -1
- package/dist/{vector-BWFSDXvg.js → vector-CZ26vo6u.js} +2 -2
- package/dist/{vector-BWFSDXvg.js.map → vector-CZ26vo6u.js.map} +1 -1
- package/dist/{vector-6k7Ft7EX.cjs → vector-DBe45tnv.cjs} +2 -2
- package/dist/{vector-6k7Ft7EX.cjs.map → vector-DBe45tnv.cjs.map} +1 -1
- package/dist/{workflow-builder-BNk301jl.js → workflow-builder-C5ufahUw.js} +4 -4
- package/dist/{workflow-builder-BNk301jl.js.map → workflow-builder-C5ufahUw.js.map} +1 -1
- package/dist/{workflow-builder-CsOEskDo.cjs → workflow-builder-CkrdTcoM.cjs} +4 -4
- package/dist/{workflow-builder-CsOEskDo.cjs.map → workflow-builder-CkrdTcoM.cjs.map} +1 -1
- package/dist/{workflows-CJz5Eh0B.cjs → workflows-B5uWFrJ1.cjs} +4 -4
- package/dist/{workflows-CJz5Eh0B.cjs.map → workflows-B5uWFrJ1.cjs.map} +1 -1
- package/dist/{workflows-BAFGmHCW.js → workflows-C_Mqj_80.js} +4 -4
- package/dist/{workflows-BAFGmHCW.js.map → workflows-C_Mqj_80.js.map} +1 -1
- package/dist/{workspace-CYwDvH0G.js → workspace-BwlPQO3M.js} +2 -2
- package/dist/{workspace-CYwDvH0G.js.map → workspace-BwlPQO3M.js.map} +1 -1
- package/dist/{workspace-C7PytFzz.cjs → workspace-CD9pQ61P.cjs} +2 -2
- package/dist/{workspace-C7PytFzz.cjs.map → workspace-CD9pQ61P.cjs.map} +1 -1
- package/package.json +6 -7
- package/dist/agents-BI8ez-FT.js.map +0 -1
- package/dist/agents-DsfsDhIT.cjs.map +0 -1
- package/dist/background-tasks-BIuEr2of.js.map +0 -1
- package/dist/background-tasks-BXTIp0QV.cjs.map +0 -1
- package/dist/datasets--F0QkdGX.js.map +0 -1
- package/dist/datasets-BiEAIm0s.cjs.map +0 -1
- package/dist/dist-Ctfk9X6u.cjs.map +0 -1
- package/dist/dist-DJjVMQiv.js +0 -1
- package/dist/dist-OKFDPspq.js.map +0 -1
- package/dist/helpers-B29a1nM3.js.map +0 -1
- package/dist/helpers-CylvUIZm.cjs.map +0 -1
- package/dist/memory-DIos0BE-.cjs.map +0 -1
- package/dist/memory-JzgWJevA.js.map +0 -1
- package/dist/observability-new-endpoints-B6fo20v5.cjs.map +0 -1
- package/dist/observability-new-endpoints-DHn8uKyr.js.map +0 -1
- package/dist/observability-signal-context-BYOFtbM_.cjs.map +0 -1
- package/dist/observability-signal-context-CL5-rCWM.js.map +0 -1
- package/dist/routes-BYQ38dFx.cjs.map +0 -1
- package/dist/routes-C0pgNcG-.js.map +0 -1
- package/dist/schedules-CvWX2yKR.cjs.map +0 -1
- package/dist/schedules-D9CKB18-.js.map +0 -1
- package/dist/stored-agents-DA8Zx6o9.js.map +0 -1
- package/dist/stored-agents-TQ2lIFbx.cjs.map +0 -1
- package/dist/system-DT0pqJSk.js.map +0 -1
- package/dist/system-eeBLPCu1.cjs.map +0 -1
- /package/dist/_types/{@mastra_schema-compat@1.3.17 → @mastra_schema-compat@1.4.0-alpha.1}/dist/_types/@internal_ai-sdk-v4@0.0.95/dist/index.d.ts +0 -0
- /package/dist/_types/{@mastra_schema-compat@1.3.17 → @mastra_schema-compat@1.4.0-alpha.1}/dist/_types/@internal_ai-sdk-v5@0.0.95/dist/index.d.ts +0 -0
- /package/dist/_types/{@mastra_schema-compat@1.3.17 → @mastra_schema-compat@1.4.0-alpha.1}/dist/_types/@internal_ai-v6@0.0.95/dist/index.d.ts +0 -0
- /package/dist/_types/{@mastra_schema-compat@1.3.17 → @mastra_schema-compat@1.4.0-alpha.1}/dist/_types/@standard-schema_spec@1.1.0/dist/index.d.ts +0 -0
- /package/dist/_types/{@mastra_schema-compat@1.3.17 → @mastra_schema-compat@1.4.0-alpha.1}/dist/_types/@types_json-schema@7.0.15/index.d.ts +0 -0
- /package/dist/_types/{@mastra_schema-compat@1.3.17 → @mastra_schema-compat@1.4.0-alpha.1}/dist/index.d.ts +0 -0
- /package/dist/_types/{@mastra_schema-compat@1.3.17 → @mastra_schema-compat@1.4.0-alpha.1}/dist/null-to-undefined.d.ts +0 -0
- /package/dist/_types/{@mastra_schema-compat@1.3.17 → @mastra_schema-compat@1.4.0-alpha.1}/dist/provider-compats/anthropic.d.ts +0 -0
- /package/dist/_types/{@mastra_schema-compat@1.3.17 → @mastra_schema-compat@1.4.0-alpha.1}/dist/provider-compats/deepseek.d.ts +0 -0
- /package/dist/_types/{@mastra_schema-compat@1.3.17 → @mastra_schema-compat@1.4.0-alpha.1}/dist/provider-compats/google.d.ts +0 -0
- /package/dist/_types/{@mastra_schema-compat@1.3.17 → @mastra_schema-compat@1.4.0-alpha.1}/dist/provider-compats/meta.d.ts +0 -0
- /package/dist/_types/{@mastra_schema-compat@1.3.17 → @mastra_schema-compat@1.4.0-alpha.1}/dist/provider-compats/openai-reasoning.d.ts +0 -0
- /package/dist/_types/{@mastra_schema-compat@1.3.17 → @mastra_schema-compat@1.4.0-alpha.1}/dist/provider-compats/openai.d.ts +0 -0
- /package/dist/_types/{@mastra_schema-compat@1.3.17 → @mastra_schema-compat@1.4.0-alpha.1}/dist/schema-compatibility-v3.d.ts +0 -0
- /package/dist/_types/{@mastra_schema-compat@1.3.17 → @mastra_schema-compat@1.4.0-alpha.1}/dist/schema-compatibility-v4.d.ts +0 -0
- /package/dist/_types/{@mastra_schema-compat@1.3.17 → @mastra_schema-compat@1.4.0-alpha.1}/dist/schema-compatibility.d.ts +0 -0
- /package/dist/_types/{@mastra_schema-compat@1.3.17 → @mastra_schema-compat@1.4.0-alpha.1}/dist/schema.d.ts +0 -0
- /package/dist/_types/{@mastra_schema-compat@1.3.17 → @mastra_schema-compat@1.4.0-alpha.1}/dist/schema.types.d.ts +0 -0
- /package/dist/_types/{@mastra_schema-compat@1.3.17 → @mastra_schema-compat@1.4.0-alpha.1}/dist/standard-schema/standard-schema.d.ts +0 -0
- /package/dist/_types/{@mastra_schema-compat@1.3.17 → @mastra_schema-compat@1.4.0-alpha.1}/dist/standard-schema/standard-schema.types.d.ts +0 -0
- /package/dist/_types/{@mastra_schema-compat@1.3.17 → @mastra_schema-compat@1.4.0-alpha.1}/dist/standard-schema-compat.d.ts +0 -0
- /package/dist/_types/{@mastra_schema-compat@1.3.17 → @mastra_schema-compat@1.4.0-alpha.1}/dist/types.d.ts +0 -0
- /package/dist/_types/{@mastra_schema-compat@1.3.17 → @mastra_schema-compat@1.4.0-alpha.1}/dist/utils.d.ts +0 -0
- /package/dist/_types/{@mastra_schema-compat@1.3.17 → @mastra_schema-compat@1.4.0-alpha.1}/dist/zod-to-json.d.ts +0 -0
- /package/dist/_types/{@mastra_schema-compat@1.3.17 → @mastra_schema-compat@1.4.0-alpha.1}/package.json +0 -0
|
@@ -9,6 +9,8 @@ export declare const QUERY_TRACES: Omit<import("@mastra/core/server").ApiRoute,
|
|
|
9
9
|
streamFormat?: 'sse' | 'stream';
|
|
10
10
|
sseFlushOnConnect?: boolean;
|
|
11
11
|
handler(params: {
|
|
12
|
+
rootSource?: "aggregated" | "legacy" | undefined;
|
|
13
|
+
textSearch?: string | undefined;
|
|
12
14
|
timeRange: {
|
|
13
15
|
from: string;
|
|
14
16
|
to: string;
|
|
@@ -36,6 +38,9 @@ export declare const QUERY_TRACES: Omit<import("@mastra/core/server").ApiRoute,
|
|
|
36
38
|
traces: {
|
|
37
39
|
traceId: string;
|
|
38
40
|
rootSpanId: string;
|
|
41
|
+
rootKind?: "external" | "native" | undefined;
|
|
42
|
+
runtimeDurationMs?: number | null | undefined;
|
|
43
|
+
errorCount?: number | null | undefined;
|
|
39
44
|
name: string;
|
|
40
45
|
entityId: string | null;
|
|
41
46
|
parentSpanId: string | null;
|
|
@@ -65,6 +70,9 @@ export declare const QUERY_TRACES: Omit<import("@mastra/core/server").ApiRoute,
|
|
|
65
70
|
traces: {
|
|
66
71
|
traceId: string;
|
|
67
72
|
rootSpanId: string;
|
|
73
|
+
rootKind?: "external" | "native" | undefined;
|
|
74
|
+
runtimeDurationMs?: number | null | undefined;
|
|
75
|
+
errorCount?: number | null | undefined;
|
|
68
76
|
name: string;
|
|
69
77
|
entityId: string | null;
|
|
70
78
|
parentSpanId: string | null;
|
|
@@ -98,6 +106,9 @@ export declare const QUERY_TRACES: Omit<import("@mastra/core/server").ApiRoute,
|
|
|
98
106
|
traces: {
|
|
99
107
|
traceId: string;
|
|
100
108
|
rootSpanId: string;
|
|
109
|
+
rootKind?: "external" | "native" | undefined;
|
|
110
|
+
runtimeDurationMs?: number | null | undefined;
|
|
111
|
+
errorCount?: number | null | undefined;
|
|
101
112
|
name: string;
|
|
102
113
|
entityId: string | null;
|
|
103
114
|
parentSpanId: string | null;
|
|
@@ -144,6 +155,11 @@ export declare const QUERY_TRACES: Omit<import("@mastra/core/server").ApiRoute,
|
|
|
144
155
|
fga?: import("@mastra/core/auth").FGARouteConfig;
|
|
145
156
|
onValidationError?: ValidationErrorHook;
|
|
146
157
|
readonly __schemas?: import("../server-adapter").RouteSchemas<undefined, undefined, z.ZodPreprocess<z.ZodObject<{
|
|
158
|
+
rootSource: z.ZodOptional<z.ZodEnum<{
|
|
159
|
+
aggregated: "aggregated";
|
|
160
|
+
legacy: "legacy";
|
|
161
|
+
}>>;
|
|
162
|
+
textSearch: z.ZodOptional<z.ZodString>;
|
|
147
163
|
timeRange: z.ZodObject<{
|
|
148
164
|
from: z.ZodString;
|
|
149
165
|
to: z.ZodString;
|
|
@@ -179,6 +195,12 @@ export declare const QUERY_TRACES: Omit<import("@mastra/core/server").ApiRoute,
|
|
|
179
195
|
traces: z.ZodArray<z.ZodObject<{
|
|
180
196
|
traceId: z.ZodString;
|
|
181
197
|
rootSpanId: z.ZodString;
|
|
198
|
+
rootKind: z.ZodOptional<z.ZodEnum<{
|
|
199
|
+
external: "external";
|
|
200
|
+
native: "native";
|
|
201
|
+
}>>;
|
|
202
|
+
runtimeDurationMs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
203
|
+
errorCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
182
204
|
name: z.ZodString;
|
|
183
205
|
entityId: z.ZodNullable<z.ZodString>;
|
|
184
206
|
parentSpanId: z.ZodNullable<z.ZodString>;
|
|
@@ -211,6 +233,12 @@ export declare const QUERY_TRACES: Omit<import("@mastra/core/server").ApiRoute,
|
|
|
211
233
|
traces: z.ZodArray<z.ZodObject<{
|
|
212
234
|
traceId: z.ZodString;
|
|
213
235
|
rootSpanId: z.ZodString;
|
|
236
|
+
rootKind: z.ZodOptional<z.ZodEnum<{
|
|
237
|
+
external: "external";
|
|
238
|
+
native: "native";
|
|
239
|
+
}>>;
|
|
240
|
+
runtimeDurationMs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
241
|
+
errorCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
214
242
|
name: z.ZodString;
|
|
215
243
|
entityId: z.ZodNullable<z.ZodString>;
|
|
216
244
|
parentSpanId: z.ZodNullable<z.ZodString>;
|
|
@@ -247,6 +275,12 @@ export declare const QUERY_TRACES: Omit<import("@mastra/core/server").ApiRoute,
|
|
|
247
275
|
traces: z.ZodArray<z.ZodObject<{
|
|
248
276
|
traceId: z.ZodString;
|
|
249
277
|
rootSpanId: z.ZodString;
|
|
278
|
+
rootKind: z.ZodOptional<z.ZodEnum<{
|
|
279
|
+
external: "external";
|
|
280
|
+
native: "native";
|
|
281
|
+
}>>;
|
|
282
|
+
runtimeDurationMs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
283
|
+
errorCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
250
284
|
name: z.ZodString;
|
|
251
285
|
entityId: z.ZodNullable<z.ZodString>;
|
|
252
286
|
parentSpanId: z.ZodNullable<z.ZodString>;
|
|
@@ -620,8 +654,9 @@ export declare const QUERY_SPANS: Omit<import("@mastra/core/server").ApiRoute, "
|
|
|
620
654
|
to: string;
|
|
621
655
|
};
|
|
622
656
|
where?: coreStorage.TraceQueryScalarPredicate | undefined;
|
|
657
|
+
textSearch?: string | undefined;
|
|
623
658
|
orderBy: {
|
|
624
|
-
field: "endedAt" | "startedAt" | "timeToFirstChunkMs" | "timeToFirstTokenMs";
|
|
659
|
+
field: "durationMs" | "endedAt" | "startedAt" | "timeToFirstChunkMs" | "timeToFirstTokenMs";
|
|
625
660
|
direction: "asc" | "desc";
|
|
626
661
|
}[];
|
|
627
662
|
page: {
|
|
@@ -693,8 +728,10 @@ export declare const QUERY_SPANS: Omit<import("@mastra/core/server").ApiRoute, "
|
|
|
693
728
|
to: z.ZodString;
|
|
694
729
|
}, z.core.$strict>;
|
|
695
730
|
where: z.ZodOptional<z.ZodType<coreStorage.TraceQueryScalarPredicate, coreStorage.TraceQueryScalarPredicate, z.core.$ZodTypeInternals<coreStorage.TraceQueryScalarPredicate, coreStorage.TraceQueryScalarPredicate>>>;
|
|
731
|
+
textSearch: z.ZodOptional<z.ZodString>;
|
|
696
732
|
orderBy: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
697
733
|
field: z.ZodEnum<{
|
|
734
|
+
durationMs: "durationMs";
|
|
698
735
|
endedAt: "endedAt";
|
|
699
736
|
startedAt: "startedAt";
|
|
700
737
|
timeToFirstChunkMs: "timeToFirstChunkMs";
|
|
@@ -2184,6 +2221,128 @@ export declare const GET_SCORE_PERCENTILES: Omit<import("@mastra/core/server").A
|
|
|
2184
2221
|
} & {
|
|
2185
2222
|
readonly _mastraSchemaRoute: true;
|
|
2186
2223
|
};
|
|
2224
|
+
export declare const GET_FEEDBACK: Omit<import("@mastra/core/server").ApiRoute, "createHandler" | "handler" | "method" | "openapi" | "path"> & {
|
|
2225
|
+
method: string;
|
|
2226
|
+
path: `/${string}`;
|
|
2227
|
+
responseType: "json";
|
|
2228
|
+
streamFormat?: 'sse' | 'stream';
|
|
2229
|
+
sseFlushOnConnect?: boolean;
|
|
2230
|
+
handler(params: {
|
|
2231
|
+
feedbackId: string;
|
|
2232
|
+
} & ServerContext): Promise<{
|
|
2233
|
+
feedback: {
|
|
2234
|
+
entityType?: import("../../_types/@internal_core@0.1.4/dist/storage/index.js").EntityType | null | undefined;
|
|
2235
|
+
entityId?: string | null | undefined;
|
|
2236
|
+
entityName?: string | null | undefined;
|
|
2237
|
+
parentEntityType?: import("../../_types/@internal_core@0.1.4/dist/storage/index.js").EntityType | null | undefined;
|
|
2238
|
+
parentEntityId?: string | null | undefined;
|
|
2239
|
+
parentEntityName?: string | null | undefined;
|
|
2240
|
+
rootEntityType?: import("../../_types/@internal_core@0.1.4/dist/storage/index.js").EntityType | null | undefined;
|
|
2241
|
+
rootEntityId?: string | null | undefined;
|
|
2242
|
+
rootEntityName?: string | null | undefined;
|
|
2243
|
+
userId?: string | null | undefined;
|
|
2244
|
+
organizationId?: string | null | undefined;
|
|
2245
|
+
resourceId?: string | null | undefined;
|
|
2246
|
+
runId?: string | null | undefined;
|
|
2247
|
+
sessionId?: string | null | undefined;
|
|
2248
|
+
threadId?: string | null | undefined;
|
|
2249
|
+
requestId?: string | null | undefined;
|
|
2250
|
+
environment?: string | null | undefined;
|
|
2251
|
+
serviceName?: string | null | undefined;
|
|
2252
|
+
scope?: Record<string, unknown> | null | undefined;
|
|
2253
|
+
entityVersionId?: string | null | undefined;
|
|
2254
|
+
parentEntityVersionId?: string | null | undefined;
|
|
2255
|
+
rootEntityVersionId?: string | null | undefined;
|
|
2256
|
+
experimentId?: string | null | undefined;
|
|
2257
|
+
executionSource?: string | null | undefined;
|
|
2258
|
+
tags?: string[] | null | undefined;
|
|
2259
|
+
feedbackId?: string | null | undefined;
|
|
2260
|
+
timestamp: Date;
|
|
2261
|
+
traceId?: string | null | undefined;
|
|
2262
|
+
spanId?: string | null | undefined;
|
|
2263
|
+
feedbackSource?: string | null | undefined;
|
|
2264
|
+
source?: string | null | undefined;
|
|
2265
|
+
feedbackType: string;
|
|
2266
|
+
value: string | number;
|
|
2267
|
+
comment?: string | null | undefined;
|
|
2268
|
+
feedbackUserId?: string | null | undefined;
|
|
2269
|
+
sourceId?: string | null | undefined;
|
|
2270
|
+
metadata?: Record<string, unknown> | null | undefined;
|
|
2271
|
+
reviewStatus: "needs-review" | "reviewed";
|
|
2272
|
+
author?: {
|
|
2273
|
+
id: string;
|
|
2274
|
+
name?: string | undefined;
|
|
2275
|
+
email?: string | undefined;
|
|
2276
|
+
avatarUrl?: string | undefined;
|
|
2277
|
+
} | undefined;
|
|
2278
|
+
} | null;
|
|
2279
|
+
}>;
|
|
2280
|
+
pathParamSchema?: z.ZodSchema;
|
|
2281
|
+
queryParamSchema?: z.ZodSchema;
|
|
2282
|
+
bodySchema?: z.ZodSchema;
|
|
2283
|
+
responseSchema?: z.ZodSchema;
|
|
2284
|
+
openapi?: import("../server-adapter/openapi-utils").OpenAPIRoute;
|
|
2285
|
+
maxBodySize?: number;
|
|
2286
|
+
deprecated?: boolean;
|
|
2287
|
+
requiresPermission?: import("@mastra/core/auth").MastraFGAPermissionInput | import("@mastra/core/auth").MastraFGAPermissionInput[];
|
|
2288
|
+
fga?: import("@mastra/core/auth").FGARouteConfig;
|
|
2289
|
+
onValidationError?: ValidationErrorHook;
|
|
2290
|
+
readonly __schemas?: import("../server-adapter").RouteSchemas<z.ZodObject<{
|
|
2291
|
+
feedbackId: z.ZodString;
|
|
2292
|
+
}, z.core.$strip>, undefined, undefined, z.ZodObject<{
|
|
2293
|
+
feedback: z.ZodNullable<z.ZodObject<{
|
|
2294
|
+
entityType: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof import("../../_types/@internal_core@0.1.4/dist/storage/index.js").EntityType>>>;
|
|
2295
|
+
entityId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2296
|
+
entityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2297
|
+
parentEntityType: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof import("../../_types/@internal_core@0.1.4/dist/storage/index.js").EntityType>>>;
|
|
2298
|
+
parentEntityId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2299
|
+
parentEntityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2300
|
+
rootEntityType: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof import("../../_types/@internal_core@0.1.4/dist/storage/index.js").EntityType>>>;
|
|
2301
|
+
rootEntityId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2302
|
+
rootEntityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2303
|
+
userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2304
|
+
organizationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2305
|
+
resourceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2306
|
+
runId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2307
|
+
sessionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2308
|
+
threadId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2309
|
+
requestId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2310
|
+
environment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2311
|
+
serviceName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2312
|
+
scope: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
2313
|
+
entityVersionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2314
|
+
parentEntityVersionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2315
|
+
rootEntityVersionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2316
|
+
experimentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2317
|
+
executionSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2318
|
+
tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
2319
|
+
feedbackId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2320
|
+
timestamp: z.ZodDate;
|
|
2321
|
+
traceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2322
|
+
spanId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2323
|
+
feedbackSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2324
|
+
source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2325
|
+
feedbackType: z.ZodString;
|
|
2326
|
+
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
2327
|
+
comment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2328
|
+
feedbackUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2329
|
+
sourceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2330
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
2331
|
+
reviewStatus: z.ZodEnum<{
|
|
2332
|
+
"needs-review": "needs-review";
|
|
2333
|
+
reviewed: "reviewed";
|
|
2334
|
+
}>;
|
|
2335
|
+
author: z.ZodOptional<z.ZodObject<{
|
|
2336
|
+
id: z.ZodString;
|
|
2337
|
+
name: z.ZodOptional<z.ZodString>;
|
|
2338
|
+
email: z.ZodOptional<z.ZodString>;
|
|
2339
|
+
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
2340
|
+
}, z.core.$strip>>;
|
|
2341
|
+
}, z.core.$strip>>;
|
|
2342
|
+
}, z.core.$strip>> | undefined;
|
|
2343
|
+
} & {
|
|
2344
|
+
readonly _mastraSchemaRoute: true;
|
|
2345
|
+
};
|
|
2187
2346
|
export declare const LIST_FEEDBACK: Omit<import("@mastra/core/server").ApiRoute, "createHandler" | "handler" | "method" | "openapi" | "path"> & {
|
|
2188
2347
|
method: string;
|
|
2189
2348
|
path: `/${string}`;
|
|
@@ -2455,6 +2614,137 @@ export declare const CREATE_FEEDBACK: Omit<import("@mastra/core/server").ApiRout
|
|
|
2455
2614
|
} & {
|
|
2456
2615
|
readonly _mastraSchemaRoute: true;
|
|
2457
2616
|
};
|
|
2617
|
+
export declare const REPLACE_FEEDBACK: Omit<import("@mastra/core/server").ApiRoute, "createHandler" | "handler" | "method" | "openapi" | "path"> & {
|
|
2618
|
+
method: string;
|
|
2619
|
+
path: `/${string}`;
|
|
2620
|
+
responseType: "json";
|
|
2621
|
+
streamFormat?: 'sse' | 'stream';
|
|
2622
|
+
sseFlushOnConnect?: boolean;
|
|
2623
|
+
handler(params: {
|
|
2624
|
+
feedbackId: string;
|
|
2625
|
+
} & {
|
|
2626
|
+
contextMode?: "provided" | "resolve" | undefined;
|
|
2627
|
+
feedback: {
|
|
2628
|
+
entityType?: import("../../_types/@internal_core@0.1.4/dist/storage/index.js").EntityType | null | undefined;
|
|
2629
|
+
entityId?: string | null | undefined;
|
|
2630
|
+
entityName?: string | null | undefined;
|
|
2631
|
+
parentEntityType?: import("../../_types/@internal_core@0.1.4/dist/storage/index.js").EntityType | null | undefined;
|
|
2632
|
+
parentEntityId?: string | null | undefined;
|
|
2633
|
+
parentEntityName?: string | null | undefined;
|
|
2634
|
+
rootEntityType?: import("../../_types/@internal_core@0.1.4/dist/storage/index.js").EntityType | null | undefined;
|
|
2635
|
+
rootEntityId?: string | null | undefined;
|
|
2636
|
+
rootEntityName?: string | null | undefined;
|
|
2637
|
+
userId?: string | null | undefined;
|
|
2638
|
+
organizationId?: string | null | undefined;
|
|
2639
|
+
resourceId?: string | null | undefined;
|
|
2640
|
+
runId?: string | null | undefined;
|
|
2641
|
+
sessionId?: string | null | undefined;
|
|
2642
|
+
threadId?: string | null | undefined;
|
|
2643
|
+
requestId?: string | null | undefined;
|
|
2644
|
+
environment?: string | null | undefined;
|
|
2645
|
+
serviceName?: string | null | undefined;
|
|
2646
|
+
scope?: Record<string, unknown> | null | undefined;
|
|
2647
|
+
entityVersionId?: string | null | undefined;
|
|
2648
|
+
parentEntityVersionId?: string | null | undefined;
|
|
2649
|
+
rootEntityVersionId?: string | null | undefined;
|
|
2650
|
+
experimentId?: string | null | undefined;
|
|
2651
|
+
executionSource?: string | null | undefined;
|
|
2652
|
+
tags?: string[] | null | undefined;
|
|
2653
|
+
spanId?: string | null | undefined;
|
|
2654
|
+
feedbackSource?: string | null | undefined;
|
|
2655
|
+
source?: string | null | undefined;
|
|
2656
|
+
feedbackType: string;
|
|
2657
|
+
value: string | number;
|
|
2658
|
+
comment?: string | null | undefined;
|
|
2659
|
+
feedbackUserId?: string | null | undefined;
|
|
2660
|
+
sourceId?: string | null | undefined;
|
|
2661
|
+
metadata?: Record<string, unknown> | null | undefined;
|
|
2662
|
+
reviewStatus?: "needs-review" | "reviewed" | undefined;
|
|
2663
|
+
traceId: string;
|
|
2664
|
+
feedbackId: string;
|
|
2665
|
+
timestamp: string;
|
|
2666
|
+
};
|
|
2667
|
+
} & ServerContext): Promise<{
|
|
2668
|
+
success: boolean;
|
|
2669
|
+
data?: {
|
|
2670
|
+
feedbackId: string;
|
|
2671
|
+
traceId: string;
|
|
2672
|
+
spanId: string | null;
|
|
2673
|
+
timestamp: string;
|
|
2674
|
+
} | undefined;
|
|
2675
|
+
}>;
|
|
2676
|
+
pathParamSchema?: z.ZodSchema;
|
|
2677
|
+
queryParamSchema?: z.ZodSchema;
|
|
2678
|
+
bodySchema?: z.ZodSchema;
|
|
2679
|
+
responseSchema?: z.ZodSchema;
|
|
2680
|
+
openapi?: import("../server-adapter/openapi-utils").OpenAPIRoute;
|
|
2681
|
+
maxBodySize?: number;
|
|
2682
|
+
deprecated?: boolean;
|
|
2683
|
+
requiresPermission?: import("@mastra/core/auth").MastraFGAPermissionInput | import("@mastra/core/auth").MastraFGAPermissionInput[];
|
|
2684
|
+
fga?: import("@mastra/core/auth").FGARouteConfig;
|
|
2685
|
+
onValidationError?: ValidationErrorHook;
|
|
2686
|
+
readonly __schemas?: import("../server-adapter").RouteSchemas<z.ZodObject<{
|
|
2687
|
+
feedbackId: z.ZodString;
|
|
2688
|
+
}, z.core.$strip>, undefined, z.ZodObject<{
|
|
2689
|
+
contextMode: z.ZodOptional<z.ZodEnum<{
|
|
2690
|
+
provided: "provided";
|
|
2691
|
+
resolve: "resolve";
|
|
2692
|
+
}>>;
|
|
2693
|
+
feedback: z.ZodObject<{
|
|
2694
|
+
entityType: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof import("../../_types/@internal_core@0.1.4/dist/storage/index.js").EntityType>>>;
|
|
2695
|
+
entityId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2696
|
+
entityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2697
|
+
parentEntityType: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof import("../../_types/@internal_core@0.1.4/dist/storage/index.js").EntityType>>>;
|
|
2698
|
+
parentEntityId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2699
|
+
parentEntityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2700
|
+
rootEntityType: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof import("../../_types/@internal_core@0.1.4/dist/storage/index.js").EntityType>>>;
|
|
2701
|
+
rootEntityId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2702
|
+
rootEntityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2703
|
+
userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2704
|
+
organizationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2705
|
+
resourceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2706
|
+
runId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2707
|
+
sessionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2708
|
+
threadId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2709
|
+
requestId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2710
|
+
environment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2711
|
+
serviceName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2712
|
+
scope: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
2713
|
+
entityVersionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2714
|
+
parentEntityVersionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2715
|
+
rootEntityVersionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2716
|
+
experimentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2717
|
+
executionSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2718
|
+
tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
2719
|
+
spanId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2720
|
+
feedbackSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2721
|
+
source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2722
|
+
feedbackType: z.ZodString;
|
|
2723
|
+
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
2724
|
+
comment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2725
|
+
feedbackUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2726
|
+
sourceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2727
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
2728
|
+
reviewStatus: z.ZodOptional<z.ZodEnum<{
|
|
2729
|
+
"needs-review": "needs-review";
|
|
2730
|
+
reviewed: "reviewed";
|
|
2731
|
+
}>>;
|
|
2732
|
+
traceId: z.ZodString;
|
|
2733
|
+
feedbackId: z.ZodString;
|
|
2734
|
+
timestamp: z.ZodISODateTime;
|
|
2735
|
+
}, z.core.$strip>;
|
|
2736
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2737
|
+
success: z.ZodBoolean;
|
|
2738
|
+
data: z.ZodOptional<z.ZodObject<{
|
|
2739
|
+
feedbackId: z.ZodString;
|
|
2740
|
+
traceId: z.ZodString;
|
|
2741
|
+
spanId: z.ZodNullable<z.ZodString>;
|
|
2742
|
+
timestamp: z.ZodISODateTime;
|
|
2743
|
+
}, z.core.$strip>>;
|
|
2744
|
+
}, z.core.$strip>> | undefined;
|
|
2745
|
+
} & {
|
|
2746
|
+
readonly _mastraSchemaRoute: true;
|
|
2747
|
+
};
|
|
2458
2748
|
export declare const DELETE_FEEDBACK: Omit<import("@mastra/core/server").ApiRoute, "createHandler" | "handler" | "method" | "openapi" | "path"> & {
|
|
2459
2749
|
method: string;
|
|
2460
2750
|
path: `/${string}`;
|
|
@@ -4083,6 +4373,9 @@ export declare const GET_CAPABILITIES: Omit<import("@mastra/core/server").ApiRou
|
|
|
4083
4373
|
};
|
|
4084
4374
|
deltaPolling: boolean;
|
|
4085
4375
|
traceQuery: boolean;
|
|
4376
|
+
traceQueryAggregatedRoots: boolean;
|
|
4377
|
+
traceQueryTextSearch: boolean;
|
|
4378
|
+
spanQueryTextSearch: boolean;
|
|
4086
4379
|
traceQueryRootDuration: boolean;
|
|
4087
4380
|
traceQueryContextIds: boolean;
|
|
4088
4381
|
traceQueryContextFields: boolean;
|
|
@@ -4099,6 +4392,7 @@ export declare const GET_CAPABILITIES: Omit<import("@mastra/core/server").ApiRou
|
|
|
4099
4392
|
threadQuery: boolean;
|
|
4100
4393
|
threadQueryRows: boolean;
|
|
4101
4394
|
spanQuery: boolean;
|
|
4395
|
+
spanQueryDurationSort: boolean;
|
|
4102
4396
|
spanQueryContextFields: boolean;
|
|
4103
4397
|
spanQueryModelFields: boolean;
|
|
4104
4398
|
spanAggregateModelDimensions: boolean;
|
|
@@ -4106,6 +4400,7 @@ export declare const GET_CAPABILITIES: Omit<import("@mastra/core/server").ApiRou
|
|
|
4106
4400
|
spanQueryOutcomeFields: boolean;
|
|
4107
4401
|
traceQueryOutcomeFields: boolean;
|
|
4108
4402
|
traceRetentionDays?: number | undefined;
|
|
4403
|
+
feedbackReplacement: boolean;
|
|
4109
4404
|
feedback: boolean;
|
|
4110
4405
|
};
|
|
4111
4406
|
}>;
|
|
@@ -4134,6 +4429,9 @@ export declare const GET_CAPABILITIES: Omit<import("@mastra/core/server").ApiRou
|
|
|
4134
4429
|
}, z.core.$strip>;
|
|
4135
4430
|
deltaPolling: z.ZodBoolean;
|
|
4136
4431
|
traceQuery: z.ZodBoolean;
|
|
4432
|
+
traceQueryAggregatedRoots: z.ZodDefault<z.ZodBoolean>;
|
|
4433
|
+
traceQueryTextSearch: z.ZodDefault<z.ZodBoolean>;
|
|
4434
|
+
spanQueryTextSearch: z.ZodDefault<z.ZodBoolean>;
|
|
4137
4435
|
traceQueryRootDuration: z.ZodBoolean;
|
|
4138
4436
|
traceQueryContextIds: z.ZodBoolean;
|
|
4139
4437
|
traceQueryContextFields: z.ZodBoolean;
|
|
@@ -4150,6 +4448,7 @@ export declare const GET_CAPABILITIES: Omit<import("@mastra/core/server").ApiRou
|
|
|
4150
4448
|
threadQuery: z.ZodBoolean;
|
|
4151
4449
|
threadQueryRows: z.ZodDefault<z.ZodBoolean>;
|
|
4152
4450
|
spanQuery: z.ZodBoolean;
|
|
4451
|
+
spanQueryDurationSort: z.ZodDefault<z.ZodBoolean>;
|
|
4153
4452
|
spanQueryContextFields: z.ZodDefault<z.ZodBoolean>;
|
|
4154
4453
|
spanQueryModelFields: z.ZodDefault<z.ZodBoolean>;
|
|
4155
4454
|
spanAggregateModelDimensions: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -4157,6 +4456,7 @@ export declare const GET_CAPABILITIES: Omit<import("@mastra/core/server").ApiRou
|
|
|
4157
4456
|
spanQueryOutcomeFields: z.ZodDefault<z.ZodBoolean>;
|
|
4158
4457
|
traceQueryOutcomeFields: z.ZodDefault<z.ZodBoolean>;
|
|
4159
4458
|
traceRetentionDays: z.ZodOptional<z.ZodNumber>;
|
|
4459
|
+
feedbackReplacement: z.ZodDefault<z.ZodBoolean>;
|
|
4160
4460
|
feedback: z.ZodBoolean;
|
|
4161
4461
|
}, z.core.$strip>;
|
|
4162
4462
|
}, z.core.$strip>> | undefined;
|
|
@@ -4171,6 +4471,8 @@ export declare const NEW_ROUTES: {
|
|
|
4171
4471
|
streamFormat?: 'sse' | 'stream';
|
|
4172
4472
|
sseFlushOnConnect?: boolean;
|
|
4173
4473
|
handler(params: {
|
|
4474
|
+
rootSource?: "aggregated" | "legacy" | undefined;
|
|
4475
|
+
textSearch?: string | undefined;
|
|
4174
4476
|
timeRange: {
|
|
4175
4477
|
from: string;
|
|
4176
4478
|
to: string;
|
|
@@ -4198,6 +4500,9 @@ export declare const NEW_ROUTES: {
|
|
|
4198
4500
|
traces: {
|
|
4199
4501
|
traceId: string;
|
|
4200
4502
|
rootSpanId: string;
|
|
4503
|
+
rootKind?: "external" | "native" | undefined;
|
|
4504
|
+
runtimeDurationMs?: number | null | undefined;
|
|
4505
|
+
errorCount?: number | null | undefined;
|
|
4201
4506
|
name: string;
|
|
4202
4507
|
entityId: string | null;
|
|
4203
4508
|
parentSpanId: string | null;
|
|
@@ -4227,6 +4532,9 @@ export declare const NEW_ROUTES: {
|
|
|
4227
4532
|
traces: {
|
|
4228
4533
|
traceId: string;
|
|
4229
4534
|
rootSpanId: string;
|
|
4535
|
+
rootKind?: "external" | "native" | undefined;
|
|
4536
|
+
runtimeDurationMs?: number | null | undefined;
|
|
4537
|
+
errorCount?: number | null | undefined;
|
|
4230
4538
|
name: string;
|
|
4231
4539
|
entityId: string | null;
|
|
4232
4540
|
parentSpanId: string | null;
|
|
@@ -4260,6 +4568,9 @@ export declare const NEW_ROUTES: {
|
|
|
4260
4568
|
traces: {
|
|
4261
4569
|
traceId: string;
|
|
4262
4570
|
rootSpanId: string;
|
|
4571
|
+
rootKind?: "external" | "native" | undefined;
|
|
4572
|
+
runtimeDurationMs?: number | null | undefined;
|
|
4573
|
+
errorCount?: number | null | undefined;
|
|
4263
4574
|
name: string;
|
|
4264
4575
|
entityId: string | null;
|
|
4265
4576
|
parentSpanId: string | null;
|
|
@@ -4306,6 +4617,11 @@ export declare const NEW_ROUTES: {
|
|
|
4306
4617
|
fga?: import("@mastra/core/auth").FGARouteConfig;
|
|
4307
4618
|
onValidationError?: ValidationErrorHook;
|
|
4308
4619
|
readonly __schemas?: import("../server-adapter").RouteSchemas<undefined, undefined, z.ZodPreprocess<z.ZodObject<{
|
|
4620
|
+
rootSource: z.ZodOptional<z.ZodEnum<{
|
|
4621
|
+
aggregated: "aggregated";
|
|
4622
|
+
legacy: "legacy";
|
|
4623
|
+
}>>;
|
|
4624
|
+
textSearch: z.ZodOptional<z.ZodString>;
|
|
4309
4625
|
timeRange: z.ZodObject<{
|
|
4310
4626
|
from: z.ZodString;
|
|
4311
4627
|
to: z.ZodString;
|
|
@@ -4341,6 +4657,12 @@ export declare const NEW_ROUTES: {
|
|
|
4341
4657
|
traces: z.ZodArray<z.ZodObject<{
|
|
4342
4658
|
traceId: z.ZodString;
|
|
4343
4659
|
rootSpanId: z.ZodString;
|
|
4660
|
+
rootKind: z.ZodOptional<z.ZodEnum<{
|
|
4661
|
+
external: "external";
|
|
4662
|
+
native: "native";
|
|
4663
|
+
}>>;
|
|
4664
|
+
runtimeDurationMs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4665
|
+
errorCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4344
4666
|
name: z.ZodString;
|
|
4345
4667
|
entityId: z.ZodNullable<z.ZodString>;
|
|
4346
4668
|
parentSpanId: z.ZodNullable<z.ZodString>;
|
|
@@ -4373,6 +4695,12 @@ export declare const NEW_ROUTES: {
|
|
|
4373
4695
|
traces: z.ZodArray<z.ZodObject<{
|
|
4374
4696
|
traceId: z.ZodString;
|
|
4375
4697
|
rootSpanId: z.ZodString;
|
|
4698
|
+
rootKind: z.ZodOptional<z.ZodEnum<{
|
|
4699
|
+
external: "external";
|
|
4700
|
+
native: "native";
|
|
4701
|
+
}>>;
|
|
4702
|
+
runtimeDurationMs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4703
|
+
errorCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4376
4704
|
name: z.ZodString;
|
|
4377
4705
|
entityId: z.ZodNullable<z.ZodString>;
|
|
4378
4706
|
parentSpanId: z.ZodNullable<z.ZodString>;
|
|
@@ -4409,6 +4737,12 @@ export declare const NEW_ROUTES: {
|
|
|
4409
4737
|
traces: z.ZodArray<z.ZodObject<{
|
|
4410
4738
|
traceId: z.ZodString;
|
|
4411
4739
|
rootSpanId: z.ZodString;
|
|
4740
|
+
rootKind: z.ZodOptional<z.ZodEnum<{
|
|
4741
|
+
external: "external";
|
|
4742
|
+
native: "native";
|
|
4743
|
+
}>>;
|
|
4744
|
+
runtimeDurationMs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4745
|
+
errorCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4412
4746
|
name: z.ZodString;
|
|
4413
4747
|
entityId: z.ZodNullable<z.ZodString>;
|
|
4414
4748
|
parentSpanId: z.ZodNullable<z.ZodString>;
|
|
@@ -4659,8 +4993,9 @@ export declare const NEW_ROUTES: {
|
|
|
4659
4993
|
to: string;
|
|
4660
4994
|
};
|
|
4661
4995
|
where?: coreStorage.TraceQueryScalarPredicate | undefined;
|
|
4996
|
+
textSearch?: string | undefined;
|
|
4662
4997
|
orderBy: {
|
|
4663
|
-
field: "endedAt" | "startedAt" | "timeToFirstChunkMs" | "timeToFirstTokenMs";
|
|
4998
|
+
field: "durationMs" | "endedAt" | "startedAt" | "timeToFirstChunkMs" | "timeToFirstTokenMs";
|
|
4664
4999
|
direction: "asc" | "desc";
|
|
4665
5000
|
}[];
|
|
4666
5001
|
page: {
|
|
@@ -4732,8 +5067,10 @@ export declare const NEW_ROUTES: {
|
|
|
4732
5067
|
to: z.ZodString;
|
|
4733
5068
|
}, z.core.$strict>;
|
|
4734
5069
|
where: z.ZodOptional<z.ZodType<coreStorage.TraceQueryScalarPredicate, coreStorage.TraceQueryScalarPredicate, z.core.$ZodTypeInternals<coreStorage.TraceQueryScalarPredicate, coreStorage.TraceQueryScalarPredicate>>>;
|
|
5070
|
+
textSearch: z.ZodOptional<z.ZodString>;
|
|
4735
5071
|
orderBy: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4736
5072
|
field: z.ZodEnum<{
|
|
5073
|
+
durationMs: "durationMs";
|
|
4737
5074
|
endedAt: "endedAt";
|
|
4738
5075
|
startedAt: "startedAt";
|
|
4739
5076
|
timeToFirstChunkMs: "timeToFirstChunkMs";
|
|
@@ -5963,6 +6300,128 @@ export declare const NEW_ROUTES: {
|
|
|
5963
6300
|
} & {
|
|
5964
6301
|
readonly _mastraSchemaRoute: true;
|
|
5965
6302
|
};
|
|
6303
|
+
GET_FEEDBACK: Omit<import("@mastra/core/server").ApiRoute, "createHandler" | "handler" | "method" | "openapi" | "path"> & {
|
|
6304
|
+
method: string;
|
|
6305
|
+
path: `/${string}`;
|
|
6306
|
+
responseType: "json";
|
|
6307
|
+
streamFormat?: 'sse' | 'stream';
|
|
6308
|
+
sseFlushOnConnect?: boolean;
|
|
6309
|
+
handler(params: {
|
|
6310
|
+
feedbackId: string;
|
|
6311
|
+
} & ServerContext): Promise<{
|
|
6312
|
+
feedback: {
|
|
6313
|
+
entityType?: import("../../_types/@internal_core@0.1.4/dist/storage/index.js").EntityType | null | undefined;
|
|
6314
|
+
entityId?: string | null | undefined;
|
|
6315
|
+
entityName?: string | null | undefined;
|
|
6316
|
+
parentEntityType?: import("../../_types/@internal_core@0.1.4/dist/storage/index.js").EntityType | null | undefined;
|
|
6317
|
+
parentEntityId?: string | null | undefined;
|
|
6318
|
+
parentEntityName?: string | null | undefined;
|
|
6319
|
+
rootEntityType?: import("../../_types/@internal_core@0.1.4/dist/storage/index.js").EntityType | null | undefined;
|
|
6320
|
+
rootEntityId?: string | null | undefined;
|
|
6321
|
+
rootEntityName?: string | null | undefined;
|
|
6322
|
+
userId?: string | null | undefined;
|
|
6323
|
+
organizationId?: string | null | undefined;
|
|
6324
|
+
resourceId?: string | null | undefined;
|
|
6325
|
+
runId?: string | null | undefined;
|
|
6326
|
+
sessionId?: string | null | undefined;
|
|
6327
|
+
threadId?: string | null | undefined;
|
|
6328
|
+
requestId?: string | null | undefined;
|
|
6329
|
+
environment?: string | null | undefined;
|
|
6330
|
+
serviceName?: string | null | undefined;
|
|
6331
|
+
scope?: Record<string, unknown> | null | undefined;
|
|
6332
|
+
entityVersionId?: string | null | undefined;
|
|
6333
|
+
parentEntityVersionId?: string | null | undefined;
|
|
6334
|
+
rootEntityVersionId?: string | null | undefined;
|
|
6335
|
+
experimentId?: string | null | undefined;
|
|
6336
|
+
executionSource?: string | null | undefined;
|
|
6337
|
+
tags?: string[] | null | undefined;
|
|
6338
|
+
feedbackId?: string | null | undefined;
|
|
6339
|
+
timestamp: Date;
|
|
6340
|
+
traceId?: string | null | undefined;
|
|
6341
|
+
spanId?: string | null | undefined;
|
|
6342
|
+
feedbackSource?: string | null | undefined;
|
|
6343
|
+
source?: string | null | undefined;
|
|
6344
|
+
feedbackType: string;
|
|
6345
|
+
value: string | number;
|
|
6346
|
+
comment?: string | null | undefined;
|
|
6347
|
+
feedbackUserId?: string | null | undefined;
|
|
6348
|
+
sourceId?: string | null | undefined;
|
|
6349
|
+
metadata?: Record<string, unknown> | null | undefined;
|
|
6350
|
+
reviewStatus: "needs-review" | "reviewed";
|
|
6351
|
+
author?: {
|
|
6352
|
+
id: string;
|
|
6353
|
+
name?: string | undefined;
|
|
6354
|
+
email?: string | undefined;
|
|
6355
|
+
avatarUrl?: string | undefined;
|
|
6356
|
+
} | undefined;
|
|
6357
|
+
} | null;
|
|
6358
|
+
}>;
|
|
6359
|
+
pathParamSchema?: z.ZodSchema;
|
|
6360
|
+
queryParamSchema?: z.ZodSchema;
|
|
6361
|
+
bodySchema?: z.ZodSchema;
|
|
6362
|
+
responseSchema?: z.ZodSchema;
|
|
6363
|
+
openapi?: import("../server-adapter/openapi-utils").OpenAPIRoute;
|
|
6364
|
+
maxBodySize?: number;
|
|
6365
|
+
deprecated?: boolean;
|
|
6366
|
+
requiresPermission?: import("@mastra/core/auth").MastraFGAPermissionInput | import("@mastra/core/auth").MastraFGAPermissionInput[];
|
|
6367
|
+
fga?: import("@mastra/core/auth").FGARouteConfig;
|
|
6368
|
+
onValidationError?: ValidationErrorHook;
|
|
6369
|
+
readonly __schemas?: import("../server-adapter").RouteSchemas<z.ZodObject<{
|
|
6370
|
+
feedbackId: z.ZodString;
|
|
6371
|
+
}, z.core.$strip>, undefined, undefined, z.ZodObject<{
|
|
6372
|
+
feedback: z.ZodNullable<z.ZodObject<{
|
|
6373
|
+
entityType: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof import("../../_types/@internal_core@0.1.4/dist/storage/index.js").EntityType>>>;
|
|
6374
|
+
entityId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6375
|
+
entityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6376
|
+
parentEntityType: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof import("../../_types/@internal_core@0.1.4/dist/storage/index.js").EntityType>>>;
|
|
6377
|
+
parentEntityId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6378
|
+
parentEntityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6379
|
+
rootEntityType: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof import("../../_types/@internal_core@0.1.4/dist/storage/index.js").EntityType>>>;
|
|
6380
|
+
rootEntityId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6381
|
+
rootEntityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6382
|
+
userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6383
|
+
organizationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6384
|
+
resourceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6385
|
+
runId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6386
|
+
sessionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6387
|
+
threadId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6388
|
+
requestId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6389
|
+
environment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6390
|
+
serviceName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6391
|
+
scope: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
6392
|
+
entityVersionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6393
|
+
parentEntityVersionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6394
|
+
rootEntityVersionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6395
|
+
experimentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6396
|
+
executionSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6397
|
+
tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
6398
|
+
feedbackId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6399
|
+
timestamp: z.ZodDate;
|
|
6400
|
+
traceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6401
|
+
spanId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6402
|
+
feedbackSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6403
|
+
source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6404
|
+
feedbackType: z.ZodString;
|
|
6405
|
+
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
6406
|
+
comment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6407
|
+
feedbackUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6408
|
+
sourceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6409
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
6410
|
+
reviewStatus: z.ZodEnum<{
|
|
6411
|
+
"needs-review": "needs-review";
|
|
6412
|
+
reviewed: "reviewed";
|
|
6413
|
+
}>;
|
|
6414
|
+
author: z.ZodOptional<z.ZodObject<{
|
|
6415
|
+
id: z.ZodString;
|
|
6416
|
+
name: z.ZodOptional<z.ZodString>;
|
|
6417
|
+
email: z.ZodOptional<z.ZodString>;
|
|
6418
|
+
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
6419
|
+
}, z.core.$strip>>;
|
|
6420
|
+
}, z.core.$strip>>;
|
|
6421
|
+
}, z.core.$strip>> | undefined;
|
|
6422
|
+
} & {
|
|
6423
|
+
readonly _mastraSchemaRoute: true;
|
|
6424
|
+
};
|
|
5966
6425
|
CREATE_FEEDBACK: Omit<import("@mastra/core/server").ApiRoute, "createHandler" | "handler" | "method" | "openapi" | "path"> & {
|
|
5967
6426
|
method: string;
|
|
5968
6427
|
path: `/${string}`;
|
|
@@ -6090,6 +6549,137 @@ export declare const NEW_ROUTES: {
|
|
|
6090
6549
|
} & {
|
|
6091
6550
|
readonly _mastraSchemaRoute: true;
|
|
6092
6551
|
};
|
|
6552
|
+
REPLACE_FEEDBACK: Omit<import("@mastra/core/server").ApiRoute, "createHandler" | "handler" | "method" | "openapi" | "path"> & {
|
|
6553
|
+
method: string;
|
|
6554
|
+
path: `/${string}`;
|
|
6555
|
+
responseType: "json";
|
|
6556
|
+
streamFormat?: 'sse' | 'stream';
|
|
6557
|
+
sseFlushOnConnect?: boolean;
|
|
6558
|
+
handler(params: {
|
|
6559
|
+
feedbackId: string;
|
|
6560
|
+
} & {
|
|
6561
|
+
contextMode?: "provided" | "resolve" | undefined;
|
|
6562
|
+
feedback: {
|
|
6563
|
+
entityType?: import("../../_types/@internal_core@0.1.4/dist/storage/index.js").EntityType | null | undefined;
|
|
6564
|
+
entityId?: string | null | undefined;
|
|
6565
|
+
entityName?: string | null | undefined;
|
|
6566
|
+
parentEntityType?: import("../../_types/@internal_core@0.1.4/dist/storage/index.js").EntityType | null | undefined;
|
|
6567
|
+
parentEntityId?: string | null | undefined;
|
|
6568
|
+
parentEntityName?: string | null | undefined;
|
|
6569
|
+
rootEntityType?: import("../../_types/@internal_core@0.1.4/dist/storage/index.js").EntityType | null | undefined;
|
|
6570
|
+
rootEntityId?: string | null | undefined;
|
|
6571
|
+
rootEntityName?: string | null | undefined;
|
|
6572
|
+
userId?: string | null | undefined;
|
|
6573
|
+
organizationId?: string | null | undefined;
|
|
6574
|
+
resourceId?: string | null | undefined;
|
|
6575
|
+
runId?: string | null | undefined;
|
|
6576
|
+
sessionId?: string | null | undefined;
|
|
6577
|
+
threadId?: string | null | undefined;
|
|
6578
|
+
requestId?: string | null | undefined;
|
|
6579
|
+
environment?: string | null | undefined;
|
|
6580
|
+
serviceName?: string | null | undefined;
|
|
6581
|
+
scope?: Record<string, unknown> | null | undefined;
|
|
6582
|
+
entityVersionId?: string | null | undefined;
|
|
6583
|
+
parentEntityVersionId?: string | null | undefined;
|
|
6584
|
+
rootEntityVersionId?: string | null | undefined;
|
|
6585
|
+
experimentId?: string | null | undefined;
|
|
6586
|
+
executionSource?: string | null | undefined;
|
|
6587
|
+
tags?: string[] | null | undefined;
|
|
6588
|
+
spanId?: string | null | undefined;
|
|
6589
|
+
feedbackSource?: string | null | undefined;
|
|
6590
|
+
source?: string | null | undefined;
|
|
6591
|
+
feedbackType: string;
|
|
6592
|
+
value: string | number;
|
|
6593
|
+
comment?: string | null | undefined;
|
|
6594
|
+
feedbackUserId?: string | null | undefined;
|
|
6595
|
+
sourceId?: string | null | undefined;
|
|
6596
|
+
metadata?: Record<string, unknown> | null | undefined;
|
|
6597
|
+
reviewStatus?: "needs-review" | "reviewed" | undefined;
|
|
6598
|
+
traceId: string;
|
|
6599
|
+
feedbackId: string;
|
|
6600
|
+
timestamp: string;
|
|
6601
|
+
};
|
|
6602
|
+
} & ServerContext): Promise<{
|
|
6603
|
+
success: boolean;
|
|
6604
|
+
data?: {
|
|
6605
|
+
feedbackId: string;
|
|
6606
|
+
traceId: string;
|
|
6607
|
+
spanId: string | null;
|
|
6608
|
+
timestamp: string;
|
|
6609
|
+
} | undefined;
|
|
6610
|
+
}>;
|
|
6611
|
+
pathParamSchema?: z.ZodSchema;
|
|
6612
|
+
queryParamSchema?: z.ZodSchema;
|
|
6613
|
+
bodySchema?: z.ZodSchema;
|
|
6614
|
+
responseSchema?: z.ZodSchema;
|
|
6615
|
+
openapi?: import("../server-adapter/openapi-utils").OpenAPIRoute;
|
|
6616
|
+
maxBodySize?: number;
|
|
6617
|
+
deprecated?: boolean;
|
|
6618
|
+
requiresPermission?: import("@mastra/core/auth").MastraFGAPermissionInput | import("@mastra/core/auth").MastraFGAPermissionInput[];
|
|
6619
|
+
fga?: import("@mastra/core/auth").FGARouteConfig;
|
|
6620
|
+
onValidationError?: ValidationErrorHook;
|
|
6621
|
+
readonly __schemas?: import("../server-adapter").RouteSchemas<z.ZodObject<{
|
|
6622
|
+
feedbackId: z.ZodString;
|
|
6623
|
+
}, z.core.$strip>, undefined, z.ZodObject<{
|
|
6624
|
+
contextMode: z.ZodOptional<z.ZodEnum<{
|
|
6625
|
+
provided: "provided";
|
|
6626
|
+
resolve: "resolve";
|
|
6627
|
+
}>>;
|
|
6628
|
+
feedback: z.ZodObject<{
|
|
6629
|
+
entityType: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof import("../../_types/@internal_core@0.1.4/dist/storage/index.js").EntityType>>>;
|
|
6630
|
+
entityId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6631
|
+
entityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6632
|
+
parentEntityType: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof import("../../_types/@internal_core@0.1.4/dist/storage/index.js").EntityType>>>;
|
|
6633
|
+
parentEntityId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6634
|
+
parentEntityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6635
|
+
rootEntityType: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof import("../../_types/@internal_core@0.1.4/dist/storage/index.js").EntityType>>>;
|
|
6636
|
+
rootEntityId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6637
|
+
rootEntityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6638
|
+
userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6639
|
+
organizationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6640
|
+
resourceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6641
|
+
runId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6642
|
+
sessionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6643
|
+
threadId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6644
|
+
requestId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6645
|
+
environment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6646
|
+
serviceName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6647
|
+
scope: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
6648
|
+
entityVersionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6649
|
+
parentEntityVersionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6650
|
+
rootEntityVersionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6651
|
+
experimentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6652
|
+
executionSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6653
|
+
tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
6654
|
+
spanId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6655
|
+
feedbackSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6656
|
+
source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6657
|
+
feedbackType: z.ZodString;
|
|
6658
|
+
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
6659
|
+
comment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6660
|
+
feedbackUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6661
|
+
sourceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6662
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
6663
|
+
reviewStatus: z.ZodOptional<z.ZodEnum<{
|
|
6664
|
+
"needs-review": "needs-review";
|
|
6665
|
+
reviewed: "reviewed";
|
|
6666
|
+
}>>;
|
|
6667
|
+
traceId: z.ZodString;
|
|
6668
|
+
feedbackId: z.ZodString;
|
|
6669
|
+
timestamp: z.ZodISODateTime;
|
|
6670
|
+
}, z.core.$strip>;
|
|
6671
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
6672
|
+
success: z.ZodBoolean;
|
|
6673
|
+
data: z.ZodOptional<z.ZodObject<{
|
|
6674
|
+
feedbackId: z.ZodString;
|
|
6675
|
+
traceId: z.ZodString;
|
|
6676
|
+
spanId: z.ZodNullable<z.ZodString>;
|
|
6677
|
+
timestamp: z.ZodISODateTime;
|
|
6678
|
+
}, z.core.$strip>>;
|
|
6679
|
+
}, z.core.$strip>> | undefined;
|
|
6680
|
+
} & {
|
|
6681
|
+
readonly _mastraSchemaRoute: true;
|
|
6682
|
+
};
|
|
6093
6683
|
DELETE_FEEDBACK: Omit<import("@mastra/core/server").ApiRoute, "createHandler" | "handler" | "method" | "openapi" | "path"> & {
|
|
6094
6684
|
method: string;
|
|
6095
6685
|
path: `/${string}`;
|
|
@@ -7718,6 +8308,9 @@ export declare const NEW_ROUTES: {
|
|
|
7718
8308
|
};
|
|
7719
8309
|
deltaPolling: boolean;
|
|
7720
8310
|
traceQuery: boolean;
|
|
8311
|
+
traceQueryAggregatedRoots: boolean;
|
|
8312
|
+
traceQueryTextSearch: boolean;
|
|
8313
|
+
spanQueryTextSearch: boolean;
|
|
7721
8314
|
traceQueryRootDuration: boolean;
|
|
7722
8315
|
traceQueryContextIds: boolean;
|
|
7723
8316
|
traceQueryContextFields: boolean;
|
|
@@ -7734,6 +8327,7 @@ export declare const NEW_ROUTES: {
|
|
|
7734
8327
|
threadQuery: boolean;
|
|
7735
8328
|
threadQueryRows: boolean;
|
|
7736
8329
|
spanQuery: boolean;
|
|
8330
|
+
spanQueryDurationSort: boolean;
|
|
7737
8331
|
spanQueryContextFields: boolean;
|
|
7738
8332
|
spanQueryModelFields: boolean;
|
|
7739
8333
|
spanAggregateModelDimensions: boolean;
|
|
@@ -7741,6 +8335,7 @@ export declare const NEW_ROUTES: {
|
|
|
7741
8335
|
spanQueryOutcomeFields: boolean;
|
|
7742
8336
|
traceQueryOutcomeFields: boolean;
|
|
7743
8337
|
traceRetentionDays?: number | undefined;
|
|
8338
|
+
feedbackReplacement: boolean;
|
|
7744
8339
|
feedback: boolean;
|
|
7745
8340
|
};
|
|
7746
8341
|
}>;
|
|
@@ -7769,6 +8364,9 @@ export declare const NEW_ROUTES: {
|
|
|
7769
8364
|
}, z.core.$strip>;
|
|
7770
8365
|
deltaPolling: z.ZodBoolean;
|
|
7771
8366
|
traceQuery: z.ZodBoolean;
|
|
8367
|
+
traceQueryAggregatedRoots: z.ZodDefault<z.ZodBoolean>;
|
|
8368
|
+
traceQueryTextSearch: z.ZodDefault<z.ZodBoolean>;
|
|
8369
|
+
spanQueryTextSearch: z.ZodDefault<z.ZodBoolean>;
|
|
7772
8370
|
traceQueryRootDuration: z.ZodBoolean;
|
|
7773
8371
|
traceQueryContextIds: z.ZodBoolean;
|
|
7774
8372
|
traceQueryContextFields: z.ZodBoolean;
|
|
@@ -7785,6 +8383,7 @@ export declare const NEW_ROUTES: {
|
|
|
7785
8383
|
threadQuery: z.ZodBoolean;
|
|
7786
8384
|
threadQueryRows: z.ZodDefault<z.ZodBoolean>;
|
|
7787
8385
|
spanQuery: z.ZodBoolean;
|
|
8386
|
+
spanQueryDurationSort: z.ZodDefault<z.ZodBoolean>;
|
|
7788
8387
|
spanQueryContextFields: z.ZodDefault<z.ZodBoolean>;
|
|
7789
8388
|
spanQueryModelFields: z.ZodDefault<z.ZodBoolean>;
|
|
7790
8389
|
spanAggregateModelDimensions: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -7792,6 +8391,7 @@ export declare const NEW_ROUTES: {
|
|
|
7792
8391
|
spanQueryOutcomeFields: z.ZodDefault<z.ZodBoolean>;
|
|
7793
8392
|
traceQueryOutcomeFields: z.ZodDefault<z.ZodBoolean>;
|
|
7794
8393
|
traceRetentionDays: z.ZodOptional<z.ZodNumber>;
|
|
8394
|
+
feedbackReplacement: z.ZodDefault<z.ZodBoolean>;
|
|
7795
8395
|
feedback: z.ZodBoolean;
|
|
7796
8396
|
}, z.core.$strip>;
|
|
7797
8397
|
}, z.core.$strip>> | undefined;
|