@mastra/core 1.0.0-beta.5 → 1.0.0-beta.7
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 +448 -0
- package/dist/agent/agent-legacy.d.ts +17 -20
- 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 +4 -4
- package/dist/agent/agent.d.ts.map +1 -1
- package/dist/agent/agent.types.d.ts +1 -1
- 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 +49 -0
- package/dist/agent/message-list/index.d.ts.map +1 -1
- package/dist/agent/message-list/index.js +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 +18 -3
- package/dist/agent/types.d.ts.map +1 -1
- package/dist/agent/utils.d.ts.map +1 -1
- package/dist/agent/workflows/prepare-stream/index.d.ts +10 -10
- package/dist/agent/workflows/prepare-stream/index.d.ts.map +1 -1
- package/dist/agent/workflows/prepare-stream/map-results-step.d.ts +1 -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 +4 -4
- 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 +4 -4
- package/dist/agent/workflows/prepare-stream/prepare-tools-step.d.ts.map +1 -1
- package/dist/agent/workflows/prepare-stream/schema.d.ts +14 -14
- package/dist/agent/workflows/prepare-stream/schema.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-556MJ7CL.cjs → chunk-26YAGTXK.cjs} +43 -37
- package/dist/chunk-26YAGTXK.cjs.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-E7K4FTLN.cjs → chunk-3EYBRHB2.cjs} +18 -2
- package/dist/chunk-3EYBRHB2.cjs.map +1 -0
- package/dist/{chunk-X7F4CSGR.cjs → chunk-3JA6VPNM.cjs} +2 -2
- package/dist/chunk-3JA6VPNM.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-BMAFVZ2D.cjs → chunk-4AP234N6.cjs} +4 -4
- package/dist/{chunk-BMAFVZ2D.cjs.map → chunk-4AP234N6.cjs.map} +1 -1
- package/dist/{chunk-XIDKHXNR.js → chunk-4F6RAJFU.js} +33 -6
- package/dist/chunk-4F6RAJFU.js.map +1 -0
- package/dist/{chunk-B5J5HYDN.js → chunk-4GTU7MB2.js} +160 -8
- package/dist/chunk-4GTU7MB2.js.map +1 -0
- package/dist/{chunk-ISMGVGUM.cjs → chunk-4JKEUSCC.cjs} +4 -4
- package/dist/{chunk-ISMGVGUM.cjs.map → chunk-4JKEUSCC.cjs.map} +1 -1
- package/dist/{chunk-KJIQGPQR.js → chunk-5T53HHNP.js} +24 -10
- package/dist/chunk-5T53HHNP.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-RROQ46B6.cjs → chunk-6C2PU6J4.cjs} +31 -47
- package/dist/chunk-6C2PU6J4.cjs.map +1 -0
- package/dist/{chunk-J7O6WENZ.cjs → chunk-6TBWJV35.js} +5 -5
- package/dist/chunk-6TBWJV35.js.map +1 -0
- package/dist/{chunk-DSNPWVIG.cjs → chunk-AF74UXR5.cjs} +4 -3
- package/dist/chunk-AF74UXR5.cjs.map +1 -0
- package/dist/chunk-AZQMPE7G.cjs +4981 -0
- package/dist/chunk-AZQMPE7G.cjs.map +1 -0
- package/dist/{chunk-HNHZGFZY.cjs → chunk-CZEJQSWB.cjs} +10 -2
- package/dist/chunk-CZEJQSWB.cjs.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-YDFX3JR2.js → chunk-DMPHPHMU.js} +174 -12
- package/dist/chunk-DMPHPHMU.js.map +1 -0
- package/dist/{chunk-76K3IYWM.js → chunk-EE5NIGJ4.js} +3 -3
- package/dist/{chunk-76K3IYWM.js.map → chunk-EE5NIGJ4.js.map} +1 -1
- package/dist/{chunk-Y63IFHEZ.cjs → chunk-EOPEDKLG.cjs} +4 -4
- package/dist/chunk-EOPEDKLG.cjs.map +1 -0
- package/dist/{chunk-T2CJRA6E.js → chunk-EPMSC67U.js} +145 -19
- package/dist/chunk-EPMSC67U.js.map +1 -0
- package/dist/{chunk-NZAXAFI3.js → chunk-F2GAJSBI.js} +3 -3
- package/dist/{chunk-NZAXAFI3.js.map → chunk-F2GAJSBI.js.map} +1 -1
- package/dist/{chunk-5O52O25J.js → chunk-F54IK3GJ.js} +2 -2
- package/dist/chunk-F54IK3GJ.js.map +1 -0
- package/dist/{chunk-KIZIOFZC.js → chunk-FNSFXWDN.js} +17 -3
- package/dist/chunk-FNSFXWDN.js.map +1 -0
- package/dist/{chunk-ZTTMSCLU.js → chunk-G32WDDGV.js} +85 -9
- package/dist/chunk-G32WDDGV.js.map +1 -0
- package/dist/{chunk-5SA2EZ33.js → chunk-GZ6MCDK2.js} +147 -15
- package/dist/chunk-GZ6MCDK2.js.map +1 -0
- package/dist/{chunk-NHP6ZIDG.cjs → chunk-HJNEZRI4.cjs} +28 -174
- package/dist/chunk-HJNEZRI4.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-XJQX54QP.cjs → chunk-M7CQULF7.cjs} +97 -16
- package/dist/chunk-M7CQULF7.cjs.map +1 -0
- package/dist/{chunk-D7CJ4HIQ.js → chunk-NAKPEQEQ.js} +10 -156
- package/dist/chunk-NAKPEQEQ.js.map +1 -0
- package/dist/{chunk-KJ2SW6VA.js → chunk-NRUZYMHE.js} +4 -3
- package/dist/chunk-NRUZYMHE.js.map +1 -0
- package/dist/{chunk-KWWD3U7G.cjs → chunk-PJ7AYWAX.cjs} +155 -29
- package/dist/chunk-PJ7AYWAX.cjs.map +1 -0
- package/dist/{chunk-7ZADRRDW.js → chunk-PK2A5WBG.js} +3 -3
- package/dist/chunk-PK2A5WBG.js.map +1 -0
- package/dist/{chunk-XBO6W7LZ.js → chunk-POM7FCH5.js} +6166 -4133
- package/dist/chunk-POM7FCH5.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-KP42JLXE.cjs → chunk-RBBEMTMA.cjs} +6199 -4154
- package/dist/chunk-RBBEMTMA.cjs.map +1 -0
- package/dist/chunk-TLLXRG2Z.js +4959 -0
- package/dist/chunk-TLLXRG2Z.js.map +1 -0
- package/dist/{chunk-SVLMF4UZ.cjs → chunk-TQB2HMEC.cjs} +45 -44
- package/dist/chunk-TQB2HMEC.cjs.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-PC6EKOWK.js → chunk-URBPEE67.js} +19 -31
- package/dist/chunk-URBPEE67.js.map +1 -0
- package/dist/{chunk-VYJXTHII.cjs → chunk-URMN7TTH.cjs} +148 -16
- package/dist/chunk-URMN7TTH.cjs.map +1 -0
- package/dist/{chunk-GRBGQ2GE.js → chunk-UVHSM2GU.cjs} +9 -3
- package/dist/chunk-UVHSM2GU.cjs.map +1 -0
- package/dist/{chunk-U3VE2EVB.cjs → chunk-VBKMNIWK.cjs} +30 -16
- package/dist/chunk-VBKMNIWK.cjs.map +1 -0
- package/dist/{chunk-V537VSV4.cjs → chunk-Y24HI6ND.cjs} +37 -10
- package/dist/chunk-Y24HI6ND.cjs.map +1 -0
- package/dist/{chunk-DQIZ5FFX.cjs → chunk-YBEW5YWC.cjs} +177 -15
- package/dist/chunk-YBEW5YWC.cjs.map +1 -0
- package/dist/{chunk-OUUPUAGA.cjs → chunk-YUXTDKYN.cjs} +168 -15
- package/dist/chunk-YUXTDKYN.cjs.map +1 -0
- package/dist/{chunk-IITXXVYI.cjs → chunk-YWMMBIOM.cjs} +10 -10
- package/dist/{chunk-IITXXVYI.cjs.map → chunk-YWMMBIOM.cjs.map} +1 -1
- package/dist/{chunk-3B2OPLGG.js → chunk-Z4Y554NX.js} +13 -7
- package/dist/chunk-Z4Y554NX.js.map +1 -0
- package/dist/{chunk-3ZQ7LX73.js → chunk-Z57R5WS4.js} +4 -4
- package/dist/{chunk-3ZQ7LX73.js.map → chunk-Z57R5WS4.js.map} +1 -1
- package/dist/{chunk-QM5SRDJX.js → chunk-ZUWJCGLM.js} +5 -4
- package/dist/chunk-ZUWJCGLM.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 +9 -1
- package/dist/evals/base.d.ts.map +1 -1
- package/dist/evals/index.cjs +9 -9
- package/dist/evals/index.js +2 -2
- package/dist/evals/scoreTraces/index.cjs +5 -5
- package/dist/evals/scoreTraces/index.js +2 -2
- package/dist/evals/types.d.ts +8 -8
- 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 +15 -15
- package/dist/llm/index.js +5 -5
- package/dist/llm/model/aisdk/v5/model.d.ts.map +1 -1
- package/dist/llm/model/gateways/constants.d.ts.map +1 -1
- package/dist/llm/model/gateways/models-dev.d.ts.map +1 -1
- package/dist/llm/model/model.d.ts.map +1 -1
- package/dist/llm/model/model.loop.d.ts +1 -1
- package/dist/llm/model/model.loop.d.ts.map +1 -1
- package/dist/llm/model/provider-options.d.ts +4 -1
- package/dist/llm/model/provider-options.d.ts.map +1 -1
- package/dist/llm/model/provider-registry.d.ts.map +1 -1
- package/dist/llm/model/provider-types.generated.d.ts +39 -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 +2 -2
- package/dist/loop/network/index.d.ts.map +1 -1
- package/dist/loop/test-utils/fullStream.d.ts.map +1 -1
- package/dist/loop/types.d.ts +5 -2
- package/dist/loop/types.d.ts.map +1 -1
- package/dist/loop/workflows/agentic-execution/index.d.ts +96 -96
- package/dist/loop/workflows/agentic-execution/llm-execution-step.d.ts +65 -65
- 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 +32 -32
- package/dist/loop/workflows/agentic-execution/llm-mapping-step.d.ts.map +1 -1
- package/dist/loop/workflows/agentic-loop/index.d.ts +97 -97
- package/dist/loop/workflows/agentic-loop/index.d.ts.map +1 -1
- package/dist/loop/workflows/schema.d.ts +32 -32
- 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 +55 -0
- 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.js +2 -2
- package/dist/memory/index.cjs +21 -382
- package/dist/memory/index.cjs.map +1 -1
- package/dist/memory/index.js +1 -382
- package/dist/memory/index.js.map +1 -1
- package/dist/memory/memory.d.ts +22 -18
- package/dist/memory/memory.d.ts.map +1 -1
- package/dist/memory/mock.d.ts +6 -1
- 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-6GD3644V.js +3 -0
- package/dist/{models-dev-F6MTIYTO.js.map → models-dev-6GD3644V.js.map} +1 -1
- package/dist/models-dev-IUQBXJSS.cjs +12 -0
- package/dist/{models-dev-XIVR5EJV.cjs.map → models-dev-IUQBXJSS.cjs.map} +1 -1
- package/dist/netlify-GXJ5D5DD.js +3 -0
- package/dist/{netlify-RX3JXCFQ.js.map → netlify-GXJ5D5DD.js.map} +1 -1
- package/dist/netlify-KJLY3GFS.cjs +12 -0
- package/dist/{netlify-MXBOGAJR.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 +183 -3
- 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 +99 -21
- 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/index.d.ts +2 -1
- package/dist/processors/processors/index.d.ts.map +1 -1
- package/dist/processors/processors/language-detector.d.ts +14 -0
- package/dist/processors/processors/language-detector.d.ts.map +1 -1
- package/dist/processors/processors/moderation.d.ts +14 -0
- package/dist/processors/processors/moderation.d.ts.map +1 -1
- package/dist/processors/processors/pii-detector.d.ts +14 -0
- package/dist/processors/processors/pii-detector.d.ts.map +1 -1
- package/dist/processors/processors/prompt-injection-detector.d.ts +14 -0
- package/dist/processors/processors/prompt-injection-detector.d.ts.map +1 -1
- package/dist/processors/processors/structured-output.d.ts +2 -1
- package/dist/processors/processors/structured-output.d.ts.map +1 -1
- package/dist/processors/processors/token-limiter.d.ts +21 -11
- 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/runner.d.ts +35 -4
- package/dist/processors/runner.d.ts.map +1 -1
- package/dist/provider-registry-7IFOXWPR.cjs +40 -0
- package/dist/{provider-registry-NBRXBOQT.cjs.map → provider-registry-7IFOXWPR.cjs.map} +1 -1
- package/dist/provider-registry-ZTMZMTVV.js +3 -0
- package/dist/{provider-registry-3LUCE7FT.js.map → provider-registry-ZTMZMTVV.js.map} +1 -1
- package/dist/provider-registry.json +111 -6
- package/dist/{registry-generator-DEPPRYYJ.cjs → registry-generator-34SC4TAU.cjs} +2 -2
- package/dist/registry-generator-34SC4TAU.cjs.map +1 -0
- package/dist/{registry-generator-FLW6NV42.js → registry-generator-UMTNPBJX.js} +2 -2
- 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/base.d.ts +51 -0
- package/dist/server/base.d.ts.map +1 -0
- package/dist/server/index.cjs +81 -2
- package/dist/server/index.cjs.map +1 -1
- package/dist/server/index.d.ts +3 -0
- package/dist/server/index.d.ts.map +1 -1
- package/dist/server/index.js +79 -2
- 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 +22 -1
- package/dist/storage/base.d.ts.map +1 -1
- package/dist/storage/domains/memory/inmemory.d.ts.map +1 -1
- package/dist/storage/index.cjs +49 -29
- package/dist/storage/index.js +1 -1
- package/dist/storage/storageWithInit.d.ts.map +1 -1
- package/dist/storage/types.d.ts +1 -1
- 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/v5/execute.d.ts +3 -2
- 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 +1 -1
- 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/output-format-handlers.d.ts +1 -1
- package/dist/stream/base/output-format-handlers.d.ts.map +1 -1
- package/dist/stream/base/output.d.ts +1 -1
- package/dist/stream/base/output.d.ts.map +1 -1
- package/dist/stream/index.cjs +11 -11
- package/dist/stream/index.js +2 -2
- package/dist/stream/types.d.ts +2 -0
- package/dist/stream/types.d.ts.map +1 -1
- package/dist/test-utils/llm-mock.cjs +44 -10
- package/dist/test-utils/llm-mock.cjs.map +1 -1
- package/dist/test-utils/llm-mock.d.ts +3 -0
- package/dist/test-utils/llm-mock.d.ts.map +1 -1
- package/dist/test-utils/llm-mock.js +36 -6
- 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 +18 -2
- package/dist/tools/stream.d.ts.map +1 -1
- package/dist/tools/tool-builder/builder.d.ts.map +1 -1
- package/dist/tools/tool.d.ts +13 -0
- package/dist/tools/tool.d.ts.map +1 -1
- package/dist/tools/types.d.ts +24 -3
- package/dist/tools/types.d.ts.map +1 -1
- package/dist/tools/validation.d.ts +1 -1
- package/dist/tools/validation.d.ts.map +1 -1
- package/dist/tts/index.cjs +2 -2
- package/dist/tts/index.js +1 -1
- package/dist/utils.cjs +22 -22
- package/dist/utils.d.ts +1 -1
- package/dist/utils.d.ts.map +1 -1
- package/dist/utils.js +1 -1
- package/dist/vector/index.cjs +4 -4
- package/dist/vector/index.js +2 -2
- package/dist/voice/index.cjs +6 -6
- package/dist/voice/index.js +1 -1
- package/dist/workflows/default.d.ts +176 -281
- package/dist/workflows/default.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/execution-engine.d.ts +4 -2
- package/dist/workflows/execution-engine.d.ts.map +1 -1
- package/dist/workflows/handlers/control-flow.d.ts +135 -0
- package/dist/workflows/handlers/control-flow.d.ts.map +1 -0
- package/dist/workflows/handlers/entry.d.ts +45 -0
- package/dist/workflows/handlers/entry.d.ts.map +1 -0
- package/dist/workflows/handlers/sleep.d.ts +62 -0
- package/dist/workflows/handlers/sleep.d.ts.map +1 -0
- package/dist/workflows/handlers/step.d.ts +60 -0
- package/dist/workflows/handlers/step.d.ts.map +1 -0
- package/dist/workflows/index.cjs +20 -20
- package/dist/workflows/index.js +1 -1
- package/dist/workflows/step.d.ts +2 -2
- package/dist/workflows/step.d.ts.map +1 -1
- package/dist/workflows/types.d.ts +158 -3
- package/dist/workflows/types.d.ts.map +1 -1
- package/dist/workflows/workflow.d.ts +8 -6
- package/dist/workflows/workflow.d.ts.map +1 -1
- package/package.json +8 -5
- package/src/llm/model/provider-types.generated.d.ts +39 -1
- package/dist/chunk-3B2OPLGG.js.map +0 -1
- package/dist/chunk-3PSWNGBF.js +0 -3
- package/dist/chunk-3PSWNGBF.js.map +0 -1
- package/dist/chunk-436FFEF6.js +0 -34
- package/dist/chunk-436FFEF6.js.map +0 -1
- package/dist/chunk-556MJ7CL.cjs.map +0 -1
- package/dist/chunk-5O52O25J.js.map +0 -1
- package/dist/chunk-5SA2EZ33.js.map +0 -1
- package/dist/chunk-7ZADRRDW.js.map +0 -1
- package/dist/chunk-B5J5HYDN.js.map +0 -1
- package/dist/chunk-D7CJ4HIQ.js.map +0 -1
- package/dist/chunk-DQIZ5FFX.cjs.map +0 -1
- package/dist/chunk-DSNPWVIG.cjs.map +0 -1
- package/dist/chunk-E7K4FTLN.cjs.map +0 -1
- package/dist/chunk-GRBGQ2GE.js.map +0 -1
- package/dist/chunk-HNHZGFZY.cjs.map +0 -1
- package/dist/chunk-J7O6WENZ.cjs.map +0 -1
- package/dist/chunk-KIZIOFZC.js.map +0 -1
- package/dist/chunk-KJ2SW6VA.js.map +0 -1
- package/dist/chunk-KJIQGPQR.js.map +0 -1
- package/dist/chunk-KP42JLXE.cjs.map +0 -1
- package/dist/chunk-KWWD3U7G.cjs.map +0 -1
- package/dist/chunk-NHP6ZIDG.cjs.map +0 -1
- package/dist/chunk-OUUPUAGA.cjs.map +0 -1
- package/dist/chunk-PC6EKOWK.js.map +0 -1
- package/dist/chunk-PE3V7GUL.cjs +0 -4
- package/dist/chunk-PE3V7GUL.cjs.map +0 -1
- package/dist/chunk-QGWNF2QJ.cjs +0 -1697
- package/dist/chunk-QGWNF2QJ.cjs.map +0 -1
- package/dist/chunk-QM5SRDJX.js.map +0 -1
- package/dist/chunk-RROQ46B6.cjs.map +0 -1
- package/dist/chunk-SVLMF4UZ.cjs.map +0 -1
- package/dist/chunk-T2CJRA6E.js.map +0 -1
- package/dist/chunk-T2UNO766.js +0 -1694
- package/dist/chunk-T2UNO766.js.map +0 -1
- package/dist/chunk-TQTAMPSC.js.map +0 -1
- package/dist/chunk-U3VE2EVB.cjs.map +0 -1
- package/dist/chunk-V3VLOOSW.cjs +0 -36
- package/dist/chunk-V3VLOOSW.cjs.map +0 -1
- package/dist/chunk-V537VSV4.cjs.map +0 -1
- package/dist/chunk-VYJXTHII.cjs.map +0 -1
- package/dist/chunk-X7F4CSGR.cjs.map +0 -1
- package/dist/chunk-XBO6W7LZ.js.map +0 -1
- package/dist/chunk-XIDKHXNR.js.map +0 -1
- package/dist/chunk-XJQX54QP.cjs.map +0 -1
- package/dist/chunk-Y63IFHEZ.cjs.map +0 -1
- package/dist/chunk-YDFX3JR2.js.map +0 -1
- package/dist/chunk-ZTTMSCLU.js.map +0 -1
- package/dist/models-dev-F6MTIYTO.js +0 -3
- package/dist/models-dev-XIVR5EJV.cjs +0 -12
- package/dist/netlify-MXBOGAJR.cjs +0 -12
- package/dist/netlify-RX3JXCFQ.js +0 -3
- package/dist/provider-registry-3LUCE7FT.js +0 -3
- package/dist/provider-registry-NBRXBOQT.cjs +0 -40
- package/dist/registry-generator-DEPPRYYJ.cjs.map +0 -1
- package/dist/registry-generator-FLW6NV42.js.map +0 -1
|
@@ -63,8 +63,8 @@ export declare function createAgenticExecutionWorkflow<Tools extends ToolSet = T
|
|
|
63
63
|
steps: any[];
|
|
64
64
|
text?: string | undefined;
|
|
65
65
|
reasoning?: any[] | undefined;
|
|
66
|
-
files?: any[] | undefined;
|
|
67
66
|
sources?: any[] | undefined;
|
|
67
|
+
files?: any[] | undefined;
|
|
68
68
|
toolCalls?: any[] | undefined;
|
|
69
69
|
toolResults?: any[] | undefined;
|
|
70
70
|
reasoningText?: string | undefined;
|
|
@@ -83,8 +83,8 @@ export declare function createAgenticExecutionWorkflow<Tools extends ToolSet = T
|
|
|
83
83
|
steps: any[];
|
|
84
84
|
text?: string | undefined;
|
|
85
85
|
reasoning?: any[] | undefined;
|
|
86
|
-
files?: any[] | undefined;
|
|
87
86
|
sources?: any[] | undefined;
|
|
87
|
+
files?: any[] | undefined;
|
|
88
88
|
toolCalls?: any[] | undefined;
|
|
89
89
|
toolResults?: any[] | undefined;
|
|
90
90
|
reasoningText?: string | undefined;
|
|
@@ -200,6 +200,20 @@ export declare function createAgenticExecutionWorkflow<Tools extends ToolSet = T
|
|
|
200
200
|
} | undefined;
|
|
201
201
|
}>;
|
|
202
202
|
}, "strip", import("zod").ZodTypeAny, {
|
|
203
|
+
metadata: {
|
|
204
|
+
id?: string | undefined;
|
|
205
|
+
providerMetadata?: Record<string, any> | undefined;
|
|
206
|
+
modelId?: string | undefined;
|
|
207
|
+
model?: string | undefined;
|
|
208
|
+
headers?: Record<string, string> | undefined;
|
|
209
|
+
request?: Record<string, any> | undefined;
|
|
210
|
+
timestamp?: Date | undefined;
|
|
211
|
+
modelMetadata?: {
|
|
212
|
+
modelId: string;
|
|
213
|
+
modelVersion: string;
|
|
214
|
+
modelProvider: string;
|
|
215
|
+
} | undefined;
|
|
216
|
+
};
|
|
203
217
|
output: {
|
|
204
218
|
usage: {
|
|
205
219
|
inputTokens: number;
|
|
@@ -211,8 +225,8 @@ export declare function createAgenticExecutionWorkflow<Tools extends ToolSet = T
|
|
|
211
225
|
steps: any[];
|
|
212
226
|
text?: string | undefined;
|
|
213
227
|
reasoning?: any[] | undefined;
|
|
214
|
-
files?: any[] | undefined;
|
|
215
228
|
sources?: any[] | undefined;
|
|
229
|
+
files?: any[] | undefined;
|
|
216
230
|
toolCalls?: any[] | undefined;
|
|
217
231
|
toolResults?: any[] | undefined;
|
|
218
232
|
reasoningText?: string | undefined;
|
|
@@ -227,20 +241,6 @@ export declare function createAgenticExecutionWorkflow<Tools extends ToolSet = T
|
|
|
227
241
|
all: any[];
|
|
228
242
|
nonUser: any[];
|
|
229
243
|
};
|
|
230
|
-
metadata: {
|
|
231
|
-
id?: string | undefined;
|
|
232
|
-
providerMetadata?: Record<string, any> | undefined;
|
|
233
|
-
modelId?: string | undefined;
|
|
234
|
-
model?: string | undefined;
|
|
235
|
-
headers?: Record<string, string> | undefined;
|
|
236
|
-
request?: Record<string, any> | undefined;
|
|
237
|
-
timestamp?: Date | undefined;
|
|
238
|
-
modelMetadata?: {
|
|
239
|
-
modelId: string;
|
|
240
|
-
modelVersion: string;
|
|
241
|
-
modelProvider: string;
|
|
242
|
-
} | undefined;
|
|
243
|
-
};
|
|
244
244
|
stepResult: {
|
|
245
245
|
reason: string;
|
|
246
246
|
isContinued: boolean;
|
|
@@ -258,6 +258,20 @@ export declare function createAgenticExecutionWorkflow<Tools extends ToolSet = T
|
|
|
258
258
|
} | undefined;
|
|
259
259
|
};
|
|
260
260
|
}, {
|
|
261
|
+
metadata: {
|
|
262
|
+
id?: string | undefined;
|
|
263
|
+
providerMetadata?: Record<string, any> | undefined;
|
|
264
|
+
modelId?: string | undefined;
|
|
265
|
+
model?: string | undefined;
|
|
266
|
+
headers?: Record<string, string> | undefined;
|
|
267
|
+
request?: Record<string, any> | undefined;
|
|
268
|
+
timestamp?: Date | undefined;
|
|
269
|
+
modelMetadata?: {
|
|
270
|
+
modelId: string;
|
|
271
|
+
modelVersion: string;
|
|
272
|
+
modelProvider: string;
|
|
273
|
+
} | undefined;
|
|
274
|
+
};
|
|
261
275
|
output: {
|
|
262
276
|
usage: {
|
|
263
277
|
inputTokens: number;
|
|
@@ -269,8 +283,8 @@ export declare function createAgenticExecutionWorkflow<Tools extends ToolSet = T
|
|
|
269
283
|
steps: any[];
|
|
270
284
|
text?: string | undefined;
|
|
271
285
|
reasoning?: any[] | undefined;
|
|
272
|
-
files?: any[] | undefined;
|
|
273
286
|
sources?: any[] | undefined;
|
|
287
|
+
files?: any[] | undefined;
|
|
274
288
|
toolCalls?: any[] | undefined;
|
|
275
289
|
toolResults?: any[] | undefined;
|
|
276
290
|
reasoningText?: string | undefined;
|
|
@@ -285,20 +299,6 @@ export declare function createAgenticExecutionWorkflow<Tools extends ToolSet = T
|
|
|
285
299
|
all: any[];
|
|
286
300
|
nonUser: any[];
|
|
287
301
|
};
|
|
288
|
-
metadata: {
|
|
289
|
-
id?: string | undefined;
|
|
290
|
-
providerMetadata?: Record<string, any> | undefined;
|
|
291
|
-
modelId?: string | undefined;
|
|
292
|
-
model?: string | undefined;
|
|
293
|
-
headers?: Record<string, string> | undefined;
|
|
294
|
-
request?: Record<string, any> | undefined;
|
|
295
|
-
timestamp?: Date | undefined;
|
|
296
|
-
modelMetadata?: {
|
|
297
|
-
modelId: string;
|
|
298
|
-
modelVersion: string;
|
|
299
|
-
modelProvider: string;
|
|
300
|
-
} | undefined;
|
|
301
|
-
};
|
|
302
302
|
stepResult: {
|
|
303
303
|
reason: string;
|
|
304
304
|
isContinued: boolean;
|
|
@@ -373,8 +373,8 @@ export declare function createAgenticExecutionWorkflow<Tools extends ToolSet = T
|
|
|
373
373
|
steps: any[];
|
|
374
374
|
text?: string | undefined;
|
|
375
375
|
reasoning?: any[] | undefined;
|
|
376
|
-
files?: any[] | undefined;
|
|
377
376
|
sources?: any[] | undefined;
|
|
377
|
+
files?: any[] | undefined;
|
|
378
378
|
toolCalls?: any[] | undefined;
|
|
379
379
|
toolResults?: any[] | undefined;
|
|
380
380
|
reasoningText?: string | undefined;
|
|
@@ -393,8 +393,8 @@ export declare function createAgenticExecutionWorkflow<Tools extends ToolSet = T
|
|
|
393
393
|
steps: any[];
|
|
394
394
|
text?: string | undefined;
|
|
395
395
|
reasoning?: any[] | undefined;
|
|
396
|
-
files?: any[] | undefined;
|
|
397
396
|
sources?: any[] | undefined;
|
|
397
|
+
files?: any[] | undefined;
|
|
398
398
|
toolCalls?: any[] | undefined;
|
|
399
399
|
toolResults?: any[] | undefined;
|
|
400
400
|
reasoningText?: string | undefined;
|
|
@@ -510,6 +510,20 @@ export declare function createAgenticExecutionWorkflow<Tools extends ToolSet = T
|
|
|
510
510
|
} | undefined;
|
|
511
511
|
}>;
|
|
512
512
|
}, "strip", import("zod").ZodTypeAny, {
|
|
513
|
+
metadata: {
|
|
514
|
+
id?: string | undefined;
|
|
515
|
+
providerMetadata?: Record<string, any> | undefined;
|
|
516
|
+
modelId?: string | undefined;
|
|
517
|
+
model?: string | undefined;
|
|
518
|
+
headers?: Record<string, string> | undefined;
|
|
519
|
+
request?: Record<string, any> | undefined;
|
|
520
|
+
timestamp?: Date | undefined;
|
|
521
|
+
modelMetadata?: {
|
|
522
|
+
modelId: string;
|
|
523
|
+
modelVersion: string;
|
|
524
|
+
modelProvider: string;
|
|
525
|
+
} | undefined;
|
|
526
|
+
};
|
|
513
527
|
output: {
|
|
514
528
|
usage: {
|
|
515
529
|
inputTokens: number;
|
|
@@ -521,8 +535,8 @@ export declare function createAgenticExecutionWorkflow<Tools extends ToolSet = T
|
|
|
521
535
|
steps: any[];
|
|
522
536
|
text?: string | undefined;
|
|
523
537
|
reasoning?: any[] | undefined;
|
|
524
|
-
files?: any[] | undefined;
|
|
525
538
|
sources?: any[] | undefined;
|
|
539
|
+
files?: any[] | undefined;
|
|
526
540
|
toolCalls?: any[] | undefined;
|
|
527
541
|
toolResults?: any[] | undefined;
|
|
528
542
|
reasoningText?: string | undefined;
|
|
@@ -537,20 +551,6 @@ export declare function createAgenticExecutionWorkflow<Tools extends ToolSet = T
|
|
|
537
551
|
all: any[];
|
|
538
552
|
nonUser: any[];
|
|
539
553
|
};
|
|
540
|
-
metadata: {
|
|
541
|
-
id?: string | undefined;
|
|
542
|
-
providerMetadata?: Record<string, any> | undefined;
|
|
543
|
-
modelId?: string | undefined;
|
|
544
|
-
model?: string | undefined;
|
|
545
|
-
headers?: Record<string, string> | undefined;
|
|
546
|
-
request?: Record<string, any> | undefined;
|
|
547
|
-
timestamp?: Date | undefined;
|
|
548
|
-
modelMetadata?: {
|
|
549
|
-
modelId: string;
|
|
550
|
-
modelVersion: string;
|
|
551
|
-
modelProvider: string;
|
|
552
|
-
} | undefined;
|
|
553
|
-
};
|
|
554
554
|
stepResult: {
|
|
555
555
|
reason: string;
|
|
556
556
|
isContinued: boolean;
|
|
@@ -568,6 +568,20 @@ export declare function createAgenticExecutionWorkflow<Tools extends ToolSet = T
|
|
|
568
568
|
} | undefined;
|
|
569
569
|
};
|
|
570
570
|
}, {
|
|
571
|
+
metadata: {
|
|
572
|
+
id?: string | undefined;
|
|
573
|
+
providerMetadata?: Record<string, any> | undefined;
|
|
574
|
+
modelId?: string | undefined;
|
|
575
|
+
model?: string | undefined;
|
|
576
|
+
headers?: Record<string, string> | undefined;
|
|
577
|
+
request?: Record<string, any> | undefined;
|
|
578
|
+
timestamp?: Date | undefined;
|
|
579
|
+
modelMetadata?: {
|
|
580
|
+
modelId: string;
|
|
581
|
+
modelVersion: string;
|
|
582
|
+
modelProvider: string;
|
|
583
|
+
} | undefined;
|
|
584
|
+
};
|
|
571
585
|
output: {
|
|
572
586
|
usage: {
|
|
573
587
|
inputTokens: number;
|
|
@@ -579,8 +593,8 @@ export declare function createAgenticExecutionWorkflow<Tools extends ToolSet = T
|
|
|
579
593
|
steps: any[];
|
|
580
594
|
text?: string | undefined;
|
|
581
595
|
reasoning?: any[] | undefined;
|
|
582
|
-
files?: any[] | undefined;
|
|
583
596
|
sources?: any[] | undefined;
|
|
597
|
+
files?: any[] | undefined;
|
|
584
598
|
toolCalls?: any[] | undefined;
|
|
585
599
|
toolResults?: any[] | undefined;
|
|
586
600
|
reasoningText?: string | undefined;
|
|
@@ -595,20 +609,6 @@ export declare function createAgenticExecutionWorkflow<Tools extends ToolSet = T
|
|
|
595
609
|
all: any[];
|
|
596
610
|
nonUser: any[];
|
|
597
611
|
};
|
|
598
|
-
metadata: {
|
|
599
|
-
id?: string | undefined;
|
|
600
|
-
providerMetadata?: Record<string, any> | undefined;
|
|
601
|
-
modelId?: string | undefined;
|
|
602
|
-
model?: string | undefined;
|
|
603
|
-
headers?: Record<string, string> | undefined;
|
|
604
|
-
request?: Record<string, any> | undefined;
|
|
605
|
-
timestamp?: Date | undefined;
|
|
606
|
-
modelMetadata?: {
|
|
607
|
-
modelId: string;
|
|
608
|
-
modelVersion: string;
|
|
609
|
-
modelProvider: string;
|
|
610
|
-
} | undefined;
|
|
611
|
-
};
|
|
612
612
|
stepResult: {
|
|
613
613
|
reason: string;
|
|
614
614
|
isContinued: boolean;
|
|
@@ -683,8 +683,8 @@ export declare function createAgenticExecutionWorkflow<Tools extends ToolSet = T
|
|
|
683
683
|
steps: any[];
|
|
684
684
|
text?: string | undefined;
|
|
685
685
|
reasoning?: any[] | undefined;
|
|
686
|
-
files?: any[] | undefined;
|
|
687
686
|
sources?: any[] | undefined;
|
|
687
|
+
files?: any[] | undefined;
|
|
688
688
|
toolCalls?: any[] | undefined;
|
|
689
689
|
toolResults?: any[] | undefined;
|
|
690
690
|
reasoningText?: string | undefined;
|
|
@@ -703,8 +703,8 @@ export declare function createAgenticExecutionWorkflow<Tools extends ToolSet = T
|
|
|
703
703
|
steps: any[];
|
|
704
704
|
text?: string | undefined;
|
|
705
705
|
reasoning?: any[] | undefined;
|
|
706
|
-
files?: any[] | undefined;
|
|
707
706
|
sources?: any[] | undefined;
|
|
707
|
+
files?: any[] | undefined;
|
|
708
708
|
toolCalls?: any[] | undefined;
|
|
709
709
|
toolResults?: any[] | undefined;
|
|
710
710
|
reasoningText?: string | undefined;
|
|
@@ -820,6 +820,20 @@ export declare function createAgenticExecutionWorkflow<Tools extends ToolSet = T
|
|
|
820
820
|
} | undefined;
|
|
821
821
|
}>;
|
|
822
822
|
}, "strip", import("zod").ZodTypeAny, {
|
|
823
|
+
metadata: {
|
|
824
|
+
id?: string | undefined;
|
|
825
|
+
providerMetadata?: Record<string, any> | undefined;
|
|
826
|
+
modelId?: string | undefined;
|
|
827
|
+
model?: string | undefined;
|
|
828
|
+
headers?: Record<string, string> | undefined;
|
|
829
|
+
request?: Record<string, any> | undefined;
|
|
830
|
+
timestamp?: Date | undefined;
|
|
831
|
+
modelMetadata?: {
|
|
832
|
+
modelId: string;
|
|
833
|
+
modelVersion: string;
|
|
834
|
+
modelProvider: string;
|
|
835
|
+
} | undefined;
|
|
836
|
+
};
|
|
823
837
|
output: {
|
|
824
838
|
usage: {
|
|
825
839
|
inputTokens: number;
|
|
@@ -831,8 +845,8 @@ export declare function createAgenticExecutionWorkflow<Tools extends ToolSet = T
|
|
|
831
845
|
steps: any[];
|
|
832
846
|
text?: string | undefined;
|
|
833
847
|
reasoning?: any[] | undefined;
|
|
834
|
-
files?: any[] | undefined;
|
|
835
848
|
sources?: any[] | undefined;
|
|
849
|
+
files?: any[] | undefined;
|
|
836
850
|
toolCalls?: any[] | undefined;
|
|
837
851
|
toolResults?: any[] | undefined;
|
|
838
852
|
reasoningText?: string | undefined;
|
|
@@ -847,20 +861,6 @@ export declare function createAgenticExecutionWorkflow<Tools extends ToolSet = T
|
|
|
847
861
|
all: any[];
|
|
848
862
|
nonUser: any[];
|
|
849
863
|
};
|
|
850
|
-
metadata: {
|
|
851
|
-
id?: string | undefined;
|
|
852
|
-
providerMetadata?: Record<string, any> | undefined;
|
|
853
|
-
modelId?: string | undefined;
|
|
854
|
-
model?: string | undefined;
|
|
855
|
-
headers?: Record<string, string> | undefined;
|
|
856
|
-
request?: Record<string, any> | undefined;
|
|
857
|
-
timestamp?: Date | undefined;
|
|
858
|
-
modelMetadata?: {
|
|
859
|
-
modelId: string;
|
|
860
|
-
modelVersion: string;
|
|
861
|
-
modelProvider: string;
|
|
862
|
-
} | undefined;
|
|
863
|
-
};
|
|
864
864
|
stepResult: {
|
|
865
865
|
reason: string;
|
|
866
866
|
isContinued: boolean;
|
|
@@ -878,6 +878,20 @@ export declare function createAgenticExecutionWorkflow<Tools extends ToolSet = T
|
|
|
878
878
|
} | undefined;
|
|
879
879
|
};
|
|
880
880
|
}, {
|
|
881
|
+
metadata: {
|
|
882
|
+
id?: string | undefined;
|
|
883
|
+
providerMetadata?: Record<string, any> | undefined;
|
|
884
|
+
modelId?: string | undefined;
|
|
885
|
+
model?: string | undefined;
|
|
886
|
+
headers?: Record<string, string> | undefined;
|
|
887
|
+
request?: Record<string, any> | undefined;
|
|
888
|
+
timestamp?: Date | undefined;
|
|
889
|
+
modelMetadata?: {
|
|
890
|
+
modelId: string;
|
|
891
|
+
modelVersion: string;
|
|
892
|
+
modelProvider: string;
|
|
893
|
+
} | undefined;
|
|
894
|
+
};
|
|
881
895
|
output: {
|
|
882
896
|
usage: {
|
|
883
897
|
inputTokens: number;
|
|
@@ -889,8 +903,8 @@ export declare function createAgenticExecutionWorkflow<Tools extends ToolSet = T
|
|
|
889
903
|
steps: any[];
|
|
890
904
|
text?: string | undefined;
|
|
891
905
|
reasoning?: any[] | undefined;
|
|
892
|
-
files?: any[] | undefined;
|
|
893
906
|
sources?: any[] | undefined;
|
|
907
|
+
files?: any[] | undefined;
|
|
894
908
|
toolCalls?: any[] | undefined;
|
|
895
909
|
toolResults?: any[] | undefined;
|
|
896
910
|
reasoningText?: string | undefined;
|
|
@@ -905,20 +919,6 @@ export declare function createAgenticExecutionWorkflow<Tools extends ToolSet = T
|
|
|
905
919
|
all: any[];
|
|
906
920
|
nonUser: any[];
|
|
907
921
|
};
|
|
908
|
-
metadata: {
|
|
909
|
-
id?: string | undefined;
|
|
910
|
-
providerMetadata?: Record<string, any> | undefined;
|
|
911
|
-
modelId?: string | undefined;
|
|
912
|
-
model?: string | undefined;
|
|
913
|
-
headers?: Record<string, string> | undefined;
|
|
914
|
-
request?: Record<string, any> | undefined;
|
|
915
|
-
timestamp?: Date | undefined;
|
|
916
|
-
modelMetadata?: {
|
|
917
|
-
modelId: string;
|
|
918
|
-
modelVersion: string;
|
|
919
|
-
modelProvider: string;
|
|
920
|
-
} | undefined;
|
|
921
|
-
};
|
|
922
922
|
stepResult: {
|
|
923
923
|
reason: string;
|
|
924
924
|
isContinued: boolean;
|
|
@@ -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, methodType, }: 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;
|
|
@@ -63,8 +63,8 @@ export declare function createLLMExecutionStep<Tools extends ToolSet = ToolSet,
|
|
|
63
63
|
steps: any[];
|
|
64
64
|
text?: string | undefined;
|
|
65
65
|
reasoning?: any[] | undefined;
|
|
66
|
-
files?: any[] | undefined;
|
|
67
66
|
sources?: any[] | undefined;
|
|
67
|
+
files?: any[] | undefined;
|
|
68
68
|
toolCalls?: any[] | undefined;
|
|
69
69
|
toolResults?: any[] | undefined;
|
|
70
70
|
reasoningText?: string | undefined;
|
|
@@ -83,8 +83,8 @@ export declare function createLLMExecutionStep<Tools extends ToolSet = ToolSet,
|
|
|
83
83
|
steps: any[];
|
|
84
84
|
text?: string | undefined;
|
|
85
85
|
reasoning?: any[] | undefined;
|
|
86
|
-
files?: any[] | undefined;
|
|
87
86
|
sources?: any[] | undefined;
|
|
87
|
+
files?: any[] | undefined;
|
|
88
88
|
toolCalls?: any[] | undefined;
|
|
89
89
|
toolResults?: any[] | undefined;
|
|
90
90
|
reasoningText?: string | undefined;
|
|
@@ -200,6 +200,20 @@ export declare function createLLMExecutionStep<Tools extends ToolSet = ToolSet,
|
|
|
200
200
|
} | undefined;
|
|
201
201
|
}>;
|
|
202
202
|
}, "strip", import("zod").ZodTypeAny, {
|
|
203
|
+
metadata: {
|
|
204
|
+
id?: string | undefined;
|
|
205
|
+
providerMetadata?: Record<string, any> | undefined;
|
|
206
|
+
modelId?: string | undefined;
|
|
207
|
+
model?: string | undefined;
|
|
208
|
+
headers?: Record<string, string> | undefined;
|
|
209
|
+
request?: Record<string, any> | undefined;
|
|
210
|
+
timestamp?: Date | undefined;
|
|
211
|
+
modelMetadata?: {
|
|
212
|
+
modelId: string;
|
|
213
|
+
modelVersion: string;
|
|
214
|
+
modelProvider: string;
|
|
215
|
+
} | undefined;
|
|
216
|
+
};
|
|
203
217
|
output: {
|
|
204
218
|
usage: {
|
|
205
219
|
inputTokens: number;
|
|
@@ -211,8 +225,8 @@ export declare function createLLMExecutionStep<Tools extends ToolSet = ToolSet,
|
|
|
211
225
|
steps: any[];
|
|
212
226
|
text?: string | undefined;
|
|
213
227
|
reasoning?: any[] | undefined;
|
|
214
|
-
files?: any[] | undefined;
|
|
215
228
|
sources?: any[] | undefined;
|
|
229
|
+
files?: any[] | undefined;
|
|
216
230
|
toolCalls?: any[] | undefined;
|
|
217
231
|
toolResults?: any[] | undefined;
|
|
218
232
|
reasoningText?: string | undefined;
|
|
@@ -227,20 +241,6 @@ export declare function createLLMExecutionStep<Tools extends ToolSet = ToolSet,
|
|
|
227
241
|
all: any[];
|
|
228
242
|
nonUser: any[];
|
|
229
243
|
};
|
|
230
|
-
metadata: {
|
|
231
|
-
id?: string | undefined;
|
|
232
|
-
providerMetadata?: Record<string, any> | undefined;
|
|
233
|
-
modelId?: string | undefined;
|
|
234
|
-
model?: string | undefined;
|
|
235
|
-
headers?: Record<string, string> | undefined;
|
|
236
|
-
request?: Record<string, any> | undefined;
|
|
237
|
-
timestamp?: Date | undefined;
|
|
238
|
-
modelMetadata?: {
|
|
239
|
-
modelId: string;
|
|
240
|
-
modelVersion: string;
|
|
241
|
-
modelProvider: string;
|
|
242
|
-
} | undefined;
|
|
243
|
-
};
|
|
244
244
|
stepResult: {
|
|
245
245
|
reason: string;
|
|
246
246
|
isContinued: boolean;
|
|
@@ -258,6 +258,20 @@ export declare function createLLMExecutionStep<Tools extends ToolSet = ToolSet,
|
|
|
258
258
|
} | undefined;
|
|
259
259
|
};
|
|
260
260
|
}, {
|
|
261
|
+
metadata: {
|
|
262
|
+
id?: string | undefined;
|
|
263
|
+
providerMetadata?: Record<string, any> | undefined;
|
|
264
|
+
modelId?: string | undefined;
|
|
265
|
+
model?: string | undefined;
|
|
266
|
+
headers?: Record<string, string> | undefined;
|
|
267
|
+
request?: Record<string, any> | undefined;
|
|
268
|
+
timestamp?: Date | undefined;
|
|
269
|
+
modelMetadata?: {
|
|
270
|
+
modelId: string;
|
|
271
|
+
modelVersion: string;
|
|
272
|
+
modelProvider: string;
|
|
273
|
+
} | undefined;
|
|
274
|
+
};
|
|
261
275
|
output: {
|
|
262
276
|
usage: {
|
|
263
277
|
inputTokens: number;
|
|
@@ -269,8 +283,8 @@ export declare function createLLMExecutionStep<Tools extends ToolSet = ToolSet,
|
|
|
269
283
|
steps: any[];
|
|
270
284
|
text?: string | undefined;
|
|
271
285
|
reasoning?: any[] | undefined;
|
|
272
|
-
files?: any[] | undefined;
|
|
273
286
|
sources?: any[] | undefined;
|
|
287
|
+
files?: any[] | undefined;
|
|
274
288
|
toolCalls?: any[] | undefined;
|
|
275
289
|
toolResults?: any[] | undefined;
|
|
276
290
|
reasoningText?: string | undefined;
|
|
@@ -285,20 +299,6 @@ export declare function createLLMExecutionStep<Tools extends ToolSet = ToolSet,
|
|
|
285
299
|
all: any[];
|
|
286
300
|
nonUser: any[];
|
|
287
301
|
};
|
|
288
|
-
metadata: {
|
|
289
|
-
id?: string | undefined;
|
|
290
|
-
providerMetadata?: Record<string, any> | undefined;
|
|
291
|
-
modelId?: string | undefined;
|
|
292
|
-
model?: string | undefined;
|
|
293
|
-
headers?: Record<string, string> | undefined;
|
|
294
|
-
request?: Record<string, any> | undefined;
|
|
295
|
-
timestamp?: Date | undefined;
|
|
296
|
-
modelMetadata?: {
|
|
297
|
-
modelId: string;
|
|
298
|
-
modelVersion: string;
|
|
299
|
-
modelProvider: string;
|
|
300
|
-
} | undefined;
|
|
301
|
-
};
|
|
302
302
|
stepResult: {
|
|
303
303
|
reason: string;
|
|
304
304
|
isContinued: boolean;
|
|
@@ -373,8 +373,8 @@ export declare function createLLMExecutionStep<Tools extends ToolSet = ToolSet,
|
|
|
373
373
|
steps: any[];
|
|
374
374
|
text?: string | undefined;
|
|
375
375
|
reasoning?: any[] | undefined;
|
|
376
|
-
files?: any[] | undefined;
|
|
377
376
|
sources?: any[] | undefined;
|
|
377
|
+
files?: any[] | undefined;
|
|
378
378
|
toolCalls?: any[] | undefined;
|
|
379
379
|
toolResults?: any[] | undefined;
|
|
380
380
|
reasoningText?: string | undefined;
|
|
@@ -393,8 +393,8 @@ export declare function createLLMExecutionStep<Tools extends ToolSet = ToolSet,
|
|
|
393
393
|
steps: any[];
|
|
394
394
|
text?: string | undefined;
|
|
395
395
|
reasoning?: any[] | undefined;
|
|
396
|
-
files?: any[] | undefined;
|
|
397
396
|
sources?: any[] | undefined;
|
|
397
|
+
files?: any[] | undefined;
|
|
398
398
|
toolCalls?: any[] | undefined;
|
|
399
399
|
toolResults?: any[] | undefined;
|
|
400
400
|
reasoningText?: string | undefined;
|
|
@@ -510,6 +510,20 @@ export declare function createLLMExecutionStep<Tools extends ToolSet = ToolSet,
|
|
|
510
510
|
} | undefined;
|
|
511
511
|
}>;
|
|
512
512
|
}, "strip", import("zod").ZodTypeAny, {
|
|
513
|
+
metadata: {
|
|
514
|
+
id?: string | undefined;
|
|
515
|
+
providerMetadata?: Record<string, any> | undefined;
|
|
516
|
+
modelId?: string | undefined;
|
|
517
|
+
model?: string | undefined;
|
|
518
|
+
headers?: Record<string, string> | undefined;
|
|
519
|
+
request?: Record<string, any> | undefined;
|
|
520
|
+
timestamp?: Date | undefined;
|
|
521
|
+
modelMetadata?: {
|
|
522
|
+
modelId: string;
|
|
523
|
+
modelVersion: string;
|
|
524
|
+
modelProvider: string;
|
|
525
|
+
} | undefined;
|
|
526
|
+
};
|
|
513
527
|
output: {
|
|
514
528
|
usage: {
|
|
515
529
|
inputTokens: number;
|
|
@@ -521,8 +535,8 @@ export declare function createLLMExecutionStep<Tools extends ToolSet = ToolSet,
|
|
|
521
535
|
steps: any[];
|
|
522
536
|
text?: string | undefined;
|
|
523
537
|
reasoning?: any[] | undefined;
|
|
524
|
-
files?: any[] | undefined;
|
|
525
538
|
sources?: any[] | undefined;
|
|
539
|
+
files?: any[] | undefined;
|
|
526
540
|
toolCalls?: any[] | undefined;
|
|
527
541
|
toolResults?: any[] | undefined;
|
|
528
542
|
reasoningText?: string | undefined;
|
|
@@ -537,20 +551,6 @@ export declare function createLLMExecutionStep<Tools extends ToolSet = ToolSet,
|
|
|
537
551
|
all: any[];
|
|
538
552
|
nonUser: any[];
|
|
539
553
|
};
|
|
540
|
-
metadata: {
|
|
541
|
-
id?: string | undefined;
|
|
542
|
-
providerMetadata?: Record<string, any> | undefined;
|
|
543
|
-
modelId?: string | undefined;
|
|
544
|
-
model?: string | undefined;
|
|
545
|
-
headers?: Record<string, string> | undefined;
|
|
546
|
-
request?: Record<string, any> | undefined;
|
|
547
|
-
timestamp?: Date | undefined;
|
|
548
|
-
modelMetadata?: {
|
|
549
|
-
modelId: string;
|
|
550
|
-
modelVersion: string;
|
|
551
|
-
modelProvider: string;
|
|
552
|
-
} | undefined;
|
|
553
|
-
};
|
|
554
554
|
stepResult: {
|
|
555
555
|
reason: string;
|
|
556
556
|
isContinued: boolean;
|
|
@@ -568,6 +568,20 @@ export declare function createLLMExecutionStep<Tools extends ToolSet = ToolSet,
|
|
|
568
568
|
} | undefined;
|
|
569
569
|
};
|
|
570
570
|
}, {
|
|
571
|
+
metadata: {
|
|
572
|
+
id?: string | undefined;
|
|
573
|
+
providerMetadata?: Record<string, any> | undefined;
|
|
574
|
+
modelId?: string | undefined;
|
|
575
|
+
model?: string | undefined;
|
|
576
|
+
headers?: Record<string, string> | undefined;
|
|
577
|
+
request?: Record<string, any> | undefined;
|
|
578
|
+
timestamp?: Date | undefined;
|
|
579
|
+
modelMetadata?: {
|
|
580
|
+
modelId: string;
|
|
581
|
+
modelVersion: string;
|
|
582
|
+
modelProvider: string;
|
|
583
|
+
} | undefined;
|
|
584
|
+
};
|
|
571
585
|
output: {
|
|
572
586
|
usage: {
|
|
573
587
|
inputTokens: number;
|
|
@@ -579,8 +593,8 @@ export declare function createLLMExecutionStep<Tools extends ToolSet = ToolSet,
|
|
|
579
593
|
steps: any[];
|
|
580
594
|
text?: string | undefined;
|
|
581
595
|
reasoning?: any[] | undefined;
|
|
582
|
-
files?: any[] | undefined;
|
|
583
596
|
sources?: any[] | undefined;
|
|
597
|
+
files?: any[] | undefined;
|
|
584
598
|
toolCalls?: any[] | undefined;
|
|
585
599
|
toolResults?: any[] | undefined;
|
|
586
600
|
reasoningText?: string | undefined;
|
|
@@ -595,20 +609,6 @@ export declare function createLLMExecutionStep<Tools extends ToolSet = ToolSet,
|
|
|
595
609
|
all: any[];
|
|
596
610
|
nonUser: any[];
|
|
597
611
|
};
|
|
598
|
-
metadata: {
|
|
599
|
-
id?: string | undefined;
|
|
600
|
-
providerMetadata?: Record<string, any> | undefined;
|
|
601
|
-
modelId?: string | undefined;
|
|
602
|
-
model?: string | undefined;
|
|
603
|
-
headers?: Record<string, string> | undefined;
|
|
604
|
-
request?: Record<string, any> | undefined;
|
|
605
|
-
timestamp?: Date | undefined;
|
|
606
|
-
modelMetadata?: {
|
|
607
|
-
modelId: string;
|
|
608
|
-
modelVersion: string;
|
|
609
|
-
modelProvider: string;
|
|
610
|
-
} | undefined;
|
|
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"}
|