@mastra/core 1.2.1-alpha.0 → 1.3.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +341 -0
- package/dist/_types/@internal_ai-sdk-v5/dist/index.d.ts +2093 -262
- package/dist/agent/agent-legacy.d.ts.map +1 -1
- package/dist/agent/agent.d.ts +12 -3
- package/dist/agent/agent.d.ts.map +1 -1
- package/dist/agent/index.cjs +13 -13
- package/dist/agent/index.js +2 -2
- package/dist/agent/message-list/index.cjs +18 -18
- package/dist/agent/message-list/index.js +1 -1
- package/dist/agent/message-list/message-list.d.ts.map +1 -1
- package/dist/agent/types.d.ts +6 -1
- package/dist/agent/types.d.ts.map +1 -1
- package/dist/agent/workflows/prepare-stream/index.d.ts +3 -1
- package/dist/agent/workflows/prepare-stream/index.d.ts.map +1 -1
- package/dist/agent/workflows/prepare-stream/map-results-step.d.ts.map +1 -1
- package/dist/agent/workflows/prepare-stream/stream-step.d.ts +3 -1
- package/dist/agent/workflows/prepare-stream/stream-step.d.ts.map +1 -1
- package/dist/base.cjs +2 -2
- package/dist/base.d.ts +13 -1
- package/dist/base.d.ts.map +1 -1
- package/dist/base.js +1 -1
- package/dist/bundler/index.cjs +2 -2
- package/dist/bundler/index.js +1 -1
- package/dist/cache/index.cjs +3 -3
- package/dist/cache/index.js +1 -1
- package/dist/{chunk-ENCTSDWC.js → chunk-2GWTJFVM.js} +2410 -1402
- package/dist/chunk-2GWTJFVM.js.map +1 -0
- package/dist/{chunk-OB4V67IX.cjs → chunk-2K5PNW2U.cjs} +4 -4
- package/dist/{chunk-OB4V67IX.cjs.map → chunk-2K5PNW2U.cjs.map} +1 -1
- package/dist/{chunk-VZXYBFCX.cjs → chunk-2P6DD7M5.cjs} +10 -10
- package/dist/{chunk-VZXYBFCX.cjs.map → chunk-2P6DD7M5.cjs.map} +1 -1
- package/dist/{chunk-Q2D7LERO.cjs → chunk-2VD5OGOT.cjs} +4 -4
- package/dist/{chunk-Q2D7LERO.cjs.map → chunk-2VD5OGOT.cjs.map} +1 -1
- package/dist/{chunk-2DMSFLJY.cjs → chunk-6TZKQI4R.cjs} +8 -8
- package/dist/chunk-6TZKQI4R.cjs.map +1 -0
- package/dist/{chunk-4NG7CKEG.js → chunk-6VGCVSP4.js} +3 -3
- package/dist/{chunk-4NG7CKEG.js.map → chunk-6VGCVSP4.js.map} +1 -1
- package/dist/{chunk-IIZF4W7B.cjs → chunk-7UWHFWST.cjs} +52 -5
- package/dist/chunk-7UWHFWST.cjs.map +1 -0
- package/dist/{chunk-VW7YQWDW.cjs → chunk-BFIOQFGF.cjs} +28 -2
- package/dist/chunk-BFIOQFGF.cjs.map +1 -0
- package/dist/{chunk-E3VFKTIA.js → chunk-BXLLXTT4.js} +2245 -179
- package/dist/chunk-BXLLXTT4.js.map +1 -0
- package/dist/{chunk-HMCXNOF6.cjs → chunk-CGPH7CMG.cjs} +2431 -1417
- package/dist/chunk-CGPH7CMG.cjs.map +1 -0
- package/dist/{chunk-GVLPTDJA.cjs → chunk-D5JZT6EK.cjs} +236 -63
- package/dist/chunk-D5JZT6EK.cjs.map +1 -0
- package/dist/{chunk-5SOS47PH.cjs → chunk-FLHFB23E.cjs} +454 -222
- package/dist/chunk-FLHFB23E.cjs.map +1 -0
- package/dist/{chunk-XCPEEIHI.cjs → chunk-GCTAD6B7.cjs} +3012 -927
- package/dist/chunk-GCTAD6B7.cjs.map +1 -0
- package/dist/{chunk-W3AQUG66.js → chunk-GIY5BINT.js} +4 -4
- package/dist/{chunk-W3AQUG66.js.map → chunk-GIY5BINT.js.map} +1 -1
- package/dist/{chunk-M6VFJX5A.js → chunk-GMSAGYTB.js} +3 -3
- package/dist/{chunk-M6VFJX5A.js.map → chunk-GMSAGYTB.js.map} +1 -1
- package/dist/{chunk-JRJJ5VQE.cjs → chunk-GZD6443M.cjs} +99 -55
- package/dist/chunk-GZD6443M.cjs.map +1 -0
- package/dist/{chunk-Z6NRYYOH.js → chunk-ILQXPZCD.js} +9 -4
- package/dist/chunk-ILQXPZCD.js.map +1 -0
- package/dist/{chunk-5YVR7B4R.js → chunk-JQNREL64.js} +29 -9
- package/dist/chunk-JQNREL64.js.map +1 -0
- package/dist/{chunk-QOFI2WBM.cjs → chunk-JU6K7UDX.cjs} +991 -229
- package/dist/chunk-JU6K7UDX.cjs.map +1 -0
- package/dist/{chunk-HN2MSTR6.cjs → chunk-KAJNBNWP.cjs} +283 -38
- package/dist/chunk-KAJNBNWP.cjs.map +1 -0
- package/dist/{chunk-MSWXEOZC.js → chunk-KL2JPSRX.js} +5 -5
- package/dist/chunk-KL2JPSRX.js.map +1 -0
- package/dist/{chunk-MQB7XFXP.js → chunk-LHRHOPUC.js} +3 -3
- package/dist/{chunk-MQB7XFXP.js.map → chunk-LHRHOPUC.js.map} +1 -1
- package/dist/{chunk-VX7UA3SO.js → chunk-MOOJ3H3C.js} +974 -217
- package/dist/chunk-MOOJ3H3C.js.map +1 -0
- package/dist/{chunk-HU2ONA2W.cjs → chunk-ON2KVIUJ.cjs} +17 -17
- package/dist/{chunk-HU2ONA2W.cjs.map → chunk-ON2KVIUJ.cjs.map} +1 -1
- package/dist/{chunk-I66TMZJ3.cjs → chunk-OOCEAC6U.cjs} +21 -18
- package/dist/chunk-OOCEAC6U.cjs.map +1 -0
- package/dist/{chunk-MNWW2R3U.js → chunk-OV7OOUUR.js} +90 -54
- package/dist/chunk-OV7OOUUR.js.map +1 -0
- package/dist/{chunk-C4WWWQHT.cjs → chunk-RO47SMI7.cjs} +23 -3
- package/dist/chunk-RO47SMI7.cjs.map +1 -0
- package/dist/{chunk-6FG6FU5Y.cjs → chunk-RQ56ZSIR.cjs} +4 -4
- package/dist/{chunk-6FG6FU5Y.cjs.map → chunk-RQ56ZSIR.cjs.map} +1 -1
- package/dist/{chunk-IW3BNL7A.js → chunk-RS6CZXGA.js} +50 -3
- package/dist/chunk-RS6CZXGA.js.map +1 -0
- package/dist/{chunk-AIJLACR2.js → chunk-S53FKKVL.js} +27 -3
- package/dist/chunk-S53FKKVL.js.map +1 -0
- package/dist/{chunk-G6E3QNJC.js → chunk-SBPPGJL6.js} +4078 -4333
- package/dist/chunk-SBPPGJL6.js.map +1 -0
- package/dist/{chunk-UZL4H5P2.cjs → chunk-SH4PCZ3X.cjs} +5375 -5648
- package/dist/chunk-SH4PCZ3X.cjs.map +1 -0
- package/dist/{chunk-ZWM2CAIM.js → chunk-STKNQDVA.js} +4 -4
- package/dist/{chunk-ZWM2CAIM.js.map → chunk-STKNQDVA.js.map} +1 -1
- package/dist/{chunk-A5QFWX67.cjs → chunk-U2CABSMC.cjs} +79 -59
- package/dist/chunk-U2CABSMC.cjs.map +1 -0
- package/dist/{chunk-7MDVYPWX.cjs → chunk-UE2G2LRP.cjs} +9 -4
- package/dist/chunk-UE2G2LRP.cjs.map +1 -0
- package/dist/{chunk-AUF6U2BL.js → chunk-VM25PDSW.js} +5 -5
- package/dist/{chunk-AUF6U2BL.js.map → chunk-VM25PDSW.js.map} +1 -1
- package/dist/{chunk-RXD5EGQF.js → chunk-VVD56FI4.js} +228 -55
- package/dist/chunk-VVD56FI4.js.map +1 -0
- package/dist/{chunk-JIT2OY3X.js → chunk-WCAFTXGK.js} +23 -3
- package/dist/chunk-WCAFTXGK.js.map +1 -0
- package/dist/{chunk-P62OJXQ4.js → chunk-WL3AW3YA.js} +282 -37
- package/dist/chunk-WL3AW3YA.js.map +1 -0
- package/dist/{chunk-YLODOPYM.cjs → chunk-XDD5V446.cjs} +4163 -5352
- package/dist/chunk-XDD5V446.cjs.map +1 -0
- package/dist/{chunk-B4M33FCS.cjs → chunk-XQVYEOI7.cjs} +7 -7
- package/dist/{chunk-B4M33FCS.cjs.map → chunk-XQVYEOI7.cjs.map} +1 -1
- package/dist/{chunk-BP2TSCBW.js → chunk-ZATLLPIH.js} +4391 -5561
- package/dist/chunk-ZATLLPIH.js.map +1 -0
- package/dist/{chunk-T6PRRKMW.js → chunk-ZHFM7HCQ.js} +9 -6
- package/dist/chunk-ZHFM7HCQ.js.map +1 -0
- package/dist/{chunk-WFUNLRQX.js → chunk-ZRUTE56J.js} +366 -134
- package/dist/chunk-ZRUTE56J.js.map +1 -0
- package/dist/deployer/index.cjs +2 -2
- package/dist/deployer/index.js +1 -1
- package/dist/docs/SKILL.md +2 -9
- package/dist/docs/assets/SOURCE_MAP.json +399 -342
- package/dist/docs/references/docs-agents-agent-memory.md +45 -1
- package/dist/docs/references/docs-agents-network-approval.md +1 -1
- package/dist/docs/references/docs-agents-networks.md +3 -3
- package/dist/docs/references/docs-agents-overview.md +8 -0
- package/dist/docs/references/docs-agents-using-tools.md +82 -72
- package/dist/docs/references/docs-memory-observational-memory.md +11 -8
- package/dist/docs/references/docs-observability-overview.md +1 -1
- package/dist/docs/references/docs-observability-tracing-exporters-langsmith.md +70 -0
- package/dist/docs/references/docs-observability-tracing-overview.md +1 -1
- package/dist/docs/references/docs-server-middleware.md +0 -2
- package/dist/docs/references/docs-server-request-context.md +17 -0
- package/dist/docs/references/docs-workflows-agents-and-tools.md +2 -2
- package/dist/docs/references/docs-workflows-overview.md +1 -1
- package/dist/docs/references/docs-workspace-filesystem.md +2 -0
- package/dist/docs/references/docs-workspace-overview.md +3 -1
- package/dist/docs/references/docs-workspace-sandbox.md +2 -0
- package/dist/docs/references/docs-workspace-search.md +2 -0
- package/dist/docs/references/docs-workspace-skills.md +3 -1
- package/dist/docs/references/reference-agents-getTools.md +1 -6
- package/dist/docs/references/reference-agents-listAgents.md +1 -1
- package/dist/docs/references/reference-agents-network.md +0 -2
- package/dist/docs/references/reference-cli-mastra.md +29 -4
- package/dist/docs/references/reference-client-js-agents.md +1 -1
- package/dist/docs/references/reference-configuration.md +1 -1
- package/dist/docs/references/reference-core-getStoredAgentById.md +2 -2
- package/dist/docs/references/reference-core-listStoredAgents.md +1 -1
- package/dist/docs/references/reference-memory-observational-memory.md +2 -0
- package/dist/docs/references/reference-tools-mcp-client.md +0 -2
- package/dist/docs/references/reference-workflows-step.md +2 -0
- package/dist/docs/references/reference-workflows-workflow-methods-map.md +2 -2
- package/dist/docs/references/reference-workspace-filesystem.md +2 -0
- package/dist/docs/references/reference-workspace-local-filesystem.md +2 -0
- package/dist/docs/references/reference-workspace-local-sandbox.md +2 -0
- package/dist/docs/references/reference-workspace-sandbox.md +2 -0
- package/dist/docs/references/reference-workspace-workspace-class.md +2 -0
- package/dist/docs/references/reference.md +7 -2
- package/dist/editor/index.d.ts +1 -1
- package/dist/editor/index.d.ts.map +1 -1
- package/dist/editor/types.d.ts +53 -48
- package/dist/editor/types.d.ts.map +1 -1
- package/dist/evals/base.d.ts +15 -0
- package/dist/evals/base.d.ts.map +1 -1
- package/dist/evals/index.cjs +20 -20
- package/dist/evals/index.js +3 -3
- package/dist/evals/run/index.d.ts +3 -3
- package/dist/evals/run/index.d.ts.map +1 -1
- package/dist/evals/scoreTraces/index.cjs +5 -5
- package/dist/evals/scoreTraces/index.js +2 -2
- package/dist/features/index.cjs +1 -1
- package/dist/features/index.cjs.map +1 -1
- package/dist/features/index.d.ts.map +1 -1
- package/dist/features/index.js +1 -1
- package/dist/features/index.js.map +1 -1
- package/dist/index.cjs +4 -4
- package/dist/index.d.ts +3 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -2
- package/dist/integration/index.cjs +2 -2
- package/dist/integration/index.js +1 -1
- package/dist/llm/index.cjs +16 -16
- package/dist/llm/index.js +5 -5
- package/dist/llm/model/gateways/constants.d.ts.map +1 -1
- package/dist/llm/model/gateways/models-dev.d.ts.map +1 -1
- package/dist/llm/model/model.loop.d.ts +1 -1
- package/dist/llm/model/model.loop.d.ts.map +1 -1
- package/dist/llm/model/provider-types.generated.d.ts +128 -10
- package/dist/llm/model/resolve-model.d.ts.map +1 -1
- package/dist/loop/index.cjs +12 -12
- package/dist/loop/index.js +1 -1
- package/dist/loop/network/index.d.ts +3 -3
- package/dist/loop/network/index.d.ts.map +1 -1
- package/dist/loop/network/run-command-tool.d.ts +1 -1
- package/dist/loop/types.d.ts +13 -0
- package/dist/loop/types.d.ts.map +1 -1
- package/dist/loop/workflows/agentic-execution/index.d.ts +9 -9
- package/dist/loop/workflows/agentic-execution/llm-execution-step.d.ts +7 -7
- package/dist/loop/workflows/agentic-execution/llm-execution-step.d.ts.map +1 -1
- package/dist/loop/workflows/agentic-execution/llm-mapping-step.d.ts +3 -3
- package/dist/loop/workflows/agentic-execution/tool-call-step.d.ts.map +1 -1
- package/dist/loop/workflows/agentic-loop/index.d.ts +9 -9
- package/dist/loop/workflows/schema.d.ts +12 -12
- package/dist/mastra/index.cjs +2 -2
- package/dist/mastra/index.d.ts +91 -5
- package/dist/mastra/index.d.ts.map +1 -1
- package/dist/mastra/index.js +1 -1
- package/dist/mcp/index.cjs +2 -2
- package/dist/mcp/index.js +1 -1
- package/dist/memory/index.cjs +14 -14
- package/dist/memory/index.js +1 -1
- package/dist/memory/mock.d.ts.map +1 -1
- package/dist/memory/types.d.ts +128 -0
- package/dist/memory/types.d.ts.map +1 -1
- package/dist/models-dev-FQVUTQ7L.js +3 -0
- package/dist/{models-dev-Z45JSLWD.js.map → models-dev-FQVUTQ7L.js.map} +1 -1
- package/dist/models-dev-PPIXUUCU.cjs +12 -0
- package/dist/{models-dev-OQKVMEIT.cjs.map → models-dev-PPIXUUCU.cjs.map} +1 -1
- package/dist/netlify-4RIKF7Y3.js +3 -0
- package/dist/{netlify-SSWMYSAX.js.map → netlify-4RIKF7Y3.js.map} +1 -1
- package/dist/netlify-V5F7JEJH.cjs +12 -0
- package/dist/{netlify-TXZZCT6N.cjs.map → netlify-V5F7JEJH.cjs.map} +1 -1
- package/dist/processors/index.cjs +41 -41
- package/dist/processors/index.js +1 -1
- package/dist/processors/step-schema.d.ts +44 -44
- package/dist/provider-registry-C6XCYX44.cjs +40 -0
- package/dist/{provider-registry-NR7FXV2Q.cjs.map → provider-registry-C6XCYX44.cjs.map} +1 -1
- package/dist/provider-registry-NWU4YFQW.js +3 -0
- package/dist/{provider-registry-RPOTQNHI.js.map → provider-registry-NWU4YFQW.js.map} +1 -1
- package/dist/provider-registry.json +278 -33
- package/dist/relevance/index.cjs +3 -3
- package/dist/relevance/index.js +1 -1
- package/dist/server/index.cjs +3 -3
- package/dist/server/index.js +1 -1
- package/dist/storage/base.d.ts +3 -1
- package/dist/storage/base.d.ts.map +1 -1
- package/dist/storage/constants.cjs +51 -19
- package/dist/storage/constants.d.ts +10 -2
- package/dist/storage/constants.d.ts.map +1 -1
- package/dist/storage/constants.js +1 -1
- package/dist/storage/domains/agents/base.d.ts +13 -164
- package/dist/storage/domains/agents/base.d.ts.map +1 -1
- package/dist/storage/domains/agents/index.d.ts +0 -1
- package/dist/storage/domains/agents/index.d.ts.map +1 -1
- package/dist/storage/domains/agents/inmemory.d.ts +6 -10
- package/dist/storage/domains/agents/inmemory.d.ts.map +1 -1
- package/dist/storage/domains/index.d.ts +3 -0
- package/dist/storage/domains/index.d.ts.map +1 -1
- package/dist/storage/domains/inmemory-db.d.ts +7 -1
- package/dist/storage/domains/inmemory-db.d.ts.map +1 -1
- package/dist/storage/domains/memory/base.d.ts +45 -5
- package/dist/storage/domains/memory/base.d.ts.map +1 -1
- package/dist/storage/domains/memory/inmemory.d.ts +7 -7
- package/dist/storage/domains/memory/inmemory.d.ts.map +1 -1
- package/dist/storage/domains/observability/types.d.ts +62 -62
- package/dist/storage/domains/operations/inmemory.d.ts.map +1 -1
- package/dist/storage/domains/prompt-blocks/base.d.ts +47 -0
- package/dist/storage/domains/prompt-blocks/base.d.ts.map +1 -0
- package/dist/storage/domains/prompt-blocks/index.d.ts +3 -0
- package/dist/storage/domains/prompt-blocks/index.d.ts.map +1 -0
- package/dist/storage/domains/prompt-blocks/inmemory.d.ts +31 -0
- package/dist/storage/domains/prompt-blocks/inmemory.d.ts.map +1 -0
- package/dist/storage/domains/scorer-definitions/base.d.ts +47 -0
- package/dist/storage/domains/scorer-definitions/base.d.ts.map +1 -0
- package/dist/storage/domains/scorer-definitions/index.d.ts +3 -0
- package/dist/storage/domains/scorer-definitions/index.d.ts.map +1 -0
- package/dist/storage/domains/scorer-definitions/inmemory.d.ts +31 -0
- package/dist/storage/domains/scorer-definitions/inmemory.d.ts.map +1 -0
- package/dist/storage/domains/versioned.d.ts +136 -0
- package/dist/storage/domains/versioned.d.ts.map +1 -0
- package/dist/storage/index.cjs +156 -104
- package/dist/storage/index.js +2 -2
- package/dist/storage/mock.d.ts.map +1 -1
- package/dist/storage/types.d.ts +481 -27
- package/dist/storage/types.d.ts.map +1 -1
- package/dist/stream/MastraAgentNetworkStream.d.ts +1 -1
- package/dist/stream/MastraWorkflowStream.d.ts +1 -1
- package/dist/stream/RunOutput.d.ts +1 -1
- package/dist/stream/RunOutput.d.ts.map +1 -1
- package/dist/stream/base/output.d.ts +4 -0
- package/dist/stream/base/output.d.ts.map +1 -1
- package/dist/stream/index.cjs +11 -11
- package/dist/stream/index.js +2 -2
- package/dist/test-utils/llm-mock.cjs +4 -4
- package/dist/test-utils/llm-mock.js +1 -1
- package/dist/tool-loop-agent/index.cjs +4 -4
- package/dist/tool-loop-agent/index.js +1 -1
- package/dist/tools/index.cjs +4 -4
- package/dist/tools/index.js +1 -1
- package/dist/tools/is-vercel-tool.cjs +2 -2
- package/dist/tools/is-vercel-tool.js +1 -1
- package/dist/tools/tool-builder/builder.d.ts.map +1 -1
- package/dist/tools/types.d.ts +15 -0
- package/dist/tools/types.d.ts.map +1 -1
- package/dist/tools/validation.d.ts.map +1 -1
- package/dist/tts/index.cjs +2 -2
- package/dist/tts/index.js +1 -1
- package/dist/types/zod-compat.d.ts +2 -2
- package/dist/types/zod-compat.d.ts.map +1 -1
- package/dist/utils/zod-utils.d.ts +19 -0
- package/dist/utils/zod-utils.d.ts.map +1 -1
- package/dist/utils.cjs +28 -28
- package/dist/utils.d.ts +7 -1
- package/dist/utils.d.ts.map +1 -1
- package/dist/utils.js +2 -2
- package/dist/vector/index.cjs +9 -9
- package/dist/vector/index.js +2 -2
- package/dist/voice/index.cjs +6 -6
- package/dist/voice/index.js +1 -1
- package/dist/workflows/evented/index.cjs +10 -10
- package/dist/workflows/evented/index.js +1 -1
- package/dist/workflows/evented/step-executor.d.ts.map +1 -1
- package/dist/workflows/evented/workflow.d.ts +3 -1
- package/dist/workflows/evented/workflow.d.ts.map +1 -1
- package/dist/workflows/execution-engine.d.ts.map +1 -1
- package/dist/workflows/index.cjs +25 -25
- package/dist/workflows/index.js +1 -1
- package/dist/workflows/step.d.ts +4 -3
- package/dist/workflows/step.d.ts.map +1 -1
- package/dist/workflows/types.d.ts +2 -1
- package/dist/workflows/types.d.ts.map +1 -1
- package/dist/workflows/workflow.d.ts +12 -4
- package/dist/workflows/workflow.d.ts.map +1 -1
- package/dist/workspace/errors.d.ts +6 -0
- package/dist/workspace/errors.d.ts.map +1 -1
- package/dist/workspace/filesystem/composite-filesystem.d.ts +93 -0
- package/dist/workspace/filesystem/composite-filesystem.d.ts.map +1 -0
- package/dist/workspace/filesystem/filesystem.d.ts +35 -0
- package/dist/workspace/filesystem/filesystem.d.ts.map +1 -1
- package/dist/workspace/filesystem/index.d.ts +2 -0
- package/dist/workspace/filesystem/index.d.ts.map +1 -1
- package/dist/workspace/filesystem/local-filesystem.d.ts +9 -1
- package/dist/workspace/filesystem/local-filesystem.d.ts.map +1 -1
- package/dist/workspace/filesystem/mastra-filesystem.d.ts +92 -3
- package/dist/workspace/filesystem/mastra-filesystem.d.ts.map +1 -1
- package/dist/workspace/filesystem/mount.d.ts +34 -0
- package/dist/workspace/filesystem/mount.d.ts.map +1 -0
- package/dist/workspace/index.cjs +62 -34
- package/dist/workspace/index.d.ts +6 -2
- package/dist/workspace/index.d.ts.map +1 -1
- package/dist/workspace/index.js +1 -1
- package/dist/workspace/lifecycle.d.ts +29 -0
- package/dist/workspace/lifecycle.d.ts.map +1 -1
- package/dist/workspace/sandbox/errors.d.ts +50 -0
- package/dist/workspace/sandbox/errors.d.ts.map +1 -0
- package/dist/workspace/sandbox/index.d.ts +3 -0
- package/dist/workspace/sandbox/index.d.ts.map +1 -1
- package/dist/workspace/sandbox/local-sandbox.d.ts +17 -2
- package/dist/workspace/sandbox/local-sandbox.d.ts.map +1 -1
- package/dist/workspace/sandbox/mastra-sandbox.d.ts +153 -6
- package/dist/workspace/sandbox/mastra-sandbox.d.ts.map +1 -1
- package/dist/workspace/sandbox/mount-manager.d.ts +195 -0
- package/dist/workspace/sandbox/mount-manager.d.ts.map +1 -0
- package/dist/workspace/sandbox/sandbox.d.ts +37 -84
- package/dist/workspace/sandbox/sandbox.d.ts.map +1 -1
- package/dist/workspace/sandbox/types.d.ts +92 -0
- package/dist/workspace/sandbox/types.d.ts.map +1 -0
- package/dist/workspace/tools/tools.d.ts.map +1 -1
- package/dist/workspace/tools/tree-formatter.d.ts.map +1 -1
- package/dist/workspace/workspace.d.ts +73 -3
- package/dist/workspace/workspace.d.ts.map +1 -1
- package/package.json +16 -16
- package/src/llm/model/provider-types.generated.d.ts +128 -10
- package/dist/chunk-2DMSFLJY.cjs.map +0 -1
- package/dist/chunk-5SOS47PH.cjs.map +0 -1
- package/dist/chunk-5YVR7B4R.js.map +0 -1
- package/dist/chunk-7MDVYPWX.cjs.map +0 -1
- package/dist/chunk-A5QFWX67.cjs.map +0 -1
- package/dist/chunk-AIJLACR2.js.map +0 -1
- package/dist/chunk-BP2TSCBW.js.map +0 -1
- package/dist/chunk-C4WWWQHT.cjs.map +0 -1
- package/dist/chunk-E3VFKTIA.js.map +0 -1
- package/dist/chunk-ENCTSDWC.js.map +0 -1
- package/dist/chunk-G6E3QNJC.js.map +0 -1
- package/dist/chunk-GVLPTDJA.cjs.map +0 -1
- package/dist/chunk-HMCXNOF6.cjs.map +0 -1
- package/dist/chunk-HN2MSTR6.cjs.map +0 -1
- package/dist/chunk-I66TMZJ3.cjs.map +0 -1
- package/dist/chunk-IIZF4W7B.cjs.map +0 -1
- package/dist/chunk-IW3BNL7A.js.map +0 -1
- package/dist/chunk-JIT2OY3X.js.map +0 -1
- package/dist/chunk-JRJJ5VQE.cjs.map +0 -1
- package/dist/chunk-MNWW2R3U.js.map +0 -1
- package/dist/chunk-MSWXEOZC.js.map +0 -1
- package/dist/chunk-P62OJXQ4.js.map +0 -1
- package/dist/chunk-QOFI2WBM.cjs.map +0 -1
- package/dist/chunk-RXD5EGQF.js.map +0 -1
- package/dist/chunk-T6PRRKMW.js.map +0 -1
- package/dist/chunk-UZL4H5P2.cjs.map +0 -1
- package/dist/chunk-VW7YQWDW.cjs.map +0 -1
- package/dist/chunk-VX7UA3SO.js.map +0 -1
- package/dist/chunk-WFUNLRQX.js.map +0 -1
- package/dist/chunk-XCPEEIHI.cjs.map +0 -1
- package/dist/chunk-YLODOPYM.cjs.map +0 -1
- package/dist/chunk-Z6NRYYOH.js.map +0 -1
- package/dist/docs/references/docs-tools-mcp-advanced-usage.md +0 -143
- package/dist/docs/references/docs-tools-mcp-mcp-overview.md +0 -383
- package/dist/docs/references/docs-tools-mcp-overview.md +0 -78
- package/dist/docs/references/docs-workflows-input-data-mapping.md +0 -102
- package/dist/docs/references/reference-deployer-netlify.md +0 -14
- package/dist/docs/references/reference-deployer-vercel.md +0 -39
- package/dist/docs/references/reference-tools-client.md +0 -228
- package/dist/models-dev-OQKVMEIT.cjs +0 -12
- package/dist/models-dev-Z45JSLWD.js +0 -3
- package/dist/netlify-SSWMYSAX.js +0 -3
- package/dist/netlify-TXZZCT6N.cjs +0 -12
- package/dist/provider-registry-NR7FXV2Q.cjs +0 -40
- package/dist/provider-registry-RPOTQNHI.js +0 -3
package/dist/storage/index.cjs
CHANGED
|
@@ -1,417 +1,469 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var chunkJU6K7UDX_cjs = require('../chunk-JU6K7UDX.cjs');
|
|
4
|
+
var chunkGZD6443M_cjs = require('../chunk-GZD6443M.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "AgentsStorage", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunkJU6K7UDX_cjs.AgentsStorage; }
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "InMemoryAgentsStorage", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkJU6K7UDX_cjs.InMemoryAgentsStorage; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "InMemoryDB", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkJU6K7UDX_cjs.InMemoryDB; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "InMemoryMemory", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkJU6K7UDX_cjs.InMemoryMemory; }
|
|
23
|
+
});
|
|
24
|
+
Object.defineProperty(exports, "InMemoryPromptBlocksStorage", {
|
|
25
|
+
enumerable: true,
|
|
26
|
+
get: function () { return chunkJU6K7UDX_cjs.InMemoryPromptBlocksStorage; }
|
|
27
|
+
});
|
|
28
|
+
Object.defineProperty(exports, "InMemoryScorerDefinitionsStorage", {
|
|
29
|
+
enumerable: true,
|
|
30
|
+
get: function () { return chunkJU6K7UDX_cjs.InMemoryScorerDefinitionsStorage; }
|
|
23
31
|
});
|
|
24
32
|
Object.defineProperty(exports, "InMemoryStore", {
|
|
25
33
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkJU6K7UDX_cjs.InMemoryStore; }
|
|
27
35
|
});
|
|
28
36
|
Object.defineProperty(exports, "MastraCompositeStore", {
|
|
29
37
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunkJU6K7UDX_cjs.MastraCompositeStore; }
|
|
31
39
|
});
|
|
32
40
|
Object.defineProperty(exports, "MastraStorage", {
|
|
33
41
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
42
|
+
get: function () { return chunkJU6K7UDX_cjs.MastraStorage; }
|
|
35
43
|
});
|
|
36
44
|
Object.defineProperty(exports, "MemoryStorage", {
|
|
37
45
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
46
|
+
get: function () { return chunkJU6K7UDX_cjs.MemoryStorage; }
|
|
39
47
|
});
|
|
40
48
|
Object.defineProperty(exports, "MockStore", {
|
|
41
49
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
50
|
+
get: function () { return chunkJU6K7UDX_cjs.MockStore; }
|
|
43
51
|
});
|
|
44
52
|
Object.defineProperty(exports, "ObservabilityInMemory", {
|
|
45
53
|
enumerable: true,
|
|
46
|
-
get: function () { return
|
|
54
|
+
get: function () { return chunkJU6K7UDX_cjs.ObservabilityInMemory; }
|
|
47
55
|
});
|
|
48
56
|
Object.defineProperty(exports, "ObservabilityStorage", {
|
|
49
57
|
enumerable: true,
|
|
50
|
-
get: function () { return
|
|
58
|
+
get: function () { return chunkJU6K7UDX_cjs.ObservabilityStorage; }
|
|
59
|
+
});
|
|
60
|
+
Object.defineProperty(exports, "PromptBlocksStorage", {
|
|
61
|
+
enumerable: true,
|
|
62
|
+
get: function () { return chunkJU6K7UDX_cjs.PromptBlocksStorage; }
|
|
63
|
+
});
|
|
64
|
+
Object.defineProperty(exports, "ScorerDefinitionsStorage", {
|
|
65
|
+
enumerable: true,
|
|
66
|
+
get: function () { return chunkJU6K7UDX_cjs.ScorerDefinitionsStorage; }
|
|
51
67
|
});
|
|
52
68
|
Object.defineProperty(exports, "ScoresInMemory", {
|
|
53
69
|
enumerable: true,
|
|
54
|
-
get: function () { return
|
|
70
|
+
get: function () { return chunkJU6K7UDX_cjs.ScoresInMemory; }
|
|
55
71
|
});
|
|
56
72
|
Object.defineProperty(exports, "ScoresStorage", {
|
|
57
73
|
enumerable: true,
|
|
58
|
-
get: function () { return
|
|
74
|
+
get: function () { return chunkJU6K7UDX_cjs.ScoresStorage; }
|
|
59
75
|
});
|
|
60
76
|
Object.defineProperty(exports, "StorageDomain", {
|
|
61
77
|
enumerable: true,
|
|
62
|
-
get: function () { return
|
|
78
|
+
get: function () { return chunkJU6K7UDX_cjs.StorageDomain; }
|
|
63
79
|
});
|
|
64
80
|
Object.defineProperty(exports, "StoreOperations", {
|
|
65
81
|
enumerable: true,
|
|
66
|
-
get: function () { return
|
|
82
|
+
get: function () { return chunkJU6K7UDX_cjs.StoreOperations; }
|
|
67
83
|
});
|
|
68
84
|
Object.defineProperty(exports, "StoreOperationsInMemory", {
|
|
69
85
|
enumerable: true,
|
|
70
|
-
get: function () { return
|
|
86
|
+
get: function () { return chunkJU6K7UDX_cjs.StoreOperationsInMemory; }
|
|
87
|
+
});
|
|
88
|
+
Object.defineProperty(exports, "VersionedStorageDomain", {
|
|
89
|
+
enumerable: true,
|
|
90
|
+
get: function () { return chunkJU6K7UDX_cjs.VersionedStorageDomain; }
|
|
71
91
|
});
|
|
72
92
|
Object.defineProperty(exports, "WorkflowsInMemory", {
|
|
73
93
|
enumerable: true,
|
|
74
|
-
get: function () { return
|
|
94
|
+
get: function () { return chunkJU6K7UDX_cjs.WorkflowsInMemory; }
|
|
75
95
|
});
|
|
76
96
|
Object.defineProperty(exports, "WorkflowsStorage", {
|
|
77
97
|
enumerable: true,
|
|
78
|
-
get: function () { return
|
|
98
|
+
get: function () { return chunkJU6K7UDX_cjs.WorkflowsStorage; }
|
|
79
99
|
});
|
|
80
100
|
Object.defineProperty(exports, "calculatePagination", {
|
|
81
101
|
enumerable: true,
|
|
82
|
-
get: function () { return
|
|
102
|
+
get: function () { return chunkJU6K7UDX_cjs.calculatePagination; }
|
|
83
103
|
});
|
|
84
104
|
Object.defineProperty(exports, "createStorageErrorId", {
|
|
85
105
|
enumerable: true,
|
|
86
|
-
get: function () { return
|
|
106
|
+
get: function () { return chunkJU6K7UDX_cjs.createStorageErrorId; }
|
|
87
107
|
});
|
|
88
108
|
Object.defineProperty(exports, "createStoreErrorId", {
|
|
89
109
|
enumerable: true,
|
|
90
|
-
get: function () { return
|
|
110
|
+
get: function () { return chunkJU6K7UDX_cjs.createStoreErrorId; }
|
|
91
111
|
});
|
|
92
112
|
Object.defineProperty(exports, "createVectorErrorId", {
|
|
93
113
|
enumerable: true,
|
|
94
|
-
get: function () { return
|
|
114
|
+
get: function () { return chunkJU6K7UDX_cjs.createVectorErrorId; }
|
|
95
115
|
});
|
|
96
116
|
Object.defineProperty(exports, "ensureDate", {
|
|
97
117
|
enumerable: true,
|
|
98
|
-
get: function () { return
|
|
118
|
+
get: function () { return chunkJU6K7UDX_cjs.ensureDate; }
|
|
99
119
|
});
|
|
100
120
|
Object.defineProperty(exports, "filterByDateRange", {
|
|
101
121
|
enumerable: true,
|
|
102
|
-
get: function () { return
|
|
122
|
+
get: function () { return chunkJU6K7UDX_cjs.filterByDateRange; }
|
|
103
123
|
});
|
|
104
124
|
Object.defineProperty(exports, "getDefaultValue", {
|
|
105
125
|
enumerable: true,
|
|
106
|
-
get: function () { return
|
|
126
|
+
get: function () { return chunkJU6K7UDX_cjs.getDefaultValue; }
|
|
107
127
|
});
|
|
108
128
|
Object.defineProperty(exports, "getSqlType", {
|
|
109
129
|
enumerable: true,
|
|
110
|
-
get: function () { return
|
|
130
|
+
get: function () { return chunkJU6K7UDX_cjs.getSqlType; }
|
|
111
131
|
});
|
|
112
132
|
Object.defineProperty(exports, "jsonValueEquals", {
|
|
113
133
|
enumerable: true,
|
|
114
|
-
get: function () { return
|
|
134
|
+
get: function () { return chunkJU6K7UDX_cjs.jsonValueEquals; }
|
|
115
135
|
});
|
|
116
136
|
Object.defineProperty(exports, "normalizePerPage", {
|
|
117
137
|
enumerable: true,
|
|
118
|
-
get: function () { return
|
|
138
|
+
get: function () { return chunkJU6K7UDX_cjs.normalizePerPage; }
|
|
119
139
|
});
|
|
120
140
|
Object.defineProperty(exports, "safelyParseJSON", {
|
|
121
141
|
enumerable: true,
|
|
122
|
-
get: function () { return
|
|
142
|
+
get: function () { return chunkJU6K7UDX_cjs.safelyParseJSON; }
|
|
123
143
|
});
|
|
124
144
|
Object.defineProperty(exports, "serializeDate", {
|
|
125
145
|
enumerable: true,
|
|
126
|
-
get: function () { return
|
|
146
|
+
get: function () { return chunkJU6K7UDX_cjs.serializeDate; }
|
|
127
147
|
});
|
|
128
148
|
Object.defineProperty(exports, "transformRow", {
|
|
129
149
|
enumerable: true,
|
|
130
|
-
get: function () { return
|
|
150
|
+
get: function () { return chunkJU6K7UDX_cjs.transformRow; }
|
|
131
151
|
});
|
|
132
152
|
Object.defineProperty(exports, "transformScoreRow", {
|
|
133
153
|
enumerable: true,
|
|
134
|
-
get: function () { return
|
|
154
|
+
get: function () { return chunkJU6K7UDX_cjs.transformScoreRow; }
|
|
135
155
|
});
|
|
136
156
|
Object.defineProperty(exports, "AGENTS_SCHEMA", {
|
|
137
157
|
enumerable: true,
|
|
138
|
-
get: function () { return
|
|
158
|
+
get: function () { return chunkGZD6443M_cjs.AGENTS_SCHEMA; }
|
|
139
159
|
});
|
|
140
160
|
Object.defineProperty(exports, "AGENT_VERSIONS_SCHEMA", {
|
|
141
161
|
enumerable: true,
|
|
142
|
-
get: function () { return
|
|
162
|
+
get: function () { return chunkGZD6443M_cjs.AGENT_VERSIONS_SCHEMA; }
|
|
143
163
|
});
|
|
144
164
|
Object.defineProperty(exports, "OBSERVATIONAL_MEMORY_SCHEMA", {
|
|
145
165
|
enumerable: true,
|
|
146
|
-
get: function () { return
|
|
166
|
+
get: function () { return chunkGZD6443M_cjs.OBSERVATIONAL_MEMORY_SCHEMA; }
|
|
147
167
|
});
|
|
148
168
|
Object.defineProperty(exports, "OBSERVATIONAL_MEMORY_TABLE_SCHEMA", {
|
|
149
169
|
enumerable: true,
|
|
150
|
-
get: function () { return
|
|
170
|
+
get: function () { return chunkGZD6443M_cjs.OBSERVATIONAL_MEMORY_TABLE_SCHEMA; }
|
|
151
171
|
});
|
|
152
172
|
Object.defineProperty(exports, "OLD_SPAN_SCHEMA", {
|
|
153
173
|
enumerable: true,
|
|
154
|
-
get: function () { return
|
|
174
|
+
get: function () { return chunkGZD6443M_cjs.OLD_SPAN_SCHEMA; }
|
|
175
|
+
});
|
|
176
|
+
Object.defineProperty(exports, "PROMPT_BLOCKS_SCHEMA", {
|
|
177
|
+
enumerable: true,
|
|
178
|
+
get: function () { return chunkGZD6443M_cjs.PROMPT_BLOCKS_SCHEMA; }
|
|
179
|
+
});
|
|
180
|
+
Object.defineProperty(exports, "PROMPT_BLOCK_VERSIONS_SCHEMA", {
|
|
181
|
+
enumerable: true,
|
|
182
|
+
get: function () { return chunkGZD6443M_cjs.PROMPT_BLOCK_VERSIONS_SCHEMA; }
|
|
155
183
|
});
|
|
156
184
|
Object.defineProperty(exports, "SCORERS_SCHEMA", {
|
|
157
185
|
enumerable: true,
|
|
158
|
-
get: function () { return
|
|
186
|
+
get: function () { return chunkGZD6443M_cjs.SCORERS_SCHEMA; }
|
|
187
|
+
});
|
|
188
|
+
Object.defineProperty(exports, "SCORER_DEFINITIONS_SCHEMA", {
|
|
189
|
+
enumerable: true,
|
|
190
|
+
get: function () { return chunkGZD6443M_cjs.SCORER_DEFINITIONS_SCHEMA; }
|
|
191
|
+
});
|
|
192
|
+
Object.defineProperty(exports, "SCORER_DEFINITION_VERSIONS_SCHEMA", {
|
|
193
|
+
enumerable: true,
|
|
194
|
+
get: function () { return chunkGZD6443M_cjs.SCORER_DEFINITION_VERSIONS_SCHEMA; }
|
|
159
195
|
});
|
|
160
196
|
Object.defineProperty(exports, "SPAN_SCHEMA", {
|
|
161
197
|
enumerable: true,
|
|
162
|
-
get: function () { return
|
|
198
|
+
get: function () { return chunkGZD6443M_cjs.SPAN_SCHEMA; }
|
|
163
199
|
});
|
|
164
200
|
Object.defineProperty(exports, "TABLE_AGENTS", {
|
|
165
201
|
enumerable: true,
|
|
166
|
-
get: function () { return
|
|
202
|
+
get: function () { return chunkGZD6443M_cjs.TABLE_AGENTS; }
|
|
167
203
|
});
|
|
168
204
|
Object.defineProperty(exports, "TABLE_AGENT_VERSIONS", {
|
|
169
205
|
enumerable: true,
|
|
170
|
-
get: function () { return
|
|
206
|
+
get: function () { return chunkGZD6443M_cjs.TABLE_AGENT_VERSIONS; }
|
|
171
207
|
});
|
|
172
208
|
Object.defineProperty(exports, "TABLE_MESSAGES", {
|
|
173
209
|
enumerable: true,
|
|
174
|
-
get: function () { return
|
|
210
|
+
get: function () { return chunkGZD6443M_cjs.TABLE_MESSAGES; }
|
|
175
211
|
});
|
|
176
212
|
Object.defineProperty(exports, "TABLE_OBSERVATIONAL_MEMORY", {
|
|
177
213
|
enumerable: true,
|
|
178
|
-
get: function () { return
|
|
214
|
+
get: function () { return chunkGZD6443M_cjs.TABLE_OBSERVATIONAL_MEMORY; }
|
|
215
|
+
});
|
|
216
|
+
Object.defineProperty(exports, "TABLE_PROMPT_BLOCKS", {
|
|
217
|
+
enumerable: true,
|
|
218
|
+
get: function () { return chunkGZD6443M_cjs.TABLE_PROMPT_BLOCKS; }
|
|
219
|
+
});
|
|
220
|
+
Object.defineProperty(exports, "TABLE_PROMPT_BLOCK_VERSIONS", {
|
|
221
|
+
enumerable: true,
|
|
222
|
+
get: function () { return chunkGZD6443M_cjs.TABLE_PROMPT_BLOCK_VERSIONS; }
|
|
179
223
|
});
|
|
180
224
|
Object.defineProperty(exports, "TABLE_RESOURCES", {
|
|
181
225
|
enumerable: true,
|
|
182
|
-
get: function () { return
|
|
226
|
+
get: function () { return chunkGZD6443M_cjs.TABLE_RESOURCES; }
|
|
183
227
|
});
|
|
184
228
|
Object.defineProperty(exports, "TABLE_SCHEMAS", {
|
|
185
229
|
enumerable: true,
|
|
186
|
-
get: function () { return
|
|
230
|
+
get: function () { return chunkGZD6443M_cjs.TABLE_SCHEMAS; }
|
|
187
231
|
});
|
|
188
232
|
Object.defineProperty(exports, "TABLE_SCORERS", {
|
|
189
233
|
enumerable: true,
|
|
190
|
-
get: function () { return
|
|
234
|
+
get: function () { return chunkGZD6443M_cjs.TABLE_SCORERS; }
|
|
235
|
+
});
|
|
236
|
+
Object.defineProperty(exports, "TABLE_SCORER_DEFINITIONS", {
|
|
237
|
+
enumerable: true,
|
|
238
|
+
get: function () { return chunkGZD6443M_cjs.TABLE_SCORER_DEFINITIONS; }
|
|
239
|
+
});
|
|
240
|
+
Object.defineProperty(exports, "TABLE_SCORER_DEFINITION_VERSIONS", {
|
|
241
|
+
enumerable: true,
|
|
242
|
+
get: function () { return chunkGZD6443M_cjs.TABLE_SCORER_DEFINITION_VERSIONS; }
|
|
191
243
|
});
|
|
192
244
|
Object.defineProperty(exports, "TABLE_SPANS", {
|
|
193
245
|
enumerable: true,
|
|
194
|
-
get: function () { return
|
|
246
|
+
get: function () { return chunkGZD6443M_cjs.TABLE_SPANS; }
|
|
195
247
|
});
|
|
196
248
|
Object.defineProperty(exports, "TABLE_THREADS", {
|
|
197
249
|
enumerable: true,
|
|
198
|
-
get: function () { return
|
|
250
|
+
get: function () { return chunkGZD6443M_cjs.TABLE_THREADS; }
|
|
199
251
|
});
|
|
200
252
|
Object.defineProperty(exports, "TABLE_TRACES", {
|
|
201
253
|
enumerable: true,
|
|
202
|
-
get: function () { return
|
|
254
|
+
get: function () { return chunkGZD6443M_cjs.TABLE_TRACES; }
|
|
203
255
|
});
|
|
204
256
|
Object.defineProperty(exports, "TABLE_WORKFLOW_SNAPSHOT", {
|
|
205
257
|
enumerable: true,
|
|
206
|
-
get: function () { return
|
|
258
|
+
get: function () { return chunkGZD6443M_cjs.TABLE_WORKFLOW_SNAPSHOT; }
|
|
207
259
|
});
|
|
208
260
|
Object.defineProperty(exports, "TraceStatus", {
|
|
209
261
|
enumerable: true,
|
|
210
|
-
get: function () { return
|
|
262
|
+
get: function () { return chunkGZD6443M_cjs.TraceStatus; }
|
|
211
263
|
});
|
|
212
264
|
Object.defineProperty(exports, "batchCreateSpansArgsSchema", {
|
|
213
265
|
enumerable: true,
|
|
214
|
-
get: function () { return
|
|
266
|
+
get: function () { return chunkGZD6443M_cjs.batchCreateSpansArgsSchema; }
|
|
215
267
|
});
|
|
216
268
|
Object.defineProperty(exports, "batchDeleteTracesArgsSchema", {
|
|
217
269
|
enumerable: true,
|
|
218
|
-
get: function () { return
|
|
270
|
+
get: function () { return chunkGZD6443M_cjs.batchDeleteTracesArgsSchema; }
|
|
219
271
|
});
|
|
220
272
|
Object.defineProperty(exports, "batchUpdateSpansArgsSchema", {
|
|
221
273
|
enumerable: true,
|
|
222
|
-
get: function () { return
|
|
274
|
+
get: function () { return chunkGZD6443M_cjs.batchUpdateSpansArgsSchema; }
|
|
223
275
|
});
|
|
224
276
|
Object.defineProperty(exports, "buildStorageSchema", {
|
|
225
277
|
enumerable: true,
|
|
226
|
-
get: function () { return
|
|
278
|
+
get: function () { return chunkGZD6443M_cjs.buildStorageSchema; }
|
|
227
279
|
});
|
|
228
280
|
Object.defineProperty(exports, "computeTraceStatus", {
|
|
229
281
|
enumerable: true,
|
|
230
|
-
get: function () { return
|
|
282
|
+
get: function () { return chunkGZD6443M_cjs.computeTraceStatus; }
|
|
231
283
|
});
|
|
232
284
|
Object.defineProperty(exports, "createSpanArgsSchema", {
|
|
233
285
|
enumerable: true,
|
|
234
|
-
get: function () { return
|
|
286
|
+
get: function () { return chunkGZD6443M_cjs.createSpanArgsSchema; }
|
|
235
287
|
});
|
|
236
288
|
Object.defineProperty(exports, "createSpanRecordSchema", {
|
|
237
289
|
enumerable: true,
|
|
238
|
-
get: function () { return
|
|
290
|
+
get: function () { return chunkGZD6443M_cjs.createSpanRecordSchema; }
|
|
239
291
|
});
|
|
240
292
|
Object.defineProperty(exports, "createdAtField", {
|
|
241
293
|
enumerable: true,
|
|
242
|
-
get: function () { return
|
|
294
|
+
get: function () { return chunkGZD6443M_cjs.createdAtField; }
|
|
243
295
|
});
|
|
244
296
|
Object.defineProperty(exports, "dateRangeSchema", {
|
|
245
297
|
enumerable: true,
|
|
246
|
-
get: function () { return
|
|
298
|
+
get: function () { return chunkGZD6443M_cjs.dateRangeSchema; }
|
|
247
299
|
});
|
|
248
300
|
Object.defineProperty(exports, "dbTimestamps", {
|
|
249
301
|
enumerable: true,
|
|
250
|
-
get: function () { return
|
|
302
|
+
get: function () { return chunkGZD6443M_cjs.dbTimestamps; }
|
|
251
303
|
});
|
|
252
304
|
Object.defineProperty(exports, "entityIdField", {
|
|
253
305
|
enumerable: true,
|
|
254
|
-
get: function () { return
|
|
306
|
+
get: function () { return chunkGZD6443M_cjs.entityIdField; }
|
|
255
307
|
});
|
|
256
308
|
Object.defineProperty(exports, "entityNameField", {
|
|
257
309
|
enumerable: true,
|
|
258
|
-
get: function () { return
|
|
310
|
+
get: function () { return chunkGZD6443M_cjs.entityNameField; }
|
|
259
311
|
});
|
|
260
312
|
Object.defineProperty(exports, "entityTypeField", {
|
|
261
313
|
enumerable: true,
|
|
262
|
-
get: function () { return
|
|
314
|
+
get: function () { return chunkGZD6443M_cjs.entityTypeField; }
|
|
263
315
|
});
|
|
264
316
|
Object.defineProperty(exports, "environmentField", {
|
|
265
317
|
enumerable: true,
|
|
266
|
-
get: function () { return
|
|
318
|
+
get: function () { return chunkGZD6443M_cjs.environmentField; }
|
|
267
319
|
});
|
|
268
320
|
Object.defineProperty(exports, "getRootSpanArgsSchema", {
|
|
269
321
|
enumerable: true,
|
|
270
|
-
get: function () { return
|
|
322
|
+
get: function () { return chunkGZD6443M_cjs.getRootSpanArgsSchema; }
|
|
271
323
|
});
|
|
272
324
|
Object.defineProperty(exports, "getRootSpanResponseSchema", {
|
|
273
325
|
enumerable: true,
|
|
274
|
-
get: function () { return
|
|
326
|
+
get: function () { return chunkGZD6443M_cjs.getRootSpanResponseSchema; }
|
|
275
327
|
});
|
|
276
328
|
Object.defineProperty(exports, "getSpanArgsSchema", {
|
|
277
329
|
enumerable: true,
|
|
278
|
-
get: function () { return
|
|
330
|
+
get: function () { return chunkGZD6443M_cjs.getSpanArgsSchema; }
|
|
279
331
|
});
|
|
280
332
|
Object.defineProperty(exports, "getSpanResponseSchema", {
|
|
281
333
|
enumerable: true,
|
|
282
|
-
get: function () { return
|
|
334
|
+
get: function () { return chunkGZD6443M_cjs.getSpanResponseSchema; }
|
|
283
335
|
});
|
|
284
336
|
Object.defineProperty(exports, "getTraceArgsSchema", {
|
|
285
337
|
enumerable: true,
|
|
286
|
-
get: function () { return
|
|
338
|
+
get: function () { return chunkGZD6443M_cjs.getTraceArgsSchema; }
|
|
287
339
|
});
|
|
288
340
|
Object.defineProperty(exports, "getTraceResponseSchema", {
|
|
289
341
|
enumerable: true,
|
|
290
|
-
get: function () { return
|
|
342
|
+
get: function () { return chunkGZD6443M_cjs.getTraceResponseSchema; }
|
|
291
343
|
});
|
|
292
344
|
Object.defineProperty(exports, "listScoresBySpanResponseSchema", {
|
|
293
345
|
enumerable: true,
|
|
294
|
-
get: function () { return
|
|
346
|
+
get: function () { return chunkGZD6443M_cjs.listScoresBySpanResponseSchema; }
|
|
295
347
|
});
|
|
296
348
|
Object.defineProperty(exports, "listTracesArgsSchema", {
|
|
297
349
|
enumerable: true,
|
|
298
|
-
get: function () { return
|
|
350
|
+
get: function () { return chunkGZD6443M_cjs.listTracesArgsSchema; }
|
|
299
351
|
});
|
|
300
352
|
Object.defineProperty(exports, "listTracesResponseSchema", {
|
|
301
353
|
enumerable: true,
|
|
302
|
-
get: function () { return
|
|
354
|
+
get: function () { return chunkGZD6443M_cjs.listTracesResponseSchema; }
|
|
303
355
|
});
|
|
304
356
|
Object.defineProperty(exports, "organizationIdField", {
|
|
305
357
|
enumerable: true,
|
|
306
|
-
get: function () { return
|
|
358
|
+
get: function () { return chunkGZD6443M_cjs.organizationIdField; }
|
|
307
359
|
});
|
|
308
360
|
Object.defineProperty(exports, "paginationArgsSchema", {
|
|
309
361
|
enumerable: true,
|
|
310
|
-
get: function () { return
|
|
362
|
+
get: function () { return chunkGZD6443M_cjs.paginationArgsSchema; }
|
|
311
363
|
});
|
|
312
364
|
Object.defineProperty(exports, "paginationInfoSchema", {
|
|
313
365
|
enumerable: true,
|
|
314
|
-
get: function () { return
|
|
366
|
+
get: function () { return chunkGZD6443M_cjs.paginationInfoSchema; }
|
|
315
367
|
});
|
|
316
368
|
Object.defineProperty(exports, "requestIdField", {
|
|
317
369
|
enumerable: true,
|
|
318
|
-
get: function () { return
|
|
370
|
+
get: function () { return chunkGZD6443M_cjs.requestIdField; }
|
|
319
371
|
});
|
|
320
372
|
Object.defineProperty(exports, "resourceIdField", {
|
|
321
373
|
enumerable: true,
|
|
322
|
-
get: function () { return
|
|
374
|
+
get: function () { return chunkGZD6443M_cjs.resourceIdField; }
|
|
323
375
|
});
|
|
324
376
|
Object.defineProperty(exports, "runIdField", {
|
|
325
377
|
enumerable: true,
|
|
326
|
-
get: function () { return
|
|
378
|
+
get: function () { return chunkGZD6443M_cjs.runIdField; }
|
|
327
379
|
});
|
|
328
380
|
Object.defineProperty(exports, "scoreTracesRequestSchema", {
|
|
329
381
|
enumerable: true,
|
|
330
|
-
get: function () { return
|
|
382
|
+
get: function () { return chunkGZD6443M_cjs.scoreTracesRequestSchema; }
|
|
331
383
|
});
|
|
332
384
|
Object.defineProperty(exports, "scoreTracesResponseSchema", {
|
|
333
385
|
enumerable: true,
|
|
334
|
-
get: function () { return
|
|
386
|
+
get: function () { return chunkGZD6443M_cjs.scoreTracesResponseSchema; }
|
|
335
387
|
});
|
|
336
388
|
Object.defineProperty(exports, "serviceNameField", {
|
|
337
389
|
enumerable: true,
|
|
338
|
-
get: function () { return
|
|
390
|
+
get: function () { return chunkGZD6443M_cjs.serviceNameField; }
|
|
339
391
|
});
|
|
340
392
|
Object.defineProperty(exports, "sessionIdField", {
|
|
341
393
|
enumerable: true,
|
|
342
|
-
get: function () { return
|
|
394
|
+
get: function () { return chunkGZD6443M_cjs.sessionIdField; }
|
|
343
395
|
});
|
|
344
396
|
Object.defineProperty(exports, "sortDirectionSchema", {
|
|
345
397
|
enumerable: true,
|
|
346
|
-
get: function () { return
|
|
398
|
+
get: function () { return chunkGZD6443M_cjs.sortDirectionSchema; }
|
|
347
399
|
});
|
|
348
400
|
Object.defineProperty(exports, "sourceField", {
|
|
349
401
|
enumerable: true,
|
|
350
|
-
get: function () { return
|
|
402
|
+
get: function () { return chunkGZD6443M_cjs.sourceField; }
|
|
351
403
|
});
|
|
352
404
|
Object.defineProperty(exports, "spanIdField", {
|
|
353
405
|
enumerable: true,
|
|
354
|
-
get: function () { return
|
|
406
|
+
get: function () { return chunkGZD6443M_cjs.spanIdField; }
|
|
355
407
|
});
|
|
356
408
|
Object.defineProperty(exports, "spanIds", {
|
|
357
409
|
enumerable: true,
|
|
358
|
-
get: function () { return
|
|
410
|
+
get: function () { return chunkGZD6443M_cjs.spanIds; }
|
|
359
411
|
});
|
|
360
412
|
Object.defineProperty(exports, "spanIdsSchema", {
|
|
361
413
|
enumerable: true,
|
|
362
|
-
get: function () { return
|
|
414
|
+
get: function () { return chunkGZD6443M_cjs.spanIdsSchema; }
|
|
363
415
|
});
|
|
364
416
|
Object.defineProperty(exports, "spanRecordSchema", {
|
|
365
417
|
enumerable: true,
|
|
366
|
-
get: function () { return
|
|
418
|
+
get: function () { return chunkGZD6443M_cjs.spanRecordSchema; }
|
|
367
419
|
});
|
|
368
420
|
Object.defineProperty(exports, "threadIdField", {
|
|
369
421
|
enumerable: true,
|
|
370
|
-
get: function () { return
|
|
422
|
+
get: function () { return chunkGZD6443M_cjs.threadIdField; }
|
|
371
423
|
});
|
|
372
424
|
Object.defineProperty(exports, "toTraceSpan", {
|
|
373
425
|
enumerable: true,
|
|
374
|
-
get: function () { return
|
|
426
|
+
get: function () { return chunkGZD6443M_cjs.toTraceSpan; }
|
|
375
427
|
});
|
|
376
428
|
Object.defineProperty(exports, "toTraceSpans", {
|
|
377
429
|
enumerable: true,
|
|
378
|
-
get: function () { return
|
|
430
|
+
get: function () { return chunkGZD6443M_cjs.toTraceSpans; }
|
|
379
431
|
});
|
|
380
432
|
Object.defineProperty(exports, "traceIdField", {
|
|
381
433
|
enumerable: true,
|
|
382
|
-
get: function () { return
|
|
434
|
+
get: function () { return chunkGZD6443M_cjs.traceIdField; }
|
|
383
435
|
});
|
|
384
436
|
Object.defineProperty(exports, "traceSpanSchema", {
|
|
385
437
|
enumerable: true,
|
|
386
|
-
get: function () { return
|
|
438
|
+
get: function () { return chunkGZD6443M_cjs.traceSpanSchema; }
|
|
387
439
|
});
|
|
388
440
|
Object.defineProperty(exports, "tracesFilterSchema", {
|
|
389
441
|
enumerable: true,
|
|
390
|
-
get: function () { return
|
|
442
|
+
get: function () { return chunkGZD6443M_cjs.tracesFilterSchema; }
|
|
391
443
|
});
|
|
392
444
|
Object.defineProperty(exports, "tracesOrderByFieldSchema", {
|
|
393
445
|
enumerable: true,
|
|
394
|
-
get: function () { return
|
|
446
|
+
get: function () { return chunkGZD6443M_cjs.tracesOrderByFieldSchema; }
|
|
395
447
|
});
|
|
396
448
|
Object.defineProperty(exports, "tracesOrderBySchema", {
|
|
397
449
|
enumerable: true,
|
|
398
|
-
get: function () { return
|
|
450
|
+
get: function () { return chunkGZD6443M_cjs.tracesOrderBySchema; }
|
|
399
451
|
});
|
|
400
452
|
Object.defineProperty(exports, "updateSpanArgsSchema", {
|
|
401
453
|
enumerable: true,
|
|
402
|
-
get: function () { return
|
|
454
|
+
get: function () { return chunkGZD6443M_cjs.updateSpanArgsSchema; }
|
|
403
455
|
});
|
|
404
456
|
Object.defineProperty(exports, "updateSpanRecordSchema", {
|
|
405
457
|
enumerable: true,
|
|
406
|
-
get: function () { return
|
|
458
|
+
get: function () { return chunkGZD6443M_cjs.updateSpanRecordSchema; }
|
|
407
459
|
});
|
|
408
460
|
Object.defineProperty(exports, "updatedAtField", {
|
|
409
461
|
enumerable: true,
|
|
410
|
-
get: function () { return
|
|
462
|
+
get: function () { return chunkGZD6443M_cjs.updatedAtField; }
|
|
411
463
|
});
|
|
412
464
|
Object.defineProperty(exports, "userIdField", {
|
|
413
465
|
enumerable: true,
|
|
414
|
-
get: function () { return
|
|
466
|
+
get: function () { return chunkGZD6443M_cjs.userIdField; }
|
|
415
467
|
});
|
|
416
468
|
//# sourceMappingURL=index.cjs.map
|
|
417
469
|
//# sourceMappingURL=index.cjs.map
|
package/dist/storage/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { AgentsStorage, InMemoryAgentsStorage, InMemoryDB, InMemoryMemory, InMemoryStore, MastraCompositeStore, MastraStorage, MemoryStorage, MockStore, ObservabilityInMemory, ObservabilityStorage, ScoresInMemory, ScoresStorage, StorageDomain, StoreOperations, StoreOperationsInMemory, WorkflowsInMemory, WorkflowsStorage, calculatePagination, createStorageErrorId, createStoreErrorId, createVectorErrorId, ensureDate, filterByDateRange, getDefaultValue, getSqlType, jsonValueEquals, normalizePerPage, safelyParseJSON, serializeDate, transformRow, transformScoreRow } from '../chunk-
|
|
2
|
-
export { AGENTS_SCHEMA, AGENT_VERSIONS_SCHEMA, OBSERVATIONAL_MEMORY_SCHEMA, OBSERVATIONAL_MEMORY_TABLE_SCHEMA, OLD_SPAN_SCHEMA, SCORERS_SCHEMA, SPAN_SCHEMA, TABLE_AGENTS, TABLE_AGENT_VERSIONS, TABLE_MESSAGES, TABLE_OBSERVATIONAL_MEMORY, TABLE_RESOURCES, TABLE_SCHEMAS, TABLE_SCORERS, TABLE_SPANS, TABLE_THREADS, TABLE_TRACES, TABLE_WORKFLOW_SNAPSHOT, TraceStatus, batchCreateSpansArgsSchema, batchDeleteTracesArgsSchema, batchUpdateSpansArgsSchema, buildStorageSchema, computeTraceStatus, createSpanArgsSchema, createSpanRecordSchema, createdAtField, dateRangeSchema, dbTimestamps, entityIdField, entityNameField, entityTypeField, environmentField, getRootSpanArgsSchema, getRootSpanResponseSchema, getSpanArgsSchema, getSpanResponseSchema, getTraceArgsSchema, getTraceResponseSchema, listScoresBySpanResponseSchema, listTracesArgsSchema, listTracesResponseSchema, organizationIdField, paginationArgsSchema, paginationInfoSchema, requestIdField, resourceIdField, runIdField, scoreTracesRequestSchema, scoreTracesResponseSchema, serviceNameField, sessionIdField, sortDirectionSchema, sourceField, spanIdField, spanIds, spanIdsSchema, spanRecordSchema, threadIdField, toTraceSpan, toTraceSpans, traceIdField, traceSpanSchema, tracesFilterSchema, tracesOrderByFieldSchema, tracesOrderBySchema, updateSpanArgsSchema, updateSpanRecordSchema, updatedAtField, userIdField } from '../chunk-
|
|
1
|
+
export { AgentsStorage, InMemoryAgentsStorage, InMemoryDB, InMemoryMemory, InMemoryPromptBlocksStorage, InMemoryScorerDefinitionsStorage, InMemoryStore, MastraCompositeStore, MastraStorage, MemoryStorage, MockStore, ObservabilityInMemory, ObservabilityStorage, PromptBlocksStorage, ScorerDefinitionsStorage, ScoresInMemory, ScoresStorage, StorageDomain, StoreOperations, StoreOperationsInMemory, VersionedStorageDomain, WorkflowsInMemory, WorkflowsStorage, calculatePagination, createStorageErrorId, createStoreErrorId, createVectorErrorId, ensureDate, filterByDateRange, getDefaultValue, getSqlType, jsonValueEquals, normalizePerPage, safelyParseJSON, serializeDate, transformRow, transformScoreRow } from '../chunk-MOOJ3H3C.js';
|
|
2
|
+
export { AGENTS_SCHEMA, AGENT_VERSIONS_SCHEMA, OBSERVATIONAL_MEMORY_SCHEMA, OBSERVATIONAL_MEMORY_TABLE_SCHEMA, OLD_SPAN_SCHEMA, PROMPT_BLOCKS_SCHEMA, PROMPT_BLOCK_VERSIONS_SCHEMA, SCORERS_SCHEMA, SCORER_DEFINITIONS_SCHEMA, SCORER_DEFINITION_VERSIONS_SCHEMA, SPAN_SCHEMA, TABLE_AGENTS, TABLE_AGENT_VERSIONS, TABLE_MESSAGES, TABLE_OBSERVATIONAL_MEMORY, TABLE_PROMPT_BLOCKS, TABLE_PROMPT_BLOCK_VERSIONS, TABLE_RESOURCES, TABLE_SCHEMAS, TABLE_SCORERS, TABLE_SCORER_DEFINITIONS, TABLE_SCORER_DEFINITION_VERSIONS, TABLE_SPANS, TABLE_THREADS, TABLE_TRACES, TABLE_WORKFLOW_SNAPSHOT, TraceStatus, batchCreateSpansArgsSchema, batchDeleteTracesArgsSchema, batchUpdateSpansArgsSchema, buildStorageSchema, computeTraceStatus, createSpanArgsSchema, createSpanRecordSchema, createdAtField, dateRangeSchema, dbTimestamps, entityIdField, entityNameField, entityTypeField, environmentField, getRootSpanArgsSchema, getRootSpanResponseSchema, getSpanArgsSchema, getSpanResponseSchema, getTraceArgsSchema, getTraceResponseSchema, listScoresBySpanResponseSchema, listTracesArgsSchema, listTracesResponseSchema, organizationIdField, paginationArgsSchema, paginationInfoSchema, requestIdField, resourceIdField, runIdField, scoreTracesRequestSchema, scoreTracesResponseSchema, serviceNameField, sessionIdField, sortDirectionSchema, sourceField, spanIdField, spanIds, spanIdsSchema, spanRecordSchema, threadIdField, toTraceSpan, toTraceSpans, traceIdField, traceSpanSchema, tracesFilterSchema, tracesOrderByFieldSchema, tracesOrderBySchema, updateSpanArgsSchema, updateSpanRecordSchema, updatedAtField, userIdField } from '../chunk-OV7OOUUR.js';
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
|
4
4
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mock.d.ts","sourceRoot":"","sources":["../../src/storage/mock.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,QAAQ,CAAC;AAC9C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"mock.d.ts","sourceRoot":"","sources":["../../src/storage/mock.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,QAAQ,CAAC;AAC9C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC;AAS7C;;;;;;;;;;;;;;;;;;GAkBG;AACH,qBAAa,aAAc,SAAQ,oBAAoB;;IACrD,MAAM,EAAE,cAAc,CAAC;gBASX,EAAE,EAAgB,EAAE,GAAE;QAAE,EAAE,CAAC,EAAE,MAAM,CAAA;KAAO;IAoBtD;;;;OAIG;IACH,KAAK,IAAI,IAAI;CAGd;AAED,eAAO,MAAM,SAAS,sBAAgB,CAAC"}
|