@mastra/core 1.0.0-beta.0 → 1.0.0-beta.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/CHANGELOG.md +1136 -0
- package/dist/agent/agent-legacy.d.ts +19 -22
- package/dist/agent/agent-legacy.d.ts.map +1 -1
- package/dist/agent/agent-types.test-d.d.ts +2 -0
- package/dist/agent/agent-types.test-d.d.ts.map +1 -0
- package/dist/agent/agent.d.ts +6 -6
- package/dist/agent/agent.d.ts.map +1 -1
- package/dist/agent/agent.types.d.ts +6 -4
- package/dist/agent/agent.types.d.ts.map +1 -1
- package/dist/agent/index.cjs +9 -9
- package/dist/agent/index.js +2 -2
- package/dist/agent/message-list/index.cjs +3 -3
- package/dist/agent/message-list/index.d.ts +60 -3
- package/dist/agent/message-list/index.d.ts.map +1 -1
- package/dist/agent/message-list/index.js +1 -1
- package/dist/agent/message-list/prompt/attachments-to-parts.d.ts.map +1 -1
- package/dist/agent/message-list/prompt/convert-file.d.ts +1 -1
- package/dist/agent/message-list/prompt/convert-file.d.ts.map +1 -1
- package/dist/agent/message-list/prompt/download-assets.d.ts.map +1 -1
- package/dist/agent/save-queue/index.d.ts +3 -1
- package/dist/agent/save-queue/index.d.ts.map +1 -1
- package/dist/agent/test-utils.d.ts +37 -0
- package/dist/agent/test-utils.d.ts.map +1 -1
- package/dist/agent/trip-wire.d.ts.map +1 -1
- package/dist/agent/types.d.ts +21 -6
- package/dist/agent/types.d.ts.map +1 -1
- package/dist/agent/utils.d.ts +3 -3
- package/dist/agent/utils.d.ts.map +1 -1
- package/dist/agent/workflows/prepare-stream/index.d.ts +9 -7
- package/dist/agent/workflows/prepare-stream/index.d.ts.map +1 -1
- package/dist/agent/workflows/prepare-stream/map-results-step.d.ts +3 -3
- package/dist/agent/workflows/prepare-stream/map-results-step.d.ts.map +1 -1
- package/dist/agent/workflows/prepare-stream/prepare-memory-step.d.ts +6 -5
- package/dist/agent/workflows/prepare-stream/prepare-memory-step.d.ts.map +1 -1
- package/dist/agent/workflows/prepare-stream/prepare-tools-step.d.ts +2 -1
- package/dist/agent/workflows/prepare-stream/prepare-tools-step.d.ts.map +1 -1
- package/dist/agent/workflows/prepare-stream/schema.d.ts +8 -8
- package/dist/agent/workflows/prepare-stream/schema.d.ts.map +1 -1
- package/dist/agent/workflows/prepare-stream/stream-step.d.ts +11 -1
- package/dist/agent/workflows/prepare-stream/stream-step.d.ts.map +1 -1
- package/dist/base.cjs +2 -2
- 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-4CDL2QJT.js → chunk-267YOF47.js} +121 -36
- package/dist/chunk-267YOF47.js.map +1 -0
- package/dist/{chunk-OJNJA5ZI.js → chunk-3CKZSDTQ.js} +3 -3
- package/dist/{chunk-OJNJA5ZI.js.map → chunk-3CKZSDTQ.js.map} +1 -1
- package/dist/{chunk-JV2KH24V.js → chunk-3GKKHF36.js} +693 -375
- package/dist/chunk-3GKKHF36.js.map +1 -0
- package/dist/{chunk-TQTAMPSC.js → chunk-3N3QE4ZK.js} +3 -3
- package/dist/chunk-3N3QE4ZK.js.map +1 -0
- package/dist/{chunk-QUKUN6NR.cjs → chunk-4JKEUSCC.cjs} +107 -7
- package/dist/chunk-4JKEUSCC.cjs.map +1 -0
- package/dist/{chunk-XEVG546F.js → chunk-4Q3Z6QRE.js} +178 -12
- package/dist/chunk-4Q3Z6QRE.js.map +1 -0
- package/dist/{chunk-CBAB7GOD.cjs → chunk-6BJ7XHRH.cjs} +2 -2
- package/dist/{chunk-CBAB7GOD.cjs.map → chunk-6BJ7XHRH.cjs.map} +1 -1
- package/dist/{chunk-26SQQNMU.js → chunk-6CYYFT4O.js} +11389 -8193
- package/dist/chunk-6CYYFT4O.js.map +1 -0
- package/dist/{chunk-32CTMD2C.js → chunk-6ONQWD6S.js} +1221 -347
- package/dist/chunk-6ONQWD6S.js.map +1 -0
- package/dist/{chunk-J7O6WENZ.cjs → chunk-6TBWJV35.js} +5 -5
- package/dist/chunk-6TBWJV35.js.map +1 -0
- package/dist/chunk-6XCINXZ7.cjs +194 -0
- package/dist/chunk-6XCINXZ7.cjs.map +1 -0
- package/dist/{chunk-E7K4FTLN.cjs → chunk-72YCRTEX.cjs} +18 -2
- package/dist/chunk-72YCRTEX.cjs.map +1 -0
- package/dist/{chunk-BXOL277H.cjs → chunk-7THRV5KZ.cjs} +762 -27
- package/dist/chunk-7THRV5KZ.cjs.map +1 -0
- package/dist/{chunk-76K3IYWM.js → chunk-ADADLFDR.js} +3 -3
- package/dist/{chunk-76K3IYWM.js.map → chunk-ADADLFDR.js.map} +1 -1
- package/dist/{chunk-DSNPWVIG.cjs → chunk-AF74UXR5.cjs} +4 -3
- package/dist/chunk-AF74UXR5.cjs.map +1 -0
- package/dist/{chunk-QCQLOMJM.cjs → chunk-BCRRHJGV.cjs} +206 -65
- package/dist/chunk-BCRRHJGV.cjs.map +1 -0
- package/dist/chunk-BWYU7D33.js +192 -0
- package/dist/chunk-BWYU7D33.js.map +1 -0
- package/dist/{chunk-MV7KHWUT.js → chunk-BXONP7HX.js} +391 -15
- package/dist/chunk-BXONP7HX.js.map +1 -0
- package/dist/chunk-CDRYT2A5.js +513 -0
- package/dist/chunk-CDRYT2A5.js.map +1 -0
- package/dist/{chunk-S5MJLXMG.cjs → chunk-CZEJQSWB.cjs} +481 -124
- package/dist/chunk-CZEJQSWB.cjs.map +1 -0
- package/dist/chunk-DD2VNRQM.js +62 -0
- package/dist/chunk-DD2VNRQM.js.map +1 -0
- package/dist/{chunk-KEXGB7FK.cjs → chunk-DGV2FWB4.cjs} +7 -7
- package/dist/{chunk-KEXGB7FK.cjs.map → chunk-DGV2FWB4.cjs.map} +1 -1
- package/dist/{chunk-Y63IFHEZ.cjs → chunk-EOPEDKLG.cjs} +4 -4
- package/dist/chunk-EOPEDKLG.cjs.map +1 -0
- package/dist/{chunk-UIZSWUKP.js → chunk-F2GAJSBI.js} +105 -7
- package/dist/chunk-F2GAJSBI.js.map +1 -0
- package/dist/{chunk-VOY2RXOC.cjs → chunk-G4IFCTL5.cjs} +182 -15
- package/dist/chunk-G4IFCTL5.cjs.map +1 -0
- package/dist/chunk-KJBMTK5B.cjs +64 -0
- package/dist/chunk-KJBMTK5B.cjs.map +1 -0
- package/dist/{chunk-S6URFGCZ.js → chunk-LSHPJWM5.js} +3 -3
- package/dist/{chunk-S6URFGCZ.js.map → chunk-LSHPJWM5.js.map} +1 -1
- package/dist/chunk-MGCGWPQJ.cjs +275 -0
- package/dist/chunk-MGCGWPQJ.cjs.map +1 -0
- package/dist/chunk-MRFUISXC.cjs +4981 -0
- package/dist/chunk-MRFUISXC.cjs.map +1 -0
- package/dist/chunk-MSZP3FNH.cjs +518 -0
- package/dist/chunk-MSZP3FNH.cjs.map +1 -0
- package/dist/{chunk-KJ2SW6VA.js → chunk-NRUZYMHE.js} +4 -3
- package/dist/chunk-NRUZYMHE.js.map +1 -0
- package/dist/{chunk-7SKXKUYT.js → chunk-NUA6TSRD.js} +752 -17
- package/dist/chunk-NUA6TSRD.js.map +1 -0
- package/dist/chunk-OEIVMCWX.js +4959 -0
- package/dist/chunk-OEIVMCWX.js.map +1 -0
- package/dist/{chunk-VJUZZB2I.js → chunk-OIDPIW42.js} +26 -11
- package/dist/chunk-OIDPIW42.js.map +1 -0
- package/dist/{chunk-QUZGDSWE.cjs → chunk-OYIDRI3A.cjs} +32 -17
- package/dist/chunk-OYIDRI3A.cjs.map +1 -0
- package/dist/{chunk-YIK3ASEG.cjs → chunk-P2D2VO2O.cjs} +1226 -350
- package/dist/chunk-P2D2VO2O.cjs.map +1 -0
- package/dist/{chunk-L7XKOKOW.js → chunk-PK2A5WBG.js} +472 -125
- package/dist/chunk-PK2A5WBG.js.map +1 -0
- package/dist/{chunk-X7JMA3IY.js → chunk-PSCMWPLC.js} +2 -2
- package/dist/{chunk-X7JMA3IY.js.map → chunk-PSCMWPLC.js.map} +1 -1
- package/dist/{chunk-WM6CK2F3.cjs → chunk-QD3UWFAV.cjs} +130 -48
- package/dist/chunk-QD3UWFAV.cjs.map +1 -0
- package/dist/{chunk-FD734TPS.cjs → chunk-SL7Q6IZF.cjs} +11425 -8211
- package/dist/chunk-SL7Q6IZF.cjs.map +1 -0
- package/dist/{chunk-ECFXGXWO.cjs → chunk-SSPUH2N7.cjs} +693 -375
- package/dist/chunk-SSPUH2N7.cjs.map +1 -0
- package/dist/{chunk-BMAFVZ2D.cjs → chunk-T2VLUFGG.cjs} +4 -4
- package/dist/{chunk-BMAFVZ2D.cjs.map → chunk-T2VLUFGG.cjs.map} +1 -1
- package/dist/chunk-THZTRBFS.js +268 -0
- package/dist/chunk-THZTRBFS.js.map +1 -0
- package/dist/{chunk-Y6ROD72V.cjs → chunk-UIGRFDO6.cjs} +4 -4
- package/dist/{chunk-Y6ROD72V.cjs.map → chunk-UIGRFDO6.cjs.map} +1 -1
- package/dist/{chunk-GRBGQ2GE.js → chunk-UVHSM2GU.cjs} +9 -3
- package/dist/chunk-UVHSM2GU.cjs.map +1 -0
- package/dist/{chunk-GGYKYORQ.cjs → chunk-WX2DLWXF.cjs} +407 -22
- package/dist/chunk-WX2DLWXF.cjs.map +1 -0
- package/dist/{chunk-P6APHXPZ.js → chunk-XRJQ5ZA7.js} +179 -38
- package/dist/chunk-XRJQ5ZA7.js.map +1 -0
- package/dist/{chunk-KIZIOFZC.js → chunk-Y36Y5MTD.js} +17 -3
- package/dist/chunk-Y36Y5MTD.js.map +1 -0
- package/dist/{chunk-VV753WCB.cjs → chunk-YWMMBIOM.cjs} +21 -20
- package/dist/chunk-YWMMBIOM.cjs.map +1 -0
- package/dist/{chunk-BU4IAJWF.js → chunk-Z57R5WS4.js} +16 -15
- package/dist/chunk-Z57R5WS4.js.map +1 -0
- package/dist/deployer/index.cjs +2 -2
- package/dist/deployer/index.js +1 -1
- package/dist/di/index.cjs +10 -2
- package/dist/di/index.d.ts +1 -1
- package/dist/di/index.d.ts.map +1 -1
- package/dist/di/index.js +1 -1
- package/dist/evals/base.d.ts +10 -2
- package/dist/evals/base.d.ts.map +1 -1
- package/dist/evals/base.test-utils.d.ts +25 -25
- package/dist/evals/index.cjs +9 -9
- package/dist/evals/index.js +2 -2
- package/dist/evals/scoreTraces/index.cjs +7 -6
- package/dist/evals/scoreTraces/index.cjs.map +1 -1
- package/dist/evals/scoreTraces/index.js +4 -3
- package/dist/evals/scoreTraces/index.js.map +1 -1
- package/dist/evals/scoreTraces/scoreTracesWorkflow.d.ts.map +1 -1
- package/dist/evals/types.d.ts +25 -24
- package/dist/evals/types.d.ts.map +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.js +1 -1
- package/dist/integration/index.cjs +2 -2
- package/dist/integration/index.js +1 -1
- package/dist/llm/index.cjs +30 -10
- package/dist/llm/index.d.ts +2 -0
- package/dist/llm/index.d.ts.map +1 -1
- package/dist/llm/index.js +5 -1
- package/dist/llm/model/aisdk/v5/model.d.ts +47 -0
- package/dist/llm/model/aisdk/v5/model.d.ts.map +1 -0
- package/dist/llm/model/gateway-resolver.d.ts.map +1 -1
- package/dist/llm/model/gateways/azure.d.ts +36 -0
- package/dist/llm/model/gateways/azure.d.ts.map +1 -0
- package/dist/llm/model/gateways/base.d.ts +9 -4
- package/dist/llm/model/gateways/base.d.ts.map +1 -1
- package/dist/llm/model/gateways/constants.d.ts.map +1 -1
- package/dist/llm/model/gateways/index.d.ts +4 -1
- package/dist/llm/model/gateways/index.d.ts.map +1 -1
- package/dist/llm/model/gateways/models-dev.d.ts +3 -2
- package/dist/llm/model/gateways/models-dev.d.ts.map +1 -1
- package/dist/llm/model/gateways/netlify.d.ts +4 -3
- package/dist/llm/model/gateways/netlify.d.ts.map +1 -1
- package/dist/llm/model/is-v2-model.d.ts +3 -0
- package/dist/llm/model/is-v2-model.d.ts.map +1 -0
- package/dist/llm/model/model-method-from-agent.d.ts +4 -0
- package/dist/llm/model/model-method-from-agent.d.ts.map +1 -0
- package/dist/llm/model/model.d.ts.map +1 -1
- package/dist/llm/model/model.loop.d.ts +2 -2
- package/dist/llm/model/model.loop.d.ts.map +1 -1
- package/dist/llm/model/model.loop.types.d.ts +2 -0
- package/dist/llm/model/model.loop.types.d.ts.map +1 -1
- package/dist/llm/model/provider-options.d.ts +4 -1
- package/dist/llm/model/provider-options.d.ts.map +1 -1
- package/dist/llm/model/provider-registry.d.ts +11 -1
- package/dist/llm/model/provider-registry.d.ts.map +1 -1
- package/dist/llm/model/provider-types.generated.d.ts +520 -33
- package/dist/llm/model/registry-generator.d.ts +12 -0
- package/dist/llm/model/registry-generator.d.ts.map +1 -1
- package/dist/llm/model/resolve-model.d.ts +1 -1
- package/dist/llm/model/resolve-model.d.ts.map +1 -1
- package/dist/llm/model/router.d.ts +12 -5
- package/dist/llm/model/router.d.ts.map +1 -1
- package/dist/llm/model/shared.types.d.ts +10 -4
- package/dist/llm/model/shared.types.d.ts.map +1 -1
- package/dist/logger/constants.d.ts +1 -0
- package/dist/logger/constants.d.ts.map +1 -1
- package/dist/logger/index.cjs +11 -11
- package/dist/logger/index.js +2 -2
- package/dist/logger/transport.d.ts +1 -1
- package/dist/logger/transport.d.ts.map +1 -1
- package/dist/loop/index.cjs +2 -2
- package/dist/loop/index.js +1 -1
- package/dist/loop/loop.d.ts.map +1 -1
- package/dist/loop/network/index.d.ts.map +1 -1
- package/dist/loop/test-utils/MastraLanguageModelV2Mock.d.ts +37 -0
- package/dist/loop/test-utils/MastraLanguageModelV2Mock.d.ts.map +1 -0
- package/dist/loop/test-utils/fullStream.d.ts.map +1 -1
- package/dist/loop/test-utils/generateText.d.ts.map +1 -1
- package/dist/loop/test-utils/options.d.ts.map +1 -1
- package/dist/loop/test-utils/resultObject.d.ts.map +1 -1
- package/dist/loop/test-utils/streamObject.d.ts.map +1 -1
- package/dist/loop/test-utils/textStream.d.ts.map +1 -1
- package/dist/loop/test-utils/toUIMessageStream.d.ts.map +1 -1
- package/dist/loop/test-utils/tools.d.ts.map +1 -1
- package/dist/loop/test-utils/utils.d.ts +1 -1
- package/dist/loop/test-utils/utils.d.ts.map +1 -1
- package/dist/loop/types.d.ts +22 -5
- package/dist/loop/types.d.ts.map +1 -1
- package/dist/loop/workflows/agentic-execution/index.d.ts +42 -42
- package/dist/loop/workflows/agentic-execution/index.d.ts.map +1 -1
- package/dist/loop/workflows/agentic-execution/llm-execution-step.d.ts +29 -29
- 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 +14 -14
- package/dist/loop/workflows/agentic-execution/llm-mapping-step.d.ts.map +1 -1
- package/dist/loop/workflows/agentic-execution/tool-call-step.d.ts +1 -1
- package/dist/loop/workflows/agentic-execution/tool-call-step.d.ts.map +1 -1
- package/dist/loop/workflows/agentic-loop/index.d.ts +44 -43
- package/dist/loop/workflows/agentic-loop/index.d.ts.map +1 -1
- package/dist/loop/workflows/run-state.d.ts +2 -2
- package/dist/loop/workflows/run-state.d.ts.map +1 -1
- package/dist/loop/workflows/schema.d.ts +14 -14
- package/dist/loop/workflows/stream.d.ts +1 -1
- package/dist/loop/workflows/stream.d.ts.map +1 -1
- package/dist/mastra/index.cjs +2 -2
- package/dist/mastra/index.d.ts +377 -12
- package/dist/mastra/index.d.ts.map +1 -1
- package/dist/mastra/index.js +1 -1
- package/dist/mcp/index.cjs +4 -4
- package/dist/mcp/index.cjs.map +1 -1
- package/dist/mcp/index.d.ts +4 -4
- package/dist/mcp/index.d.ts.map +1 -1
- package/dist/mcp/index.js +2 -2
- package/dist/mcp/index.js.map +1 -1
- package/dist/mcp/types.d.ts +2 -2
- package/dist/mcp/types.d.ts.map +1 -1
- package/dist/memory/index.cjs +21 -327
- package/dist/memory/index.cjs.map +1 -1
- package/dist/memory/index.js +1 -327
- package/dist/memory/index.js.map +1 -1
- package/dist/memory/memory.d.ts +28 -18
- package/dist/memory/memory.d.ts.map +1 -1
- package/dist/memory/mock.d.ts +15 -14
- package/dist/memory/mock.d.ts.map +1 -1
- package/dist/memory/types.d.ts +69 -11
- package/dist/memory/types.d.ts.map +1 -1
- package/dist/models-dev-23RN2WHG.js +3 -0
- package/dist/{models-dev-7U4NRMM3.js.map → models-dev-23RN2WHG.js.map} +1 -1
- package/dist/models-dev-EO3SUIY2.cjs +12 -0
- package/dist/{models-dev-VKSAQPRK.cjs.map → models-dev-EO3SUIY2.cjs.map} +1 -1
- package/dist/netlify-GXJ5D5DD.js +3 -0
- package/dist/{netlify-42ZNWIDQ.js.map → netlify-GXJ5D5DD.js.map} +1 -1
- package/dist/netlify-KJLY3GFS.cjs +12 -0
- package/dist/{netlify-2IDXTNFW.cjs.map → netlify-KJLY3GFS.cjs.map} +1 -1
- package/dist/observability/index.cjs +16 -8
- package/dist/observability/index.js +1 -1
- package/dist/observability/types/tracing.d.ts +236 -13
- package/dist/observability/types/tracing.d.ts.map +1 -1
- package/dist/observability/utils.d.ts +47 -1
- package/dist/observability/utils.d.ts.map +1 -1
- package/dist/processors/index.cjs +35 -11
- package/dist/processors/index.d.ts +101 -23
- package/dist/processors/index.d.ts.map +1 -1
- package/dist/processors/index.js +1 -1
- package/dist/processors/memory/index.d.ts +7 -0
- package/dist/processors/memory/index.d.ts.map +1 -0
- package/dist/processors/memory/message-history.d.ts +43 -0
- package/dist/processors/memory/message-history.d.ts.map +1 -0
- package/dist/processors/memory/semantic-recall.d.ts +152 -0
- package/dist/processors/memory/semantic-recall.d.ts.map +1 -0
- package/dist/processors/memory/working-memory.d.ts +65 -0
- package/dist/processors/memory/working-memory.d.ts.map +1 -0
- package/dist/processors/processors/batch-parts.d.ts +1 -1
- package/dist/processors/processors/batch-parts.d.ts.map +1 -1
- package/dist/processors/processors/index.d.ts +2 -1
- package/dist/processors/processors/index.d.ts.map +1 -1
- package/dist/processors/processors/language-detector.d.ts +15 -1
- package/dist/processors/processors/language-detector.d.ts.map +1 -1
- package/dist/processors/processors/moderation.d.ts +15 -1
- package/dist/processors/processors/moderation.d.ts.map +1 -1
- package/dist/processors/processors/pii-detector.d.ts +15 -1
- package/dist/processors/processors/pii-detector.d.ts.map +1 -1
- package/dist/processors/processors/prompt-injection-detector.d.ts +15 -1
- package/dist/processors/processors/prompt-injection-detector.d.ts.map +1 -1
- package/dist/processors/processors/structured-output.d.ts +3 -2
- package/dist/processors/processors/structured-output.d.ts.map +1 -1
- package/dist/processors/processors/system-prompt-scrubber.d.ts +1 -1
- package/dist/processors/processors/system-prompt-scrubber.d.ts.map +1 -1
- package/dist/processors/processors/token-limiter.d.ts +22 -12
- package/dist/processors/processors/token-limiter.d.ts.map +1 -1
- package/dist/processors/processors/tool-call-filter.d.ts +28 -0
- package/dist/processors/processors/tool-call-filter.d.ts.map +1 -0
- package/dist/processors/processors/unicode-normalizer.d.ts +1 -1
- package/dist/processors/processors/unicode-normalizer.d.ts.map +1 -1
- package/dist/processors/runner.d.ts +35 -4
- package/dist/processors/runner.d.ts.map +1 -1
- package/dist/provider-registry-A7FILT6Q.cjs +40 -0
- package/dist/provider-registry-A7FILT6Q.cjs.map +1 -0
- package/dist/provider-registry-XM2YDI5X.js +3 -0
- package/dist/provider-registry-XM2YDI5X.js.map +1 -0
- package/dist/provider-registry.json +1135 -77
- package/dist/{registry-generator-MK63POJO.cjs → registry-generator-34SC4TAU.cjs} +23 -6
- package/dist/registry-generator-34SC4TAU.cjs.map +1 -0
- package/dist/{registry-generator-H4YNODDH.js → registry-generator-UMTNPBJX.js} +23 -7
- package/dist/registry-generator-UMTNPBJX.js.map +1 -0
- package/dist/relevance/index.cjs +2 -2
- package/dist/relevance/index.js +1 -1
- package/dist/request-context/index.cjs +10 -2
- package/dist/request-context/index.d.ts +26 -0
- package/dist/request-context/index.d.ts.map +1 -1
- package/dist/request-context/index.js +1 -1
- package/dist/server/auth.d.ts +11 -0
- package/dist/server/auth.d.ts.map +1 -1
- package/dist/server/base.d.ts +51 -0
- package/dist/server/base.d.ts.map +1 -0
- package/dist/server/composite-auth.d.ts +9 -0
- package/dist/server/composite-auth.d.ts.map +1 -0
- package/dist/server/index.cjs +124 -3
- package/dist/server/index.cjs.map +1 -1
- package/dist/server/index.d.ts +8 -0
- package/dist/server/index.d.ts.map +1 -1
- package/dist/server/index.js +121 -3
- package/dist/server/index.js.map +1 -1
- package/dist/server/simple-auth.d.ts +27 -0
- package/dist/server/simple-auth.d.ts.map +1 -0
- package/dist/storage/base.d.ts +76 -3
- package/dist/storage/base.d.ts.map +1 -1
- package/dist/storage/constants.d.ts +3 -1
- package/dist/storage/constants.d.ts.map +1 -1
- package/dist/storage/domains/agents/base.d.ts +49 -0
- package/dist/storage/domains/agents/base.d.ts.map +1 -0
- package/dist/storage/domains/agents/index.d.ts +3 -0
- package/dist/storage/domains/agents/index.d.ts.map +1 -0
- package/dist/storage/domains/agents/inmemory.d.ts +22 -0
- package/dist/storage/domains/agents/inmemory.d.ts.map +1 -0
- package/dist/storage/domains/index.d.ts +1 -0
- package/dist/storage/domains/index.d.ts.map +1 -1
- package/dist/storage/domains/memory/inmemory.d.ts.map +1 -1
- package/dist/storage/domains/operations/inmemory.d.ts.map +1 -1
- package/dist/storage/domains/scores/base.d.ts +2 -2
- package/dist/storage/domains/scores/base.d.ts.map +1 -1
- package/dist/storage/domains/scores/inmemory.d.ts +2 -2
- package/dist/storage/domains/scores/inmemory.d.ts.map +1 -1
- package/dist/storage/domains/workflows/base.d.ts +4 -0
- package/dist/storage/domains/workflows/base.d.ts.map +1 -1
- package/dist/storage/domains/workflows/inmemory.d.ts +5 -1
- package/dist/storage/domains/workflows/inmemory.d.ts.map +1 -1
- package/dist/storage/index.cjs +65 -29
- package/dist/storage/index.js +1 -1
- package/dist/storage/mock.d.ts +7 -2
- package/dist/storage/mock.d.ts.map +1 -1
- package/dist/storage/storageWithInit.d.ts.map +1 -1
- package/dist/storage/types.d.ts +85 -2
- package/dist/storage/types.d.ts.map +1 -1
- package/dist/storage/utils.d.ts +82 -0
- package/dist/storage/utils.d.ts.map +1 -1
- package/dist/stream/MastraAgentNetworkStream.d.ts +1 -1
- package/dist/stream/MastraAgentNetworkStream.d.ts.map +1 -1
- package/dist/stream/MastraWorkflowStream.d.ts +1 -1
- package/dist/stream/MastraWorkflowStream.d.ts.map +1 -1
- package/dist/stream/RunOutput.d.ts +2 -2
- package/dist/stream/RunOutput.d.ts.map +1 -1
- package/dist/stream/aisdk/v4/usage.d.ts +19 -0
- package/dist/stream/aisdk/v4/usage.d.ts.map +1 -0
- package/dist/stream/aisdk/v5/compat/prepare-tools.d.ts.map +1 -1
- package/dist/stream/aisdk/v5/execute.d.ts +8 -4
- package/dist/stream/aisdk/v5/execute.d.ts.map +1 -1
- package/dist/stream/aisdk/v5/input.d.ts +4 -1
- package/dist/stream/aisdk/v5/input.d.ts.map +1 -1
- package/dist/stream/aisdk/v5/output.d.ts +9 -9
- package/dist/stream/aisdk/v5/output.d.ts.map +1 -1
- package/dist/stream/aisdk/v5/transform.d.ts.map +1 -1
- package/dist/stream/base/base.d.ts +1 -1
- package/dist/stream/base/base.d.ts.map +1 -1
- package/dist/stream/base/input.d.ts +1 -1
- package/dist/stream/base/output-format-handlers.d.ts +14 -1
- package/dist/stream/base/output-format-handlers.d.ts.map +1 -1
- package/dist/stream/base/output.d.ts +3 -3
- package/dist/stream/base/output.d.ts.map +1 -1
- package/dist/stream/index.cjs +15 -11
- package/dist/stream/index.d.ts +2 -2
- package/dist/stream/index.d.ts.map +1 -1
- package/dist/stream/index.js +2 -2
- package/dist/stream/types.d.ts +48 -25
- package/dist/stream/types.d.ts.map +1 -1
- package/dist/test-utils/llm-mock.cjs +101 -30
- package/dist/test-utils/llm-mock.cjs.map +1 -1
- package/dist/test-utils/llm-mock.d.ts +7 -2
- package/dist/test-utils/llm-mock.d.ts.map +1 -1
- package/dist/test-utils/llm-mock.js +97 -30
- package/dist/test-utils/llm-mock.js.map +1 -1
- package/dist/tools/index.cjs +6 -6
- package/dist/tools/index.js +2 -2
- package/dist/tools/is-vercel-tool.cjs +2 -2
- package/dist/tools/is-vercel-tool.js +1 -1
- package/dist/tools/stream.d.ts +10 -4
- package/dist/tools/stream.d.ts.map +1 -1
- package/dist/tools/tool-builder/builder.d.ts +2 -0
- package/dist/tools/tool-builder/builder.d.ts.map +1 -1
- package/dist/tools/tool-stream-types.test-d.d.ts +2 -0
- package/dist/tools/tool-stream-types.test-d.d.ts.map +1 -0
- package/dist/tools/tool.d.ts +21 -8
- package/dist/tools/tool.d.ts.map +1 -1
- package/dist/tools/types.d.ts +33 -6
- package/dist/tools/types.d.ts.map +1 -1
- package/dist/tools/validation.d.ts +25 -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 +14 -1
- package/dist/types/zod-compat.d.ts.map +1 -1
- package/dist/utils.cjs +25 -21
- package/dist/utils.d.ts +9 -4
- package/dist/utils.d.ts.map +1 -1
- package/dist/utils.js +1 -1
- package/dist/vector/filter/index.cjs +7 -189
- package/dist/vector/filter/index.cjs.map +1 -1
- package/dist/vector/filter/index.js +1 -190
- package/dist/vector/filter/index.js.map +1 -1
- package/dist/vector/index.cjs +7 -2
- package/dist/vector/index.cjs.map +1 -1
- package/dist/vector/index.d.ts +1 -0
- package/dist/vector/index.d.ts.map +1 -1
- package/dist/vector/index.js +2 -1
- package/dist/vector/index.js.map +1 -1
- package/dist/vector/types.d.ts +86 -3
- package/dist/vector/types.d.ts.map +1 -1
- package/dist/vector/vector.d.ts +39 -2
- package/dist/vector/vector.d.ts.map +1 -1
- package/dist/voice/aisdk/index.d.ts +3 -0
- package/dist/voice/aisdk/index.d.ts.map +1 -0
- package/dist/voice/aisdk/speech.d.ts +23 -0
- package/dist/voice/aisdk/speech.d.ts.map +1 -0
- package/dist/voice/aisdk/transcription.d.ts +22 -0
- package/dist/voice/aisdk/transcription.d.ts.map +1 -0
- package/dist/voice/composite-voice.d.ts +4 -3
- package/dist/voice/composite-voice.d.ts.map +1 -1
- package/dist/voice/index.cjs +12 -4
- package/dist/voice/index.d.ts +1 -0
- package/dist/voice/index.d.ts.map +1 -1
- package/dist/voice/index.js +1 -1
- package/dist/workflows/default.d.ts +179 -270
- package/dist/workflows/default.d.ts.map +1 -1
- package/dist/workflows/evented/execution-engine.d.ts +3 -1
- package/dist/workflows/evented/execution-engine.d.ts.map +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 +1 -1
- package/dist/workflows/evented/step-executor.d.ts.map +1 -1
- package/dist/workflows/evented/workflow-event-processor/index.d.ts +5 -4
- package/dist/workflows/evented/workflow-event-processor/index.d.ts.map +1 -1
- package/dist/workflows/evented/workflow-event-processor/loop.d.ts +1 -1
- package/dist/workflows/evented/workflow-event-processor/loop.d.ts.map +1 -1
- package/dist/workflows/evented/workflow-event-processor/parallel.d.ts +2 -2
- package/dist/workflows/evented/workflow-event-processor/parallel.d.ts.map +1 -1
- package/dist/workflows/evented/workflow-event-processor/sleep.d.ts +2 -2
- package/dist/workflows/evented/workflow-event-processor/sleep.d.ts.map +1 -1
- package/dist/workflows/evented/workflow.d.ts +2 -1
- package/dist/workflows/evented/workflow.d.ts.map +1 -1
- package/dist/workflows/execution-engine.d.ts +8 -6
- package/dist/workflows/execution-engine.d.ts.map +1 -1
- package/dist/workflows/handlers/control-flow.d.ts +133 -0
- package/dist/workflows/handlers/control-flow.d.ts.map +1 -0
- package/dist/workflows/handlers/entry.d.ts +43 -0
- package/dist/workflows/handlers/entry.d.ts.map +1 -0
- package/dist/workflows/handlers/sleep.d.ts +60 -0
- package/dist/workflows/handlers/sleep.d.ts.map +1 -0
- package/dist/workflows/handlers/step.d.ts +58 -0
- package/dist/workflows/handlers/step.d.ts.map +1 -0
- package/dist/workflows/index.cjs +36 -16
- package/dist/workflows/index.js +1 -1
- package/dist/workflows/step.d.ts +8 -6
- package/dist/workflows/step.d.ts.map +1 -1
- package/dist/workflows/types.d.ts +224 -10
- package/dist/workflows/types.d.ts.map +1 -1
- package/dist/workflows/utils.d.ts +36 -0
- package/dist/workflows/utils.d.ts.map +1 -1
- package/dist/workflows/workflow.d.ts +135 -54
- package/dist/workflows/workflow.d.ts.map +1 -1
- package/package.json +26 -29
- package/src/llm/model/provider-types.generated.d.ts +520 -33
- package/dist/chunk-26SQQNMU.js.map +0 -1
- package/dist/chunk-32CTMD2C.js.map +0 -1
- package/dist/chunk-436FFEF6.js +0 -34
- package/dist/chunk-436FFEF6.js.map +0 -1
- package/dist/chunk-4CDL2QJT.js.map +0 -1
- package/dist/chunk-7AHYOMHJ.js +0 -149
- package/dist/chunk-7AHYOMHJ.js.map +0 -1
- package/dist/chunk-7SKXKUYT.js.map +0 -1
- package/dist/chunk-BNBRQS7N.js +0 -910
- package/dist/chunk-BNBRQS7N.js.map +0 -1
- package/dist/chunk-BU4IAJWF.js.map +0 -1
- package/dist/chunk-BXOL277H.cjs.map +0 -1
- package/dist/chunk-DSNPWVIG.cjs.map +0 -1
- package/dist/chunk-E7K4FTLN.cjs.map +0 -1
- package/dist/chunk-ECFXGXWO.cjs.map +0 -1
- package/dist/chunk-ET6UOTTU.cjs +0 -154
- package/dist/chunk-ET6UOTTU.cjs.map +0 -1
- package/dist/chunk-FD734TPS.cjs.map +0 -1
- package/dist/chunk-GGYKYORQ.cjs.map +0 -1
- package/dist/chunk-GRBGQ2GE.js.map +0 -1
- package/dist/chunk-HGNRQ3OG.js +0 -58
- package/dist/chunk-HGNRQ3OG.js.map +0 -1
- package/dist/chunk-IU2SZXJQ.cjs +0 -913
- package/dist/chunk-IU2SZXJQ.cjs.map +0 -1
- package/dist/chunk-J7O6WENZ.cjs.map +0 -1
- package/dist/chunk-JV2KH24V.js.map +0 -1
- package/dist/chunk-KIZIOFZC.js.map +0 -1
- package/dist/chunk-KJ2SW6VA.js.map +0 -1
- package/dist/chunk-L7XKOKOW.js.map +0 -1
- package/dist/chunk-LJFJTTZQ.cjs +0 -4
- package/dist/chunk-LJFJTTZQ.cjs.map +0 -1
- package/dist/chunk-LRSB62Z6.cjs +0 -60
- package/dist/chunk-LRSB62Z6.cjs.map +0 -1
- package/dist/chunk-MV7KHWUT.js.map +0 -1
- package/dist/chunk-P6APHXPZ.js.map +0 -1
- package/dist/chunk-QCQLOMJM.cjs.map +0 -1
- package/dist/chunk-QUKUN6NR.cjs.map +0 -1
- package/dist/chunk-QUZGDSWE.cjs.map +0 -1
- package/dist/chunk-S5MJLXMG.cjs.map +0 -1
- package/dist/chunk-TQTAMPSC.js.map +0 -1
- package/dist/chunk-UIZSWUKP.js.map +0 -1
- package/dist/chunk-V3VLOOSW.cjs +0 -36
- package/dist/chunk-V3VLOOSW.cjs.map +0 -1
- package/dist/chunk-VJUZZB2I.js.map +0 -1
- package/dist/chunk-VOY2RXOC.cjs.map +0 -1
- package/dist/chunk-VV753WCB.cjs.map +0 -1
- package/dist/chunk-WM6CK2F3.cjs.map +0 -1
- package/dist/chunk-XEVG546F.js.map +0 -1
- package/dist/chunk-Y63IFHEZ.cjs.map +0 -1
- package/dist/chunk-YIK3ASEG.cjs.map +0 -1
- package/dist/chunk-ZV5CC35D.js +0 -3
- package/dist/chunk-ZV5CC35D.js.map +0 -1
- package/dist/models-dev-7U4NRMM3.js +0 -3
- package/dist/models-dev-VKSAQPRK.cjs +0 -12
- package/dist/netlify-2IDXTNFW.cjs +0 -12
- package/dist/netlify-42ZNWIDQ.js +0 -3
- package/dist/registry-generator-H4YNODDH.js.map +0 -1
- package/dist/registry-generator-MK63POJO.cjs.map +0 -1
|
@@ -117,11 +117,11 @@ export declare function createAgenticExecutionWorkflow<Tools extends ToolSet = T
|
|
|
117
117
|
}, "strip", import("zod").ZodTypeAny, {
|
|
118
118
|
id?: string | undefined;
|
|
119
119
|
providerMetadata?: Record<string, any> | undefined;
|
|
120
|
+
modelId?: string | undefined;
|
|
120
121
|
model?: string | undefined;
|
|
121
122
|
headers?: Record<string, string> | undefined;
|
|
122
123
|
request?: Record<string, any> | undefined;
|
|
123
124
|
timestamp?: Date | undefined;
|
|
124
|
-
modelId?: string | undefined;
|
|
125
125
|
modelMetadata?: {
|
|
126
126
|
modelId: string;
|
|
127
127
|
modelVersion: string;
|
|
@@ -130,11 +130,11 @@ export declare function createAgenticExecutionWorkflow<Tools extends ToolSet = T
|
|
|
130
130
|
}, {
|
|
131
131
|
id?: string | undefined;
|
|
132
132
|
providerMetadata?: Record<string, any> | undefined;
|
|
133
|
+
modelId?: string | undefined;
|
|
133
134
|
model?: string | undefined;
|
|
134
135
|
headers?: Record<string, string> | undefined;
|
|
135
136
|
request?: Record<string, any> | undefined;
|
|
136
137
|
timestamp?: Date | undefined;
|
|
137
|
-
modelId?: string | undefined;
|
|
138
138
|
modelMetadata?: {
|
|
139
139
|
modelId: string;
|
|
140
140
|
modelVersion: string;
|
|
@@ -222,25 +222,25 @@ export declare function createAgenticExecutionWorkflow<Tools extends ToolSet = T
|
|
|
222
222
|
dynamicToolResults?: any[] | undefined;
|
|
223
223
|
};
|
|
224
224
|
messageId: string;
|
|
225
|
-
messages: {
|
|
226
|
-
user: any[];
|
|
227
|
-
all: any[];
|
|
228
|
-
nonUser: any[];
|
|
229
|
-
};
|
|
230
225
|
metadata: {
|
|
231
226
|
id?: string | undefined;
|
|
232
227
|
providerMetadata?: Record<string, any> | undefined;
|
|
228
|
+
modelId?: string | undefined;
|
|
233
229
|
model?: string | undefined;
|
|
234
230
|
headers?: Record<string, string> | undefined;
|
|
235
231
|
request?: Record<string, any> | undefined;
|
|
236
232
|
timestamp?: Date | undefined;
|
|
237
|
-
modelId?: string | undefined;
|
|
238
233
|
modelMetadata?: {
|
|
239
234
|
modelId: string;
|
|
240
235
|
modelVersion: string;
|
|
241
236
|
modelProvider: string;
|
|
242
237
|
} | undefined;
|
|
243
238
|
};
|
|
239
|
+
messages: {
|
|
240
|
+
user: any[];
|
|
241
|
+
all: any[];
|
|
242
|
+
nonUser: any[];
|
|
243
|
+
};
|
|
244
244
|
stepResult: {
|
|
245
245
|
reason: string;
|
|
246
246
|
isContinued: boolean;
|
|
@@ -280,25 +280,25 @@ export declare function createAgenticExecutionWorkflow<Tools extends ToolSet = T
|
|
|
280
280
|
dynamicToolResults?: any[] | undefined;
|
|
281
281
|
};
|
|
282
282
|
messageId: string;
|
|
283
|
-
messages: {
|
|
284
|
-
user: any[];
|
|
285
|
-
all: any[];
|
|
286
|
-
nonUser: any[];
|
|
287
|
-
};
|
|
288
283
|
metadata: {
|
|
289
284
|
id?: string | undefined;
|
|
290
285
|
providerMetadata?: Record<string, any> | undefined;
|
|
286
|
+
modelId?: string | undefined;
|
|
291
287
|
model?: string | undefined;
|
|
292
288
|
headers?: Record<string, string> | undefined;
|
|
293
289
|
request?: Record<string, any> | undefined;
|
|
294
290
|
timestamp?: Date | undefined;
|
|
295
|
-
modelId?: string | undefined;
|
|
296
291
|
modelMetadata?: {
|
|
297
292
|
modelId: string;
|
|
298
293
|
modelVersion: string;
|
|
299
294
|
modelProvider: string;
|
|
300
295
|
} | undefined;
|
|
301
296
|
};
|
|
297
|
+
messages: {
|
|
298
|
+
user: any[];
|
|
299
|
+
all: any[];
|
|
300
|
+
nonUser: any[];
|
|
301
|
+
};
|
|
302
302
|
stepResult: {
|
|
303
303
|
reason: string;
|
|
304
304
|
isContinued: boolean;
|
|
@@ -427,11 +427,11 @@ export declare function createAgenticExecutionWorkflow<Tools extends ToolSet = T
|
|
|
427
427
|
}, "strip", import("zod").ZodTypeAny, {
|
|
428
428
|
id?: string | undefined;
|
|
429
429
|
providerMetadata?: Record<string, any> | undefined;
|
|
430
|
+
modelId?: string | undefined;
|
|
430
431
|
model?: string | undefined;
|
|
431
432
|
headers?: Record<string, string> | undefined;
|
|
432
433
|
request?: Record<string, any> | undefined;
|
|
433
434
|
timestamp?: Date | undefined;
|
|
434
|
-
modelId?: string | undefined;
|
|
435
435
|
modelMetadata?: {
|
|
436
436
|
modelId: string;
|
|
437
437
|
modelVersion: string;
|
|
@@ -440,11 +440,11 @@ export declare function createAgenticExecutionWorkflow<Tools extends ToolSet = T
|
|
|
440
440
|
}, {
|
|
441
441
|
id?: string | undefined;
|
|
442
442
|
providerMetadata?: Record<string, any> | undefined;
|
|
443
|
+
modelId?: string | undefined;
|
|
443
444
|
model?: string | undefined;
|
|
444
445
|
headers?: Record<string, string> | undefined;
|
|
445
446
|
request?: Record<string, any> | undefined;
|
|
446
447
|
timestamp?: Date | undefined;
|
|
447
|
-
modelId?: string | undefined;
|
|
448
448
|
modelMetadata?: {
|
|
449
449
|
modelId: string;
|
|
450
450
|
modelVersion: string;
|
|
@@ -532,25 +532,25 @@ export declare function createAgenticExecutionWorkflow<Tools extends ToolSet = T
|
|
|
532
532
|
dynamicToolResults?: any[] | undefined;
|
|
533
533
|
};
|
|
534
534
|
messageId: string;
|
|
535
|
-
messages: {
|
|
536
|
-
user: any[];
|
|
537
|
-
all: any[];
|
|
538
|
-
nonUser: any[];
|
|
539
|
-
};
|
|
540
535
|
metadata: {
|
|
541
536
|
id?: string | undefined;
|
|
542
537
|
providerMetadata?: Record<string, any> | undefined;
|
|
538
|
+
modelId?: string | undefined;
|
|
543
539
|
model?: string | undefined;
|
|
544
540
|
headers?: Record<string, string> | undefined;
|
|
545
541
|
request?: Record<string, any> | undefined;
|
|
546
542
|
timestamp?: Date | undefined;
|
|
547
|
-
modelId?: string | undefined;
|
|
548
543
|
modelMetadata?: {
|
|
549
544
|
modelId: string;
|
|
550
545
|
modelVersion: string;
|
|
551
546
|
modelProvider: string;
|
|
552
547
|
} | undefined;
|
|
553
548
|
};
|
|
549
|
+
messages: {
|
|
550
|
+
user: any[];
|
|
551
|
+
all: any[];
|
|
552
|
+
nonUser: any[];
|
|
553
|
+
};
|
|
554
554
|
stepResult: {
|
|
555
555
|
reason: string;
|
|
556
556
|
isContinued: boolean;
|
|
@@ -590,25 +590,25 @@ export declare function createAgenticExecutionWorkflow<Tools extends ToolSet = T
|
|
|
590
590
|
dynamicToolResults?: any[] | undefined;
|
|
591
591
|
};
|
|
592
592
|
messageId: string;
|
|
593
|
-
messages: {
|
|
594
|
-
user: any[];
|
|
595
|
-
all: any[];
|
|
596
|
-
nonUser: any[];
|
|
597
|
-
};
|
|
598
593
|
metadata: {
|
|
599
594
|
id?: string | undefined;
|
|
600
595
|
providerMetadata?: Record<string, any> | undefined;
|
|
596
|
+
modelId?: string | undefined;
|
|
601
597
|
model?: string | undefined;
|
|
602
598
|
headers?: Record<string, string> | undefined;
|
|
603
599
|
request?: Record<string, any> | undefined;
|
|
604
600
|
timestamp?: Date | undefined;
|
|
605
|
-
modelId?: string | undefined;
|
|
606
601
|
modelMetadata?: {
|
|
607
602
|
modelId: string;
|
|
608
603
|
modelVersion: string;
|
|
609
604
|
modelProvider: string;
|
|
610
605
|
} | undefined;
|
|
611
606
|
};
|
|
607
|
+
messages: {
|
|
608
|
+
user: any[];
|
|
609
|
+
all: any[];
|
|
610
|
+
nonUser: any[];
|
|
611
|
+
};
|
|
612
612
|
stepResult: {
|
|
613
613
|
reason: string;
|
|
614
614
|
isContinued: boolean;
|
|
@@ -737,11 +737,11 @@ export declare function createAgenticExecutionWorkflow<Tools extends ToolSet = T
|
|
|
737
737
|
}, "strip", import("zod").ZodTypeAny, {
|
|
738
738
|
id?: string | undefined;
|
|
739
739
|
providerMetadata?: Record<string, any> | undefined;
|
|
740
|
+
modelId?: string | undefined;
|
|
740
741
|
model?: string | undefined;
|
|
741
742
|
headers?: Record<string, string> | undefined;
|
|
742
743
|
request?: Record<string, any> | undefined;
|
|
743
744
|
timestamp?: Date | undefined;
|
|
744
|
-
modelId?: string | undefined;
|
|
745
745
|
modelMetadata?: {
|
|
746
746
|
modelId: string;
|
|
747
747
|
modelVersion: string;
|
|
@@ -750,11 +750,11 @@ export declare function createAgenticExecutionWorkflow<Tools extends ToolSet = T
|
|
|
750
750
|
}, {
|
|
751
751
|
id?: string | undefined;
|
|
752
752
|
providerMetadata?: Record<string, any> | undefined;
|
|
753
|
+
modelId?: string | undefined;
|
|
753
754
|
model?: string | undefined;
|
|
754
755
|
headers?: Record<string, string> | undefined;
|
|
755
756
|
request?: Record<string, any> | undefined;
|
|
756
757
|
timestamp?: Date | undefined;
|
|
757
|
-
modelId?: string | undefined;
|
|
758
758
|
modelMetadata?: {
|
|
759
759
|
modelId: string;
|
|
760
760
|
modelVersion: string;
|
|
@@ -842,25 +842,25 @@ export declare function createAgenticExecutionWorkflow<Tools extends ToolSet = T
|
|
|
842
842
|
dynamicToolResults?: any[] | undefined;
|
|
843
843
|
};
|
|
844
844
|
messageId: string;
|
|
845
|
-
messages: {
|
|
846
|
-
user: any[];
|
|
847
|
-
all: any[];
|
|
848
|
-
nonUser: any[];
|
|
849
|
-
};
|
|
850
845
|
metadata: {
|
|
851
846
|
id?: string | undefined;
|
|
852
847
|
providerMetadata?: Record<string, any> | undefined;
|
|
848
|
+
modelId?: string | undefined;
|
|
853
849
|
model?: string | undefined;
|
|
854
850
|
headers?: Record<string, string> | undefined;
|
|
855
851
|
request?: Record<string, any> | undefined;
|
|
856
852
|
timestamp?: Date | undefined;
|
|
857
|
-
modelId?: string | undefined;
|
|
858
853
|
modelMetadata?: {
|
|
859
854
|
modelId: string;
|
|
860
855
|
modelVersion: string;
|
|
861
856
|
modelProvider: string;
|
|
862
857
|
} | undefined;
|
|
863
858
|
};
|
|
859
|
+
messages: {
|
|
860
|
+
user: any[];
|
|
861
|
+
all: any[];
|
|
862
|
+
nonUser: any[];
|
|
863
|
+
};
|
|
864
864
|
stepResult: {
|
|
865
865
|
reason: string;
|
|
866
866
|
isContinued: boolean;
|
|
@@ -900,25 +900,25 @@ export declare function createAgenticExecutionWorkflow<Tools extends ToolSet = T
|
|
|
900
900
|
dynamicToolResults?: any[] | undefined;
|
|
901
901
|
};
|
|
902
902
|
messageId: string;
|
|
903
|
-
messages: {
|
|
904
|
-
user: any[];
|
|
905
|
-
all: any[];
|
|
906
|
-
nonUser: any[];
|
|
907
|
-
};
|
|
908
903
|
metadata: {
|
|
909
904
|
id?: string | undefined;
|
|
910
905
|
providerMetadata?: Record<string, any> | undefined;
|
|
906
|
+
modelId?: string | undefined;
|
|
911
907
|
model?: string | undefined;
|
|
912
908
|
headers?: Record<string, string> | undefined;
|
|
913
909
|
request?: Record<string, any> | undefined;
|
|
914
910
|
timestamp?: Date | undefined;
|
|
915
|
-
modelId?: string | undefined;
|
|
916
911
|
modelMetadata?: {
|
|
917
912
|
modelId: string;
|
|
918
913
|
modelVersion: string;
|
|
919
914
|
modelProvider: string;
|
|
920
915
|
} | undefined;
|
|
921
916
|
};
|
|
917
|
+
messages: {
|
|
918
|
+
user: any[];
|
|
919
|
+
all: any[];
|
|
920
|
+
nonUser: any[];
|
|
921
|
+
};
|
|
922
922
|
stepResult: {
|
|
923
923
|
reason: string;
|
|
924
924
|
isContinued: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/loop/workflows/agentic-execution/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAErC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAEhE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAO/C,wBAAgB,8BAA8B,CAC5C,KAAK,SAAS,OAAO,GAAG,OAAO,EAC/B,MAAM,SAAS,YAAY,GAAG,SAAS,EACvC,EAAE,MAAM,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,EAAE,WAAW,CAAC,KAAK,EAAE,MAAM,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/loop/workflows/agentic-execution/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAErC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAEhE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAO/C,wBAAgB,8BAA8B,CAC5C,KAAK,SAAS,OAAO,GAAG,OAAO,EAC/B,MAAM,SAAS,YAAY,GAAG,SAAS,EACvC,EAAE,MAAM,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,EAAE,WAAW,CAAC,KAAK,EAAE,MAAM,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA4D3D"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ToolSet } from 'ai-v5';
|
|
2
2
|
import type { OutputSchema } from '../../../stream/base/schema.js';
|
|
3
3
|
import type { OuterLLMRun } from '../../types.js';
|
|
4
|
-
export declare function createLLMExecutionStep<Tools extends ToolSet = ToolSet, OUTPUT extends OutputSchema = undefined>({ models, _internal, messageId, runId, tools, toolChoice, messageList, includeRawChunks, modelSettings, providerOptions, options, toolCallStreaming, controller, structuredOutput, outputProcessors, headers, downloadRetries, downloadConcurrency, processorStates, }: OuterLLMRun<Tools, OUTPUT>): import("../../../workflows").Step<"llm-execution", import("zod").ZodObject<any, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
|
|
4
|
+
export declare function createLLMExecutionStep<Tools extends ToolSet = ToolSet, OUTPUT extends OutputSchema = undefined>({ models, _internal, messageId, runId, tools, toolChoice, messageList, includeRawChunks, modelSettings, providerOptions, options, toolCallStreaming, controller, structuredOutput, outputProcessors, inputProcessors, logger, agentId, headers, downloadRetries, downloadConcurrency, processorStates, requestContext, methodType, modelSpanTracker, }: OuterLLMRun<Tools, OUTPUT>): import("../../../workflows").Step<"llm-execution", import("zod").ZodObject<any, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
|
|
5
5
|
[x: string]: any;
|
|
6
6
|
}, {
|
|
7
7
|
[x: string]: any;
|
|
@@ -117,11 +117,11 @@ export declare function createLLMExecutionStep<Tools extends ToolSet = ToolSet,
|
|
|
117
117
|
}, "strip", import("zod").ZodTypeAny, {
|
|
118
118
|
id?: string | undefined;
|
|
119
119
|
providerMetadata?: Record<string, any> | undefined;
|
|
120
|
+
modelId?: string | undefined;
|
|
120
121
|
model?: string | undefined;
|
|
121
122
|
headers?: Record<string, string> | undefined;
|
|
122
123
|
request?: Record<string, any> | undefined;
|
|
123
124
|
timestamp?: Date | undefined;
|
|
124
|
-
modelId?: string | undefined;
|
|
125
125
|
modelMetadata?: {
|
|
126
126
|
modelId: string;
|
|
127
127
|
modelVersion: string;
|
|
@@ -130,11 +130,11 @@ export declare function createLLMExecutionStep<Tools extends ToolSet = ToolSet,
|
|
|
130
130
|
}, {
|
|
131
131
|
id?: string | undefined;
|
|
132
132
|
providerMetadata?: Record<string, any> | undefined;
|
|
133
|
+
modelId?: string | undefined;
|
|
133
134
|
model?: string | undefined;
|
|
134
135
|
headers?: Record<string, string> | undefined;
|
|
135
136
|
request?: Record<string, any> | undefined;
|
|
136
137
|
timestamp?: Date | undefined;
|
|
137
|
-
modelId?: string | undefined;
|
|
138
138
|
modelMetadata?: {
|
|
139
139
|
modelId: string;
|
|
140
140
|
modelVersion: string;
|
|
@@ -222,25 +222,25 @@ export declare function createLLMExecutionStep<Tools extends ToolSet = ToolSet,
|
|
|
222
222
|
dynamicToolResults?: any[] | undefined;
|
|
223
223
|
};
|
|
224
224
|
messageId: string;
|
|
225
|
-
messages: {
|
|
226
|
-
user: any[];
|
|
227
|
-
all: any[];
|
|
228
|
-
nonUser: any[];
|
|
229
|
-
};
|
|
230
225
|
metadata: {
|
|
231
226
|
id?: string | undefined;
|
|
232
227
|
providerMetadata?: Record<string, any> | undefined;
|
|
228
|
+
modelId?: string | undefined;
|
|
233
229
|
model?: string | undefined;
|
|
234
230
|
headers?: Record<string, string> | undefined;
|
|
235
231
|
request?: Record<string, any> | undefined;
|
|
236
232
|
timestamp?: Date | undefined;
|
|
237
|
-
modelId?: string | undefined;
|
|
238
233
|
modelMetadata?: {
|
|
239
234
|
modelId: string;
|
|
240
235
|
modelVersion: string;
|
|
241
236
|
modelProvider: string;
|
|
242
237
|
} | undefined;
|
|
243
238
|
};
|
|
239
|
+
messages: {
|
|
240
|
+
user: any[];
|
|
241
|
+
all: any[];
|
|
242
|
+
nonUser: any[];
|
|
243
|
+
};
|
|
244
244
|
stepResult: {
|
|
245
245
|
reason: string;
|
|
246
246
|
isContinued: boolean;
|
|
@@ -280,25 +280,25 @@ export declare function createLLMExecutionStep<Tools extends ToolSet = ToolSet,
|
|
|
280
280
|
dynamicToolResults?: any[] | undefined;
|
|
281
281
|
};
|
|
282
282
|
messageId: string;
|
|
283
|
-
messages: {
|
|
284
|
-
user: any[];
|
|
285
|
-
all: any[];
|
|
286
|
-
nonUser: any[];
|
|
287
|
-
};
|
|
288
283
|
metadata: {
|
|
289
284
|
id?: string | undefined;
|
|
290
285
|
providerMetadata?: Record<string, any> | undefined;
|
|
286
|
+
modelId?: string | undefined;
|
|
291
287
|
model?: string | undefined;
|
|
292
288
|
headers?: Record<string, string> | undefined;
|
|
293
289
|
request?: Record<string, any> | undefined;
|
|
294
290
|
timestamp?: Date | undefined;
|
|
295
|
-
modelId?: string | undefined;
|
|
296
291
|
modelMetadata?: {
|
|
297
292
|
modelId: string;
|
|
298
293
|
modelVersion: string;
|
|
299
294
|
modelProvider: string;
|
|
300
295
|
} | undefined;
|
|
301
296
|
};
|
|
297
|
+
messages: {
|
|
298
|
+
user: any[];
|
|
299
|
+
all: any[];
|
|
300
|
+
nonUser: any[];
|
|
301
|
+
};
|
|
302
302
|
stepResult: {
|
|
303
303
|
reason: string;
|
|
304
304
|
isContinued: boolean;
|
|
@@ -427,11 +427,11 @@ export declare function createLLMExecutionStep<Tools extends ToolSet = ToolSet,
|
|
|
427
427
|
}, "strip", import("zod").ZodTypeAny, {
|
|
428
428
|
id?: string | undefined;
|
|
429
429
|
providerMetadata?: Record<string, any> | undefined;
|
|
430
|
+
modelId?: string | undefined;
|
|
430
431
|
model?: string | undefined;
|
|
431
432
|
headers?: Record<string, string> | undefined;
|
|
432
433
|
request?: Record<string, any> | undefined;
|
|
433
434
|
timestamp?: Date | undefined;
|
|
434
|
-
modelId?: string | undefined;
|
|
435
435
|
modelMetadata?: {
|
|
436
436
|
modelId: string;
|
|
437
437
|
modelVersion: string;
|
|
@@ -440,11 +440,11 @@ export declare function createLLMExecutionStep<Tools extends ToolSet = ToolSet,
|
|
|
440
440
|
}, {
|
|
441
441
|
id?: string | undefined;
|
|
442
442
|
providerMetadata?: Record<string, any> | undefined;
|
|
443
|
+
modelId?: string | undefined;
|
|
443
444
|
model?: string | undefined;
|
|
444
445
|
headers?: Record<string, string> | undefined;
|
|
445
446
|
request?: Record<string, any> | undefined;
|
|
446
447
|
timestamp?: Date | undefined;
|
|
447
|
-
modelId?: string | undefined;
|
|
448
448
|
modelMetadata?: {
|
|
449
449
|
modelId: string;
|
|
450
450
|
modelVersion: string;
|
|
@@ -532,25 +532,25 @@ export declare function createLLMExecutionStep<Tools extends ToolSet = ToolSet,
|
|
|
532
532
|
dynamicToolResults?: any[] | undefined;
|
|
533
533
|
};
|
|
534
534
|
messageId: string;
|
|
535
|
-
messages: {
|
|
536
|
-
user: any[];
|
|
537
|
-
all: any[];
|
|
538
|
-
nonUser: any[];
|
|
539
|
-
};
|
|
540
535
|
metadata: {
|
|
541
536
|
id?: string | undefined;
|
|
542
537
|
providerMetadata?: Record<string, any> | undefined;
|
|
538
|
+
modelId?: string | undefined;
|
|
543
539
|
model?: string | undefined;
|
|
544
540
|
headers?: Record<string, string> | undefined;
|
|
545
541
|
request?: Record<string, any> | undefined;
|
|
546
542
|
timestamp?: Date | undefined;
|
|
547
|
-
modelId?: string | undefined;
|
|
548
543
|
modelMetadata?: {
|
|
549
544
|
modelId: string;
|
|
550
545
|
modelVersion: string;
|
|
551
546
|
modelProvider: string;
|
|
552
547
|
} | undefined;
|
|
553
548
|
};
|
|
549
|
+
messages: {
|
|
550
|
+
user: any[];
|
|
551
|
+
all: any[];
|
|
552
|
+
nonUser: any[];
|
|
553
|
+
};
|
|
554
554
|
stepResult: {
|
|
555
555
|
reason: string;
|
|
556
556
|
isContinued: boolean;
|
|
@@ -590,25 +590,25 @@ export declare function createLLMExecutionStep<Tools extends ToolSet = ToolSet,
|
|
|
590
590
|
dynamicToolResults?: any[] | undefined;
|
|
591
591
|
};
|
|
592
592
|
messageId: string;
|
|
593
|
-
messages: {
|
|
594
|
-
user: any[];
|
|
595
|
-
all: any[];
|
|
596
|
-
nonUser: any[];
|
|
597
|
-
};
|
|
598
593
|
metadata: {
|
|
599
594
|
id?: string | undefined;
|
|
600
595
|
providerMetadata?: Record<string, any> | undefined;
|
|
596
|
+
modelId?: string | undefined;
|
|
601
597
|
model?: string | undefined;
|
|
602
598
|
headers?: Record<string, string> | undefined;
|
|
603
599
|
request?: Record<string, any> | undefined;
|
|
604
600
|
timestamp?: Date | undefined;
|
|
605
|
-
modelId?: string | undefined;
|
|
606
601
|
modelMetadata?: {
|
|
607
602
|
modelId: string;
|
|
608
603
|
modelVersion: string;
|
|
609
604
|
modelProvider: string;
|
|
610
605
|
} | undefined;
|
|
611
606
|
};
|
|
607
|
+
messages: {
|
|
608
|
+
user: any[];
|
|
609
|
+
all: any[];
|
|
610
|
+
nonUser: any[];
|
|
611
|
+
};
|
|
612
612
|
stepResult: {
|
|
613
613
|
reason: string;
|
|
614
614
|
isContinued: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"llm-execution-step.d.ts","sourceRoot":"","sources":["../../../../src/loop/workflows/agentic-execution/llm-execution-step.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"llm-execution-step.d.ts","sourceRoot":"","sources":["../../../../src/loop/workflows/agentic-execution/llm-execution-step.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAWrC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAShE,OAAO,KAAK,EAAc,WAAW,EAAE,MAAM,aAAa,CAAC;AAua3D,wBAAgB,sBAAsB,CAAC,KAAK,SAAS,OAAO,GAAG,OAAO,EAAE,MAAM,SAAS,YAAY,GAAG,SAAS,EAAE,EAC/G,MAAM,EACN,SAAS,EACT,SAAS,EACT,KAAK,EACL,KAAK,EACL,UAAU,EACV,WAAW,EACX,gBAAgB,EAChB,aAAa,EACb,eAAe,EACf,OAAO,EACP,iBAAiB,EACjB,UAAU,EACV,gBAAgB,EAChB,gBAAgB,EAChB,eAAe,EACf,MAAM,EACN,OAAO,EACP,OAAO,EACP,eAAe,EACf,mBAAmB,EACnB,eAAe,EACf,cAAc,EACd,UAAU,EACV,gBAAgB,GACjB,EAAE,WAAW,CAAC,KAAK,EAAE,MAAM,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0KAyX5B"}
|
|
@@ -146,11 +146,11 @@ export declare function createLLMMappingStep<Tools extends ToolSet = ToolSet, OU
|
|
|
146
146
|
}, "strip", z.ZodTypeAny, {
|
|
147
147
|
id?: string | undefined;
|
|
148
148
|
providerMetadata?: Record<string, any> | undefined;
|
|
149
|
+
modelId?: string | undefined;
|
|
149
150
|
model?: string | undefined;
|
|
150
151
|
headers?: Record<string, string> | undefined;
|
|
151
152
|
request?: Record<string, any> | undefined;
|
|
152
153
|
timestamp?: Date | undefined;
|
|
153
|
-
modelId?: string | undefined;
|
|
154
154
|
modelMetadata?: {
|
|
155
155
|
modelId: string;
|
|
156
156
|
modelVersion: string;
|
|
@@ -159,11 +159,11 @@ export declare function createLLMMappingStep<Tools extends ToolSet = ToolSet, OU
|
|
|
159
159
|
}, {
|
|
160
160
|
id?: string | undefined;
|
|
161
161
|
providerMetadata?: Record<string, any> | undefined;
|
|
162
|
+
modelId?: string | undefined;
|
|
162
163
|
model?: string | undefined;
|
|
163
164
|
headers?: Record<string, string> | undefined;
|
|
164
165
|
request?: Record<string, any> | undefined;
|
|
165
166
|
timestamp?: Date | undefined;
|
|
166
|
-
modelId?: string | undefined;
|
|
167
167
|
modelMetadata?: {
|
|
168
168
|
modelId: string;
|
|
169
169
|
modelVersion: string;
|
|
@@ -251,25 +251,25 @@ export declare function createLLMMappingStep<Tools extends ToolSet = ToolSet, OU
|
|
|
251
251
|
dynamicToolResults?: any[] | undefined;
|
|
252
252
|
};
|
|
253
253
|
messageId: string;
|
|
254
|
-
messages: {
|
|
255
|
-
user: any[];
|
|
256
|
-
all: any[];
|
|
257
|
-
nonUser: any[];
|
|
258
|
-
};
|
|
259
254
|
metadata: {
|
|
260
255
|
id?: string | undefined;
|
|
261
256
|
providerMetadata?: Record<string, any> | undefined;
|
|
257
|
+
modelId?: string | undefined;
|
|
262
258
|
model?: string | undefined;
|
|
263
259
|
headers?: Record<string, string> | undefined;
|
|
264
260
|
request?: Record<string, any> | undefined;
|
|
265
261
|
timestamp?: Date | undefined;
|
|
266
|
-
modelId?: string | undefined;
|
|
267
262
|
modelMetadata?: {
|
|
268
263
|
modelId: string;
|
|
269
264
|
modelVersion: string;
|
|
270
265
|
modelProvider: string;
|
|
271
266
|
} | undefined;
|
|
272
267
|
};
|
|
268
|
+
messages: {
|
|
269
|
+
user: any[];
|
|
270
|
+
all: any[];
|
|
271
|
+
nonUser: any[];
|
|
272
|
+
};
|
|
273
273
|
stepResult: {
|
|
274
274
|
reason: string;
|
|
275
275
|
isContinued: boolean;
|
|
@@ -309,25 +309,25 @@ export declare function createLLMMappingStep<Tools extends ToolSet = ToolSet, OU
|
|
|
309
309
|
dynamicToolResults?: any[] | undefined;
|
|
310
310
|
};
|
|
311
311
|
messageId: string;
|
|
312
|
-
messages: {
|
|
313
|
-
user: any[];
|
|
314
|
-
all: any[];
|
|
315
|
-
nonUser: any[];
|
|
316
|
-
};
|
|
317
312
|
metadata: {
|
|
318
313
|
id?: string | undefined;
|
|
319
314
|
providerMetadata?: Record<string, any> | undefined;
|
|
315
|
+
modelId?: string | undefined;
|
|
320
316
|
model?: string | undefined;
|
|
321
317
|
headers?: Record<string, string> | undefined;
|
|
322
318
|
request?: Record<string, any> | undefined;
|
|
323
319
|
timestamp?: Date | undefined;
|
|
324
|
-
modelId?: string | undefined;
|
|
325
320
|
modelMetadata?: {
|
|
326
321
|
modelId: string;
|
|
327
322
|
modelVersion: string;
|
|
328
323
|
modelProvider: string;
|
|
329
324
|
} | undefined;
|
|
330
325
|
};
|
|
326
|
+
messages: {
|
|
327
|
+
user: any[];
|
|
328
|
+
all: any[];
|
|
329
|
+
nonUser: any[];
|
|
330
|
+
};
|
|
331
331
|
stepResult: {
|
|
332
332
|
reason: string;
|
|
333
333
|
isContinued: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"llm-mapping-step.d.ts","sourceRoot":"","sources":["../../../../src/loop/workflows/agentic-execution/llm-mapping-step.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACrC,OAAO,CAAC,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"llm-mapping-step.d.ts","sourceRoot":"","sources":["../../../../src/loop/workflows/agentic-execution/llm-mapping-step.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACrC,OAAO,CAAC,MAAM,KAAK,CAAC;AAKpB,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAIhE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAG/C,wBAAgB,oBAAoB,CAAC,KAAK,SAAS,OAAO,GAAG,OAAO,EAAE,MAAM,SAAS,YAAY,GAAG,SAAS,EAC3G,EAAE,MAAM,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,EAAE,WAAW,CAAC,KAAK,EAAE,MAAM,CAAC,EAC1D,gBAAgB,EAAE,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0HA4LtB"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ToolSet } from 'ai-v5';
|
|
2
2
|
import type { OutputSchema } from '../../../stream/base/schema.js';
|
|
3
3
|
import type { OuterLLMRun } from '../../types.js';
|
|
4
|
-
export declare function createToolCallStep<Tools extends ToolSet = ToolSet, OUTPUT extends OutputSchema | undefined = undefined>({ tools, messageList, options,
|
|
4
|
+
export declare function createToolCallStep<Tools extends ToolSet = ToolSet, OUTPUT extends OutputSchema | undefined = undefined>({ tools, messageList, options, outputWriter, controller, runId, streamState, modelSpanTracker, _internal, }: OuterLLMRun<Tools, OUTPUT>): import("../../../workflows").Step<"toolCallStep", import("zod").ZodObject<any, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
|
|
5
5
|
[x: string]: any;
|
|
6
6
|
}, {
|
|
7
7
|
[x: string]: any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tool-call-step.d.ts","sourceRoot":"","sources":["../../../../src/loop/workflows/agentic-execution/tool-call-step.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"tool-call-step.d.ts","sourceRoot":"","sources":["../../../../src/loop/workflows/agentic-execution/tool-call-step.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAErC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAIhE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAG/C,wBAAgB,kBAAkB,CAChC,KAAK,SAAS,OAAO,GAAG,OAAO,EAC/B,MAAM,SAAS,YAAY,GAAG,SAAS,GAAG,SAAS,EACnD,EACA,KAAK,EACL,WAAW,EACX,OAAO,EACP,YAAY,EACZ,UAAU,EACV,KAAK,EACL,WAAW,EACX,gBAAgB,EAChB,SAAS,GACV,EAAE,WAAW,CAAC,KAAK,EAAE,MAAM,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0KAsP5B"}
|