@mastra/server 1.86.0-alpha.9 → 1.87.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/dist/_types/{@mastra_schema-compat@1.4.1-alpha.0 → @mastra_schema-compat@1.4.1}/dist/provider-compats/anthropic.d.ts +1 -1
- package/dist/_types/{@mastra_schema-compat@1.4.1-alpha.0 → @mastra_schema-compat@1.4.1}/dist/provider-compats/deepseek.d.ts +1 -1
- package/dist/_types/{@mastra_schema-compat@1.4.1-alpha.0 → @mastra_schema-compat@1.4.1}/dist/provider-compats/meta.d.ts +1 -1
- package/dist/_types/{@mastra_schema-compat@1.4.1-alpha.0 → @mastra_schema-compat@1.4.1}/dist/schema.types.d.ts +3 -3
- package/dist/{agent-builder-DHnNRROR.js → agent-builder-B3vJTDHo.js} +1 -1
- package/dist/{agent-builder-anRH1X35.cjs → agent-builder-QnIH-0LI.cjs} +1 -1
- package/dist/{api-schema-manifest-4PK1dBWt.js → api-schema-manifest-BS3Xfypt.js} +1 -1
- package/dist/{api-schema-manifest-CX16hC7V.cjs → api-schema-manifest-DohjGeTI.cjs} +1 -1
- package/dist/{catalogue-DNy7Fog6.cjs → catalogue-BTdmOZq6.cjs} +3 -3
- package/dist/{catalogue-BOzHZ1xt.js → catalogue-CS1s8mfe.js} +3 -3
- package/dist/docs/SKILL.md +1 -1
- package/dist/docs/assets/SOURCE_MAP.json +1 -1
- package/dist/docs/references/docs-agents-resumable-streams.md +15 -6
- package/dist/{routes-BZVlqLly.js → routes-ClPVLnwR.js} +3 -3
- package/dist/{routes-vuZLexcc.cjs → routes-K6oFQRlg.cjs} +3 -3
- package/dist/server/handlers/agent-builder.cjs +1 -1
- package/dist/server/handlers/agent-builder.js +1 -1
- package/dist/server/handlers/error.cjs +26 -0
- package/dist/server/handlers/error.d.ts +2 -0
- package/dist/server/handlers/error.js +26 -1
- package/dist/server/handlers/system.cjs +1 -1
- package/dist/server/handlers/system.js +1 -1
- package/dist/server/handlers/workflows.cjs +1 -1
- package/dist/server/handlers/workflows.js +1 -1
- package/dist/server/handlers.cjs +2 -2
- package/dist/server/handlers.js +2 -2
- package/dist/server/mcp/catalogue.d.ts +1 -1
- package/dist/server/mcp/schema.d.ts +1 -1
- package/dist/server/schemas/agents.d.ts +1 -1
- package/dist/server/server-adapter/api-schema-manifest.d.ts +1 -1
- package/dist/server/server-adapter/index.cjs +2 -2
- package/dist/server/server-adapter/index.js +2 -2
- package/dist/server/server-adapter/openapi-utils.d.ts +1 -1
- package/dist/{server-adapter-h8YRQXAC.js → server-adapter-CqgdBTrQ.js} +1 -1
- package/dist/{server-adapter-CurME3ch.cjs → server-adapter-CuGKb03z.cjs} +1 -1
- package/dist/{workflows-D5bfbang.js → workflows-OjUXkjWw.js} +19 -9
- package/dist/{workflows-CHKSHV4f.cjs → workflows-PVrj85xM.cjs} +18 -8
- package/package.json +10 -10
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/@internal_core@0.1.4/dist/request-context/index.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/@internal_core@0.1.4/dist/routes/index.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/@internal_core@0.1.4/dist/types/index.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/classic/checks.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/classic/coerce.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/classic/compat.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/classic/deep-partial.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/classic/errors.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/classic/external.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/classic/from-json-schema.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/classic/in-out.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/classic/index.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/classic/iso.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/classic/parse.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/classic/schemas.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/core/api.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/core/checks.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/core/compile.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/core/core.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/core/doc.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/core/errors.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/core/index.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/core/json-schema-generator.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/core/json-schema-processors.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/core/json-schema.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/core/memoizer.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/core/parse.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/core/regexes.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/core/registries.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/core/schemas.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/core/standard-schema.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/core/to-json-schema.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/core/util.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/core/versions.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/index.d.cts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/ar.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/az.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/be.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/bg.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/bn.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/ca.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/ckb.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/cs.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/da.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/de.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/el.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/en.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/eo.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/es.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/fa.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/fi.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/fr-CA.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/fr.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/gu.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/he.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/hi.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/hr.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/hu.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/hy.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/id.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/index.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/is.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/it.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/ja.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/ka.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/kh.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/km.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/kn.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/ko.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/lt.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/mk.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/ms.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/ne.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/nl.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/nn.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/no.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/ota.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/pl.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/ps.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/pt-BR.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/pt.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/ro.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/ru.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/sk.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/sl.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/sv.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/ta.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/tg.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/th.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/tk.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/tr.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/ua.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/uk.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/ur.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/uz.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/vi.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/yo.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/zh-CN.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/zh-TW.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/routes/index.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/package.json +0 -0
- /package/dist/_types/{@mastra_schema-compat@1.4.1-alpha.0/dist/_types/@internal_ai-sdk-v4@0.0.98 → @mastra_schema-compat@1.4.1/dist/_types/@internal_ai-sdk-v4@0.0.99}/dist/index.d.ts +0 -0
- /package/dist/_types/{@mastra_schema-compat@1.4.1-alpha.0/dist/_types/@internal_ai-sdk-v5@0.0.98 → @mastra_schema-compat@1.4.1/dist/_types/@internal_ai-sdk-v5@0.0.99}/dist/index.d.ts +0 -0
- /package/dist/_types/{@mastra_schema-compat@1.4.1-alpha.0/dist/_types/@internal_ai-v6@0.0.98 → @mastra_schema-compat@1.4.1/dist/_types/@internal_ai-v6@0.0.99}/dist/index.d.ts +0 -0
- /package/dist/_types/{@mastra_schema-compat@1.4.1-alpha.0 → @mastra_schema-compat@1.4.1}/dist/_types/@standard-schema_spec@1.1.0/dist/index.d.ts +0 -0
- /package/dist/_types/{@mastra_schema-compat@1.4.1-alpha.0 → @mastra_schema-compat@1.4.1}/dist/_types/@types_json-schema@7.0.15/index.d.ts +0 -0
- /package/dist/_types/{@mastra_schema-compat@1.4.1-alpha.0 → @mastra_schema-compat@1.4.1}/dist/index.d.ts +0 -0
- /package/dist/_types/{@mastra_schema-compat@1.4.1-alpha.0 → @mastra_schema-compat@1.4.1}/dist/null-to-undefined.d.ts +0 -0
- /package/dist/_types/{@mastra_schema-compat@1.4.1-alpha.0 → @mastra_schema-compat@1.4.1}/dist/provider-compats/google.d.ts +0 -0
- /package/dist/_types/{@mastra_schema-compat@1.4.1-alpha.0 → @mastra_schema-compat@1.4.1}/dist/provider-compats/openai-reasoning.d.ts +0 -0
- /package/dist/_types/{@mastra_schema-compat@1.4.1-alpha.0 → @mastra_schema-compat@1.4.1}/dist/provider-compats/openai.d.ts +0 -0
- /package/dist/_types/{@mastra_schema-compat@1.4.1-alpha.0 → @mastra_schema-compat@1.4.1}/dist/schema-compatibility-v3.d.ts +0 -0
- /package/dist/_types/{@mastra_schema-compat@1.4.1-alpha.0 → @mastra_schema-compat@1.4.1}/dist/schema-compatibility-v4.d.ts +0 -0
- /package/dist/_types/{@mastra_schema-compat@1.4.1-alpha.0 → @mastra_schema-compat@1.4.1}/dist/schema-compatibility.d.ts +0 -0
- /package/dist/_types/{@mastra_schema-compat@1.4.1-alpha.0 → @mastra_schema-compat@1.4.1}/dist/schema.d.ts +0 -0
- /package/dist/_types/{@mastra_schema-compat@1.4.1-alpha.0 → @mastra_schema-compat@1.4.1}/dist/standard-schema/standard-schema.d.ts +0 -0
- /package/dist/_types/{@mastra_schema-compat@1.4.1-alpha.0 → @mastra_schema-compat@1.4.1}/dist/standard-schema/standard-schema.types.d.ts +0 -0
- /package/dist/_types/{@mastra_schema-compat@1.4.1-alpha.0 → @mastra_schema-compat@1.4.1}/dist/standard-schema-compat.d.ts +0 -0
- /package/dist/_types/{@mastra_schema-compat@1.4.1-alpha.0 → @mastra_schema-compat@1.4.1}/dist/types.d.ts +0 -0
- /package/dist/_types/{@mastra_schema-compat@1.4.1-alpha.0 → @mastra_schema-compat@1.4.1}/dist/utils.d.ts +0 -0
- /package/dist/_types/{@mastra_schema-compat@1.4.1-alpha.0 → @mastra_schema-compat@1.4.1}/dist/zod-to-json.d.ts +0 -0
- /package/dist/_types/{@mastra_schema-compat@1.4.1-alpha.0 → @mastra_schema-compat@1.4.1}/package.json +0 -0
|
@@ -6,7 +6,7 @@ import { o as optionalRunIdSchema, u as runIdSchema } from "./common-J-yUnHk9.js
|
|
|
6
6
|
import { _ as workflowRunCountsResponseSchema, a as observeWorkflowQuerySchema, b as workflowRunResultSchema, d as streamWorkflowBodySchema, f as timeTravelBodySchema, g as workflowInfoSchema, h as workflowIdPathParams, i as listWorkflowsResponseSchema, l as startAsyncWorkflowBodySchema, m as workflowExecutionResultSchema, n as createWorkflowRunResponseSchema, o as restartBodySchema, p as workflowControlResponseSchema, r as listWorkflowRunsQuerySchema, s as resumeBodySchema, t as createWorkflowRunBodySchema, v as workflowRunPathParams, x as workflowRunsResponseSchema, y as workflowRunResultQuerySchema } from "./workflows-DTxiWG6x.js";
|
|
7
7
|
import { n as createRoute } from "./route-builder-Dz18c3qm.js";
|
|
8
8
|
import { a as getWorkflowInfo, t as WorkflowRegistry } from "./utils-C2VRtQjI.js";
|
|
9
|
-
import { handleError } from "./server/handlers/error.js";
|
|
9
|
+
import { handleError, runFenceConflictRunId } from "./server/handlers/error.js";
|
|
10
10
|
import { z } from "zod/v4";
|
|
11
11
|
import { isDeepStrictEqual } from "util";
|
|
12
12
|
import { createReplayStream } from "@mastra/core/stream";
|
|
@@ -66,6 +66,20 @@ async function withLoadedSteps(result) {
|
|
|
66
66
|
} : result;
|
|
67
67
|
}
|
|
68
68
|
/**
|
|
69
|
+
* Logs a run a route started in the background that rejected. A takeover of that run by another
|
|
70
|
+
* instance is not a failure here: the run's claim already logged a warning.
|
|
71
|
+
*/
|
|
72
|
+
function logBackgroundRunFailure(mastra, message, error, context) {
|
|
73
|
+
if (runFenceConflictRunId(error) === context.runId) {
|
|
74
|
+
mastra.getLogger().debug(`${message}: another instance took the run over`, context);
|
|
75
|
+
return;
|
|
76
|
+
}
|
|
77
|
+
mastra.getLogger().error(message, {
|
|
78
|
+
error,
|
|
79
|
+
...context
|
|
80
|
+
});
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
69
83
|
* Runs whose chunks are already being written to the cache in this process,
|
|
70
84
|
* keyed by runId. A run has exactly one writer: without this, two concurrent
|
|
71
85
|
* requests for the same runId each cache every chunk and the replayed history
|
|
@@ -601,8 +615,7 @@ const START_WORKFLOW_RUN_ROUTE = createRoute({
|
|
|
601
615
|
...params,
|
|
602
616
|
requestContext
|
|
603
617
|
}).catch((error) => {
|
|
604
|
-
mastra
|
|
605
|
-
error,
|
|
618
|
+
logBackgroundRunFailure(mastra, "Failed to start workflow run", error, {
|
|
606
619
|
workflowId,
|
|
607
620
|
runId
|
|
608
621
|
});
|
|
@@ -776,8 +789,7 @@ const RESUME_WORKFLOW_ROUTE = createRoute({
|
|
|
776
789
|
...params,
|
|
777
790
|
requestContext
|
|
778
791
|
}).catch((error) => {
|
|
779
|
-
mastra
|
|
780
|
-
error,
|
|
792
|
+
logBackgroundRunFailure(mastra, "Failed to resume workflow run", error, {
|
|
781
793
|
workflowId,
|
|
782
794
|
runId
|
|
783
795
|
});
|
|
@@ -857,8 +869,7 @@ const RESTART_WORKFLOW_ROUTE = createRoute({
|
|
|
857
869
|
...params,
|
|
858
870
|
requestContext
|
|
859
871
|
}).catch((error) => {
|
|
860
|
-
mastra
|
|
861
|
-
error,
|
|
872
|
+
logBackgroundRunFailure(mastra, "Failed to restart workflow run in background", error, {
|
|
862
873
|
workflowId,
|
|
863
874
|
runId
|
|
864
875
|
});
|
|
@@ -995,8 +1006,7 @@ const TIME_TRAVEL_WORKFLOW_ROUTE = createRoute({
|
|
|
995
1006
|
...params,
|
|
996
1007
|
requestContext
|
|
997
1008
|
}).catch((error) => {
|
|
998
|
-
mastra
|
|
999
|
-
error,
|
|
1009
|
+
logBackgroundRunFailure(mastra, "Failed to time travel workflow run", error, {
|
|
1000
1010
|
workflowId,
|
|
1001
1011
|
runId
|
|
1002
1012
|
});
|
|
@@ -66,6 +66,20 @@ async function withLoadedSteps(result) {
|
|
|
66
66
|
} : result;
|
|
67
67
|
}
|
|
68
68
|
/**
|
|
69
|
+
* Logs a run a route started in the background that rejected. A takeover of that run by another
|
|
70
|
+
* instance is not a failure here: the run's claim already logged a warning.
|
|
71
|
+
*/
|
|
72
|
+
function logBackgroundRunFailure(mastra, message, error, context) {
|
|
73
|
+
if (require_server_handlers_error.runFenceConflictRunId(error) === context.runId) {
|
|
74
|
+
mastra.getLogger().debug(`${message}: another instance took the run over`, context);
|
|
75
|
+
return;
|
|
76
|
+
}
|
|
77
|
+
mastra.getLogger().error(message, {
|
|
78
|
+
error,
|
|
79
|
+
...context
|
|
80
|
+
});
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
69
83
|
* Runs whose chunks are already being written to the cache in this process,
|
|
70
84
|
* keyed by runId. A run has exactly one writer: without this, two concurrent
|
|
71
85
|
* requests for the same runId each cache every chunk and the replayed history
|
|
@@ -601,8 +615,7 @@ const START_WORKFLOW_RUN_ROUTE = require_route_builder.createRoute({
|
|
|
601
615
|
...params,
|
|
602
616
|
requestContext
|
|
603
617
|
}).catch((error) => {
|
|
604
|
-
mastra
|
|
605
|
-
error,
|
|
618
|
+
logBackgroundRunFailure(mastra, "Failed to start workflow run", error, {
|
|
606
619
|
workflowId,
|
|
607
620
|
runId
|
|
608
621
|
});
|
|
@@ -776,8 +789,7 @@ const RESUME_WORKFLOW_ROUTE = require_route_builder.createRoute({
|
|
|
776
789
|
...params,
|
|
777
790
|
requestContext
|
|
778
791
|
}).catch((error) => {
|
|
779
|
-
mastra
|
|
780
|
-
error,
|
|
792
|
+
logBackgroundRunFailure(mastra, "Failed to resume workflow run", error, {
|
|
781
793
|
workflowId,
|
|
782
794
|
runId
|
|
783
795
|
});
|
|
@@ -857,8 +869,7 @@ const RESTART_WORKFLOW_ROUTE = require_route_builder.createRoute({
|
|
|
857
869
|
...params,
|
|
858
870
|
requestContext
|
|
859
871
|
}).catch((error) => {
|
|
860
|
-
mastra
|
|
861
|
-
error,
|
|
872
|
+
logBackgroundRunFailure(mastra, "Failed to restart workflow run in background", error, {
|
|
862
873
|
workflowId,
|
|
863
874
|
runId
|
|
864
875
|
});
|
|
@@ -995,8 +1006,7 @@ const TIME_TRAVEL_WORKFLOW_ROUTE = require_route_builder.createRoute({
|
|
|
995
1006
|
...params,
|
|
996
1007
|
requestContext
|
|
997
1008
|
}).catch((error) => {
|
|
998
|
-
mastra
|
|
999
|
-
error,
|
|
1009
|
+
logBackgroundRunFailure(mastra, "Failed to time travel workflow run", error, {
|
|
1000
1010
|
workflowId,
|
|
1001
1011
|
runId
|
|
1002
1012
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/server",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.87.0-alpha.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
@@ -127,15 +127,15 @@
|
|
|
127
127
|
"zod": "^4.6.7",
|
|
128
128
|
"zod-to-ts": "^2.1.0",
|
|
129
129
|
"@internal/core": "0.1.4",
|
|
130
|
-
"@internal/lint": "0.0.
|
|
131
|
-
"@internal/storage-test-utils": "0.0.
|
|
132
|
-
"@internal/test-utils": "0.0.
|
|
133
|
-
"@internal/types-builder": "0.0.
|
|
134
|
-
"@internal/voice": "0.0.
|
|
135
|
-
"@mastra/agent-builder": "1.2.3
|
|
136
|
-
"@mastra/core": "1.
|
|
137
|
-
"@mastra/mcp": "^2.11.0
|
|
138
|
-
"@mastra/schema-compat": "1.4.1
|
|
130
|
+
"@internal/lint": "0.0.152",
|
|
131
|
+
"@internal/storage-test-utils": "0.0.148",
|
|
132
|
+
"@internal/test-utils": "0.0.88",
|
|
133
|
+
"@internal/types-builder": "0.0.127",
|
|
134
|
+
"@internal/voice": "0.0.48",
|
|
135
|
+
"@mastra/agent-builder": "1.2.3",
|
|
136
|
+
"@mastra/core": "1.87.0-alpha.0",
|
|
137
|
+
"@mastra/mcp": "^2.11.0",
|
|
138
|
+
"@mastra/schema-compat": "1.4.1"
|
|
139
139
|
},
|
|
140
140
|
"homepage": "https://mastra.ai",
|
|
141
141
|
"repository": {
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/routes/index.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|