@mastra/core 1.0.0-beta.5 → 1.0.0-beta.6
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 +273 -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 +12 -13
- 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-OJNJA5ZI.js → chunk-3CKZSDTQ.js} +3 -3
- package/dist/{chunk-OJNJA5ZI.js.map → chunk-3CKZSDTQ.js.map} +1 -1
- package/dist/{chunk-TQTAMPSC.js → chunk-3N3QE4ZK.js} +3 -3
- package/dist/chunk-3N3QE4ZK.js.map +1 -0
- package/dist/{chunk-XJQX54QP.cjs → chunk-3TKNXJES.cjs} +56 -15
- package/dist/chunk-3TKNXJES.cjs.map +1 -0
- package/dist/{chunk-XBO6W7LZ.js → chunk-45NA5ZD3.js} +6114 -4146
- package/dist/chunk-45NA5ZD3.js.map +1 -0
- package/dist/{chunk-XIDKHXNR.js → chunk-4F6RAJFU.js} +33 -6
- package/dist/chunk-4F6RAJFU.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-U3VE2EVB.cjs → chunk-4KUOSXJ7.cjs} +30 -16
- package/dist/chunk-4KUOSXJ7.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-3B2OPLGG.js → chunk-6GOLI2EY.js} +13 -7
- package/dist/chunk-6GOLI2EY.js.map +1 -0
- package/dist/{chunk-VYJXTHII.cjs → chunk-6J4NRNT2.cjs} +183 -12
- package/dist/chunk-6J4NRNT2.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-YDFX3JR2.js → chunk-APMPOYPI.js} +173 -11
- package/dist/chunk-APMPOYPI.js.map +1 -0
- package/dist/{chunk-X7F4CSGR.cjs → chunk-AQAIS7FH.cjs} +2 -2
- package/dist/chunk-AQAIS7FH.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-5SA2EZ33.js → chunk-DXMSVGJ6.js} +182 -11
- package/dist/chunk-DXMSVGJ6.js.map +1 -0
- package/dist/{chunk-Y63IFHEZ.cjs → chunk-EOPEDKLG.cjs} +4 -4
- package/dist/chunk-EOPEDKLG.cjs.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-KIZIOFZC.js → chunk-FYP3AT6W.js} +17 -3
- package/dist/chunk-FYP3AT6W.js.map +1 -0
- package/dist/{chunk-BMAFVZ2D.cjs → chunk-IWTMMUQY.cjs} +4 -4
- package/dist/{chunk-BMAFVZ2D.cjs.map → chunk-IWTMMUQY.cjs.map} +1 -1
- package/dist/{chunk-PC6EKOWK.js → chunk-KZLP6TPJ.js} +19 -31
- package/dist/chunk-KZLP6TPJ.js.map +1 -0
- package/dist/{chunk-556MJ7CL.cjs → chunk-LDWBLENZ.cjs} +43 -37
- package/dist/chunk-LDWBLENZ.cjs.map +1 -0
- package/dist/{chunk-5O52O25J.js → chunk-LEZIKVRQ.js} +2 -2
- package/dist/chunk-LEZIKVRQ.js.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-E7K4FTLN.cjs → chunk-NHNXIYDG.cjs} +18 -2
- package/dist/chunk-NHNXIYDG.cjs.map +1 -0
- package/dist/{chunk-T2CJRA6E.js → chunk-NIUEWICQ.js} +145 -19
- package/dist/chunk-NIUEWICQ.js.map +1 -0
- package/dist/{chunk-KP42JLXE.cjs → chunk-NN3NOFRU.cjs} +6121 -4141
- package/dist/chunk-NN3NOFRU.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-KWWD3U7G.cjs → chunk-OIMB2SNZ.cjs} +155 -29
- package/dist/chunk-OIMB2SNZ.cjs.map +1 -0
- package/dist/{chunk-ZTTMSCLU.js → chunk-OPALPWAM.js} +47 -8
- package/dist/chunk-OPALPWAM.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-IITXXVYI.cjs → chunk-RHTV5C5D.cjs} +4 -4
- package/dist/{chunk-IITXXVYI.cjs.map → chunk-RHTV5C5D.cjs.map} +1 -1
- package/dist/{chunk-RROQ46B6.cjs → chunk-RTROJFEU.cjs} +31 -47
- package/dist/chunk-RTROJFEU.cjs.map +1 -0
- package/dist/{chunk-NHP6ZIDG.cjs → chunk-S5FPOCQF.cjs} +17 -163
- package/dist/chunk-S5FPOCQF.cjs.map +1 -0
- package/dist/{chunk-OUUPUAGA.cjs → chunk-SQAX4OW6.cjs} +163 -10
- package/dist/chunk-SQAX4OW6.cjs.map +1 -0
- package/dist/{chunk-D7CJ4HIQ.js → chunk-TARWUQG6.js} +8 -154
- package/dist/chunk-TARWUQG6.js.map +1 -0
- package/dist/{chunk-76K3IYWM.js → chunk-TS7B26US.js} +3 -3
- package/dist/{chunk-76K3IYWM.js.map → chunk-TS7B26US.js.map} +1 -1
- package/dist/{chunk-Y6ROD72V.cjs → chunk-UIGRFDO6.cjs} +4 -4
- package/dist/{chunk-Y6ROD72V.cjs.map → chunk-UIGRFDO6.cjs.map} +1 -1
- package/dist/{chunk-GRBGQ2GE.js → chunk-UVHSM2GU.cjs} +9 -3
- package/dist/chunk-UVHSM2GU.cjs.map +1 -0
- package/dist/{chunk-DQIZ5FFX.cjs → chunk-VRFSEZBA.cjs} +173 -11
- package/dist/chunk-VRFSEZBA.cjs.map +1 -0
- package/dist/{chunk-B5J5HYDN.js → chunk-WDRA4WKG.js} +159 -7
- package/dist/chunk-WDRA4WKG.js.map +1 -0
- package/dist/{chunk-3ZQ7LX73.js → chunk-WMAMOYRR.js} +3 -3
- package/dist/{chunk-3ZQ7LX73.js.map → chunk-WMAMOYRR.js.map} +1 -1
- package/dist/{chunk-KJIQGPQR.js → chunk-XY337TTF.js} +24 -10
- package/dist/chunk-XY337TTF.js.map +1 -0
- package/dist/{chunk-V537VSV4.cjs → chunk-Y24HI6ND.cjs} +37 -10
- package/dist/chunk-Y24HI6ND.cjs.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 +11 -11
- package/dist/llm/index.js +3 -3
- package/dist/llm/model/aisdk/v5/model.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-registry.d.ts.map +1 -1
- package/dist/llm/model/provider-types.generated.d.ts +53 -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/netlify-C2YBIK7A.js +3 -0
- package/dist/{netlify-RX3JXCFQ.js.map → netlify-C2YBIK7A.js.map} +1 -1
- package/dist/netlify-XWROOTP4.cjs +12 -0
- package/dist/{netlify-MXBOGAJR.cjs.map → netlify-XWROOTP4.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 +165 -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-BXX7CA3H.cjs +40 -0
- package/dist/{provider-registry-NBRXBOQT.cjs.map → provider-registry-BXX7CA3H.cjs.map} +1 -1
- package/dist/provider-registry-GRYJWVEM.js +3 -0
- package/dist/{provider-registry-3LUCE7FT.js.map → provider-registry-GRYJWVEM.js.map} +1 -1
- package/dist/provider-registry.json +147 -3
- 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/domains/memory/inmemory.d.ts.map +1 -1
- package/dist/storage/index.cjs +37 -29
- package/dist/storage/index.js +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 +44 -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/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 +36 -2
- 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 +32 -2
- 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 +1 -1
- 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 +22 -1
- 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 +2 -2
- package/dist/vector/index.js +1 -1
- 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 +1 -0
- package/dist/workflows/step.d.ts.map +1 -1
- package/dist/workflows/types.d.ts +157 -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 +6 -5
- package/src/llm/model/provider-types.generated.d.ts +53 -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-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-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-RROQ46B6.cjs.map +0 -1
- package/dist/chunk-T2CJRA6E.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/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
|
@@ -92,8 +92,8 @@ export declare function createLLMMappingStep<Tools extends ToolSet = ToolSet, OU
|
|
|
92
92
|
steps: any[];
|
|
93
93
|
text?: string | undefined;
|
|
94
94
|
reasoning?: any[] | undefined;
|
|
95
|
-
files?: any[] | undefined;
|
|
96
95
|
sources?: any[] | undefined;
|
|
96
|
+
files?: any[] | undefined;
|
|
97
97
|
toolCalls?: any[] | undefined;
|
|
98
98
|
toolResults?: any[] | undefined;
|
|
99
99
|
reasoningText?: string | undefined;
|
|
@@ -112,8 +112,8 @@ export declare function createLLMMappingStep<Tools extends ToolSet = ToolSet, OU
|
|
|
112
112
|
steps: any[];
|
|
113
113
|
text?: string | undefined;
|
|
114
114
|
reasoning?: any[] | undefined;
|
|
115
|
-
files?: any[] | undefined;
|
|
116
115
|
sources?: any[] | undefined;
|
|
116
|
+
files?: any[] | undefined;
|
|
117
117
|
toolCalls?: any[] | undefined;
|
|
118
118
|
toolResults?: any[] | undefined;
|
|
119
119
|
reasoningText?: string | undefined;
|
|
@@ -229,6 +229,20 @@ export declare function createLLMMappingStep<Tools extends ToolSet = ToolSet, OU
|
|
|
229
229
|
} | undefined;
|
|
230
230
|
}>;
|
|
231
231
|
}, "strip", z.ZodTypeAny, {
|
|
232
|
+
metadata: {
|
|
233
|
+
id?: string | undefined;
|
|
234
|
+
providerMetadata?: Record<string, any> | undefined;
|
|
235
|
+
modelId?: string | undefined;
|
|
236
|
+
model?: string | undefined;
|
|
237
|
+
headers?: Record<string, string> | undefined;
|
|
238
|
+
request?: Record<string, any> | undefined;
|
|
239
|
+
timestamp?: Date | undefined;
|
|
240
|
+
modelMetadata?: {
|
|
241
|
+
modelId: string;
|
|
242
|
+
modelVersion: string;
|
|
243
|
+
modelProvider: string;
|
|
244
|
+
} | undefined;
|
|
245
|
+
};
|
|
232
246
|
output: {
|
|
233
247
|
usage: {
|
|
234
248
|
inputTokens: number;
|
|
@@ -240,8 +254,8 @@ export declare function createLLMMappingStep<Tools extends ToolSet = ToolSet, OU
|
|
|
240
254
|
steps: any[];
|
|
241
255
|
text?: string | undefined;
|
|
242
256
|
reasoning?: any[] | undefined;
|
|
243
|
-
files?: any[] | undefined;
|
|
244
257
|
sources?: any[] | undefined;
|
|
258
|
+
files?: any[] | undefined;
|
|
245
259
|
toolCalls?: any[] | undefined;
|
|
246
260
|
toolResults?: any[] | undefined;
|
|
247
261
|
reasoningText?: string | undefined;
|
|
@@ -256,20 +270,6 @@ export declare function createLLMMappingStep<Tools extends ToolSet = ToolSet, OU
|
|
|
256
270
|
all: any[];
|
|
257
271
|
nonUser: any[];
|
|
258
272
|
};
|
|
259
|
-
metadata: {
|
|
260
|
-
id?: string | undefined;
|
|
261
|
-
providerMetadata?: Record<string, any> | undefined;
|
|
262
|
-
modelId?: string | undefined;
|
|
263
|
-
model?: string | undefined;
|
|
264
|
-
headers?: Record<string, string> | undefined;
|
|
265
|
-
request?: Record<string, any> | undefined;
|
|
266
|
-
timestamp?: Date | undefined;
|
|
267
|
-
modelMetadata?: {
|
|
268
|
-
modelId: string;
|
|
269
|
-
modelVersion: string;
|
|
270
|
-
modelProvider: string;
|
|
271
|
-
} | undefined;
|
|
272
|
-
};
|
|
273
273
|
stepResult: {
|
|
274
274
|
reason: string;
|
|
275
275
|
isContinued: boolean;
|
|
@@ -287,6 +287,20 @@ export declare function createLLMMappingStep<Tools extends ToolSet = ToolSet, OU
|
|
|
287
287
|
} | undefined;
|
|
288
288
|
};
|
|
289
289
|
}, {
|
|
290
|
+
metadata: {
|
|
291
|
+
id?: string | undefined;
|
|
292
|
+
providerMetadata?: Record<string, any> | undefined;
|
|
293
|
+
modelId?: string | undefined;
|
|
294
|
+
model?: string | undefined;
|
|
295
|
+
headers?: Record<string, string> | undefined;
|
|
296
|
+
request?: Record<string, any> | undefined;
|
|
297
|
+
timestamp?: Date | undefined;
|
|
298
|
+
modelMetadata?: {
|
|
299
|
+
modelId: string;
|
|
300
|
+
modelVersion: string;
|
|
301
|
+
modelProvider: string;
|
|
302
|
+
} | undefined;
|
|
303
|
+
};
|
|
290
304
|
output: {
|
|
291
305
|
usage: {
|
|
292
306
|
inputTokens: number;
|
|
@@ -298,8 +312,8 @@ export declare function createLLMMappingStep<Tools extends ToolSet = ToolSet, OU
|
|
|
298
312
|
steps: any[];
|
|
299
313
|
text?: string | undefined;
|
|
300
314
|
reasoning?: any[] | undefined;
|
|
301
|
-
files?: any[] | undefined;
|
|
302
315
|
sources?: any[] | undefined;
|
|
316
|
+
files?: any[] | undefined;
|
|
303
317
|
toolCalls?: any[] | undefined;
|
|
304
318
|
toolResults?: any[] | undefined;
|
|
305
319
|
reasoningText?: string | undefined;
|
|
@@ -314,20 +328,6 @@ export declare function createLLMMappingStep<Tools extends ToolSet = ToolSet, OU
|
|
|
314
328
|
all: any[];
|
|
315
329
|
nonUser: any[];
|
|
316
330
|
};
|
|
317
|
-
metadata: {
|
|
318
|
-
id?: string | undefined;
|
|
319
|
-
providerMetadata?: Record<string, any> | undefined;
|
|
320
|
-
modelId?: string | undefined;
|
|
321
|
-
model?: string | undefined;
|
|
322
|
-
headers?: Record<string, string> | undefined;
|
|
323
|
-
request?: Record<string, any> | undefined;
|
|
324
|
-
timestamp?: Date | undefined;
|
|
325
|
-
modelMetadata?: {
|
|
326
|
-
modelId: string;
|
|
327
|
-
modelVersion: string;
|
|
328
|
-
modelProvider: string;
|
|
329
|
-
} | undefined;
|
|
330
|
-
};
|
|
331
331
|
stepResult: {
|
|
332
332
|
reason: string;
|
|
333
333
|
isContinued: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"llm-mapping-step.d.ts","sourceRoot":"","sources":["../../../../src/loop/workflows/agentic-execution/llm-mapping-step.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACrC,OAAO,CAAC,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"llm-mapping-step.d.ts","sourceRoot":"","sources":["../../../../src/loop/workflows/agentic-execution/llm-mapping-step.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACrC,OAAO,CAAC,MAAM,KAAK,CAAC;AAKpB,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAIhE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAG/C,wBAAgB,oBAAoB,CAAC,KAAK,SAAS,OAAO,GAAG,OAAO,EAAE,MAAM,SAAS,YAAY,GAAG,SAAS,EAC3G,EAAE,MAAM,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,EAAE,WAAW,CAAC,KAAK,EAAE,MAAM,CAAC,EAC1D,gBAAgB,EAAE,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0HA4LtB"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { WritableStream } from 'stream/web';
|
|
1
|
+
import type { WritableStream } from 'node:stream/web';
|
|
2
2
|
import type { ToolSet } from 'ai-v5';
|
|
3
3
|
import type { OutputSchema } from '../../../stream/base/schema.js';
|
|
4
4
|
import type { ChunkType } from '../../../stream/types.js';
|
|
@@ -69,8 +69,8 @@ export declare function createAgenticLoopWorkflow<Tools extends ToolSet = ToolSe
|
|
|
69
69
|
steps: any[];
|
|
70
70
|
text?: string | undefined;
|
|
71
71
|
reasoning?: any[] | undefined;
|
|
72
|
-
files?: any[] | undefined;
|
|
73
72
|
sources?: any[] | undefined;
|
|
73
|
+
files?: any[] | undefined;
|
|
74
74
|
toolCalls?: any[] | undefined;
|
|
75
75
|
toolResults?: any[] | undefined;
|
|
76
76
|
reasoningText?: string | undefined;
|
|
@@ -89,8 +89,8 @@ export declare function createAgenticLoopWorkflow<Tools extends ToolSet = ToolSe
|
|
|
89
89
|
steps: any[];
|
|
90
90
|
text?: string | undefined;
|
|
91
91
|
reasoning?: any[] | undefined;
|
|
92
|
-
files?: any[] | undefined;
|
|
93
92
|
sources?: any[] | undefined;
|
|
93
|
+
files?: any[] | undefined;
|
|
94
94
|
toolCalls?: any[] | undefined;
|
|
95
95
|
toolResults?: any[] | undefined;
|
|
96
96
|
reasoningText?: string | undefined;
|
|
@@ -206,6 +206,20 @@ export declare function createAgenticLoopWorkflow<Tools extends ToolSet = ToolSe
|
|
|
206
206
|
} | undefined;
|
|
207
207
|
}>;
|
|
208
208
|
}, "strip", import("zod").ZodTypeAny, {
|
|
209
|
+
metadata: {
|
|
210
|
+
id?: string | undefined;
|
|
211
|
+
providerMetadata?: Record<string, any> | undefined;
|
|
212
|
+
modelId?: string | undefined;
|
|
213
|
+
model?: string | undefined;
|
|
214
|
+
headers?: Record<string, string> | undefined;
|
|
215
|
+
request?: Record<string, any> | undefined;
|
|
216
|
+
timestamp?: Date | undefined;
|
|
217
|
+
modelMetadata?: {
|
|
218
|
+
modelId: string;
|
|
219
|
+
modelVersion: string;
|
|
220
|
+
modelProvider: string;
|
|
221
|
+
} | undefined;
|
|
222
|
+
};
|
|
209
223
|
output: {
|
|
210
224
|
usage: {
|
|
211
225
|
inputTokens: number;
|
|
@@ -217,8 +231,8 @@ export declare function createAgenticLoopWorkflow<Tools extends ToolSet = ToolSe
|
|
|
217
231
|
steps: any[];
|
|
218
232
|
text?: string | undefined;
|
|
219
233
|
reasoning?: any[] | undefined;
|
|
220
|
-
files?: any[] | undefined;
|
|
221
234
|
sources?: any[] | undefined;
|
|
235
|
+
files?: any[] | undefined;
|
|
222
236
|
toolCalls?: any[] | undefined;
|
|
223
237
|
toolResults?: any[] | undefined;
|
|
224
238
|
reasoningText?: string | undefined;
|
|
@@ -233,20 +247,6 @@ export declare function createAgenticLoopWorkflow<Tools extends ToolSet = ToolSe
|
|
|
233
247
|
all: any[];
|
|
234
248
|
nonUser: any[];
|
|
235
249
|
};
|
|
236
|
-
metadata: {
|
|
237
|
-
id?: string | undefined;
|
|
238
|
-
providerMetadata?: Record<string, any> | undefined;
|
|
239
|
-
modelId?: string | undefined;
|
|
240
|
-
model?: string | undefined;
|
|
241
|
-
headers?: Record<string, string> | undefined;
|
|
242
|
-
request?: Record<string, any> | undefined;
|
|
243
|
-
timestamp?: Date | undefined;
|
|
244
|
-
modelMetadata?: {
|
|
245
|
-
modelId: string;
|
|
246
|
-
modelVersion: string;
|
|
247
|
-
modelProvider: string;
|
|
248
|
-
} | undefined;
|
|
249
|
-
};
|
|
250
250
|
stepResult: {
|
|
251
251
|
reason: string;
|
|
252
252
|
isContinued: boolean;
|
|
@@ -264,6 +264,20 @@ export declare function createAgenticLoopWorkflow<Tools extends ToolSet = ToolSe
|
|
|
264
264
|
} | undefined;
|
|
265
265
|
};
|
|
266
266
|
}, {
|
|
267
|
+
metadata: {
|
|
268
|
+
id?: string | undefined;
|
|
269
|
+
providerMetadata?: Record<string, any> | undefined;
|
|
270
|
+
modelId?: string | undefined;
|
|
271
|
+
model?: string | undefined;
|
|
272
|
+
headers?: Record<string, string> | undefined;
|
|
273
|
+
request?: Record<string, any> | undefined;
|
|
274
|
+
timestamp?: Date | undefined;
|
|
275
|
+
modelMetadata?: {
|
|
276
|
+
modelId: string;
|
|
277
|
+
modelVersion: string;
|
|
278
|
+
modelProvider: string;
|
|
279
|
+
} | undefined;
|
|
280
|
+
};
|
|
267
281
|
output: {
|
|
268
282
|
usage: {
|
|
269
283
|
inputTokens: number;
|
|
@@ -275,8 +289,8 @@ export declare function createAgenticLoopWorkflow<Tools extends ToolSet = ToolSe
|
|
|
275
289
|
steps: any[];
|
|
276
290
|
text?: string | undefined;
|
|
277
291
|
reasoning?: any[] | undefined;
|
|
278
|
-
files?: any[] | undefined;
|
|
279
292
|
sources?: any[] | undefined;
|
|
293
|
+
files?: any[] | undefined;
|
|
280
294
|
toolCalls?: any[] | undefined;
|
|
281
295
|
toolResults?: any[] | undefined;
|
|
282
296
|
reasoningText?: string | undefined;
|
|
@@ -291,20 +305,6 @@ export declare function createAgenticLoopWorkflow<Tools extends ToolSet = ToolSe
|
|
|
291
305
|
all: any[];
|
|
292
306
|
nonUser: any[];
|
|
293
307
|
};
|
|
294
|
-
metadata: {
|
|
295
|
-
id?: string | undefined;
|
|
296
|
-
providerMetadata?: Record<string, any> | undefined;
|
|
297
|
-
modelId?: string | undefined;
|
|
298
|
-
model?: string | undefined;
|
|
299
|
-
headers?: Record<string, string> | undefined;
|
|
300
|
-
request?: Record<string, any> | undefined;
|
|
301
|
-
timestamp?: Date | undefined;
|
|
302
|
-
modelMetadata?: {
|
|
303
|
-
modelId: string;
|
|
304
|
-
modelVersion: string;
|
|
305
|
-
modelProvider: string;
|
|
306
|
-
} | undefined;
|
|
307
|
-
};
|
|
308
308
|
stepResult: {
|
|
309
309
|
reason: string;
|
|
310
310
|
isContinued: boolean;
|
|
@@ -379,8 +379,8 @@ export declare function createAgenticLoopWorkflow<Tools extends ToolSet = ToolSe
|
|
|
379
379
|
steps: any[];
|
|
380
380
|
text?: string | undefined;
|
|
381
381
|
reasoning?: any[] | undefined;
|
|
382
|
-
files?: any[] | undefined;
|
|
383
382
|
sources?: any[] | undefined;
|
|
383
|
+
files?: any[] | undefined;
|
|
384
384
|
toolCalls?: any[] | undefined;
|
|
385
385
|
toolResults?: any[] | undefined;
|
|
386
386
|
reasoningText?: string | undefined;
|
|
@@ -399,8 +399,8 @@ export declare function createAgenticLoopWorkflow<Tools extends ToolSet = ToolSe
|
|
|
399
399
|
steps: any[];
|
|
400
400
|
text?: string | undefined;
|
|
401
401
|
reasoning?: any[] | undefined;
|
|
402
|
-
files?: any[] | undefined;
|
|
403
402
|
sources?: any[] | undefined;
|
|
403
|
+
files?: any[] | undefined;
|
|
404
404
|
toolCalls?: any[] | undefined;
|
|
405
405
|
toolResults?: any[] | undefined;
|
|
406
406
|
reasoningText?: string | undefined;
|
|
@@ -516,6 +516,20 @@ export declare function createAgenticLoopWorkflow<Tools extends ToolSet = ToolSe
|
|
|
516
516
|
} | undefined;
|
|
517
517
|
}>;
|
|
518
518
|
}, "strip", import("zod").ZodTypeAny, {
|
|
519
|
+
metadata: {
|
|
520
|
+
id?: string | undefined;
|
|
521
|
+
providerMetadata?: Record<string, any> | undefined;
|
|
522
|
+
modelId?: string | undefined;
|
|
523
|
+
model?: string | undefined;
|
|
524
|
+
headers?: Record<string, string> | undefined;
|
|
525
|
+
request?: Record<string, any> | undefined;
|
|
526
|
+
timestamp?: Date | undefined;
|
|
527
|
+
modelMetadata?: {
|
|
528
|
+
modelId: string;
|
|
529
|
+
modelVersion: string;
|
|
530
|
+
modelProvider: string;
|
|
531
|
+
} | undefined;
|
|
532
|
+
};
|
|
519
533
|
output: {
|
|
520
534
|
usage: {
|
|
521
535
|
inputTokens: number;
|
|
@@ -527,8 +541,8 @@ export declare function createAgenticLoopWorkflow<Tools extends ToolSet = ToolSe
|
|
|
527
541
|
steps: any[];
|
|
528
542
|
text?: string | undefined;
|
|
529
543
|
reasoning?: any[] | undefined;
|
|
530
|
-
files?: any[] | undefined;
|
|
531
544
|
sources?: any[] | undefined;
|
|
545
|
+
files?: any[] | undefined;
|
|
532
546
|
toolCalls?: any[] | undefined;
|
|
533
547
|
toolResults?: any[] | undefined;
|
|
534
548
|
reasoningText?: string | undefined;
|
|
@@ -543,20 +557,6 @@ export declare function createAgenticLoopWorkflow<Tools extends ToolSet = ToolSe
|
|
|
543
557
|
all: any[];
|
|
544
558
|
nonUser: any[];
|
|
545
559
|
};
|
|
546
|
-
metadata: {
|
|
547
|
-
id?: string | undefined;
|
|
548
|
-
providerMetadata?: Record<string, any> | undefined;
|
|
549
|
-
modelId?: string | undefined;
|
|
550
|
-
model?: string | undefined;
|
|
551
|
-
headers?: Record<string, string> | undefined;
|
|
552
|
-
request?: Record<string, any> | undefined;
|
|
553
|
-
timestamp?: Date | undefined;
|
|
554
|
-
modelMetadata?: {
|
|
555
|
-
modelId: string;
|
|
556
|
-
modelVersion: string;
|
|
557
|
-
modelProvider: string;
|
|
558
|
-
} | undefined;
|
|
559
|
-
};
|
|
560
560
|
stepResult: {
|
|
561
561
|
reason: string;
|
|
562
562
|
isContinued: boolean;
|
|
@@ -574,6 +574,20 @@ export declare function createAgenticLoopWorkflow<Tools extends ToolSet = ToolSe
|
|
|
574
574
|
} | undefined;
|
|
575
575
|
};
|
|
576
576
|
}, {
|
|
577
|
+
metadata: {
|
|
578
|
+
id?: string | undefined;
|
|
579
|
+
providerMetadata?: Record<string, any> | undefined;
|
|
580
|
+
modelId?: string | undefined;
|
|
581
|
+
model?: string | undefined;
|
|
582
|
+
headers?: Record<string, string> | undefined;
|
|
583
|
+
request?: Record<string, any> | undefined;
|
|
584
|
+
timestamp?: Date | undefined;
|
|
585
|
+
modelMetadata?: {
|
|
586
|
+
modelId: string;
|
|
587
|
+
modelVersion: string;
|
|
588
|
+
modelProvider: string;
|
|
589
|
+
} | undefined;
|
|
590
|
+
};
|
|
577
591
|
output: {
|
|
578
592
|
usage: {
|
|
579
593
|
inputTokens: number;
|
|
@@ -585,8 +599,8 @@ export declare function createAgenticLoopWorkflow<Tools extends ToolSet = ToolSe
|
|
|
585
599
|
steps: any[];
|
|
586
600
|
text?: string | undefined;
|
|
587
601
|
reasoning?: any[] | undefined;
|
|
588
|
-
files?: any[] | undefined;
|
|
589
602
|
sources?: any[] | undefined;
|
|
603
|
+
files?: any[] | undefined;
|
|
590
604
|
toolCalls?: any[] | undefined;
|
|
591
605
|
toolResults?: any[] | undefined;
|
|
592
606
|
reasoningText?: string | undefined;
|
|
@@ -601,20 +615,6 @@ export declare function createAgenticLoopWorkflow<Tools extends ToolSet = ToolSe
|
|
|
601
615
|
all: any[];
|
|
602
616
|
nonUser: any[];
|
|
603
617
|
};
|
|
604
|
-
metadata: {
|
|
605
|
-
id?: string | undefined;
|
|
606
|
-
providerMetadata?: Record<string, any> | undefined;
|
|
607
|
-
modelId?: string | undefined;
|
|
608
|
-
model?: string | undefined;
|
|
609
|
-
headers?: Record<string, string> | undefined;
|
|
610
|
-
request?: Record<string, any> | undefined;
|
|
611
|
-
timestamp?: Date | undefined;
|
|
612
|
-
modelMetadata?: {
|
|
613
|
-
modelId: string;
|
|
614
|
-
modelVersion: string;
|
|
615
|
-
modelProvider: string;
|
|
616
|
-
} | undefined;
|
|
617
|
-
};
|
|
618
618
|
stepResult: {
|
|
619
619
|
reason: string;
|
|
620
620
|
isContinued: boolean;
|
|
@@ -689,8 +689,8 @@ export declare function createAgenticLoopWorkflow<Tools extends ToolSet = ToolSe
|
|
|
689
689
|
steps: any[];
|
|
690
690
|
text?: string | undefined;
|
|
691
691
|
reasoning?: any[] | undefined;
|
|
692
|
-
files?: any[] | undefined;
|
|
693
692
|
sources?: any[] | undefined;
|
|
693
|
+
files?: any[] | undefined;
|
|
694
694
|
toolCalls?: any[] | undefined;
|
|
695
695
|
toolResults?: any[] | undefined;
|
|
696
696
|
reasoningText?: string | undefined;
|
|
@@ -709,8 +709,8 @@ export declare function createAgenticLoopWorkflow<Tools extends ToolSet = ToolSe
|
|
|
709
709
|
steps: any[];
|
|
710
710
|
text?: string | undefined;
|
|
711
711
|
reasoning?: any[] | undefined;
|
|
712
|
-
files?: any[] | undefined;
|
|
713
712
|
sources?: any[] | undefined;
|
|
713
|
+
files?: any[] | undefined;
|
|
714
714
|
toolCalls?: any[] | undefined;
|
|
715
715
|
toolResults?: any[] | undefined;
|
|
716
716
|
reasoningText?: string | undefined;
|
|
@@ -826,6 +826,20 @@ export declare function createAgenticLoopWorkflow<Tools extends ToolSet = ToolSe
|
|
|
826
826
|
} | undefined;
|
|
827
827
|
}>;
|
|
828
828
|
}, "strip", import("zod").ZodTypeAny, {
|
|
829
|
+
metadata: {
|
|
830
|
+
id?: string | undefined;
|
|
831
|
+
providerMetadata?: Record<string, any> | undefined;
|
|
832
|
+
modelId?: string | undefined;
|
|
833
|
+
model?: string | undefined;
|
|
834
|
+
headers?: Record<string, string> | undefined;
|
|
835
|
+
request?: Record<string, any> | undefined;
|
|
836
|
+
timestamp?: Date | undefined;
|
|
837
|
+
modelMetadata?: {
|
|
838
|
+
modelId: string;
|
|
839
|
+
modelVersion: string;
|
|
840
|
+
modelProvider: string;
|
|
841
|
+
} | undefined;
|
|
842
|
+
};
|
|
829
843
|
output: {
|
|
830
844
|
usage: {
|
|
831
845
|
inputTokens: number;
|
|
@@ -837,8 +851,8 @@ export declare function createAgenticLoopWorkflow<Tools extends ToolSet = ToolSe
|
|
|
837
851
|
steps: any[];
|
|
838
852
|
text?: string | undefined;
|
|
839
853
|
reasoning?: any[] | undefined;
|
|
840
|
-
files?: any[] | undefined;
|
|
841
854
|
sources?: any[] | undefined;
|
|
855
|
+
files?: any[] | undefined;
|
|
842
856
|
toolCalls?: any[] | undefined;
|
|
843
857
|
toolResults?: any[] | undefined;
|
|
844
858
|
reasoningText?: string | undefined;
|
|
@@ -853,20 +867,6 @@ export declare function createAgenticLoopWorkflow<Tools extends ToolSet = ToolSe
|
|
|
853
867
|
all: any[];
|
|
854
868
|
nonUser: any[];
|
|
855
869
|
};
|
|
856
|
-
metadata: {
|
|
857
|
-
id?: string | undefined;
|
|
858
|
-
providerMetadata?: Record<string, any> | undefined;
|
|
859
|
-
modelId?: string | undefined;
|
|
860
|
-
model?: string | undefined;
|
|
861
|
-
headers?: Record<string, string> | undefined;
|
|
862
|
-
request?: Record<string, any> | undefined;
|
|
863
|
-
timestamp?: Date | undefined;
|
|
864
|
-
modelMetadata?: {
|
|
865
|
-
modelId: string;
|
|
866
|
-
modelVersion: string;
|
|
867
|
-
modelProvider: string;
|
|
868
|
-
} | undefined;
|
|
869
|
-
};
|
|
870
870
|
stepResult: {
|
|
871
871
|
reason: string;
|
|
872
872
|
isContinued: boolean;
|
|
@@ -884,6 +884,20 @@ export declare function createAgenticLoopWorkflow<Tools extends ToolSet = ToolSe
|
|
|
884
884
|
} | undefined;
|
|
885
885
|
};
|
|
886
886
|
}, {
|
|
887
|
+
metadata: {
|
|
888
|
+
id?: string | undefined;
|
|
889
|
+
providerMetadata?: Record<string, any> | undefined;
|
|
890
|
+
modelId?: string | undefined;
|
|
891
|
+
model?: string | undefined;
|
|
892
|
+
headers?: Record<string, string> | undefined;
|
|
893
|
+
request?: Record<string, any> | undefined;
|
|
894
|
+
timestamp?: Date | undefined;
|
|
895
|
+
modelMetadata?: {
|
|
896
|
+
modelId: string;
|
|
897
|
+
modelVersion: string;
|
|
898
|
+
modelProvider: string;
|
|
899
|
+
} | undefined;
|
|
900
|
+
};
|
|
887
901
|
output: {
|
|
888
902
|
usage: {
|
|
889
903
|
inputTokens: number;
|
|
@@ -895,8 +909,8 @@ export declare function createAgenticLoopWorkflow<Tools extends ToolSet = ToolSe
|
|
|
895
909
|
steps: any[];
|
|
896
910
|
text?: string | undefined;
|
|
897
911
|
reasoning?: any[] | undefined;
|
|
898
|
-
files?: any[] | undefined;
|
|
899
912
|
sources?: any[] | undefined;
|
|
913
|
+
files?: any[] | undefined;
|
|
900
914
|
toolCalls?: any[] | undefined;
|
|
901
915
|
toolResults?: any[] | undefined;
|
|
902
916
|
reasoningText?: string | undefined;
|
|
@@ -911,20 +925,6 @@ export declare function createAgenticLoopWorkflow<Tools extends ToolSet = ToolSe
|
|
|
911
925
|
all: any[];
|
|
912
926
|
nonUser: any[];
|
|
913
927
|
};
|
|
914
|
-
metadata: {
|
|
915
|
-
id?: string | undefined;
|
|
916
|
-
providerMetadata?: Record<string, any> | undefined;
|
|
917
|
-
modelId?: string | undefined;
|
|
918
|
-
model?: string | undefined;
|
|
919
|
-
headers?: Record<string, string> | undefined;
|
|
920
|
-
request?: Record<string, any> | undefined;
|
|
921
|
-
timestamp?: Date | undefined;
|
|
922
|
-
modelMetadata?: {
|
|
923
|
-
modelId: string;
|
|
924
|
-
modelVersion: string;
|
|
925
|
-
modelProvider: string;
|
|
926
|
-
} | undefined;
|
|
927
|
-
};
|
|
928
928
|
stepResult: {
|
|
929
929
|
reason: string;
|
|
930
930
|
isContinued: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/loop/workflows/agentic-loop/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/loop/workflows/agentic-loop/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,KAAK,EAAc,OAAO,EAAE,MAAM,OAAO,CAAC;AAEjD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAChE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAGvD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAM3C,UAAU,iBAAiB,CAAC,KAAK,SAAS,OAAO,GAAG,OAAO,EAAE,MAAM,SAAS,YAAY,GAAG,SAAS,CAClG,SAAQ,OAAO,CAAC,KAAK,EAAE,MAAM,CAAC;IAC9B,UAAU,EAAE,+BAA+B,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,CAAC;IAC/D,MAAM,EAAE,cAAc,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,CAAC;CAC3C;AAED,wBAAgB,yBAAyB,CAAC,KAAK,SAAS,OAAO,GAAG,OAAO,EAAE,MAAM,SAAS,YAAY,GAAG,SAAS,EAChH,MAAM,EAAE,iBAAiB,CAAC,KAAK,EAAE,MAAM,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAuHzC"}
|
|
@@ -171,8 +171,8 @@ export declare const llmIterationOutputSchema: z.ZodObject<{
|
|
|
171
171
|
steps: any[];
|
|
172
172
|
text?: string | undefined;
|
|
173
173
|
reasoning?: any[] | undefined;
|
|
174
|
-
files?: any[] | undefined;
|
|
175
174
|
sources?: any[] | undefined;
|
|
175
|
+
files?: any[] | undefined;
|
|
176
176
|
toolCalls?: any[] | undefined;
|
|
177
177
|
toolResults?: any[] | undefined;
|
|
178
178
|
reasoningText?: string | undefined;
|
|
@@ -191,8 +191,8 @@ export declare const llmIterationOutputSchema: z.ZodObject<{
|
|
|
191
191
|
steps: any[];
|
|
192
192
|
text?: string | undefined;
|
|
193
193
|
reasoning?: any[] | undefined;
|
|
194
|
-
files?: any[] | undefined;
|
|
195
194
|
sources?: any[] | undefined;
|
|
195
|
+
files?: any[] | undefined;
|
|
196
196
|
toolCalls?: any[] | undefined;
|
|
197
197
|
toolResults?: any[] | undefined;
|
|
198
198
|
reasoningText?: string | undefined;
|
|
@@ -308,6 +308,20 @@ export declare const llmIterationOutputSchema: z.ZodObject<{
|
|
|
308
308
|
} | undefined;
|
|
309
309
|
}>;
|
|
310
310
|
}, "strip", z.ZodTypeAny, {
|
|
311
|
+
metadata: {
|
|
312
|
+
id?: string | undefined;
|
|
313
|
+
providerMetadata?: Record<string, any> | undefined;
|
|
314
|
+
modelId?: string | undefined;
|
|
315
|
+
model?: string | undefined;
|
|
316
|
+
headers?: Record<string, string> | undefined;
|
|
317
|
+
request?: Record<string, any> | undefined;
|
|
318
|
+
timestamp?: Date | undefined;
|
|
319
|
+
modelMetadata?: {
|
|
320
|
+
modelId: string;
|
|
321
|
+
modelVersion: string;
|
|
322
|
+
modelProvider: string;
|
|
323
|
+
} | undefined;
|
|
324
|
+
};
|
|
311
325
|
output: {
|
|
312
326
|
usage: {
|
|
313
327
|
inputTokens: number;
|
|
@@ -319,8 +333,8 @@ export declare const llmIterationOutputSchema: z.ZodObject<{
|
|
|
319
333
|
steps: any[];
|
|
320
334
|
text?: string | undefined;
|
|
321
335
|
reasoning?: any[] | undefined;
|
|
322
|
-
files?: any[] | undefined;
|
|
323
336
|
sources?: any[] | undefined;
|
|
337
|
+
files?: any[] | undefined;
|
|
324
338
|
toolCalls?: any[] | undefined;
|
|
325
339
|
toolResults?: any[] | undefined;
|
|
326
340
|
reasoningText?: string | undefined;
|
|
@@ -335,20 +349,6 @@ export declare const llmIterationOutputSchema: z.ZodObject<{
|
|
|
335
349
|
all: any[];
|
|
336
350
|
nonUser: any[];
|
|
337
351
|
};
|
|
338
|
-
metadata: {
|
|
339
|
-
id?: string | undefined;
|
|
340
|
-
providerMetadata?: Record<string, any> | undefined;
|
|
341
|
-
modelId?: string | undefined;
|
|
342
|
-
model?: string | undefined;
|
|
343
|
-
headers?: Record<string, string> | undefined;
|
|
344
|
-
request?: Record<string, any> | undefined;
|
|
345
|
-
timestamp?: Date | undefined;
|
|
346
|
-
modelMetadata?: {
|
|
347
|
-
modelId: string;
|
|
348
|
-
modelVersion: string;
|
|
349
|
-
modelProvider: string;
|
|
350
|
-
} | undefined;
|
|
351
|
-
};
|
|
352
352
|
stepResult: {
|
|
353
353
|
reason: string;
|
|
354
354
|
isContinued: boolean;
|
|
@@ -366,6 +366,20 @@ export declare const llmIterationOutputSchema: z.ZodObject<{
|
|
|
366
366
|
} | undefined;
|
|
367
367
|
};
|
|
368
368
|
}, {
|
|
369
|
+
metadata: {
|
|
370
|
+
id?: string | undefined;
|
|
371
|
+
providerMetadata?: Record<string, any> | undefined;
|
|
372
|
+
modelId?: string | undefined;
|
|
373
|
+
model?: string | undefined;
|
|
374
|
+
headers?: Record<string, string> | undefined;
|
|
375
|
+
request?: Record<string, any> | undefined;
|
|
376
|
+
timestamp?: Date | undefined;
|
|
377
|
+
modelMetadata?: {
|
|
378
|
+
modelId: string;
|
|
379
|
+
modelVersion: string;
|
|
380
|
+
modelProvider: string;
|
|
381
|
+
} | undefined;
|
|
382
|
+
};
|
|
369
383
|
output: {
|
|
370
384
|
usage: {
|
|
371
385
|
inputTokens: number;
|
|
@@ -377,8 +391,8 @@ export declare const llmIterationOutputSchema: z.ZodObject<{
|
|
|
377
391
|
steps: any[];
|
|
378
392
|
text?: string | undefined;
|
|
379
393
|
reasoning?: any[] | undefined;
|
|
380
|
-
files?: any[] | undefined;
|
|
381
394
|
sources?: any[] | undefined;
|
|
395
|
+
files?: any[] | undefined;
|
|
382
396
|
toolCalls?: any[] | undefined;
|
|
383
397
|
toolResults?: any[] | undefined;
|
|
384
398
|
reasoningText?: string | undefined;
|
|
@@ -393,20 +407,6 @@ export declare const llmIterationOutputSchema: z.ZodObject<{
|
|
|
393
407
|
all: any[];
|
|
394
408
|
nonUser: any[];
|
|
395
409
|
};
|
|
396
|
-
metadata: {
|
|
397
|
-
id?: string | undefined;
|
|
398
|
-
providerMetadata?: Record<string, any> | undefined;
|
|
399
|
-
modelId?: string | undefined;
|
|
400
|
-
model?: string | undefined;
|
|
401
|
-
headers?: Record<string, string> | undefined;
|
|
402
|
-
request?: Record<string, any> | undefined;
|
|
403
|
-
timestamp?: Date | undefined;
|
|
404
|
-
modelMetadata?: {
|
|
405
|
-
modelId: string;
|
|
406
|
-
modelVersion: string;
|
|
407
|
-
modelProvider: string;
|
|
408
|
-
} | undefined;
|
|
409
|
-
};
|
|
410
410
|
stepResult: {
|
|
411
411
|
reason: string;
|
|
412
412
|
isContinued: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stream.d.ts","sourceRoot":"","sources":["../../../src/loop/workflows/stream.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAkB,MAAM,
|
|
1
|
+
{"version":3,"file":"stream.d.ts","sourceRoot":"","sources":["../../../src/loop/workflows/stream.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAkB,MAAM,iBAAiB,CAAC;AACjE,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAErC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAEpD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAGxC;;;;;;;;;;;GAWG;AACH,wBAAgB,gBAAgB,CAAC,UAAU,EAAE,+BAA+B,CAAC,GAAG,CAAC,GAAG,OAAO,CAE1F;AAED,wBAAgB,kBAAkB,CAChC,KAAK,SAAS,OAAO,GAAG,OAAO,EAC/B,MAAM,SAAS,YAAY,GAAG,SAAS,GAAG,SAAS,EACnD,EACA,aAAa,EACb,mBAAmB,EACnB,MAAM,EACN,UAAU,EACV,aAAa,EACb,SAAS,EACT,SAAS,EACT,KAAK,EACL,WAAW,EACX,cAAc,EACd,WAAW,EACX,OAAO,EACP,UAAU,EACV,GAAG,IAAI,EACR,EAAE,OAAO,CAAC,KAAK,EAAE,MAAM,CAAC,qCA8GxB"}
|
package/dist/mastra/index.cjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkOIMB2SNZ_cjs = require('../chunk-OIMB2SNZ.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "Mastra", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkOIMB2SNZ_cjs.Mastra; }
|
|
10
10
|
});
|
|
11
11
|
//# sourceMappingURL=index.cjs.map
|
|
12
12
|
//# sourceMappingURL=index.cjs.map
|