@mastra/core 0.19.1 → 0.20.0-alpha.0
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 +50 -0
- package/dist/agent/agent.d.ts +17 -31
- package/dist/agent/agent.d.ts.map +1 -1
- package/dist/agent/agent.types.d.ts +2 -2
- package/dist/agent/agent.types.d.ts.map +1 -1
- package/dist/agent/index.cjs +11 -11
- package/dist/agent/index.js +2 -2
- package/dist/agent/input-processor/index.cjs +6 -6
- package/dist/agent/input-processor/index.js +1 -1
- package/dist/agent/types.d.ts +1 -6
- package/dist/agent/types.d.ts.map +1 -1
- package/dist/agent/workflows/prepare-stream/index.d.ts +3 -3
- package/dist/agent/workflows/prepare-stream/index.d.ts.map +1 -1
- package/dist/agent/workflows/prepare-stream/prepare-memory-step.d.ts +3 -3
- 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 +1 -1
- package/dist/agent/workflows/prepare-stream/prepare-tools-step.d.ts.map +1 -1
- package/dist/agent/workflows/prepare-stream/schema.d.ts +2 -2
- package/dist/ai-tracing/index.cjs +32 -32
- package/dist/ai-tracing/index.js +1 -1
- package/dist/{chunk-QFKTSGBI.js → chunk-2DVGQK2L.js} +4 -4
- package/dist/chunk-2DVGQK2L.js.map +1 -0
- package/dist/{chunk-HJQ7ANDX.cjs → chunk-2JUDZXVI.cjs} +4 -4
- package/dist/chunk-2JUDZXVI.cjs.map +1 -0
- package/dist/{chunk-SZD4WTRW.cjs → chunk-2SH5WPUA.cjs} +27 -22
- package/dist/chunk-2SH5WPUA.cjs.map +1 -0
- package/dist/{chunk-QMDJVXFQ.cjs → chunk-3NNB72OL.cjs} +15 -15
- package/dist/{chunk-QMDJVXFQ.cjs.map → chunk-3NNB72OL.cjs.map} +1 -1
- package/dist/{chunk-D2ZPF2AK.js → chunk-42VT5WOB.js} +3 -3
- package/dist/{chunk-D2ZPF2AK.js.map → chunk-42VT5WOB.js.map} +1 -1
- package/dist/{chunk-5QUE7HZF.js → chunk-6R46VE63.js} +5 -5
- package/dist/{chunk-5QUE7HZF.js.map → chunk-6R46VE63.js.map} +1 -1
- package/dist/{chunk-K3UPABLX.cjs → chunk-7EUC32F3.cjs} +16 -34
- package/dist/chunk-7EUC32F3.cjs.map +1 -0
- package/dist/{chunk-62I4SVWU.cjs → chunk-7HUKQ6SZ.cjs} +4 -4
- package/dist/{chunk-62I4SVWU.cjs.map → chunk-7HUKQ6SZ.cjs.map} +1 -1
- package/dist/{chunk-NLBX7Q47.cjs → chunk-7QC3MHP7.cjs} +4 -4
- package/dist/{chunk-NLBX7Q47.cjs.map → chunk-7QC3MHP7.cjs.map} +1 -1
- package/dist/{chunk-X6PLOE2T.js → chunk-AND6J5LG.js} +27 -22
- package/dist/chunk-AND6J5LG.js.map +1 -0
- package/dist/{chunk-TJHEGJNW.js → chunk-BOJNXNRV.js} +3 -3
- package/dist/{chunk-TJHEGJNW.js.map → chunk-BOJNXNRV.js.map} +1 -1
- package/dist/{chunk-NVMKTP4N.js → chunk-CJDOU6WP.js} +3 -3
- package/dist/chunk-CJDOU6WP.js.map +1 -0
- package/dist/{chunk-7CJKBCDL.js → chunk-COYTVUIL.js} +6 -24
- package/dist/chunk-COYTVUIL.js.map +1 -0
- package/dist/{chunk-2EMOWXLL.js → chunk-DQISKQDE.js} +86 -77
- package/dist/chunk-DQISKQDE.js.map +1 -0
- package/dist/{chunk-BBTR6DPH.cjs → chunk-DVHBWEYY.cjs} +3 -3
- package/dist/chunk-DVHBWEYY.cjs.map +1 -0
- package/dist/{chunk-T2CUZA2P.js → chunk-EF6Y74CN.js} +3 -3
- package/dist/{chunk-T2CUZA2P.js.map → chunk-EF6Y74CN.js.map} +1 -1
- package/dist/{chunk-57UPIDGK.cjs → chunk-I6TOPBP6.cjs} +14 -14
- package/dist/{chunk-57UPIDGK.cjs.map → chunk-I6TOPBP6.cjs.map} +1 -1
- package/dist/{chunk-M24QFL6S.js → chunk-KGBDRSMX.js} +8 -4
- package/dist/chunk-KGBDRSMX.js.map +1 -0
- package/dist/{chunk-CC4KO56Z.cjs → chunk-LCJP7LWN.cjs} +6 -6
- package/dist/{chunk-CC4KO56Z.cjs.map → chunk-LCJP7LWN.cjs.map} +1 -1
- package/dist/{chunk-2F4RLQ5V.cjs → chunk-NEWEONKX.cjs} +4 -4
- package/dist/{chunk-2F4RLQ5V.cjs.map → chunk-NEWEONKX.cjs.map} +1 -1
- package/dist/{chunk-3I3NRXSD.cjs → chunk-OKIHIKXV.cjs} +6 -6
- package/dist/{chunk-3I3NRXSD.cjs.map → chunk-OKIHIKXV.cjs.map} +1 -1
- package/dist/{chunk-M635OK6I.js → chunk-OXLN4CWA.js} +3 -3
- package/dist/{chunk-M635OK6I.js.map → chunk-OXLN4CWA.js.map} +1 -1
- package/dist/{chunk-LYRPXSHB.js → chunk-QR5VZWWT.js} +11 -11
- package/dist/{chunk-LYRPXSHB.js.map → chunk-QR5VZWWT.js.map} +1 -1
- package/dist/{chunk-WMGV4CS3.cjs → chunk-T4H33PBR.cjs} +115 -106
- package/dist/chunk-T4H33PBR.cjs.map +1 -0
- package/dist/{chunk-A7REAXWA.js → chunk-WP2KQXPV.js} +3 -3
- package/dist/{chunk-A7REAXWA.js.map → chunk-WP2KQXPV.js.map} +1 -1
- package/dist/{chunk-HV5ND4KF.cjs → chunk-YEEAHLAK.cjs} +4 -4
- package/dist/{chunk-HV5ND4KF.cjs.map → chunk-YEEAHLAK.cjs.map} +1 -1
- package/dist/{chunk-BMBWTBCL.js → chunk-ZJ2UFCTS.js} +5 -5
- package/dist/{chunk-BMBWTBCL.js.map → chunk-ZJ2UFCTS.js.map} +1 -1
- package/dist/{chunk-2C5AQMP5.cjs → chunk-ZNK5RN5D.cjs} +10 -6
- package/dist/chunk-ZNK5RN5D.cjs.map +1 -0
- package/dist/index.cjs +54 -54
- package/dist/index.js +10 -10
- package/dist/llm/index.cjs +5 -5
- package/dist/llm/index.js +1 -1
- package/dist/llm/model/gateways/netlify.d.ts.map +1 -1
- package/dist/llm/model/provider-registry.generated.d.ts +4 -4
- package/dist/llm/model/provider-registry.generated.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/test-utils/streamObject.d.ts.map +1 -1
- package/dist/loop/types.d.ts +7 -6
- package/dist/loop/types.d.ts.map +1 -1
- package/dist/loop/workflows/agentic-execution/llm-execution-step.d.ts +1 -1
- package/dist/loop/workflows/agentic-execution/llm-execution-step.d.ts.map +1 -1
- package/dist/loop/workflows/agentic-loop/index.d.ts +2 -2
- package/dist/loop/workflows/agentic-loop/index.d.ts.map +1 -1
- package/dist/loop/workflows/schema.d.ts +5 -3
- package/dist/loop/workflows/schema.d.ts.map +1 -1
- package/dist/loop/workflows/stream.d.ts +1 -1
- package/dist/loop/workflows/stream.d.ts.map +1 -1
- package/dist/mastra/index.cjs +2 -2
- package/dist/mastra/index.d.ts +3 -7
- package/dist/mastra/index.d.ts.map +1 -1
- package/dist/mastra/index.js +1 -1
- package/dist/memory/index.cjs +4 -4
- package/dist/memory/index.js +1 -1
- package/dist/memory/memory.d.ts +7 -2
- package/dist/memory/memory.d.ts.map +1 -1
- package/dist/memory/types.d.ts +256 -8
- package/dist/memory/types.d.ts.map +1 -1
- package/dist/processors/index.cjs +14 -10
- package/dist/processors/index.d.ts +1 -0
- package/dist/processors/index.d.ts.map +1 -1
- package/dist/processors/index.js +1 -1
- package/dist/processors/processors/structured-output.d.ts +15 -7
- package/dist/processors/processors/structured-output.d.ts.map +1 -1
- package/dist/processors/runner.d.ts +0 -1
- package/dist/processors/runner.d.ts.map +1 -1
- package/dist/relevance/index.cjs +4 -4
- package/dist/relevance/index.js +1 -1
- package/dist/scores/index.cjs +9 -9
- package/dist/scores/index.js +2 -2
- package/dist/scores/scoreTraces/index.cjs +8 -8
- package/dist/scores/scoreTraces/index.js +3 -3
- package/dist/server/index.cjs +2 -2
- package/dist/server/index.js +1 -1
- package/dist/storage/index.cjs +3 -3
- package/dist/storage/index.js +1 -1
- package/dist/stream/aisdk/v5/compat/ui-message.d.ts.map +1 -1
- package/dist/stream/aisdk/v5/output.d.ts +6 -6
- package/dist/stream/aisdk/v5/output.d.ts.map +1 -1
- package/dist/stream/aisdk/v5/transform.d.ts +5 -4
- package/dist/stream/aisdk/v5/transform.d.ts.map +1 -1
- package/dist/stream/base/output-format-handlers.d.ts +3 -7
- package/dist/stream/base/output-format-handlers.d.ts.map +1 -1
- package/dist/stream/base/output.d.ts +12 -6
- package/dist/stream/base/output.d.ts.map +1 -1
- package/dist/stream/index.cjs +4 -4
- package/dist/stream/index.js +1 -1
- package/dist/stream/types.d.ts +16 -5
- package/dist/stream/types.d.ts.map +1 -1
- package/dist/telemetry/index.cjs +7 -7
- package/dist/telemetry/index.js +1 -1
- package/dist/test-utils/llm-mock.cjs +2 -2
- package/dist/test-utils/llm-mock.js +1 -1
- package/dist/tts/index.cjs +2 -2
- package/dist/tts/index.js +1 -1
- package/dist/utils.cjs +17 -17
- package/dist/utils.d.ts +1 -1
- package/dist/utils.d.ts.map +1 -1
- package/dist/utils.js +1 -1
- package/dist/voice/index.cjs +4 -4
- package/dist/voice/index.js +1 -1
- package/dist/workflows/evented/index.cjs +10 -10
- package/dist/workflows/evented/index.js +1 -1
- package/dist/workflows/evented/workflow.d.ts.map +1 -1
- package/dist/workflows/index.cjs +12 -12
- package/dist/workflows/index.js +1 -1
- package/dist/workflows/legacy/index.cjs +22 -22
- package/dist/workflows/legacy/index.js +1 -1
- package/dist/workflows/workflow.d.ts +8 -8
- package/dist/workflows/workflow.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-2C5AQMP5.cjs.map +0 -1
- package/dist/chunk-2EMOWXLL.js.map +0 -1
- package/dist/chunk-7CJKBCDL.js.map +0 -1
- package/dist/chunk-BBTR6DPH.cjs.map +0 -1
- package/dist/chunk-HJQ7ANDX.cjs.map +0 -1
- package/dist/chunk-K3UPABLX.cjs.map +0 -1
- package/dist/chunk-M24QFL6S.js.map +0 -1
- package/dist/chunk-NVMKTP4N.js.map +0 -1
- package/dist/chunk-QFKTSGBI.js.map +0 -1
- package/dist/chunk-SZD4WTRW.cjs.map +0 -1
- package/dist/chunk-WMGV4CS3.cjs.map +0 -1
- package/dist/chunk-X6PLOE2T.js.map +0 -1
- package/dist/network/vNext/index.cjs +0 -990
- package/dist/network/vNext/index.cjs.map +0 -1
- package/dist/network/vNext/index.d.ts +0 -331
- package/dist/network/vNext/index.d.ts.map +0 -1
- package/dist/network/vNext/index.js +0 -988
- package/dist/network/vNext/index.js.map +0 -1
- package/network/vNext.d.ts +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"netlify.d.ts","sourceRoot":"","sources":["../../../../src/llm/model/gateways/netlify.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AAC/C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AA2BhD,qBAAa,cAAe,SAAQ,kBAAkB;IACpD,QAAQ,CAAC,IAAI,aAAa;IAC1B,QAAQ,CAAC,MAAM,aAAa;IAC5B,OAAO,CAAC,UAAU,CAA6B;IAEzC,cAAc,IAAI,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,cAAc,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"netlify.d.ts","sourceRoot":"","sources":["../../../../src/llm/model/gateways/netlify.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AAC/C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AA2BhD,qBAAa,cAAe,SAAQ,kBAAkB;IACpD,QAAQ,CAAC,IAAI,aAAa;IAC1B,QAAQ,CAAC,MAAM,aAAa;IAC5B,OAAO,CAAC,UAAU,CAA6B;IAEzC,cAAc,IAAI,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,cAAc,CAAC,CAAC;IAyBzD,QAAQ,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,OAAO,CAAC,MAAM,GAAG,KAAK,CAAC;IAkDzF;;OAEG;YACW,eAAe;IAkCvB,YAAY,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CAoCtG"}
|
|
@@ -26,12 +26,12 @@ export declare const PROVIDER_MODELS: {
|
|
|
26
26
|
readonly deepseek: readonly ["deepseek-chat", "deepseek-reasoner"];
|
|
27
27
|
readonly 'alibaba-cn': readonly ["qwen3-coder-plus"];
|
|
28
28
|
readonly venice: readonly ["deepseek-coder-v2-lite", "deepseek-r1-671b", "dolphin-2.9.2-qwen2-72b", "llama-3.1-405b", "llama-3.2-3b", "llama-3.3-70b", "mistral-31-24b", "qwen-2.5-coder-32b", "qwen-2.5-qwq-32b", "qwen-2.5-vl", "qwen3-235b", "qwen3-4b", "venice-uncensored"];
|
|
29
|
-
readonly chutes: readonly ["Qwen/Qwen3-235B-A22B-Instruct-2507", "Qwen/Qwen3-235B-A22B-Thinking-2507", "Qwen/Qwen3-30B-A3B", "Qwen/Qwen3-30B-A3B-Instruct-2507", "Qwen/Qwen3-30B-A3B-Thinking-2507", "Qwen/Qwen3-Coder-30B-A3B-Instruct", "Qwen/Qwen3-Coder-480B-A35B-Instruct-FP8", "Qwen/Qwen3-Next-80B-A3B-Instruct", "Qwen/Qwen3-Next-80B-A3B-Thinking", "chutesai/Devstral-Small-2505", "chutesai/Mistral-Small-3.2-24B-Instruct-2506", "deepseek-ai/DeepSeek-R1-0528", "deepseek-ai/DeepSeek-R1-0528-Qwen3-8B", "deepseek-ai/DeepSeek-R1-Distill-Llama-70B", "deepseek-ai/DeepSeek-V3-0324", "deepseek-ai/DeepSeek-V3.1", "deepseek-ai/DeepSeek-V3.1-Terminus", "deepseek-ai/DeepSeek-V3.1-turbo", "deepseek-ai/DeepSeek-V3.1:THINKING", "meituan-longcat/LongCat-Flash-Chat-FP8", "moonshotai/Kimi-Dev-72B", "moonshotai/Kimi-K2-Instruct-0905", "moonshotai/Kimi-K2-Instruct-75k", "moonshotai/Kimi-VL-A3B-Thinking", "openai/gpt-oss-120b", "tngtech/DeepSeek-R1T-Chimera", "tngtech/DeepSeek-TNG-R1T2-Chimera", "zai-org/GLM-4.5-Air", "zai-org/GLM-4.5-FP8", "zai-org/GLM-4.5-turbo"];
|
|
29
|
+
readonly chutes: readonly ["Qwen/Qwen3-235B-A22B-Instruct-2507", "Qwen/Qwen3-235B-A22B-Thinking-2507", "Qwen/Qwen3-30B-A3B", "Qwen/Qwen3-30B-A3B-Instruct-2507", "Qwen/Qwen3-30B-A3B-Thinking-2507", "Qwen/Qwen3-Coder-30B-A3B-Instruct", "Qwen/Qwen3-Coder-480B-A35B-Instruct-FP8", "Qwen/Qwen3-Next-80B-A3B-Instruct", "Qwen/Qwen3-Next-80B-A3B-Thinking", "chutesai/Devstral-Small-2505", "chutesai/Mistral-Small-3.2-24B-Instruct-2506", "deepseek-ai/DeepSeek-R1-0528", "deepseek-ai/DeepSeek-R1-0528-Qwen3-8B", "deepseek-ai/DeepSeek-R1-Distill-Llama-70B", "deepseek-ai/DeepSeek-V3-0324", "deepseek-ai/DeepSeek-V3.1", "deepseek-ai/DeepSeek-V3.1-Terminus", "deepseek-ai/DeepSeek-V3.1-turbo", "deepseek-ai/DeepSeek-V3.1:THINKING", "meituan-longcat/LongCat-Flash-Chat-FP8", "moonshotai/Kimi-Dev-72B", "moonshotai/Kimi-K2-Instruct-0905", "moonshotai/Kimi-K2-Instruct-75k", "moonshotai/Kimi-VL-A3B-Thinking", "openai/gpt-oss-120b", "tngtech/DeepSeek-R1T-Chimera", "tngtech/DeepSeek-TNG-R1T2-Chimera", "zai-org/GLM-4.5-Air", "zai-org/GLM-4.5-FP8", "zai-org/GLM-4.5-turbo", "zai-org/GLM-4.6-FP8"];
|
|
30
30
|
readonly cortecs: readonly ["claude-sonnet-4", "deepseek-v3-0324", "gemini-2.5-pro", "gpt-4.1", "gpt-oss-120b", "kimi-k2-instruct", "llama-3.1-405b-instruct", "nova-pro-v1", "qwen3-32b", "qwen3-coder-480b-a35b-instruct"];
|
|
31
31
|
readonly 'github-models': readonly ["ai21-labs/ai21-jamba-1.5-large", "ai21-labs/ai21-jamba-1.5-mini", "cohere/cohere-command-a", "cohere/cohere-command-r", "cohere/cohere-command-r-08-2024", "cohere/cohere-command-r-plus", "cohere/cohere-command-r-plus-08-2024", "core42/jais-30b-chat", "deepseek/deepseek-r1", "deepseek/deepseek-r1-0528", "deepseek/deepseek-v3-0324", "meta/llama-3.2-11b-vision-instruct", "meta/llama-3.2-90b-vision-instruct", "meta/llama-3.3-70b-instruct", "meta/llama-4-maverick-17b-128e-instruct-fp8", "meta/llama-4-scout-17b-16e-instruct", "meta/meta-llama-3-70b-instruct", "meta/meta-llama-3-8b-instruct", "meta/meta-llama-3.1-405b-instruct", "meta/meta-llama-3.1-70b-instruct", "meta/meta-llama-3.1-8b-instruct", "microsoft/mai-ds-r1", "microsoft/phi-3-medium-128k-instruct", "microsoft/phi-3-medium-4k-instruct", "microsoft/phi-3-mini-128k-instruct", "microsoft/phi-3-mini-4k-instruct", "microsoft/phi-3-small-128k-instruct", "microsoft/phi-3-small-8k-instruct", "microsoft/phi-3.5-mini-instruct", "microsoft/phi-3.5-moe-instruct", "microsoft/phi-3.5-vision-instruct", "microsoft/phi-4", "microsoft/phi-4-mini-instruct", "microsoft/phi-4-mini-reasoning", "microsoft/phi-4-multimodal-instruct", "microsoft/phi-4-reasoning", "mistral-ai/codestral-2501", "mistral-ai/ministral-3b", "mistral-ai/mistral-large-2411", "mistral-ai/mistral-medium-2505", "mistral-ai/mistral-nemo", "mistral-ai/mistral-small-2503", "openai/gpt-4.1", "openai/gpt-4.1-mini", "openai/gpt-4.1-nano", "openai/gpt-4o", "openai/gpt-4o-mini", "openai/o1", "openai/o1-mini", "openai/o1-preview", "openai/o3", "openai/o3-mini", "openai/o4-mini", "xai/grok-3", "xai/grok-3-mini"];
|
|
32
32
|
readonly togetherai: readonly ["Qwen/Qwen3-Coder-480B-A35B-Instruct-FP8", "deepseek-ai/DeepSeek-R1", "deepseek-ai/DeepSeek-V3", "meta-llama/Llama-3.3-70B-Instruct-Turbo", "moonshotai/Kimi-K2-Instruct", "openai/gpt-oss-120b"];
|
|
33
33
|
readonly baseten: readonly ["Qwen3/Qwen3-Coder-480B-A35B-Instruct", "moonshotai/Kimi-K2-Instruct-0905"];
|
|
34
|
-
readonly huggingface: readonly ["Qwen/Qwen3-235B-A22B-Thinking-2507", "Qwen/Qwen3-Coder-480B-A35B-Instruct", "Qwen/Qwen3-Next-80B-A3B-Instruct", "Qwen/Qwen3-Next-80B-A3B-Thinking", "deepseek-ai/DeepSeek-R1-0528", "deepseek-ai/Deepseek-V3-0324", "moonshotai/Kimi-K2-Instruct", "moonshotai/Kimi-K2-Instruct-0905", "zai-org/GLM-4.5", "zai-org/GLM-4.5-Air"];
|
|
34
|
+
readonly huggingface: readonly ["Qwen/Qwen3-235B-A22B-Thinking-2507", "Qwen/Qwen3-Coder-480B-A35B-Instruct", "Qwen/Qwen3-Next-80B-A3B-Instruct", "Qwen/Qwen3-Next-80B-A3B-Thinking", "deepseek-ai/DeepSeek-R1-0528", "deepseek-ai/Deepseek-V3-0324", "moonshotai/Kimi-K2-Instruct", "moonshotai/Kimi-K2-Instruct-0905", "zai-org/GLM-4.5", "zai-org/GLM-4.5-Air", "zai-org/GLM-4.6"];
|
|
35
35
|
readonly opencode: readonly ["claude-3-5-haiku", "claude-opus-4-1", "claude-sonnet-4", "claude-sonnet-4-5", "code-supernova", "gpt-5", "grok-code", "kimi-k2", "qwen3-coder", "qwen3-max"];
|
|
36
36
|
readonly fastrouter: readonly ["anthropic/claude-opus-4.1", "anthropic/claude-sonnet-4", "deepseek-ai/deepseek-r1-distill-llama-70b", "google/gemini-2.5-flash", "google/gemini-2.5-pro", "moonshotai/kimi-k2", "openai/gpt-4.1", "openai/gpt-5", "openai/gpt-5-mini", "openai/gpt-5-nano", "openai/gpt-oss-120b", "openai/gpt-oss-20b", "qwen/qwen3-coder", "x-ai/grok-4"];
|
|
37
37
|
readonly google: readonly ["gemini-1.5-flash", "gemini-1.5-flash-8b", "gemini-1.5-pro", "gemini-2.0-flash", "gemini-2.0-flash-lite", "gemini-2.5-flash", "gemini-2.5-flash-lite", "gemini-2.5-flash-lite-preview-06-17", "gemini-2.5-flash-lite-preview-09-2025", "gemini-2.5-flash-preview-04-17", "gemini-2.5-flash-preview-05-20", "gemini-2.5-flash-preview-09-2025", "gemini-2.5-pro", "gemini-2.5-pro-preview-05-06", "gemini-2.5-pro-preview-06-05", "gemini-flash-latest", "gemini-flash-lite-latest", "gemini-live-2.5-flash-preview-native-audio"];
|
|
@@ -40,7 +40,7 @@ export declare const PROVIDER_MODELS: {
|
|
|
40
40
|
readonly openai: readonly ["gpt-3.5-turbo", "gpt-4", "gpt-4-turbo", "gpt-4.1", "gpt-4.1-mini", "gpt-4.1-nano", "gpt-4o", "gpt-4o-2024-05-13", "gpt-4o-2024-08-06", "gpt-4o-2024-11-20", "gpt-4o-mini", "gpt-5", "gpt-5-chat-latest", "gpt-5-mini", "gpt-5-nano", "o1", "o1-mini", "o1-preview", "o1-pro", "o3", "o3-deep-research", "o3-mini", "o3-pro", "o4-mini", "o4-mini-deep-research"];
|
|
41
41
|
readonly 'zhipuai-coding-plan': readonly ["glm-4.5", "glm-4.5-air", "glm-4.5-flash", "glm-4.5v", "glm-4.6"];
|
|
42
42
|
readonly perplexity: readonly ["sonar", "sonar-pro", "sonar-reasoning", "sonar-reasoning-pro"];
|
|
43
|
-
readonly openrouter: readonly ["anthropic/claude-3.5-haiku", "anthropic/claude-3.7-sonnet", "anthropic/claude-opus-4", "anthropic/claude-opus-4.1", "anthropic/claude-sonnet-4", "anthropic/claude-sonnet-4.5", "cognitivecomputations/dolphin3.0-mistral-24b", "cognitivecomputations/dolphin3.0-r1-mistral-24b", "deepseek/deepseek-chat-v3-0324", "deepseek/deepseek-chat-v3.1", "deepseek/deepseek-r1-0528-qwen3-8b:free", "deepseek/deepseek-r1-0528:free", "deepseek/deepseek-r1-distill-llama-70b", "deepseek/deepseek-r1-distill-qwen-14b", "deepseek/deepseek-r1:free", "deepseek/deepseek-v3-base:free", "deepseek/deepseek-v3.1-terminus", "featherless/qwerky-72b", "google/gemini-2.0-flash-001", "google/gemini-2.0-flash-exp:free", "google/gemini-2.5-flash", "google/gemini-2.5-pro", "google/gemini-2.5-pro-preview-05-06", "google/gemini-2.5-pro-preview-06-05", "google/gemma-2-9b-it:free", "google/gemma-3-12b-it", "google/gemma-3-27b-it", "google/gemma-3n-e4b-it", "google/gemma-3n-e4b-it:free", "meta-llama/llama-3.2-11b-vision-instruct", "meta-llama/llama-3.3-70b-instruct:free", "meta-llama/llama-4-scout:free", "microsoft/mai-ds-r1:free", "mistralai/codestral-2508", "mistralai/devstral-medium-2507", "mistralai/devstral-small-2505", "mistralai/devstral-small-2505:free", "mistralai/devstral-small-2507", "mistralai/mistral-7b-instruct:free", "mistralai/mistral-medium-3", "mistralai/mistral-medium-3.1", "mistralai/mistral-nemo:free", "mistralai/mistral-small-3.1-24b-instruct", "mistralai/mistral-small-3.2-24b-instruct", "mistralai/mistral-small-3.2-24b-instruct:free", "moonshotai/kimi-dev-72b:free", "moonshotai/kimi-k2", "moonshotai/kimi-k2-0905", "moonshotai/kimi-k2:free", "nousresearch/deephermes-3-llama-3-8b-preview", "nousresearch/hermes-4-405b", "nousresearch/hermes-4-70b", "openai/gpt-4.1", "openai/gpt-4.1-mini", "openai/gpt-4o-mini", "openai/gpt-5", "openai/gpt-5-chat", "openai/gpt-5-mini", "openai/gpt-5-nano", "openai/gpt-oss-120b", "openai/gpt-oss-20b", "openai/o4-mini", "openrouter/cypher-alpha:free", "openrouter/horizon-alpha", "openrouter/horizon-beta", "openrouter/sonoma-dusk-alpha", "openrouter/sonoma-sky-alpha", "qwen/qwen-2.5-coder-32b-instruct", "qwen/qwen2.5-vl-32b-instruct:free", "qwen/qwen2.5-vl-72b-instruct", "qwen/qwen2.5-vl-72b-instruct:free", "qwen/qwen3-14b:free", "qwen/qwen3-235b-a22b-07-25", "qwen/qwen3-235b-a22b-07-25:free", "qwen/qwen3-235b-a22b-thinking-2507", "qwen/qwen3-235b-a22b:free", "qwen/qwen3-30b-a3b-instruct-2507", "qwen/qwen3-30b-a3b:free", "qwen/qwen3-32b:free", "qwen/qwen3-8b:free", "qwen/qwen3-coder", "qwen/qwen3-coder:free", "qwen/qwen3-max", "qwen/qwen3-next-80b-a3b-instruct", "qwen/qwq-32b:free", "rekaai/reka-flash-3", "sarvamai/sarvam-m:free", "thudm/glm-z1-32b:free", "tngtech/deepseek-r1t2-chimera:free", "x-ai/grok-3", "x-ai/grok-3-beta", "x-ai/grok-3-mini", "x-ai/grok-3-mini-beta", "x-ai/grok-4", "x-ai/grok-4-fast", "x-ai/grok-4-fast:free", "x-ai/grok-code-fast-1", "z-ai/glm-4.5", "z-ai/glm-4.5-air", "z-ai/glm-4.5-air:free", "z-ai/glm-4.5v"];
|
|
43
|
+
readonly openrouter: readonly ["anthropic/claude-3.5-haiku", "anthropic/claude-3.7-sonnet", "anthropic/claude-opus-4", "anthropic/claude-opus-4.1", "anthropic/claude-sonnet-4", "anthropic/claude-sonnet-4.5", "cognitivecomputations/dolphin3.0-mistral-24b", "cognitivecomputations/dolphin3.0-r1-mistral-24b", "deepseek/deepseek-chat-v3-0324", "deepseek/deepseek-chat-v3.1", "deepseek/deepseek-r1-0528-qwen3-8b:free", "deepseek/deepseek-r1-0528:free", "deepseek/deepseek-r1-distill-llama-70b", "deepseek/deepseek-r1-distill-qwen-14b", "deepseek/deepseek-r1:free", "deepseek/deepseek-v3-base:free", "deepseek/deepseek-v3.1-terminus", "featherless/qwerky-72b", "google/gemini-2.0-flash-001", "google/gemini-2.0-flash-exp:free", "google/gemini-2.5-flash", "google/gemini-2.5-pro", "google/gemini-2.5-pro-preview-05-06", "google/gemini-2.5-pro-preview-06-05", "google/gemma-2-9b-it:free", "google/gemma-3-12b-it", "google/gemma-3-27b-it", "google/gemma-3n-e4b-it", "google/gemma-3n-e4b-it:free", "meta-llama/llama-3.2-11b-vision-instruct", "meta-llama/llama-3.3-70b-instruct:free", "meta-llama/llama-4-scout:free", "microsoft/mai-ds-r1:free", "mistralai/codestral-2508", "mistralai/devstral-medium-2507", "mistralai/devstral-small-2505", "mistralai/devstral-small-2505:free", "mistralai/devstral-small-2507", "mistralai/mistral-7b-instruct:free", "mistralai/mistral-medium-3", "mistralai/mistral-medium-3.1", "mistralai/mistral-nemo:free", "mistralai/mistral-small-3.1-24b-instruct", "mistralai/mistral-small-3.2-24b-instruct", "mistralai/mistral-small-3.2-24b-instruct:free", "moonshotai/kimi-dev-72b:free", "moonshotai/kimi-k2", "moonshotai/kimi-k2-0905", "moonshotai/kimi-k2:free", "nousresearch/deephermes-3-llama-3-8b-preview", "nousresearch/hermes-4-405b", "nousresearch/hermes-4-70b", "openai/gpt-4.1", "openai/gpt-4.1-mini", "openai/gpt-4o-mini", "openai/gpt-5", "openai/gpt-5-chat", "openai/gpt-5-mini", "openai/gpt-5-nano", "openai/gpt-oss-120b", "openai/gpt-oss-20b", "openai/o4-mini", "openrouter/cypher-alpha:free", "openrouter/horizon-alpha", "openrouter/horizon-beta", "openrouter/sonoma-dusk-alpha", "openrouter/sonoma-sky-alpha", "qwen/qwen-2.5-coder-32b-instruct", "qwen/qwen2.5-vl-32b-instruct:free", "qwen/qwen2.5-vl-72b-instruct", "qwen/qwen2.5-vl-72b-instruct:free", "qwen/qwen3-14b:free", "qwen/qwen3-235b-a22b-07-25", "qwen/qwen3-235b-a22b-07-25:free", "qwen/qwen3-235b-a22b-thinking-2507", "qwen/qwen3-235b-a22b:free", "qwen/qwen3-30b-a3b-instruct-2507", "qwen/qwen3-30b-a3b:free", "qwen/qwen3-32b:free", "qwen/qwen3-8b:free", "qwen/qwen3-coder", "qwen/qwen3-coder:free", "qwen/qwen3-max", "qwen/qwen3-next-80b-a3b-instruct", "qwen/qwq-32b:free", "rekaai/reka-flash-3", "sarvamai/sarvam-m:free", "thudm/glm-z1-32b:free", "tngtech/deepseek-r1t2-chimera:free", "x-ai/grok-3", "x-ai/grok-3-beta", "x-ai/grok-3-mini", "x-ai/grok-3-mini-beta", "x-ai/grok-4", "x-ai/grok-4-fast", "x-ai/grok-4-fast:free", "x-ai/grok-code-fast-1", "z-ai/glm-4.5", "z-ai/glm-4.5-air", "z-ai/glm-4.5-air:free", "z-ai/glm-4.5v", "z-ai/glm-4.6"];
|
|
44
44
|
readonly synthetic: readonly ["hf:Qwen/Qwen2.5-Coder-32B-Instruct", "hf:Qwen/Qwen3-235B-A22B-Instruct-2507", "hf:Qwen/Qwen3-235B-A22B-Thinking-2507", "hf:Qwen/Qwen3-Coder-480B-A35B-Instruct", "hf:deepseek-ai/DeepSeek-R1", "hf:deepseek-ai/DeepSeek-R1-0528", "hf:deepseek-ai/DeepSeek-V3", "hf:deepseek-ai/DeepSeek-V3-0324", "hf:deepseek-ai/DeepSeek-V3.1", "hf:deepseek-ai/DeepSeek-V3.1-Terminus", "hf:meta-llama/Llama-3.1-405B-Instruct", "hf:meta-llama/Llama-3.1-70B-Instruct", "hf:meta-llama/Llama-3.1-8B-Instruct", "hf:meta-llama/Llama-3.3-70B-Instruct", "hf:meta-llama/Llama-4-Maverick-17B-128E-Instruct-FP8", "hf:meta-llama/Llama-4-Scout-17B-16E-Instruct", "hf:moonshotai/Kimi-K2-Instruct", "hf:moonshotai/Kimi-K2-Instruct-0905", "hf:openai/gpt-oss-120b", "hf:zai-org/GLM-4.5"];
|
|
45
45
|
readonly deepinfra: readonly ["Qwen/Qwen3-Coder-480B-A35B-Instruct", "Qwen/Qwen3-Coder-480B-A35B-Instruct-Turbo", "moonshotai/Kimi-K2-Instruct", "zai-org/GLM-4.5"];
|
|
46
46
|
readonly zhipuai: readonly ["glm-4.5", "glm-4.5-air", "glm-4.5-flash", "glm-4.5v", "glm-4.6"];
|
|
@@ -55,7 +55,7 @@ export declare const PROVIDER_MODELS: {
|
|
|
55
55
|
readonly modelscope: readonly ["Qwen/Qwen3-235B-A22B-Instruct-2507", "Qwen/Qwen3-235B-A22B-Thinking-2507", "Qwen/Qwen3-30B-A3B-Instruct-2507", "Qwen/Qwen3-30B-A3B-Thinking-2507", "Qwen/Qwen3-Coder-30B-A3B-Instruct", "Qwen/Qwen3-Coder-480B-A35B-Instruct", "ZhipuAI/GLM-4.5"];
|
|
56
56
|
readonly llama: readonly ["cerebras-llama-4-maverick-17b-128e-instruct", "cerebras-llama-4-scout-17b-16e-instruct", "groq-llama-4-maverick-17b-128e-instruct", "llama-3.3-70b-instruct", "llama-3.3-8b-instruct", "llama-4-maverick-17b-128e-instruct-fp8", "llama-4-scout-17b-16e-instruct-fp8"];
|
|
57
57
|
readonly cerebras: readonly ["gpt-oss-120b", "qwen-3-235b-a22b-instruct-2507", "qwen-3-coder-480b"];
|
|
58
|
-
readonly netlify: readonly ["anthropic/claude-
|
|
58
|
+
readonly netlify: readonly ["anthropic/claude-3-5-haiku-20241022", "anthropic/claude-opus-4-20250514", "anthropic/claude-sonnet-4-20250514", "anthropic/claude-3-7-sonnet-20250219", "anthropic/claude-3-5-haiku-latest", "anthropic/claude-3-haiku-20240307", "anthropic/claude-opus-4-1-20250805", "anthropic/claude-sonnet-4-5-20250929", "anthropic/claude-3-7-sonnet-latest", "gemini/gemini-2.5-pro", "gemini/gemini-2.5-flash", "gemini/gemini-flash-lite-latest", "gemini/gemini-2.0-flash-lite", "gemini/gemini-2.5-flash-image-preview", "gemini/gemini-flash-latest", "gemini/gemini-2.5-flash-preview-09-2025", "gemini/gemini-2.5-flash-lite-preview-09-2025", "gemini/gemini-2.5-flash-lite", "gemini/gemini-2.0-flash", "openai/o4-mini", "openai/o3", "openai/o3-mini", "openai/codex-mini-latest", "openai/gpt-5-codex", "openai/gpt-5-mini", "openai/gpt-5-nano", "openai/gpt-4.1", "openai/gpt-4.1-mini", "openai/gpt-4.1-nano", "openai/gpt-4o", "openai/gpt-4o-mini", "openai/gpt-5"];
|
|
59
59
|
};
|
|
60
60
|
/**
|
|
61
61
|
* Type definitions for autocomplete support
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"provider-registry.generated.d.ts","sourceRoot":"","sources":["../../../src/llm/model/provider-registry.generated.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAEtD;;GAEG;AACH,eAAO,MAAM,iBAAiB,EAAE,MAAM,CAAC,MAAM,EAAE,cAAc,
|
|
1
|
+
{"version":3,"file":"provider-registry.generated.d.ts","sourceRoot":"","sources":["../../../src/llm/model/provider-registry.generated.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAEtD;;GAEG;AACH,eAAO,MAAM,iBAAiB,EAAE,MAAM,CAAC,MAAM,EAAE,cAAc,CAg/BnD,CAAC;AAEX;;GAEG;AACH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyoBlB,CAAC;AAEX;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,OAAO,eAAe,CAAC;AACpD,MAAM,MAAM,QAAQ,GAAG,MAAM,cAAc,CAAC;AAC5C,MAAM,MAAM,gBAAgB,CAAC,CAAC,SAAS,QAAQ,IAAI,cAAc,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC;AAE7E;;;GAGG;AACH,MAAM,MAAM,kBAAkB,GAAG;KAAG,CAAC,IAAI,QAAQ,GAAG,GAAG,CAAC,IAAI,gBAAgB,CAAC,CAAC,CAAC,EAAE;CAAE,CAAC,QAAQ,CAAC,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC;AAE9G;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,UAAU,EAAE,MAAM,GAAG,cAAc,GAAG,SAAS,CAEhF;AAED;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAEhE;AAED;;GAEG;AACH,wBAAgB,sBAAsB,IAAI,MAAM,EAAE,CAEjD;AAED;;;;;;GAMG;AACH,wBAAgB,gBAAgB,CAAC,WAAW,EAAE,MAAM,GAAG;IAAE,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,CAqBlG;AAED;;GAEG;AACH,wBAAgB,cAAc,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,IAAI,kBAAkB,CAG7E"}
|
package/dist/loop/index.cjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkT4H33PBR_cjs = require('../chunk-T4H33PBR.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "loop", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkT4H33PBR_cjs.loop; }
|
|
10
10
|
});
|
|
11
11
|
//# sourceMappingURL=index.cjs.map
|
|
12
12
|
//# sourceMappingURL=index.cjs.map
|
package/dist/loop/index.js
CHANGED
package/dist/loop/loop.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"loop.d.ts","sourceRoot":"","sources":["../../src/loop/loop.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"loop.d.ts","sourceRoot":"","sources":["../../src/loop/loop.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAIrC,OAAO,EAA8B,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AACtF,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAE1D,OAAO,KAAK,EAAE,WAAW,EAA2B,MAAM,SAAS,CAAC;AAGpE,wBAAgB,IAAI,CAAC,KAAK,SAAS,OAAO,GAAG,OAAO,EAAE,MAAM,SAAS,YAAY,GAAG,SAAS,GAAG,SAAS,EAAE,EACzG,aAAa,EACb,MAAM,EACN,MAAM,EACN,KAAK,EACL,WAAW,EACX,kBAAkB,EAClB,WAAW,EACX,gBAAgB,EAChB,aAAa,EACb,KAAK,EACL,SAAS,EACT,IAAe,EACf,gBAAgB,EAChB,gBAAgB,EAChB,SAAS,EACT,mBAAmB,EACnB,GAAG,IAAI,EACR,EAAE,WAAW,CAAC,KAAK,EAAE,MAAM,CAAC,6BAkI5B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"streamObject.d.ts","sourceRoot":"","sources":["../../../src/loop/test-utils/streamObject.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,YAAY,EAAE,6BAA6B,EAAE,kBAAkB,EAAE,MAAM,OAAO,CAAC;AAK7F,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"streamObject.d.ts","sourceRoot":"","sources":["../../../src/loop/test-utils/streamObject.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,YAAY,EAAE,6BAA6B,EAAE,kBAAkB,EAAE,MAAM,OAAO,CAAC;AAK7F,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAwDpC,wBAAgB,4BAA4B,CAC1C,KAAK,EAAE,OAAO,EACd,QAAQ,EAAE;IACR,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,6BAA6B,GAAG;QACxC,IAAI,CAAC,EAAE,MAAM,CAAC;KACf,CAAC;IACF,KAAK,EAAE,kBAAkB,CAAC;IAC1B,YAAY,EAAE,YAAY,CAAC;CAC5B,QAQF;AAED,wBAAgB,iBAAiB,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE;IAAE,MAAM,EAAE,OAAO,IAAI,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,QA8hF1F"}
|
package/dist/loop/types.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ import type { MessageList } from '../agent/message-list/index.js';
|
|
|
6
6
|
import type { AISpan, AISpanType } from '../ai-tracing/index.js';
|
|
7
7
|
import type { IMastraLogger } from '../logger/index.js';
|
|
8
8
|
import type { Mastra } from '../mastra/index.js';
|
|
9
|
-
import type { OutputProcessor } from '../processors/index.js';
|
|
9
|
+
import type { OutputProcessor, ProcessorState } from '../processors/index.js';
|
|
10
10
|
import type { OutputSchema } from '../stream/base/schema.js';
|
|
11
11
|
import type { ChunkType, MastraOnFinishCallback, MastraOnStepFinishCallback, ModelManagerModelConfig } from '../stream/types.js';
|
|
12
12
|
import type { MastraIdGenerator } from '../types/index.js';
|
|
@@ -28,8 +28,8 @@ export type PrepareStepFunction<TOOLS extends ToolSet = ToolSet> = (options: {
|
|
|
28
28
|
model: LanguageModelV2;
|
|
29
29
|
messages: Array<ModelMessage>;
|
|
30
30
|
}) => PromiseLike<PrepareStepResult<TOOLS> | undefined> | PrepareStepResult<TOOLS> | undefined;
|
|
31
|
-
export type LoopConfig = {
|
|
32
|
-
onChunk?: (chunk: ChunkType) => Promise<void> | void;
|
|
31
|
+
export type LoopConfig<OUTPUT extends OutputSchema = undefined> = {
|
|
32
|
+
onChunk?: (chunk: ChunkType<OUTPUT>) => Promise<void> | void;
|
|
33
33
|
onError?: ({ error }: {
|
|
34
34
|
error: Error | string;
|
|
35
35
|
}) => Promise<void> | void;
|
|
@@ -56,7 +56,7 @@ export type LoopOptions<Tools extends ToolSet = ToolSet, OUTPUT extends OutputSc
|
|
|
56
56
|
modelSettings?: CallSettings;
|
|
57
57
|
headers?: Record<string, string>;
|
|
58
58
|
toolChoice?: ToolChoice<any>;
|
|
59
|
-
options?: LoopConfig
|
|
59
|
+
options?: LoopConfig<OUTPUT>;
|
|
60
60
|
providerOptions?: SharedV2ProviderOptions;
|
|
61
61
|
tools?: Tools;
|
|
62
62
|
outputProcessors?: OutputProcessor[];
|
|
@@ -81,11 +81,12 @@ export type LoopRun<Tools extends ToolSet = ToolSet, OUTPUT extends OutputSchema
|
|
|
81
81
|
serialize: () => any;
|
|
82
82
|
deserialize: (state: any) => void;
|
|
83
83
|
};
|
|
84
|
+
processorStates?: Map<string, ProcessorState<OUTPUT>>;
|
|
84
85
|
};
|
|
85
86
|
export type OuterLLMRun<Tools extends ToolSet = ToolSet, OUTPUT extends OutputSchema = undefined> = {
|
|
86
87
|
messageId: string;
|
|
87
|
-
controller: ReadableStreamDefaultController<ChunkType
|
|
88
|
-
writer: WritableStream<ChunkType
|
|
88
|
+
controller: ReadableStreamDefaultController<ChunkType<OUTPUT>>;
|
|
89
|
+
writer: WritableStream<ChunkType<OUTPUT>>;
|
|
89
90
|
requireToolApproval?: boolean;
|
|
90
91
|
} & LoopRun<Tools, OUTPUT>;
|
|
91
92
|
export declare const PRIMITIVE_TYPES: z.ZodEnum<["agent", "workflow", "none", "tool"]>;
|
package/dist/loop/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/loop/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAC;AACpF,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,KAAK,EACV,YAAY,EACZ,WAAW,EACX,aAAa,EACb,iBAAiB,EACjB,UAAU,EACV,OAAO,EACP,UAAU,EACV,YAAY,EACb,MAAM,OAAO,CAAC;AACf,OAAO,C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,cAAc,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,CAAC;IAC1C,mBAAmB,CAAC,EAAE,OAAO,CAAC;CAC/B,GAAG,OAAO,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC;AAE3B,eAAO,MAAM,eAAe,kDAAgD,CAAC"}
|
|
@@ -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, modelStreamSpan, telemetry_settings, tools, toolChoice, messageList, includeRawChunks, modelSettings, providerOptions, options, toolCallStreaming, controller, output, outputProcessors, headers, downloadRetries, downloadConcurrency, }: OuterLLMRun<Tools, OUTPUT>): import("../../..").Step<"llm-execution", import("zod").ZodObject<{
|
|
4
|
+
export declare function createLLMExecutionStep<Tools extends ToolSet = ToolSet, OUTPUT extends OutputSchema = undefined>({ models, _internal, messageId, runId, modelStreamSpan, telemetry_settings, tools, toolChoice, messageList, includeRawChunks, modelSettings, providerOptions, options, toolCallStreaming, controller, output, outputProcessors, headers, downloadRetries, downloadConcurrency, processorStates, }: OuterLLMRun<Tools, OUTPUT>): import("../../..").Step<"llm-execution", import("zod").ZodObject<{
|
|
5
5
|
messageId: import("zod").ZodString;
|
|
6
6
|
messages: import("zod").ZodObject<{
|
|
7
7
|
all: import("zod").ZodArray<import("zod").ZodAny, "many">;
|
|
@@ -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;AAOrC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAUhE,OAAO,KAAK,EAAc,WAAW,EAAE,MAAM,aAAa,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;AAOrC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAUhE,OAAO,KAAK,EAAc,WAAW,EAAE,MAAM,aAAa,CAAC;AAiZ3D,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,eAAe,EACf,kBAAkB,EAClB,KAAK,EACL,UAAU,EACV,WAAW,EACX,gBAAgB,EAChB,aAAa,EACb,eAAe,EACf,OAAO,EACP,iBAAiB,EACjB,UAAU,EACV,MAAM,EACN,gBAAgB,EAChB,OAAO,EACP,eAAe,EACf,mBAAmB,EACnB,eAAe,GAChB,EAAE,WAAW,CAAC,KAAK,EAAE,MAAM,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gKAuV5B"}
|
|
@@ -3,8 +3,8 @@ import type { OutputSchema } from '../../../stream/base/schema.js';
|
|
|
3
3
|
import type { ChunkType } from '../../../stream/types.js';
|
|
4
4
|
import type { LoopRun } from '../../types.js';
|
|
5
5
|
interface AgenticLoopParams<Tools extends ToolSet = ToolSet, OUTPUT extends OutputSchema = undefined> extends LoopRun<Tools, OUTPUT> {
|
|
6
|
-
controller: ReadableStreamDefaultController<ChunkType
|
|
7
|
-
writer: WritableStream<ChunkType
|
|
6
|
+
controller: ReadableStreamDefaultController<ChunkType<OUTPUT>>;
|
|
7
|
+
writer: WritableStream<ChunkType<OUTPUT>>;
|
|
8
8
|
}
|
|
9
9
|
export declare function createAgenticLoopWorkflow<Tools extends ToolSet = ToolSet, OUTPUT extends OutputSchema = undefined>(params: AgenticLoopParams<Tools, OUTPUT>): import("../../../workflows").Workflow<import("../../..").DefaultEngineType, import("../../..").Step<string, any, any, any, any, import("../../..").DefaultEngineType>[], "agentic-loop", import("zod").ZodObject<{
|
|
10
10
|
messageId: import("zod").ZodString;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/loop/workflows/agentic-loop/index.ts"],"names":[],"mappings":"AAAA,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,iB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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAqJzC"}
|
|
@@ -4,6 +4,7 @@ import type { LanguageModelV2FinishReason, LanguageModelV2CallWarning, SharedV2P
|
|
|
4
4
|
import type { LanguageModelRequestMetadata } from 'ai';
|
|
5
5
|
import type { StepResult, ModelMessage, LanguageModelUsage, ToolSet, TypedToolCall, TypedToolResult, StaticToolCall, StaticToolResult, DynamicToolCall, DynamicToolResult, GeneratedFile } from 'ai-v5';
|
|
6
6
|
import z from 'zod';
|
|
7
|
+
import type { InferSchemaOutput, OutputSchema } from '../../stream/base/schema.js';
|
|
7
8
|
export interface LLMIterationStepResult {
|
|
8
9
|
reason: LanguageModelV2FinishReason | 'abort';
|
|
9
10
|
warnings: LanguageModelV2CallWarning[];
|
|
@@ -14,7 +15,7 @@ export interface LLMIterationStepResult {
|
|
|
14
15
|
messageId?: string;
|
|
15
16
|
request?: LanguageModelRequestMetadata;
|
|
16
17
|
}
|
|
17
|
-
export interface LLMIterationOutput<Tools extends ToolSet = ToolSet> {
|
|
18
|
+
export interface LLMIterationOutput<Tools extends ToolSet = ToolSet, OUTPUT extends OutputSchema = undefined> {
|
|
18
19
|
text?: string;
|
|
19
20
|
reasoning?: ReasoningPart[];
|
|
20
21
|
reasoningText?: string;
|
|
@@ -28,6 +29,7 @@ export interface LLMIterationOutput<Tools extends ToolSet = ToolSet> {
|
|
|
28
29
|
dynamicToolResults?: DynamicToolResult[];
|
|
29
30
|
usage: LanguageModelUsage;
|
|
30
31
|
steps: StepResult<Tools>[];
|
|
32
|
+
object?: InferSchemaOutput<OUTPUT>;
|
|
31
33
|
}
|
|
32
34
|
export interface LLMIterationMetadata {
|
|
33
35
|
id?: string;
|
|
@@ -43,14 +45,14 @@ export interface LLMIterationMetadata {
|
|
|
43
45
|
headers?: Record<string, string>;
|
|
44
46
|
request?: LanguageModelRequestMetadata;
|
|
45
47
|
}
|
|
46
|
-
export interface LLMIterationData<Tools extends ToolSet = ToolSet> {
|
|
48
|
+
export interface LLMIterationData<Tools extends ToolSet = ToolSet, OUTPUT extends OutputSchema = undefined> {
|
|
47
49
|
messageId: string;
|
|
48
50
|
messages: {
|
|
49
51
|
all: ModelMessage[];
|
|
50
52
|
user: ModelMessage[];
|
|
51
53
|
nonUser: ModelMessage[];
|
|
52
54
|
};
|
|
53
|
-
output: LLMIterationOutput<Tools>;
|
|
55
|
+
output: LLMIterationOutput<Tools, OUTPUT>;
|
|
54
56
|
metadata: LLMIterationMetadata;
|
|
55
57
|
stepResult: LLMIterationStepResult;
|
|
56
58
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../src/loop/workflows/schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,kBAAkB,CAAC;AAChE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,KAAK,EACV,2BAA2B,EAC3B,0BAA0B,EAC1B,wBAAwB,EACxB,qBAAqB,EACtB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,IAAI,CAAC;AACvD,OAAO,KAAK,EACV,UAAU,EACV,YAAY,EACZ,kBAAkB,EAClB,OAAO,EACP,aAAa,EACb,eAAe,EACf,cAAc,EACd,gBAAgB,EAChB,eAAe,EACf,iBAAiB,EACjB,aAAa,EACd,MAAM,OAAO,CAAC;AACf,OAAO,CAAC,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../src/loop/workflows/schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,kBAAkB,CAAC;AAChE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,KAAK,EACV,2BAA2B,EAC3B,0BAA0B,EAC1B,wBAAwB,EACxB,qBAAqB,EACtB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,IAAI,CAAC;AACvD,OAAO,KAAK,EACV,UAAU,EACV,YAAY,EACZ,kBAAkB,EAClB,OAAO,EACP,aAAa,EACb,eAAe,EACf,cAAc,EACd,gBAAgB,EAChB,eAAe,EACf,iBAAiB,EACjB,aAAa,EACd,MAAM,OAAO,CAAC;AACf,OAAO,CAAC,MAAM,KAAK,CAAC;AACpB,OAAO,KAAK,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAGhF,MAAM,WAAW,sBAAsB;IACrC,MAAM,EAAE,2BAA2B,GAAG,OAAO,CAAC;IAC9C,QAAQ,EAAE,0BAA0B,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;;;;EAO9B,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAG/B,CAAC"}
|
|
@@ -16,5 +16,5 @@ import type { LoopRun } from '../types.js';
|
|
|
16
16
|
* @returns true if the controller is open and can accept data
|
|
17
17
|
*/
|
|
18
18
|
export declare function isControllerOpen(controller: ReadableStreamDefaultController<any>): boolean;
|
|
19
|
-
export declare function workflowLoopStream<Tools extends ToolSet = ToolSet, OUTPUT extends OutputSchema | undefined = undefined>({ resumeContext, requireToolApproval, telemetry_settings, models, toolChoice, modelSettings, _internal, modelStreamSpan, llmAISpan, messageId, runId, messageList, startTimestamp, streamState, ...rest }: LoopRun<Tools, OUTPUT>): ReadableStream<ChunkType
|
|
19
|
+
export declare function workflowLoopStream<Tools extends ToolSet = ToolSet, OUTPUT extends OutputSchema | undefined = undefined>({ resumeContext, requireToolApproval, telemetry_settings, models, toolChoice, modelSettings, _internal, modelStreamSpan, llmAISpan, messageId, runId, messageList, startTimestamp, streamState, ...rest }: LoopRun<Tools, OUTPUT>): ReadableStream<ChunkType<OUTPUT>>;
|
|
20
20
|
//# sourceMappingURL=stream.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stream.d.ts","sourceRoot":"","sources":["../../../src/loop/workflows/stream.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAC5C,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACrC,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,kBAAkB,EAClB,MAAM,EACN,UAAU,EACV,aAAa,EACb,SAAS,EACT,eAAe,EACf,SAAS,EACT,SAAS,EACT,KAAK,EACL,WAAW,EACX,cAAc,EACd,WAAW,EACX,GAAG,IAAI,EACR,EAAE,OAAO,CAAC,KAAK,EAAE,MAAM,CAAC,
|
|
1
|
+
{"version":3,"file":"stream.d.ts","sourceRoot":"","sources":["../../../src/loop/workflows/stream.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAC5C,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACrC,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,kBAAkB,EAClB,MAAM,EACN,UAAU,EACV,aAAa,EACb,SAAS,EACT,eAAe,EACf,SAAS,EACT,SAAS,EACT,KAAK,EACL,WAAW,EACX,cAAc,EACd,WAAW,EACX,GAAG,IAAI,EACR,EAAE,OAAO,CAAC,KAAK,EAAE,MAAM,CAAC,qCA+IxB"}
|
package/dist/mastra/index.cjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk7EUC32F3_cjs = require('../chunk-7EUC32F3.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 chunk7EUC32F3_cjs.Mastra; }
|
|
10
10
|
});
|
|
11
11
|
//# sourceMappingURL=index.cjs.map
|
|
12
12
|
//# sourceMappingURL=index.cjs.map
|
package/dist/mastra/index.d.ts
CHANGED
|
@@ -9,7 +9,6 @@ import { LogLevel } from '../logger/index.js';
|
|
|
9
9
|
import type { IMastraLogger } from '../logger/index.js';
|
|
10
10
|
import type { MCPServerBase } from '../mcp/index.js';
|
|
11
11
|
import type { MastraMemory } from '../memory/memory.js';
|
|
12
|
-
import type { NewAgentNetwork } from '../network/vNext/index.js';
|
|
13
12
|
import type { MastraScorer } from '../scores/index.js';
|
|
14
13
|
import type { Middleware, ServerConfig } from '../server/types.js';
|
|
15
14
|
import type { MastraStorage } from '../storage/index.js';
|
|
@@ -20,9 +19,8 @@ import type { MastraIdGenerator } from '../types/index.js';
|
|
|
20
19
|
import type { MastraVector } from '../vector/index.js';
|
|
21
20
|
import type { Workflow } from '../workflows/index.js';
|
|
22
21
|
import type { LegacyWorkflow } from '../workflows/legacy/index.js';
|
|
23
|
-
export interface Config<TAgents extends Record<string, Agent<any>> = Record<string, Agent<any>>, TLegacyWorkflows extends Record<string, LegacyWorkflow> = Record<string, LegacyWorkflow>, TWorkflows extends Record<string, Workflow<any, any, any, any, any, any>> = Record<string, Workflow<any, any, any, any, any, any>>, TVectors extends Record<string, MastraVector> = Record<string, MastraVector>, TTTS extends Record<string, MastraTTS> = Record<string, MastraTTS>, TLogger extends IMastraLogger = IMastraLogger,
|
|
22
|
+
export interface Config<TAgents extends Record<string, Agent<any>> = Record<string, Agent<any>>, TLegacyWorkflows extends Record<string, LegacyWorkflow> = Record<string, LegacyWorkflow>, TWorkflows extends Record<string, Workflow<any, any, any, any, any, any>> = Record<string, Workflow<any, any, any, any, any, any>>, TVectors extends Record<string, MastraVector> = Record<string, MastraVector>, TTTS extends Record<string, MastraTTS> = Record<string, MastraTTS>, TLogger extends IMastraLogger = IMastraLogger, TMCPServers extends Record<string, MCPServerBase> = Record<string, MCPServerBase>, TScorers extends Record<string, MastraScorer<any, any, any, any>> = Record<string, MastraScorer<any, any, any, any>>> {
|
|
24
23
|
agents?: TAgents;
|
|
25
|
-
vnext_networks?: TVNextNetworks;
|
|
26
24
|
storage?: MastraStorage;
|
|
27
25
|
vectors?: TVectors;
|
|
28
26
|
logger?: TLogger | false;
|
|
@@ -52,7 +50,7 @@ export interface Config<TAgents extends Record<string, Agent<any>> = Record<stri
|
|
|
52
50
|
[topic: string]: (event: Event, cb?: () => Promise<void>) => Promise<void> | ((event: Event, cb?: () => Promise<void>) => Promise<void>)[];
|
|
53
51
|
};
|
|
54
52
|
}
|
|
55
|
-
export declare class Mastra<TAgents extends Record<string, Agent<any>> = Record<string, Agent<any>>, TLegacyWorkflows extends Record<string, LegacyWorkflow> = Record<string, LegacyWorkflow>, TWorkflows extends Record<string, Workflow<any, any, any, any, any, any>> = Record<string, Workflow<any, any, any, any, any, any>>, TVectors extends Record<string, MastraVector> = Record<string, MastraVector>, TTTS extends Record<string, MastraTTS> = Record<string, MastraTTS>, TLogger extends IMastraLogger = IMastraLogger,
|
|
53
|
+
export declare class Mastra<TAgents extends Record<string, Agent<any>> = Record<string, Agent<any>>, TLegacyWorkflows extends Record<string, LegacyWorkflow> = Record<string, LegacyWorkflow>, TWorkflows extends Record<string, Workflow<any, any, any, any, any, any>> = Record<string, Workflow<any, any, any, any, any, any>>, TVectors extends Record<string, MastraVector> = Record<string, MastraVector>, TTTS extends Record<string, MastraTTS> = Record<string, MastraTTS>, TLogger extends IMastraLogger = IMastraLogger, TMCPServers extends Record<string, MCPServerBase> = Record<string, MCPServerBase>, TScorers extends Record<string, MastraScorer<any, any, any, any>> = Record<string, MastraScorer<any, any, any, any>>> {
|
|
56
54
|
#private;
|
|
57
55
|
/**
|
|
58
56
|
* @deprecated use getTelemetry() instead
|
|
@@ -74,7 +72,7 @@ export declare class Mastra<TAgents extends Record<string, Agent<any>> = Record<
|
|
|
74
72
|
*/
|
|
75
73
|
generateId(): string;
|
|
76
74
|
setIdGenerator(idGenerator: MastraIdGenerator): void;
|
|
77
|
-
constructor(config?: Config<TAgents, TLegacyWorkflows, TWorkflows, TVectors, TTTS, TLogger,
|
|
75
|
+
constructor(config?: Config<TAgents, TLegacyWorkflows, TWorkflows, TVectors, TTTS, TLogger, TMCPServers, TScorers>);
|
|
78
76
|
/**
|
|
79
77
|
* Register this Mastra instance with AI tracing exporters that need it
|
|
80
78
|
*/
|
|
@@ -124,10 +122,8 @@ export declare class Mastra<TAgents extends Record<string, Agent<any>> = Record<
|
|
|
124
122
|
}[];
|
|
125
123
|
getServerCache(): MastraServerCache;
|
|
126
124
|
setServerMiddleware(serverMiddleware: Middleware | Middleware[]): void;
|
|
127
|
-
vnext_getNetworks(): NewAgentNetwork[];
|
|
128
125
|
getServer(): ServerConfig | undefined;
|
|
129
126
|
getBundlerConfig(): BundlerConfig | undefined;
|
|
130
|
-
vnext_getNetwork(networkId: string): NewAgentNetwork | undefined;
|
|
131
127
|
getLogsByRunId({ runId, transportId, fromDate, toDate, logLevel, filters, page, perPage, }: {
|
|
132
128
|
runId: string;
|
|
133
129
|
transportId: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/mastra/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAEtC,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,eAAe,CAAC;AACjE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEtD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAClD,OAAO,KA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D.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "MastraMemory", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkZNK5RN5D_cjs.MastraMemory; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "MemoryProcessor", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkZNK5RN5D_cjs.MemoryProcessor; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "memoryDefaultOptions", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkZNK5RN5D_cjs.memoryDefaultOptions; }
|
|
18
18
|
});
|
|
19
19
|
//# sourceMappingURL=index.cjs.map
|
|
20
20
|
//# sourceMappingURL=index.cjs.map
|
package/dist/memory/index.js
CHANGED
package/dist/memory/memory.d.ts
CHANGED
|
@@ -36,8 +36,13 @@ export declare const memoryDefaultOptions: {
|
|
|
36
36
|
};
|
|
37
37
|
};
|
|
38
38
|
/**
|
|
39
|
-
* Abstract
|
|
40
|
-
*
|
|
39
|
+
* Abstract base class for implementing conversation memory systems.
|
|
40
|
+
*
|
|
41
|
+
* Key features:
|
|
42
|
+
* - Thread-based conversation organization with resource association
|
|
43
|
+
* - Optional vector database integration for semantic similarity search
|
|
44
|
+
* - Working memory templates for structured conversation state
|
|
45
|
+
* - Handles memory processors to manipulate messages before they are sent to the LLM
|
|
41
46
|
*/
|
|
42
47
|
export declare abstract class MastraMemory extends MastraBase {
|
|
43
48
|
#private;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"memory.d.ts","sourceRoot":"","sources":["../../src/memory/memory.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,KAAK,EAAE,gBAAgB,EAAE,WAAW,EAAE,W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