@mastra/core 1.0.0-beta.1 → 1.0.0-beta.11
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 +1218 -0
- package/dist/agent/agent-legacy.d.ts +35 -30
- 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 +24 -9
- package/dist/agent/agent.d.ts.map +1 -1
- package/dist/agent/agent.types.d.ts +17 -9
- 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 +61 -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 +38 -4
- package/dist/agent/trip-wire.d.ts.map +1 -1
- package/dist/agent/types.d.ts +46 -14
- package/dist/agent/types.d.ts.map +1 -1
- package/dist/agent/utils.d.ts +4 -5
- package/dist/agent/utils.d.ts.map +1 -1
- package/dist/agent/workflows/prepare-stream/index.d.ts +37 -13
- 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 +34 -11
- 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 +38 -15
- 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-JUBFO5J3.js → chunk-2ULLRN4Y.js} +16333 -11839
- package/dist/chunk-2ULLRN4Y.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-3E3ILV6T.cjs +518 -0
- package/dist/chunk-3E3ILV6T.cjs.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-MSWTA73A.cjs → chunk-52RSUALV.cjs} +16490 -11957
- package/dist/chunk-52RSUALV.cjs.map +1 -0
- package/dist/chunk-5PAEYE3Q.js +513 -0
- package/dist/chunk-5PAEYE3Q.js.map +1 -0
- package/dist/{chunk-ECFXGXWO.cjs → chunk-5Q6WAYEY.cjs} +695 -375
- package/dist/chunk-5Q6WAYEY.cjs.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-GRBGQ2GE.js → chunk-6TBWJV35.js} +5 -3
- 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-W7UH2PWL.js → chunk-7P6BNIJH.js} +1142 -331
- package/dist/chunk-7P6BNIJH.js.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-GGYKYORQ.cjs → chunk-BJXKH4LG.cjs} +407 -22
- package/dist/chunk-BJXKH4LG.cjs.map +1 -0
- package/dist/{chunk-2ZVKF4HP.cjs → chunk-BUKY6CTR.cjs} +1147 -334
- package/dist/chunk-BUKY6CTR.cjs.map +1 -0
- package/dist/chunk-BWYU7D33.js +192 -0
- package/dist/chunk-BWYU7D33.js.map +1 -0
- package/dist/{chunk-XEVG546F.js → chunk-C36YRTZ6.js} +178 -12
- package/dist/chunk-C36YRTZ6.js.map +1 -0
- package/dist/{chunk-CB575O6L.cjs → chunk-CZEJQSWB.cjs} +473 -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-4CDL2QJT.js → chunk-IVV5TOMD.js} +122 -37
- package/dist/chunk-IVV5TOMD.js.map +1 -0
- package/dist/{chunk-MV7KHWUT.js → chunk-JIGDJK2O.js} +391 -15
- package/dist/chunk-JIGDJK2O.js.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-KJ2SW6VA.js → chunk-NRUZYMHE.js} +4 -3
- package/dist/chunk-NRUZYMHE.js.map +1 -0
- package/dist/{chunk-CINNK34N.js → chunk-O2BJW7YA.js} +26 -11
- package/dist/chunk-O2BJW7YA.js.map +1 -0
- package/dist/chunk-OEIVMCWX.js +4959 -0
- package/dist/chunk-OEIVMCWX.js.map +1 -0
- package/dist/{chunk-WM6CK2F3.cjs → chunk-PG5H6QIO.cjs} +131 -49
- package/dist/chunk-PG5H6QIO.cjs.map +1 -0
- package/dist/{chunk-JPGVRWWL.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-VOY2RXOC.cjs → chunk-S73Z3PBJ.cjs} +182 -15
- package/dist/chunk-S73Z3PBJ.cjs.map +1 -0
- package/dist/{chunk-MA7TEM62.cjs → chunk-SCUWP4II.cjs} +769 -27
- package/dist/chunk-SCUWP4II.cjs.map +1 -0
- package/dist/{chunk-JV2KH24V.js → chunk-SXNQRJQD.js} +695 -375
- package/dist/chunk-SXNQRJQD.js.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-VOQ3ULMT.js → chunk-U3XOLEPX.js} +759 -17
- package/dist/chunk-U3XOLEPX.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-H6CZGPZD.js → chunk-US2U7ECW.js} +179 -38
- package/dist/chunk-US2U7ECW.js.map +1 -0
- package/dist/{chunk-J7O6WENZ.cjs → chunk-UVHSM2GU.cjs} +6 -2
- package/dist/chunk-UVHSM2GU.cjs.map +1 -0
- package/dist/{chunk-CD56CXVE.cjs → chunk-WTSZBHIZ.cjs} +32 -17
- package/dist/chunk-WTSZBHIZ.cjs.map +1 -0
- package/dist/{chunk-KIZIOFZC.js → chunk-Y36Y5MTD.js} +17 -3
- package/dist/chunk-Y36Y5MTD.js.map +1 -0
- package/dist/{chunk-DNEURYF3.cjs → chunk-YC6PJEPH.cjs} +206 -65
- package/dist/chunk-YC6PJEPH.cjs.map +1 -0
- package/dist/{chunk-IQO7ANVS.cjs → chunk-YWMMBIOM.cjs} +21 -20
- package/dist/chunk-YWMMBIOM.cjs.map +1 -0
- package/dist/{chunk-I4CXL4SR.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/base.types.d.ts +2 -2
- package/dist/llm/model/base.types.d.ts.map +1 -1
- 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 +4 -2
- 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 +489 -27
- 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 +17 -6
- 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 +42 -20
- package/dist/loop/types.d.ts.map +1 -1
- package/dist/loop/workflows/agentic-execution/index.d.ts +60 -42
- package/dist/loop/workflows/agentic-execution/index.d.ts.map +1 -1
- package/dist/loop/workflows/agentic-execution/llm-execution-step.d.ts +41 -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 +20 -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 +62 -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 +32 -15
- package/dist/loop/workflows/schema.d.ts.map +1 -1
- 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-DNBKXHT4.js.map → models-dev-23RN2WHG.js.map} +1 -1
- package/dist/models-dev-EO3SUIY2.cjs +12 -0
- package/dist/{models-dev-YBEEQIX6.cjs.map → models-dev-EO3SUIY2.cjs.map} +1 -1
- package/dist/netlify-GXJ5D5DD.js +3 -0
- package/dist/{netlify-7G2L5VSH.js.map → netlify-GXJ5D5DD.js.map} +1 -1
- package/dist/netlify-KJLY3GFS.cjs +12 -0
- package/dist/{netlify-GWNGSIRZ.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 +115 -11
- package/dist/processors/index.d.ts +246 -26
- 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/prepare-step.d.ts +12 -0
- package/dist/processors/processors/prepare-step.d.ts.map +1 -0
- 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 +7 -5
- 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 +83 -9
- package/dist/processors/runner.d.ts.map +1 -1
- package/dist/processors/step-schema.d.ts +49731 -0
- package/dist/processors/step-schema.d.ts.map +1 -0
- package/dist/provider-registry-3TG2KUD2.cjs +40 -0
- package/dist/provider-registry-3TG2KUD2.cjs.map +1 -0
- package/dist/provider-registry-F67Y6OF2.js +3 -0
- package/dist/provider-registry-F67Y6OF2.js.map +1 -0
- package/dist/provider-registry.json +1056 -61
- 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/server/types.d.ts +6 -0
- package/dist/server/types.d.ts.map +1 -1
- 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 +88 -5
- 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 +2 -2
- package/dist/stream/MastraAgentNetworkStream.d.ts.map +1 -1
- package/dist/stream/MastraWorkflowStream.d.ts +2 -2
- 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/transform.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 +9 -5
- 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-helpers.d.ts +5 -1
- package/dist/stream/aisdk/v5/output-helpers.d.ts.map +1 -1
- package/dist/stream/aisdk/v5/output.d.ts +11 -13
- package/dist/stream/aisdk/v5/output.d.ts.map +1 -1
- package/dist/stream/aisdk/v5/transform.d.ts +2 -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 +9 -14
- 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 +97 -32
- 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 +180 -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 +40 -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 +257 -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 +146 -55
- package/dist/workflows/workflow.d.ts.map +1 -1
- package/package.json +26 -30
- package/src/llm/model/provider-types.generated.d.ts +489 -27
- package/dist/chunk-2ZVKF4HP.cjs.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-CB575O6L.cjs.map +0 -1
- package/dist/chunk-CD56CXVE.cjs.map +0 -1
- package/dist/chunk-CINNK34N.js.map +0 -1
- package/dist/chunk-DNEURYF3.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-GGYKYORQ.cjs.map +0 -1
- package/dist/chunk-GRBGQ2GE.js.map +0 -1
- package/dist/chunk-H6CZGPZD.js.map +0 -1
- package/dist/chunk-HDJFSJCK.js +0 -2237
- package/dist/chunk-HDJFSJCK.js.map +0 -1
- package/dist/chunk-HGNRQ3OG.js +0 -58
- package/dist/chunk-HGNRQ3OG.js.map +0 -1
- package/dist/chunk-I4CXL4SR.js.map +0 -1
- package/dist/chunk-IQO7ANVS.cjs.map +0 -1
- package/dist/chunk-J7O6WENZ.cjs.map +0 -1
- package/dist/chunk-JPGVRWWL.js.map +0 -1
- package/dist/chunk-JUBFO5J3.js.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-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-LWBQ4P4N.cjs +0 -2240
- package/dist/chunk-LWBQ4P4N.cjs.map +0 -1
- package/dist/chunk-MA7TEM62.cjs.map +0 -1
- package/dist/chunk-MSWTA73A.cjs.map +0 -1
- package/dist/chunk-MV7KHWUT.js.map +0 -1
- package/dist/chunk-QUKUN6NR.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-VOQ3ULMT.js.map +0 -1
- package/dist/chunk-VOY2RXOC.cjs.map +0 -1
- package/dist/chunk-W7UH2PWL.js.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-ZV5CC35D.js +0 -3
- package/dist/chunk-ZV5CC35D.js.map +0 -1
- package/dist/models-dev-DNBKXHT4.js +0 -3
- package/dist/models-dev-YBEEQIX6.cjs +0 -12
- package/dist/netlify-7G2L5VSH.js +0 -3
- package/dist/netlify-GWNGSIRZ.cjs +0 -12
- 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;
|
|
@@ -199,6 +199,8 @@ export declare function createAgenticExecutionWorkflow<Tools extends ToolSet = T
|
|
|
199
199
|
cachedInputTokens?: number | undefined;
|
|
200
200
|
} | undefined;
|
|
201
201
|
}>;
|
|
202
|
+
processorRetryCount: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
203
|
+
processorRetryFeedback: import("zod").ZodOptional<import("zod").ZodString>;
|
|
202
204
|
}, "strip", import("zod").ZodTypeAny, {
|
|
203
205
|
output: {
|
|
204
206
|
usage: {
|
|
@@ -222,25 +224,25 @@ export declare function createAgenticExecutionWorkflow<Tools extends ToolSet = T
|
|
|
222
224
|
dynamicToolResults?: any[] | undefined;
|
|
223
225
|
};
|
|
224
226
|
messageId: string;
|
|
225
|
-
messages: {
|
|
226
|
-
user: any[];
|
|
227
|
-
all: any[];
|
|
228
|
-
nonUser: any[];
|
|
229
|
-
};
|
|
230
227
|
metadata: {
|
|
231
228
|
id?: string | undefined;
|
|
232
229
|
providerMetadata?: Record<string, any> | undefined;
|
|
230
|
+
modelId?: string | undefined;
|
|
233
231
|
model?: string | undefined;
|
|
234
232
|
headers?: Record<string, string> | undefined;
|
|
235
233
|
request?: Record<string, any> | undefined;
|
|
236
234
|
timestamp?: Date | undefined;
|
|
237
|
-
modelId?: string | undefined;
|
|
238
235
|
modelMetadata?: {
|
|
239
236
|
modelId: string;
|
|
240
237
|
modelVersion: string;
|
|
241
238
|
modelProvider: string;
|
|
242
239
|
} | undefined;
|
|
243
240
|
};
|
|
241
|
+
messages: {
|
|
242
|
+
user: any[];
|
|
243
|
+
all: any[];
|
|
244
|
+
nonUser: any[];
|
|
245
|
+
};
|
|
244
246
|
stepResult: {
|
|
245
247
|
reason: string;
|
|
246
248
|
isContinued: boolean;
|
|
@@ -257,6 +259,8 @@ export declare function createAgenticExecutionWorkflow<Tools extends ToolSet = T
|
|
|
257
259
|
cachedInputTokens?: number | undefined;
|
|
258
260
|
} | undefined;
|
|
259
261
|
};
|
|
262
|
+
processorRetryCount?: number | undefined;
|
|
263
|
+
processorRetryFeedback?: string | undefined;
|
|
260
264
|
}, {
|
|
261
265
|
output: {
|
|
262
266
|
usage: {
|
|
@@ -280,25 +284,25 @@ export declare function createAgenticExecutionWorkflow<Tools extends ToolSet = T
|
|
|
280
284
|
dynamicToolResults?: any[] | undefined;
|
|
281
285
|
};
|
|
282
286
|
messageId: string;
|
|
283
|
-
messages: {
|
|
284
|
-
user: any[];
|
|
285
|
-
all: any[];
|
|
286
|
-
nonUser: any[];
|
|
287
|
-
};
|
|
288
287
|
metadata: {
|
|
289
288
|
id?: string | undefined;
|
|
290
289
|
providerMetadata?: Record<string, any> | undefined;
|
|
290
|
+
modelId?: string | undefined;
|
|
291
291
|
model?: string | undefined;
|
|
292
292
|
headers?: Record<string, string> | undefined;
|
|
293
293
|
request?: Record<string, any> | undefined;
|
|
294
294
|
timestamp?: Date | undefined;
|
|
295
|
-
modelId?: string | undefined;
|
|
296
295
|
modelMetadata?: {
|
|
297
296
|
modelId: string;
|
|
298
297
|
modelVersion: string;
|
|
299
298
|
modelProvider: string;
|
|
300
299
|
} | undefined;
|
|
301
300
|
};
|
|
301
|
+
messages: {
|
|
302
|
+
user: any[];
|
|
303
|
+
all: any[];
|
|
304
|
+
nonUser: any[];
|
|
305
|
+
};
|
|
302
306
|
stepResult: {
|
|
303
307
|
reason: string;
|
|
304
308
|
isContinued: boolean;
|
|
@@ -315,6 +319,8 @@ export declare function createAgenticExecutionWorkflow<Tools extends ToolSet = T
|
|
|
315
319
|
cachedInputTokens?: number | undefined;
|
|
316
320
|
} | undefined;
|
|
317
321
|
};
|
|
322
|
+
processorRetryCount?: number | undefined;
|
|
323
|
+
processorRetryFeedback?: string | undefined;
|
|
318
324
|
}>, import("zod").ZodObject<{
|
|
319
325
|
messageId: import("zod").ZodString;
|
|
320
326
|
messages: import("zod").ZodObject<{
|
|
@@ -427,11 +433,11 @@ export declare function createAgenticExecutionWorkflow<Tools extends ToolSet = T
|
|
|
427
433
|
}, "strip", import("zod").ZodTypeAny, {
|
|
428
434
|
id?: string | undefined;
|
|
429
435
|
providerMetadata?: Record<string, any> | undefined;
|
|
436
|
+
modelId?: string | undefined;
|
|
430
437
|
model?: string | undefined;
|
|
431
438
|
headers?: Record<string, string> | undefined;
|
|
432
439
|
request?: Record<string, any> | undefined;
|
|
433
440
|
timestamp?: Date | undefined;
|
|
434
|
-
modelId?: string | undefined;
|
|
435
441
|
modelMetadata?: {
|
|
436
442
|
modelId: string;
|
|
437
443
|
modelVersion: string;
|
|
@@ -440,11 +446,11 @@ export declare function createAgenticExecutionWorkflow<Tools extends ToolSet = T
|
|
|
440
446
|
}, {
|
|
441
447
|
id?: string | undefined;
|
|
442
448
|
providerMetadata?: Record<string, any> | undefined;
|
|
449
|
+
modelId?: string | undefined;
|
|
443
450
|
model?: string | undefined;
|
|
444
451
|
headers?: Record<string, string> | undefined;
|
|
445
452
|
request?: Record<string, any> | undefined;
|
|
446
453
|
timestamp?: Date | undefined;
|
|
447
|
-
modelId?: string | undefined;
|
|
448
454
|
modelMetadata?: {
|
|
449
455
|
modelId: string;
|
|
450
456
|
modelVersion: string;
|
|
@@ -509,6 +515,8 @@ export declare function createAgenticExecutionWorkflow<Tools extends ToolSet = T
|
|
|
509
515
|
cachedInputTokens?: number | undefined;
|
|
510
516
|
} | undefined;
|
|
511
517
|
}>;
|
|
518
|
+
processorRetryCount: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
519
|
+
processorRetryFeedback: import("zod").ZodOptional<import("zod").ZodString>;
|
|
512
520
|
}, "strip", import("zod").ZodTypeAny, {
|
|
513
521
|
output: {
|
|
514
522
|
usage: {
|
|
@@ -532,25 +540,25 @@ export declare function createAgenticExecutionWorkflow<Tools extends ToolSet = T
|
|
|
532
540
|
dynamicToolResults?: any[] | undefined;
|
|
533
541
|
};
|
|
534
542
|
messageId: string;
|
|
535
|
-
messages: {
|
|
536
|
-
user: any[];
|
|
537
|
-
all: any[];
|
|
538
|
-
nonUser: any[];
|
|
539
|
-
};
|
|
540
543
|
metadata: {
|
|
541
544
|
id?: string | undefined;
|
|
542
545
|
providerMetadata?: Record<string, any> | undefined;
|
|
546
|
+
modelId?: string | undefined;
|
|
543
547
|
model?: string | undefined;
|
|
544
548
|
headers?: Record<string, string> | undefined;
|
|
545
549
|
request?: Record<string, any> | undefined;
|
|
546
550
|
timestamp?: Date | undefined;
|
|
547
|
-
modelId?: string | undefined;
|
|
548
551
|
modelMetadata?: {
|
|
549
552
|
modelId: string;
|
|
550
553
|
modelVersion: string;
|
|
551
554
|
modelProvider: string;
|
|
552
555
|
} | undefined;
|
|
553
556
|
};
|
|
557
|
+
messages: {
|
|
558
|
+
user: any[];
|
|
559
|
+
all: any[];
|
|
560
|
+
nonUser: any[];
|
|
561
|
+
};
|
|
554
562
|
stepResult: {
|
|
555
563
|
reason: string;
|
|
556
564
|
isContinued: boolean;
|
|
@@ -567,6 +575,8 @@ export declare function createAgenticExecutionWorkflow<Tools extends ToolSet = T
|
|
|
567
575
|
cachedInputTokens?: number | undefined;
|
|
568
576
|
} | undefined;
|
|
569
577
|
};
|
|
578
|
+
processorRetryCount?: number | undefined;
|
|
579
|
+
processorRetryFeedback?: string | undefined;
|
|
570
580
|
}, {
|
|
571
581
|
output: {
|
|
572
582
|
usage: {
|
|
@@ -590,25 +600,25 @@ export declare function createAgenticExecutionWorkflow<Tools extends ToolSet = T
|
|
|
590
600
|
dynamicToolResults?: any[] | undefined;
|
|
591
601
|
};
|
|
592
602
|
messageId: string;
|
|
593
|
-
messages: {
|
|
594
|
-
user: any[];
|
|
595
|
-
all: any[];
|
|
596
|
-
nonUser: any[];
|
|
597
|
-
};
|
|
598
603
|
metadata: {
|
|
599
604
|
id?: string | undefined;
|
|
600
605
|
providerMetadata?: Record<string, any> | undefined;
|
|
606
|
+
modelId?: string | undefined;
|
|
601
607
|
model?: string | undefined;
|
|
602
608
|
headers?: Record<string, string> | undefined;
|
|
603
609
|
request?: Record<string, any> | undefined;
|
|
604
610
|
timestamp?: Date | undefined;
|
|
605
|
-
modelId?: string | undefined;
|
|
606
611
|
modelMetadata?: {
|
|
607
612
|
modelId: string;
|
|
608
613
|
modelVersion: string;
|
|
609
614
|
modelProvider: string;
|
|
610
615
|
} | undefined;
|
|
611
616
|
};
|
|
617
|
+
messages: {
|
|
618
|
+
user: any[];
|
|
619
|
+
all: any[];
|
|
620
|
+
nonUser: any[];
|
|
621
|
+
};
|
|
612
622
|
stepResult: {
|
|
613
623
|
reason: string;
|
|
614
624
|
isContinued: boolean;
|
|
@@ -625,6 +635,8 @@ export declare function createAgenticExecutionWorkflow<Tools extends ToolSet = T
|
|
|
625
635
|
cachedInputTokens?: number | undefined;
|
|
626
636
|
} | undefined;
|
|
627
637
|
};
|
|
638
|
+
processorRetryCount?: number | undefined;
|
|
639
|
+
processorRetryFeedback?: string | undefined;
|
|
628
640
|
}>, import("zod").ZodObject<{
|
|
629
641
|
messageId: import("zod").ZodString;
|
|
630
642
|
messages: import("zod").ZodObject<{
|
|
@@ -737,11 +749,11 @@ export declare function createAgenticExecutionWorkflow<Tools extends ToolSet = T
|
|
|
737
749
|
}, "strip", import("zod").ZodTypeAny, {
|
|
738
750
|
id?: string | undefined;
|
|
739
751
|
providerMetadata?: Record<string, any> | undefined;
|
|
752
|
+
modelId?: string | undefined;
|
|
740
753
|
model?: string | undefined;
|
|
741
754
|
headers?: Record<string, string> | undefined;
|
|
742
755
|
request?: Record<string, any> | undefined;
|
|
743
756
|
timestamp?: Date | undefined;
|
|
744
|
-
modelId?: string | undefined;
|
|
745
757
|
modelMetadata?: {
|
|
746
758
|
modelId: string;
|
|
747
759
|
modelVersion: string;
|
|
@@ -750,11 +762,11 @@ export declare function createAgenticExecutionWorkflow<Tools extends ToolSet = T
|
|
|
750
762
|
}, {
|
|
751
763
|
id?: string | undefined;
|
|
752
764
|
providerMetadata?: Record<string, any> | undefined;
|
|
765
|
+
modelId?: string | undefined;
|
|
753
766
|
model?: string | undefined;
|
|
754
767
|
headers?: Record<string, string> | undefined;
|
|
755
768
|
request?: Record<string, any> | undefined;
|
|
756
769
|
timestamp?: Date | undefined;
|
|
757
|
-
modelId?: string | undefined;
|
|
758
770
|
modelMetadata?: {
|
|
759
771
|
modelId: string;
|
|
760
772
|
modelVersion: string;
|
|
@@ -819,6 +831,8 @@ export declare function createAgenticExecutionWorkflow<Tools extends ToolSet = T
|
|
|
819
831
|
cachedInputTokens?: number | undefined;
|
|
820
832
|
} | undefined;
|
|
821
833
|
}>;
|
|
834
|
+
processorRetryCount: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
835
|
+
processorRetryFeedback: import("zod").ZodOptional<import("zod").ZodString>;
|
|
822
836
|
}, "strip", import("zod").ZodTypeAny, {
|
|
823
837
|
output: {
|
|
824
838
|
usage: {
|
|
@@ -842,25 +856,25 @@ export declare function createAgenticExecutionWorkflow<Tools extends ToolSet = T
|
|
|
842
856
|
dynamicToolResults?: any[] | undefined;
|
|
843
857
|
};
|
|
844
858
|
messageId: string;
|
|
845
|
-
messages: {
|
|
846
|
-
user: any[];
|
|
847
|
-
all: any[];
|
|
848
|
-
nonUser: any[];
|
|
849
|
-
};
|
|
850
859
|
metadata: {
|
|
851
860
|
id?: string | undefined;
|
|
852
861
|
providerMetadata?: Record<string, any> | undefined;
|
|
862
|
+
modelId?: string | undefined;
|
|
853
863
|
model?: string | undefined;
|
|
854
864
|
headers?: Record<string, string> | undefined;
|
|
855
865
|
request?: Record<string, any> | undefined;
|
|
856
866
|
timestamp?: Date | undefined;
|
|
857
|
-
modelId?: string | undefined;
|
|
858
867
|
modelMetadata?: {
|
|
859
868
|
modelId: string;
|
|
860
869
|
modelVersion: string;
|
|
861
870
|
modelProvider: string;
|
|
862
871
|
} | undefined;
|
|
863
872
|
};
|
|
873
|
+
messages: {
|
|
874
|
+
user: any[];
|
|
875
|
+
all: any[];
|
|
876
|
+
nonUser: any[];
|
|
877
|
+
};
|
|
864
878
|
stepResult: {
|
|
865
879
|
reason: string;
|
|
866
880
|
isContinued: boolean;
|
|
@@ -877,6 +891,8 @@ export declare function createAgenticExecutionWorkflow<Tools extends ToolSet = T
|
|
|
877
891
|
cachedInputTokens?: number | undefined;
|
|
878
892
|
} | undefined;
|
|
879
893
|
};
|
|
894
|
+
processorRetryCount?: number | undefined;
|
|
895
|
+
processorRetryFeedback?: string | undefined;
|
|
880
896
|
}, {
|
|
881
897
|
output: {
|
|
882
898
|
usage: {
|
|
@@ -900,25 +916,25 @@ export declare function createAgenticExecutionWorkflow<Tools extends ToolSet = T
|
|
|
900
916
|
dynamicToolResults?: any[] | undefined;
|
|
901
917
|
};
|
|
902
918
|
messageId: string;
|
|
903
|
-
messages: {
|
|
904
|
-
user: any[];
|
|
905
|
-
all: any[];
|
|
906
|
-
nonUser: any[];
|
|
907
|
-
};
|
|
908
919
|
metadata: {
|
|
909
920
|
id?: string | undefined;
|
|
910
921
|
providerMetadata?: Record<string, any> | undefined;
|
|
922
|
+
modelId?: string | undefined;
|
|
911
923
|
model?: string | undefined;
|
|
912
924
|
headers?: Record<string, string> | undefined;
|
|
913
925
|
request?: Record<string, any> | undefined;
|
|
914
926
|
timestamp?: Date | undefined;
|
|
915
|
-
modelId?: string | undefined;
|
|
916
927
|
modelMetadata?: {
|
|
917
928
|
modelId: string;
|
|
918
929
|
modelVersion: string;
|
|
919
930
|
modelProvider: string;
|
|
920
931
|
} | undefined;
|
|
921
932
|
};
|
|
933
|
+
messages: {
|
|
934
|
+
user: any[];
|
|
935
|
+
all: any[];
|
|
936
|
+
nonUser: any[];
|
|
937
|
+
};
|
|
922
938
|
stepResult: {
|
|
923
939
|
reason: string;
|
|
924
940
|
isContinued: boolean;
|
|
@@ -935,5 +951,7 @@ export declare function createAgenticExecutionWorkflow<Tools extends ToolSet = T
|
|
|
935
951
|
cachedInputTokens?: number | undefined;
|
|
936
952
|
} | undefined;
|
|
937
953
|
};
|
|
954
|
+
processorRetryCount?: number | undefined;
|
|
955
|
+
processorRetryFeedback?: string | undefined;
|
|
938
956
|
}>>;
|
|
939
957
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -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<
|
|
4
|
+
export declare function createLLMExecutionStep<TOOLS extends ToolSet = ToolSet, OUTPUT extends OutputSchema = undefined>({ models, _internal, messageId, runId, tools, toolChoice, activeTools, messageList, includeRawChunks, modelSettings, providerOptions, options, toolCallStreaming, controller, structuredOutput, outputProcessors, inputProcessors, logger, agentId, headers, downloadRetries, downloadConcurrency, processorStates, requestContext, methodType, modelSpanTracker, maxProcessorRetries, }: 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;
|
|
@@ -199,6 +199,8 @@ export declare function createLLMExecutionStep<Tools extends ToolSet = ToolSet,
|
|
|
199
199
|
cachedInputTokens?: number | undefined;
|
|
200
200
|
} | undefined;
|
|
201
201
|
}>;
|
|
202
|
+
processorRetryCount: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
203
|
+
processorRetryFeedback: import("zod").ZodOptional<import("zod").ZodString>;
|
|
202
204
|
}, "strip", import("zod").ZodTypeAny, {
|
|
203
205
|
output: {
|
|
204
206
|
usage: {
|
|
@@ -222,25 +224,25 @@ export declare function createLLMExecutionStep<Tools extends ToolSet = ToolSet,
|
|
|
222
224
|
dynamicToolResults?: any[] | undefined;
|
|
223
225
|
};
|
|
224
226
|
messageId: string;
|
|
225
|
-
messages: {
|
|
226
|
-
user: any[];
|
|
227
|
-
all: any[];
|
|
228
|
-
nonUser: any[];
|
|
229
|
-
};
|
|
230
227
|
metadata: {
|
|
231
228
|
id?: string | undefined;
|
|
232
229
|
providerMetadata?: Record<string, any> | undefined;
|
|
230
|
+
modelId?: string | undefined;
|
|
233
231
|
model?: string | undefined;
|
|
234
232
|
headers?: Record<string, string> | undefined;
|
|
235
233
|
request?: Record<string, any> | undefined;
|
|
236
234
|
timestamp?: Date | undefined;
|
|
237
|
-
modelId?: string | undefined;
|
|
238
235
|
modelMetadata?: {
|
|
239
236
|
modelId: string;
|
|
240
237
|
modelVersion: string;
|
|
241
238
|
modelProvider: string;
|
|
242
239
|
} | undefined;
|
|
243
240
|
};
|
|
241
|
+
messages: {
|
|
242
|
+
user: any[];
|
|
243
|
+
all: any[];
|
|
244
|
+
nonUser: any[];
|
|
245
|
+
};
|
|
244
246
|
stepResult: {
|
|
245
247
|
reason: string;
|
|
246
248
|
isContinued: boolean;
|
|
@@ -257,6 +259,8 @@ export declare function createLLMExecutionStep<Tools extends ToolSet = ToolSet,
|
|
|
257
259
|
cachedInputTokens?: number | undefined;
|
|
258
260
|
} | undefined;
|
|
259
261
|
};
|
|
262
|
+
processorRetryCount?: number | undefined;
|
|
263
|
+
processorRetryFeedback?: string | undefined;
|
|
260
264
|
}, {
|
|
261
265
|
output: {
|
|
262
266
|
usage: {
|
|
@@ -280,25 +284,25 @@ export declare function createLLMExecutionStep<Tools extends ToolSet = ToolSet,
|
|
|
280
284
|
dynamicToolResults?: any[] | undefined;
|
|
281
285
|
};
|
|
282
286
|
messageId: string;
|
|
283
|
-
messages: {
|
|
284
|
-
user: any[];
|
|
285
|
-
all: any[];
|
|
286
|
-
nonUser: any[];
|
|
287
|
-
};
|
|
288
287
|
metadata: {
|
|
289
288
|
id?: string | undefined;
|
|
290
289
|
providerMetadata?: Record<string, any> | undefined;
|
|
290
|
+
modelId?: string | undefined;
|
|
291
291
|
model?: string | undefined;
|
|
292
292
|
headers?: Record<string, string> | undefined;
|
|
293
293
|
request?: Record<string, any> | undefined;
|
|
294
294
|
timestamp?: Date | undefined;
|
|
295
|
-
modelId?: string | undefined;
|
|
296
295
|
modelMetadata?: {
|
|
297
296
|
modelId: string;
|
|
298
297
|
modelVersion: string;
|
|
299
298
|
modelProvider: string;
|
|
300
299
|
} | undefined;
|
|
301
300
|
};
|
|
301
|
+
messages: {
|
|
302
|
+
user: any[];
|
|
303
|
+
all: any[];
|
|
304
|
+
nonUser: any[];
|
|
305
|
+
};
|
|
302
306
|
stepResult: {
|
|
303
307
|
reason: string;
|
|
304
308
|
isContinued: boolean;
|
|
@@ -315,6 +319,8 @@ export declare function createLLMExecutionStep<Tools extends ToolSet = ToolSet,
|
|
|
315
319
|
cachedInputTokens?: number | undefined;
|
|
316
320
|
} | undefined;
|
|
317
321
|
};
|
|
322
|
+
processorRetryCount?: number | undefined;
|
|
323
|
+
processorRetryFeedback?: string | undefined;
|
|
318
324
|
}>, import("zod").ZodObject<{
|
|
319
325
|
messageId: import("zod").ZodString;
|
|
320
326
|
messages: import("zod").ZodObject<{
|
|
@@ -427,11 +433,11 @@ export declare function createLLMExecutionStep<Tools extends ToolSet = ToolSet,
|
|
|
427
433
|
}, "strip", import("zod").ZodTypeAny, {
|
|
428
434
|
id?: string | undefined;
|
|
429
435
|
providerMetadata?: Record<string, any> | undefined;
|
|
436
|
+
modelId?: string | undefined;
|
|
430
437
|
model?: string | undefined;
|
|
431
438
|
headers?: Record<string, string> | undefined;
|
|
432
439
|
request?: Record<string, any> | undefined;
|
|
433
440
|
timestamp?: Date | undefined;
|
|
434
|
-
modelId?: string | undefined;
|
|
435
441
|
modelMetadata?: {
|
|
436
442
|
modelId: string;
|
|
437
443
|
modelVersion: string;
|
|
@@ -440,11 +446,11 @@ export declare function createLLMExecutionStep<Tools extends ToolSet = ToolSet,
|
|
|
440
446
|
}, {
|
|
441
447
|
id?: string | undefined;
|
|
442
448
|
providerMetadata?: Record<string, any> | undefined;
|
|
449
|
+
modelId?: string | undefined;
|
|
443
450
|
model?: string | undefined;
|
|
444
451
|
headers?: Record<string, string> | undefined;
|
|
445
452
|
request?: Record<string, any> | undefined;
|
|
446
453
|
timestamp?: Date | undefined;
|
|
447
|
-
modelId?: string | undefined;
|
|
448
454
|
modelMetadata?: {
|
|
449
455
|
modelId: string;
|
|
450
456
|
modelVersion: string;
|
|
@@ -509,6 +515,8 @@ export declare function createLLMExecutionStep<Tools extends ToolSet = ToolSet,
|
|
|
509
515
|
cachedInputTokens?: number | undefined;
|
|
510
516
|
} | undefined;
|
|
511
517
|
}>;
|
|
518
|
+
processorRetryCount: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
519
|
+
processorRetryFeedback: import("zod").ZodOptional<import("zod").ZodString>;
|
|
512
520
|
}, "strip", import("zod").ZodTypeAny, {
|
|
513
521
|
output: {
|
|
514
522
|
usage: {
|
|
@@ -532,25 +540,25 @@ export declare function createLLMExecutionStep<Tools extends ToolSet = ToolSet,
|
|
|
532
540
|
dynamicToolResults?: any[] | undefined;
|
|
533
541
|
};
|
|
534
542
|
messageId: string;
|
|
535
|
-
messages: {
|
|
536
|
-
user: any[];
|
|
537
|
-
all: any[];
|
|
538
|
-
nonUser: any[];
|
|
539
|
-
};
|
|
540
543
|
metadata: {
|
|
541
544
|
id?: string | undefined;
|
|
542
545
|
providerMetadata?: Record<string, any> | undefined;
|
|
546
|
+
modelId?: string | undefined;
|
|
543
547
|
model?: string | undefined;
|
|
544
548
|
headers?: Record<string, string> | undefined;
|
|
545
549
|
request?: Record<string, any> | undefined;
|
|
546
550
|
timestamp?: Date | undefined;
|
|
547
|
-
modelId?: string | undefined;
|
|
548
551
|
modelMetadata?: {
|
|
549
552
|
modelId: string;
|
|
550
553
|
modelVersion: string;
|
|
551
554
|
modelProvider: string;
|
|
552
555
|
} | undefined;
|
|
553
556
|
};
|
|
557
|
+
messages: {
|
|
558
|
+
user: any[];
|
|
559
|
+
all: any[];
|
|
560
|
+
nonUser: any[];
|
|
561
|
+
};
|
|
554
562
|
stepResult: {
|
|
555
563
|
reason: string;
|
|
556
564
|
isContinued: boolean;
|
|
@@ -567,6 +575,8 @@ export declare function createLLMExecutionStep<Tools extends ToolSet = ToolSet,
|
|
|
567
575
|
cachedInputTokens?: number | undefined;
|
|
568
576
|
} | undefined;
|
|
569
577
|
};
|
|
578
|
+
processorRetryCount?: number | undefined;
|
|
579
|
+
processorRetryFeedback?: string | undefined;
|
|
570
580
|
}, {
|
|
571
581
|
output: {
|
|
572
582
|
usage: {
|
|
@@ -590,25 +600,25 @@ export declare function createLLMExecutionStep<Tools extends ToolSet = ToolSet,
|
|
|
590
600
|
dynamicToolResults?: any[] | undefined;
|
|
591
601
|
};
|
|
592
602
|
messageId: string;
|
|
593
|
-
messages: {
|
|
594
|
-
user: any[];
|
|
595
|
-
all: any[];
|
|
596
|
-
nonUser: any[];
|
|
597
|
-
};
|
|
598
603
|
metadata: {
|
|
599
604
|
id?: string | undefined;
|
|
600
605
|
providerMetadata?: Record<string, any> | undefined;
|
|
606
|
+
modelId?: string | undefined;
|
|
601
607
|
model?: string | undefined;
|
|
602
608
|
headers?: Record<string, string> | undefined;
|
|
603
609
|
request?: Record<string, any> | undefined;
|
|
604
610
|
timestamp?: Date | undefined;
|
|
605
|
-
modelId?: string | undefined;
|
|
606
611
|
modelMetadata?: {
|
|
607
612
|
modelId: string;
|
|
608
613
|
modelVersion: string;
|
|
609
614
|
modelProvider: string;
|
|
610
615
|
} | undefined;
|
|
611
616
|
};
|
|
617
|
+
messages: {
|
|
618
|
+
user: any[];
|
|
619
|
+
all: any[];
|
|
620
|
+
nonUser: any[];
|
|
621
|
+
};
|
|
612
622
|
stepResult: {
|
|
613
623
|
reason: string;
|
|
614
624
|
isContinued: boolean;
|
|
@@ -625,5 +635,7 @@ export declare function createLLMExecutionStep<Tools extends ToolSet = ToolSet,
|
|
|
625
635
|
cachedInputTokens?: number | undefined;
|
|
626
636
|
} | undefined;
|
|
627
637
|
};
|
|
638
|
+
processorRetryCount?: number | undefined;
|
|
639
|
+
processorRetryFeedback?: string | undefined;
|
|
628
640
|
}>, import("zod").ZodType<any, import("zod").ZodTypeDef, any>, import("zod").ZodType<any, import("zod").ZodTypeDef, any>, import("../../../workflows").DefaultEngineType>;
|
|
629
641
|
//# sourceMappingURL=llm-execution-step.d.ts.map
|
|
@@ -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,
|
|
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,EAA4B,OAAO,EAAE,MAAM,OAAO,CAAC;AAa/D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAShE,OAAO,KAAK,EAAc,WAAW,EAAE,MAAM,aAAa,CAAC;AAsa3D,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,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,EAChB,mBAAmB,GACpB,EAAE,WAAW,CAAC,KAAK,EAAE,MAAM,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0KA0e5B"}
|