@mastra/core 1.87.0-alpha.0 → 1.87.0-alpha.2
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/dist/_types/@ai-sdk_anthropic@3.0.137/dist/index.d.ts +2 -2
- package/dist/_types/@ai-sdk_google@3.0.140/dist/index.d.ts +2 -2
- package/dist/_types/@ai-sdk_openai@3.0.135/dist/index.d.ts +2 -2
- package/dist/a2a/index.cjs +1 -1
- package/dist/a2a/index.js +1 -1
- package/dist/agent/durable/index.cjs +2 -1
- package/dist/agent/durable/index.d.ts +1 -0
- package/dist/agent/durable/index.js +2 -2
- package/dist/agent/durable/run-registry.d.ts +12 -1
- package/dist/agent/durable/types.d.ts +2 -0
- package/dist/agent/durable/workflows/finalize-run.d.ts +2 -1
- package/dist/agent/index.cjs +3 -3
- package/dist/agent/index.js +3 -3
- package/dist/agent/message-list/index.cjs +1 -1
- package/dist/agent/message-list/index.js +1 -1
- package/dist/agent/thread-stream-runtime.d.ts +3 -1
- package/dist/agent-builder/ee/index.cjs +1 -1
- package/dist/agent-builder/ee/index.js +1 -1
- package/dist/agent-controller/index.cjs +1 -1
- package/dist/agent-controller/index.js +1 -1
- package/dist/{agent-controller-B8LoFdtu.js → agent-controller-Dc58ARqw.js} +6 -6
- package/dist/{agent-controller-DSnFynpa.cjs → agent-controller-v64JbuDa.cjs} +6 -6
- package/dist/background-tasks/index.cjs +1 -1
- package/dist/background-tasks/index.js +1 -1
- package/dist/{background-tasks-Ci5h0dhj.cjs → background-tasks-DgiQNKh7.cjs} +1 -1
- package/dist/{background-tasks-IW7M4iD2.js → background-tasks-E-Jjxks4.js} +1 -1
- package/dist/browser/index.cjs +1 -1
- package/dist/browser/index.js +1 -1
- package/dist/{builder-14Uptu8y.cjs → builder-Dfp6Ckjr.cjs} +2 -2
- package/dist/{builder-DI2c2xjy.js → builder-Dh175HnQ.js} +2 -2
- package/dist/capabilities/302ai.json +197 -197
- package/dist/capabilities/abliteratedllm.json +27 -27
- package/dist/capabilities/abliteration-ai.json +10 -10
- package/dist/capabilities/above.json +22 -22
- package/dist/capabilities/adaption.json +12 -12
- package/dist/capabilities/adzuki.json +29 -29
- package/dist/capabilities/agentrouter.json +8 -8
- package/dist/capabilities/agnes.json +3 -3
- package/dist/capabilities/ai-router.json +5 -5
- package/dist/capabilities/aiand.json +23 -23
- package/dist/capabilities/aigrow.json +12 -12
- package/dist/capabilities/aimlapi.json +151 -152
- package/dist/capabilities/aixy.json +23 -23
- package/dist/capabilities/aki-io.json +14 -14
- package/dist/capabilities/alibaba-cn.json +92 -92
- package/dist/capabilities/alibaba-coding-plan-cn.json +5 -5
- package/dist/capabilities/alibaba-coding-plan.json +5 -5
- package/dist/capabilities/alibaba-token-plan-cn.json +53 -53
- package/dist/capabilities/alibaba-token-plan.json +51 -51
- package/dist/capabilities/alibaba.json +62 -62
- package/dist/capabilities/ambient.json +10 -10
- package/dist/capabilities/amd.json +8 -8
- package/dist/capabilities/anthropic.json +34 -34
- package/dist/capabilities/anyapi.json +18 -18
- package/dist/capabilities/apiko.json +4 -4
- package/dist/capabilities/arcee.json +6 -6
- package/dist/capabilities/augure.json +7 -7
- package/dist/capabilities/auriko.json +21 -21
- package/dist/capabilities/bailing.json +5 -5
- package/dist/capabilities/baseten.json +28 -28
- package/dist/capabilities/bee.json +2 -2
- package/dist/capabilities/berget.json +4 -4
- package/dist/capabilities/bothub.json +16 -16
- package/dist/capabilities/boundless.json +39 -39
- package/dist/capabilities/bumo.json +42 -42
- package/dist/capabilities/byteplus.json +29 -29
- package/dist/capabilities/cerebras.json +4 -4
- package/dist/capabilities/cheapaimodel.json +10 -10
- package/dist/capabilities/cheapest-token.json +29 -29
- package/dist/capabilities/chutes.json +5 -5
- package/dist/capabilities/cline-pass.json +39 -39
- package/dist/capabilities/cloudcode.json +8 -8
- package/dist/capabilities/cloudflare-workers-ai.json +18 -18
- package/dist/capabilities/commandcode.json +154 -154
- package/dist/capabilities/concentrate.json +269 -269
- package/dist/capabilities/cortecs.json +113 -113
- package/dist/capabilities/crossmodel.json +168 -168
- package/dist/capabilities/crusoe.json +9 -9
- package/dist/capabilities/daoxe.json +9 -9
- package/dist/capabilities/databricks.json +128 -128
- package/dist/capabilities/deepinfra.json +99 -99
- package/dist/capabilities/deepseek.json +4 -4
- package/dist/capabilities/digitalocean.json +117 -117
- package/dist/capabilities/dothoosh.json +30 -30
- package/dist/capabilities/doubleword.json +27 -27
- package/dist/capabilities/edenai.json +901 -1734
- package/dist/capabilities/empiriolabs.json +175 -175
- package/dist/capabilities/engy.json +21 -21
- package/dist/capabilities/evroc.json +13 -13
- package/dist/capabilities/ezkielyna.json +8 -8
- package/dist/capabilities/fastrouter.json +78 -78
- package/dist/capabilities/fireworks-ai.json +68 -68
- package/dist/capabilities/freemodel.json +21 -21
- package/dist/capabilities/frogbot.json +96 -96
- package/dist/capabilities/gisoo.json +17 -17
- package/dist/capabilities/gmicloud.json +12 -12
- package/dist/capabilities/google.json +51 -51
- package/dist/capabilities/graphn.json +16 -16
- package/dist/capabilities/greenpt.json +35 -35
- package/dist/capabilities/groq.json +2 -2
- package/dist/capabilities/helicone.json +85 -85
- package/dist/capabilities/hopper.json +2 -2
- package/dist/capabilities/hostinger-router.json +13 -13
- package/dist/capabilities/hpc-ai.json +4 -4
- package/dist/capabilities/huawei-maas.json +12 -12
- package/dist/capabilities/hubris.json +29 -29
- package/dist/capabilities/huggingface.json +89 -89
- package/dist/capabilities/humain.json +2 -2
- package/dist/capabilities/hyper.json +27 -27
- package/dist/capabilities/impossibl.json +149 -149
- package/dist/capabilities/inception.json +3 -3
- package/dist/capabilities/inco.json +4 -4
- package/dist/capabilities/infer.json +12 -12
- package/dist/capabilities/inferall.json +10 -10
- package/dist/capabilities/inference-coop.json +11 -11
- package/dist/capabilities/inferenceapis.json +17 -17
- package/dist/capabilities/inferris.json +4 -4
- package/dist/capabilities/infersia.json +12 -12
- package/dist/capabilities/infomaniak.json +3 -3
- package/dist/capabilities/io-net.json +2 -2
- package/dist/capabilities/isoquant.json +4 -4
- package/dist/capabilities/iteracompute.json +44 -44
- package/dist/capabilities/jad-ai.json +2 -2
- package/dist/capabilities/jalapeno.json +11 -11
- package/dist/capabilities/jiekou.json +68 -68
- package/dist/capabilities/jzstoken.json +48 -48
- package/dist/capabilities/keln.json +20 -20
- package/dist/capabilities/kenari.json +125 -125
- package/dist/capabilities/kilo.json +623 -623
- package/dist/capabilities/kimi-code-plan-cn.json +4 -4
- package/dist/capabilities/kimi-code-plan-global.json +4 -4
- package/dist/capabilities/kitani.json +2 -2
- package/dist/capabilities/klavo.json +18 -18
- package/dist/capabilities/korouter.json +30 -30
- package/dist/capabilities/kunavo.json +6 -6
- package/dist/capabilities/liquid.json +12 -12
- package/dist/capabilities/lithosai.json +2 -2
- package/dist/capabilities/llmgateway-providers.json +916 -916
- package/dist/capabilities/llmgateway.json +339 -339
- package/dist/capabilities/llmtr.json +31 -31
- package/dist/capabilities/longcat.json +2 -2
- package/dist/capabilities/lowrouter.json +51 -51
- package/dist/capabilities/lyceum.json +4 -4
- package/dist/capabilities/melious.json +12 -12
- package/dist/capabilities/merge-gateway.json +255 -254
- package/dist/capabilities/meta.json +7 -7
- package/dist/capabilities/minimax-cn-coding-plan.json +2 -2
- package/dist/capabilities/minimax-cn.json +5 -5
- package/dist/capabilities/minimax-coding-plan.json +2 -2
- package/dist/capabilities/minimax.json +5 -5
- package/dist/capabilities/mistral.json +18 -18
- package/dist/capabilities/mixlayer.json +5 -5
- package/dist/capabilities/modal.json +10 -10
- package/dist/capabilities/model-oracle-ai.json +21 -21
- package/dist/capabilities/modelis.json +19 -19
- package/dist/capabilities/modular.json +10 -10
- package/dist/capabilities/moneo.json +14 -14
- package/dist/capabilities/moonshotai-cn.json +5 -5
- package/dist/capabilities/moonshotai.json +5 -5
- package/dist/capabilities/morph.json +14 -14
- package/dist/capabilities/munito-eu.json +8 -8
- package/dist/capabilities/munito.json +9 -9
- package/dist/capabilities/nan.json +28 -28
- package/dist/capabilities/nano-gpt.json +586 -584
- package/dist/capabilities/nearai.json +87 -87
- package/dist/capabilities/nebius.json +26 -26
- package/dist/capabilities/neon.json +122 -122
- package/dist/capabilities/neuralwatt.json +45 -45
- package/dist/capabilities/nokeep.json +2 -2
- package/dist/capabilities/novita-ai.json +163 -163
- package/dist/capabilities/nvidia.json +22 -22
- package/dist/capabilities/oathbreaker.json +2 -2
- package/dist/capabilities/obscurify.json +25 -25
- package/dist/capabilities/oci.json +5 -5
- package/dist/capabilities/ofox.json +293 -293
- package/dist/capabilities/ollama-cloud.json +58 -58
- package/dist/capabilities/openai.json +55 -55
- package/dist/capabilities/opencode-go.json +86 -86
- package/dist/capabilities/openreason.json +4 -4
- package/dist/capabilities/openrouter.json +529 -535
- package/dist/capabilities/opper.json +27 -27
- package/dist/capabilities/orcarouter.json +192 -192
- package/dist/capabilities/outerlabs.json +31 -31
- package/dist/capabilities/ovhcloud.json +20 -20
- package/dist/capabilities/pareto.json +5 -5
- package/dist/capabilities/pendra.json +4 -4
- package/dist/capabilities/perplexity-agent.json +64 -64
- package/dist/capabilities/perplexity.json +2 -2
- package/dist/capabilities/phala.json +22 -22
- package/dist/capabilities/pioneer.json +20 -20
- package/dist/capabilities/poe.json +113 -113
- package/dist/capabilities/poolside.json +3 -3
- package/dist/capabilities/powerspring.json +9 -9
- package/dist/capabilities/primalabs.json +10 -10
- package/dist/capabilities/prime.json +110 -110
- package/dist/capabilities/privatemode-ai.json +12 -12
- package/dist/capabilities/proxystacks.json +7 -7
- package/dist/capabilities/qiniu-ai.json +14 -14
- package/dist/capabilities/refuseless.json +7 -7
- package/dist/capabilities/regolo-ai.json +8 -8
- package/dist/capabilities/requesty.json +172 -172
- package/dist/capabilities/ruapi.json +15 -15
- package/dist/capabilities/runcrate.json +6 -6
- package/dist/capabilities/runinfra.json +13 -13
- package/dist/capabilities/sakana.json +7 -7
- package/dist/capabilities/sambanova.json +9 -9
- package/dist/capabilities/sandbase.json +24 -24
- package/dist/capabilities/sarvam.json +12 -12
- package/dist/capabilities/scaleway.json +18 -18
- package/dist/capabilities/scnet-token-plan.json +9 -9
- package/dist/capabilities/scx-ai.json +30 -30
- package/dist/capabilities/sensenova.json +12 -12
- package/dist/capabilities/siliconflow-cn.json +45 -45
- package/dist/capabilities/siliconflow.json +53 -53
- package/dist/capabilities/snowflake-cortex.json +22 -22
- package/dist/capabilities/sokkan.json +7 -7
- package/dist/capabilities/sparrowcodes.json +19 -19
- package/dist/capabilities/standardcompute.json +89 -89
- package/dist/capabilities/steadyrouter.json +41 -41
- package/dist/capabilities/stepfun-ai-step-plan.json +5 -5
- package/dist/capabilities/stepfun-ai.json +5 -5
- package/dist/capabilities/stepfun-step-plan.json +5 -5
- package/dist/capabilities/stepfun.json +5 -5
- package/dist/capabilities/stepping-stone.json +11 -11
- package/dist/capabilities/subconscious.json +2 -2
- package/dist/capabilities/synthetic.json +10 -10
- package/dist/capabilities/synthorai.json +23 -23
- package/dist/capabilities/teamorouter.json +25 -25
- package/dist/capabilities/teapot-router.json +13 -13
- package/dist/capabilities/tencent-token-plan.json +40 -40
- package/dist/capabilities/tencent-tokenhub.json +45 -45
- package/dist/capabilities/tensorx.json +27 -27
- package/dist/capabilities/the-grid-ai.json +37 -37
- package/dist/capabilities/thinkingmachines.json +74 -74
- package/dist/capabilities/tinfoil.json +12 -12
- package/dist/capabilities/toapis.json +2 -2
- package/dist/capabilities/togetherai.json +53 -53
- package/dist/capabilities/tokengo.json +23 -23
- package/dist/capabilities/tokenify.json +9 -9
- package/dist/capabilities/trustedrouter.json +4 -4
- package/dist/capabilities/trustedtokens.json +12 -12
- package/dist/capabilities/umans-ai-coding-plan.json +14 -14
- package/dist/capabilities/umans-ai.json +10 -10
- package/dist/capabilities/unrestricted.json +8 -8
- package/dist/capabilities/uplinkswitch.json +23 -23
- package/dist/capabilities/upstage.json +7 -7
- package/dist/capabilities/vancine.json +26 -26
- package/dist/capabilities/vercel.json +576 -576
- package/dist/capabilities/vivgrid.json +85 -85
- package/dist/capabilities/volcengine-coding-plan.json +36 -27
- package/dist/capabilities/volcengine.json +27 -27
- package/dist/capabilities/vultr.json +31 -31
- package/dist/capabilities/wafer.ai.json +14 -14
- package/dist/capabilities/wallaby.json +5 -5
- package/dist/capabilities/wally.json +11 -11
- package/dist/capabilities/wandb.json +11 -11
- package/dist/capabilities/watt.json +24 -24
- package/dist/capabilities/xai.json +6 -6
- package/dist/capabilities/xpersona.json +12 -12
- package/dist/capabilities/xxapi.json +29 -29
- package/dist/capabilities/zai-coding-plan.json +6 -6
- package/dist/capabilities/zai.json +32 -32
- package/dist/capabilities/zenifra.json +27 -27
- package/dist/capabilities/zenmux.json +186 -186
- package/dist/capabilities/zerogpu.json +14 -14
- package/dist/capabilities/zhipuai-coding-plan.json +8 -8
- package/dist/capabilities/zhipuai.json +31 -31
- package/dist/capabilities/zro.json +6 -6
- package/dist/channels/agent-channels.d.ts +7 -0
- package/dist/channels/attach-file-tool.d.ts +22 -0
- package/dist/channels/index.cjs +11 -2
- package/dist/channels/index.d.ts +10 -0
- package/dist/channels/index.js +3 -3
- package/dist/channels/reply-guidance-processor.d.ts +26 -0
- package/dist/channels/reply-mode.d.ts +66 -0
- package/dist/channels/reply-reminder-processor.d.ts +23 -0
- package/dist/channels/reply-tool.d.ts +43 -0
- package/dist/channels/thread-link-processor.d.ts +48 -0
- package/dist/channels/thread-lookup.d.ts +16 -0
- package/dist/channels/tool-announcement-processor.d.ts +29 -0
- package/dist/channels/types.d.ts +25 -0
- package/dist/{channels-Wh32drgu.js → channels-0AO7PMJF.js} +99 -2
- package/dist/{channels-tVV_de9Q.cjs → channels-BZL9RT2i.cjs} +122 -1
- package/dist/coding-agent/index.cjs +1 -1
- package/dist/coding-agent/index.js +1 -1
- package/dist/datasets/experiment/index.d.ts +1 -1
- package/dist/datasets/experiment/item.d.ts +4 -3
- package/dist/datasets/experiment/scorer.d.ts +34 -11
- package/dist/datasets/index.cjs +3 -2
- package/dist/datasets/index.js +3 -3
- package/dist/{dist-ByO0vuJJ-BjMue5_p.cjs → dist-CufwpBZM-CwERFaas.cjs} +4 -4
- package/dist/{dist-ByO0vuJJ-CCXLBnvJ.js → dist-CufwpBZM-DK14Qe0Z.js} +4 -4
- package/dist/docs/SKILL.md +2 -1
- package/dist/docs/assets/SOURCE_MAP.json +743 -743
- package/dist/docs/references/docs-channels.md +43 -0
- package/dist/docs/references/docs-evals-experiments.md +13 -3
- package/dist/docs/references/reference-agents-durable-agent.md +2 -0
- package/dist/docs/references/reference-channels-thread-link.md +67 -0
- package/dist/docs/references/reference-workspace-factory-sandbox.md +2 -1
- package/dist/docs/references/reference.md +1 -0
- package/dist/evals/index.cjs +1 -1
- package/dist/evals/index.js +1 -1
- package/dist/evals/scoreTraces/index.cjs +1 -1
- package/dist/evals/scoreTraces/index.js +1 -1
- package/dist/harness/index.cjs +1 -1
- package/dist/harness/index.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/knowledge/importers/host.d.ts +7 -1
- package/dist/knowledge/importers/runner.d.ts +12 -0
- package/dist/knowledge/importers/types.d.ts +2 -0
- package/dist/knowledge/index.cjs +82 -6
- package/dist/knowledge/index.js +82 -6
- package/dist/llm/index.cjs +3 -3
- package/dist/llm/index.js +3 -3
- package/dist/llm/model/provider-types.generated.d.ts +7397 -7534
- package/dist/{llm-B1zaFLYZ.js → llm-B46V7Mi7.js} +2 -2
- package/dist/{llm-BAiOsNAP.cjs → llm-B4AeSFvV.cjs} +2 -2
- package/dist/loop/index.cjs +2 -2
- package/dist/loop/index.js +2 -2
- package/dist/{manager-ChK9GdGz.js → manager-BRAvwB9b.js} +120 -70
- package/dist/{manager-BVX9nVrM.cjs → manager-BwDxA1Nn.cjs} +125 -69
- package/dist/mastra/index.cjs +1 -1
- package/dist/mastra/index.js +1 -1
- package/dist/{mastra-CUGfgEpZ.js → mastra-CIx6qEq2.js} +16 -16
- package/dist/{mastra-HSmofHEJ.cjs → mastra-DBhdD172.cjs} +16 -16
- package/dist/memory/index.cjs +3 -3
- package/dist/memory/index.js +3 -3
- package/dist/{message-list-Cj0Sq_JP.cjs → message-list-DfN9mWeN.cjs} +121 -121
- package/dist/{message-list-KRbg-TnI.js → message-list-wI71UGxk.js} +1 -1
- package/dist/{model-C47BJRtR.js → model-CJMsDU8w.js} +1 -1
- package/dist/{model-WahorgzJ.cjs → model-CYhAa5qO.cjs} +1 -1
- package/dist/{netlify-D99AnEhW.cjs → netlify-Bw7Vd58y.cjs} +11 -11
- package/dist/{netlify-CfDXkuLf.js → netlify-C9aJA6Cv.js} +10 -10
- package/dist/notifications/index.cjs +1 -1
- package/dist/notifications/index.js +1 -1
- package/dist/processor-provider/index.cjs +1 -1
- package/dist/processor-provider/index.js +1 -1
- package/dist/processors/index.cjs +2 -2
- package/dist/processors/index.js +2 -2
- package/dist/{provider-registry-CO1NVbO5.cjs → provider-registry-Bn_7VvZ8.cjs} +22046 -22320
- package/dist/{provider-registry-CR385GJ4.js → provider-registry-DOfYSEju.js} +22046 -22320
- package/dist/provider-registry.json +22352 -22626
- package/dist/{registry-generator-Cvp34qcB.cjs → registry-generator-BnK5Npgr.cjs} +1 -1
- package/dist/{registry-generator-B3erRqYS.js → registry-generator-Cw594Ttt.js} +1 -1
- package/dist/{rehydrate-Da4hNuaK.cjs → rehydrate-BWnd_TEx.cjs} +2 -2
- package/dist/{rehydrate-CJBLrZxs.js → rehydrate-Dgqkw7Py.js} +2 -2
- package/dist/relevance/index.cjs +2 -2
- package/dist/relevance/index.js +2 -2
- package/dist/{run-registry-DdeEBsVW.js → run-registry-DhOKJtlb.js} +848 -186
- package/dist/{run-registry-TOOfO3hT.cjs → run-registry-lLRc7EE6.cjs} +883 -185
- package/dist/storage/index.cjs +2 -2
- package/dist/storage/index.js +2 -2
- package/dist/stream/index.cjs +2 -2
- package/dist/stream/index.js +2 -2
- package/dist/{stream-DH7Qgz8l.cjs → stream-BIDts1fZ.cjs} +2 -2
- package/dist/{stream-C5PagEDs.js → stream-C8HKG3qC.js} +2 -2
- package/dist/test-utils/llm-mock.cjs +1 -1
- package/dist/test-utils/llm-mock.js +1 -1
- package/dist/tool-loop-agent/index.cjs +1 -1
- package/dist/tool-loop-agent/index.js +1 -1
- package/dist/{tool-loop-agent-DVYJXlQJ.js → tool-loop-agent-DM5V_0XS.js} +4 -4
- package/dist/{tool-loop-agent-CJTs4T8b.cjs → tool-loop-agent-PEY5a1R6.cjs} +4 -4
- package/dist/{utils-xJi_N6Tx.cjs → utils-CxMSu_wc.cjs} +1 -1
- package/dist/{utils-D8upuTwy.js → utils-DcnKVK34.js} +1 -1
- package/dist/utils.cjs +1 -1
- package/dist/utils.js +1 -1
- package/dist/{validate-DTkW3Vlp.js → validate-Dn750ciE.js} +1 -1
- package/dist/{validate-6eZ8Wssn.cjs → validate-RVKgazCf.cjs} +1 -1
- package/dist/vector/index.cjs +2 -2
- package/dist/vector/index.js +2 -2
- package/dist/worker/index.cjs +1 -1
- package/dist/worker/index.js +1 -1
- package/dist/{worker-24ORi-wV.cjs → worker-CFPu9qwV.cjs} +2 -2
- package/dist/{worker-Dqubrnf8.js → worker-DJPAdazC.js} +2 -2
- package/dist/{worker-BO3u_WjZ.cjs → worker-Dx0ZHMGX.cjs} +2 -2
- package/dist/{worker-DbcFkKJO.js → worker-SDi9jbP5.js} +2 -2
- package/dist/{workflow-wXOf72fO.js → workflow-DkBqNn7X.js} +3 -3
- package/dist/{workflow-D5Fc5ieC.cjs → workflow-ZFOz_365.cjs} +3 -3
- package/dist/workflows/builder/index.cjs +1 -1
- package/dist/workflows/builder/index.js +1 -1
- package/dist/workflows/evented/index.cjs +1 -1
- package/dist/workflows/evented/index.js +1 -1
- package/dist/workflows/index.cjs +4 -4
- package/dist/workflows/index.js +4 -4
- package/package.json +7 -7
- package/src/llm/model/provider-types.generated.d.ts +7397 -7534
- /package/dist/_types/{@ai-sdk_provider-utils@4.0.66 → @ai-sdk_provider-utils@4.0.67}/dist/index.d.ts +0 -0
- /package/dist/_types/{@ai-sdk_provider-utils@4.0.66 → @ai-sdk_provider-utils@4.0.67}/package.json +0 -0
|
@@ -6,7 +6,7 @@ import { a as isCreatedAgentSignal, l as mastraDBMessageToSignal, n as createSig
|
|
|
6
6
|
import { t as convertDataContentToBase64String$1 } from "./data-content-BCNBHZXc.js";
|
|
7
7
|
import { _ as detectMediaType$1, a as sanitizeToolName, c as getImageCacheKey, d as isBase64DataUri, f as isBase64Like, g as toBase64DataUri, h as resolveFilePartMediaTypeAndData, i as aiV5PromptToAIV7Prompt, l as imageContentToString, m as parseDataUri, n as aiV5ModelMessageToV2PromptMessage, o as categorizeFileData, p as isSendableFileData, r as aiV5PromptToAIV6Prompt, s as createDataUri, t as aiV4CoreMessageToV1PromptMessage, u as isAbsoluteUrl, v as imageMediaTypeSignatures$1 } from "./to-prompt-BsDtVXrf.js";
|
|
8
8
|
import { a as getToolName$1, n as convertToModelMessages, s as isToolUIPart$1 } from "./dist-TPVqg8oV.js";
|
|
9
|
-
import { A as resolve, C as getRuntimeEnvironmentUserAgent, D as isUrlSupported$1, E as isUint8Array, F as withUserAgentSuffix, I as zodSchema, M as safeParseJSON, N as safeValidateTypes, O as lazySchema, P as validateTypes, S as getErrorMessage$1, T as isArrayBuffer, _ as convertUint8ArrayToBase64$1, a as AISDKError, b as fetchWithValidatedRedirects, c as DelayedPromise, d as InvalidResponseDataError, f as TypeValidationError, g as convertBase64ToUint8Array$1, h as cancelResponseBody, i as gateway, j as retryWithExponentialBackoff, k as readResponseWithSizeLimit, l as DownloadError, m as asSchema, n as GatewayError, o as APICallError, p as UnsupportedFunctionalityError, s as DEFAULT_MAX_DOWNLOAD_SIZE, t as GatewayAuthenticationError, u as InvalidPromptError, v as createIdGenerator, w as isAbortError$1, x as getErrorMessage, y as executeTool } from "./dist-
|
|
9
|
+
import { A as resolve, C as getRuntimeEnvironmentUserAgent, D as isUrlSupported$1, E as isUint8Array, F as withUserAgentSuffix, I as zodSchema, M as safeParseJSON, N as safeValidateTypes, O as lazySchema, P as validateTypes, S as getErrorMessage$1, T as isArrayBuffer, _ as convertUint8ArrayToBase64$1, a as AISDKError, b as fetchWithValidatedRedirects, c as DelayedPromise, d as InvalidResponseDataError, f as TypeValidationError, g as convertBase64ToUint8Array$1, h as cancelResponseBody, i as gateway, j as retryWithExponentialBackoff, k as readResponseWithSizeLimit, l as DownloadError, m as asSchema, n as GatewayError, o as APICallError, p as UnsupportedFunctionalityError, s as DEFAULT_MAX_DOWNLOAD_SIZE, t as GatewayAuthenticationError, u as InvalidPromptError, v as createIdGenerator, w as isAbortError$1, x as getErrorMessage, y as executeTool } from "./dist-CufwpBZM-DK14Qe0Z.js";
|
|
10
10
|
import { t as convertToCoreMessages } from "./dist-D3cKCUe-.js";
|
|
11
11
|
import { t as deepEqual } from "./deep-equal-d1xU02ag.js";
|
|
12
12
|
import { n as DefaultGeneratedFileWithType$1 } from "./file-DGZrR5f7.js";
|
|
@@ -4,7 +4,7 @@ import { i as MastraError, n as ErrorDomain, t as ErrorCategory } from "./error-
|
|
|
4
4
|
import { n as executeWithContextSync, t as executeWithContext } from "./utils-DU_pU5SK.js";
|
|
5
5
|
import { S as resolveObservabilityContext } from "./observability-D7RNOAPx.js";
|
|
6
6
|
import { isStandardSchemaWithJSON, standardSchemaToJSONSchema, toStandardSchema } from "./schema/index.js";
|
|
7
|
-
import { i as delay, u as isZodType$1 } from "./utils-
|
|
7
|
+
import { i as delay, u as isZodType$1 } from "./utils-DcnKVK34.js";
|
|
8
8
|
import { i as isZodArray, t as getZodDef } from "./zod-utils-BDDS_mxU.js";
|
|
9
9
|
import { AnthropicSchemaCompatLayer, DeepSeekSchemaCompatLayer, GoogleSchemaCompatLayer, MetaSchemaCompatLayer, OpenAIReasoningSchemaCompatLayer, OpenAISchemaCompatLayer, applyCompatLayer, jsonSchema } from "@mastra/schema-compat";
|
|
10
10
|
// src/stream/aisdk/v4/usage.ts
|
|
@@ -3,7 +3,7 @@ const require_base = require("./base-BIzR1D3_.cjs");
|
|
|
3
3
|
const require_error = require("./error-D90lJ6M7.cjs");
|
|
4
4
|
const require_utils = require("./utils-D-eNsgDM.cjs");
|
|
5
5
|
const require_observability = require("./observability-B0R_D1PZ.cjs");
|
|
6
|
-
const require_utils$1 = require("./utils-
|
|
6
|
+
const require_utils$1 = require("./utils-CxMSu_wc.cjs");
|
|
7
7
|
const require_zod_utils = require("./zod-utils-Cl5jw5N_.cjs");
|
|
8
8
|
let _mastra_schema_compat = require("@mastra/schema-compat");
|
|
9
9
|
let _mastra_schema_compat_schema = require("@mastra/schema-compat/schema");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
const require_rolldown_runtime = require("./rolldown-runtime-BrhgMLW6.cjs");
|
|
2
2
|
const require_error = require("./error-D90lJ6M7.cjs");
|
|
3
|
-
const
|
|
3
|
+
const require_dist_CufwpBZM = require("./dist-CufwpBZM-CwERFaas.cjs");
|
|
4
4
|
const require_inmemory = require("./inmemory-Dc86VWGB.cjs");
|
|
5
5
|
let zod_v4 = require("zod/v4");
|
|
6
6
|
zod_v4 = require_rolldown_runtime.__toESM(zod_v4, 1);
|
|
@@ -491,7 +491,7 @@ var EventSourceParserStream$1 = class extends TransformStream {
|
|
|
491
491
|
});
|
|
492
492
|
}
|
|
493
493
|
};
|
|
494
|
-
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@ai-sdk/provider-utils/4.0.
|
|
494
|
+
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@ai-sdk/provider-utils/4.0.67/4bcc84694a2c16e463bd3d00b3fe0fc9a0c01f675e6c1d14b5d0206b95ff4b0b/node_modules/@ai-sdk/provider-utils/dist/index.mjs
|
|
495
495
|
function combineHeaders$2(...headers) {
|
|
496
496
|
return headers.reduce((combinedHeaders, currentHeaders) => ({
|
|
497
497
|
...combinedHeaders,
|
|
@@ -1071,7 +1071,7 @@ function withUserAgentSuffix$2(headers, ...userAgentSuffixParts) {
|
|
|
1071
1071
|
normalizedHeaders.set("user-agent", [currentUserAgentHeader, ...userAgentSuffixParts].filter(Boolean).join(" "));
|
|
1072
1072
|
return Object.fromEntries(normalizedHeaders.entries());
|
|
1073
1073
|
}
|
|
1074
|
-
var VERSION$15 = "4.0.
|
|
1074
|
+
var VERSION$15 = "4.0.67";
|
|
1075
1075
|
var getOriginalFetch$6 = () => globalThis.fetch;
|
|
1076
1076
|
var getFromApi$2 = async ({ url, headers = {}, successfulResponseHandler, failedResponseHandler, abortSignal, fetch, validateUrl, credentialedOrigin, trustedOrigin }) => {
|
|
1077
1077
|
try {
|
|
@@ -2168,7 +2168,7 @@ function standardSchema$2(standardSchema2) {
|
|
|
2168
2168
|
return addAdditionalPropertiesToJsonSchema$2(standardSchema2["~standard"].jsonSchema.input({ target: "draft-07" }));
|
|
2169
2169
|
}, { validate: async (value) => {
|
|
2170
2170
|
const result = await standardSchema2["~standard"].validate(value);
|
|
2171
|
-
return "value" in result ? {
|
|
2171
|
+
return result.issues === void 0 && "value" in result ? {
|
|
2172
2172
|
success: true,
|
|
2173
2173
|
value: result.value
|
|
2174
2174
|
} : {
|
|
@@ -2914,7 +2914,7 @@ var StreamingToolCallTracker$1 = class {
|
|
|
2914
2914
|
function withoutTrailingSlash$2(url) {
|
|
2915
2915
|
return url == null ? void 0 : url.replace(/\/$/, "");
|
|
2916
2916
|
}
|
|
2917
|
-
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@ai-sdk/openai-compatible/2.0.88/
|
|
2917
|
+
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@ai-sdk/openai-compatible/2.0.88/6014272a7121e6ab1afcd209ddec9c1784e0c4be2d9432509449579b589e4f97/node_modules/@ai-sdk/openai-compatible/dist/index.mjs
|
|
2918
2918
|
function toCamelCase$1(str) {
|
|
2919
2919
|
return str.replace(/[_-]([a-z])/g, (g) => g[1].toUpperCase());
|
|
2920
2920
|
}
|
|
@@ -4325,7 +4325,7 @@ function createOpenAICompatible(options) {
|
|
|
4325
4325
|
provider.imageModel = createImageModel;
|
|
4326
4326
|
return provider;
|
|
4327
4327
|
}
|
|
4328
|
-
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@ai-sdk/openai/3.0.135/
|
|
4328
|
+
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@ai-sdk/openai/3.0.135/3f1890aaa881039b4f1e2bd198b6b5ea32b7bca97065495b7fea0e0a8891a780/node_modules/@ai-sdk/openai/dist/index.mjs
|
|
4329
4329
|
var openaiErrorDataSchema = () => zod_v4.z.object({ error: zod_v4.z.object({
|
|
4330
4330
|
message: zod_v4.z.string(),
|
|
4331
4331
|
type: zod_v4.z.string().nullish(),
|
|
@@ -11278,7 +11278,7 @@ function findGatewayForModel(modelId, allGateways) {
|
|
|
11278
11278
|
text: `No Mastra model router gateway found for model id ${modelId}`
|
|
11279
11279
|
});
|
|
11280
11280
|
}
|
|
11281
|
-
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@ai-sdk/anthropic/3.0.137/
|
|
11281
|
+
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@ai-sdk/anthropic/3.0.137/c24fbb868c9637ce697ca71358f020a3b2f01f44f004519ab346d549f219a61f/node_modules/@ai-sdk/anthropic/dist/index.mjs
|
|
11282
11282
|
var VERSION$12 = "3.0.137";
|
|
11283
11283
|
var anthropicFailedResponseHandler = createJsonErrorResponseHandler$2({
|
|
11284
11284
|
errorSchema: lazySchema$1(() => zodSchema$2(zod_v4.z.object({
|
|
@@ -20709,7 +20709,7 @@ function createOpenRouter(options = {}) {
|
|
|
20709
20709
|
}
|
|
20710
20710
|
createOpenRouter({ compatibility: "strict" });
|
|
20711
20711
|
// src/llm/model/gateways/constants.ts
|
|
20712
|
-
const MASTRA_USER_AGENT = `mastra/1.87.0-alpha.
|
|
20712
|
+
const MASTRA_USER_AGENT = `mastra/1.87.0-alpha.2`;
|
|
20713
20713
|
const PROVIDERS_WITH_INSTALLED_PACKAGES = [
|
|
20714
20714
|
"anthropic",
|
|
20715
20715
|
"cerebras",
|
|
@@ -35956,7 +35956,7 @@ function createGroq(options = {}) {
|
|
|
35956
35956
|
return provider;
|
|
35957
35957
|
}
|
|
35958
35958
|
createGroq();
|
|
35959
|
-
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@ai-sdk/mistral/3.0.78/
|
|
35959
|
+
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@ai-sdk/mistral/3.0.78/5c8b3b740572806897519c078440250258ba23edc6c06423195a300eba63c869/node_modules/@ai-sdk/mistral/dist/index.mjs
|
|
35960
35960
|
var mistralPromptTokensDetailsSchema = zod_v4.z.object({
|
|
35961
35961
|
messages: zod_v4.z.array(zod_v4.z.json()).nullish(),
|
|
35962
35962
|
cached_tokens: zod_v4.z.number().nullish(),
|
|
@@ -36857,7 +36857,7 @@ function createMistral(options = {}) {
|
|
|
36857
36857
|
return provider;
|
|
36858
36858
|
}
|
|
36859
36859
|
createMistral();
|
|
36860
|
-
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@ai-sdk/perplexity/3.1.9/
|
|
36860
|
+
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@ai-sdk/perplexity/3.1.9/a3815c32484de1633c8bf2fbcfc37087ca094fa1f460b558986fa4aeb503a528/node_modules/@ai-sdk/perplexity/dist/index.mjs
|
|
36861
36861
|
var perplexityEmbeddingModelOptions = lazySchema$1(() => zodSchema$2(zod_v4.z.object({
|
|
36862
36862
|
/**
|
|
36863
36863
|
* The number of dimensions the resulting output embeddings should have
|
|
@@ -43194,7 +43194,7 @@ var ModelsDevGateway = class extends MastraModelGateway {
|
|
|
43194
43194
|
baseURL,
|
|
43195
43195
|
headers: mastraHeaders
|
|
43196
43196
|
})(modelId);
|
|
43197
|
-
case "vercel": return
|
|
43197
|
+
case "vercel": return require_dist_CufwpBZM.createGatewayProvider({
|
|
43198
43198
|
apiKey,
|
|
43199
43199
|
baseURL,
|
|
43200
43200
|
headers: mastraHeaders
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as __exportAll } from "./rolldown-runtime-tIEjjQTE.js";
|
|
2
2
|
import { i as MastraError } from "./error-oh2DLsP2.js";
|
|
3
|
-
import { r as createGatewayProvider } from "./dist-
|
|
3
|
+
import { r as createGatewayProvider } from "./dist-CufwpBZM-DK14Qe0Z.js";
|
|
4
4
|
import { t as InMemoryServerCache } from "./inmemory-BK3zLwvM.js";
|
|
5
5
|
import * as z4 from "zod/v4";
|
|
6
6
|
import { safeParseAsync, z } from "zod/v4";
|
|
@@ -490,7 +490,7 @@ var EventSourceParserStream$1 = class extends TransformStream {
|
|
|
490
490
|
});
|
|
491
491
|
}
|
|
492
492
|
};
|
|
493
|
-
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@ai-sdk/provider-utils/4.0.
|
|
493
|
+
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@ai-sdk/provider-utils/4.0.67/4bcc84694a2c16e463bd3d00b3fe0fc9a0c01f675e6c1d14b5d0206b95ff4b0b/node_modules/@ai-sdk/provider-utils/dist/index.mjs
|
|
494
494
|
function combineHeaders$2(...headers) {
|
|
495
495
|
return headers.reduce((combinedHeaders, currentHeaders) => ({
|
|
496
496
|
...combinedHeaders,
|
|
@@ -1070,7 +1070,7 @@ function withUserAgentSuffix$2(headers, ...userAgentSuffixParts) {
|
|
|
1070
1070
|
normalizedHeaders.set("user-agent", [currentUserAgentHeader, ...userAgentSuffixParts].filter(Boolean).join(" "));
|
|
1071
1071
|
return Object.fromEntries(normalizedHeaders.entries());
|
|
1072
1072
|
}
|
|
1073
|
-
var VERSION$15 = "4.0.
|
|
1073
|
+
var VERSION$15 = "4.0.67";
|
|
1074
1074
|
var getOriginalFetch$6 = () => globalThis.fetch;
|
|
1075
1075
|
var getFromApi$2 = async ({ url, headers = {}, successfulResponseHandler, failedResponseHandler, abortSignal, fetch, validateUrl, credentialedOrigin, trustedOrigin }) => {
|
|
1076
1076
|
try {
|
|
@@ -2167,7 +2167,7 @@ function standardSchema$2(standardSchema2) {
|
|
|
2167
2167
|
return addAdditionalPropertiesToJsonSchema$2(standardSchema2["~standard"].jsonSchema.input({ target: "draft-07" }));
|
|
2168
2168
|
}, { validate: async (value) => {
|
|
2169
2169
|
const result = await standardSchema2["~standard"].validate(value);
|
|
2170
|
-
return "value" in result ? {
|
|
2170
|
+
return result.issues === void 0 && "value" in result ? {
|
|
2171
2171
|
success: true,
|
|
2172
2172
|
value: result.value
|
|
2173
2173
|
} : {
|
|
@@ -2913,7 +2913,7 @@ var StreamingToolCallTracker$1 = class {
|
|
|
2913
2913
|
function withoutTrailingSlash$2(url) {
|
|
2914
2914
|
return url == null ? void 0 : url.replace(/\/$/, "");
|
|
2915
2915
|
}
|
|
2916
|
-
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@ai-sdk/openai-compatible/2.0.88/
|
|
2916
|
+
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@ai-sdk/openai-compatible/2.0.88/6014272a7121e6ab1afcd209ddec9c1784e0c4be2d9432509449579b589e4f97/node_modules/@ai-sdk/openai-compatible/dist/index.mjs
|
|
2917
2917
|
function toCamelCase$1(str) {
|
|
2918
2918
|
return str.replace(/[_-]([a-z])/g, (g) => g[1].toUpperCase());
|
|
2919
2919
|
}
|
|
@@ -4324,7 +4324,7 @@ function createOpenAICompatible(options) {
|
|
|
4324
4324
|
provider.imageModel = createImageModel;
|
|
4325
4325
|
return provider;
|
|
4326
4326
|
}
|
|
4327
|
-
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@ai-sdk/openai/3.0.135/
|
|
4327
|
+
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@ai-sdk/openai/3.0.135/3f1890aaa881039b4f1e2bd198b6b5ea32b7bca97065495b7fea0e0a8891a780/node_modules/@ai-sdk/openai/dist/index.mjs
|
|
4328
4328
|
var openaiErrorDataSchema = () => z.object({ error: z.object({
|
|
4329
4329
|
message: z.string(),
|
|
4330
4330
|
type: z.string().nullish(),
|
|
@@ -11277,7 +11277,7 @@ function findGatewayForModel(modelId, allGateways) {
|
|
|
11277
11277
|
text: `No Mastra model router gateway found for model id ${modelId}`
|
|
11278
11278
|
});
|
|
11279
11279
|
}
|
|
11280
|
-
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@ai-sdk/anthropic/3.0.137/
|
|
11280
|
+
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@ai-sdk/anthropic/3.0.137/c24fbb868c9637ce697ca71358f020a3b2f01f44f004519ab346d549f219a61f/node_modules/@ai-sdk/anthropic/dist/index.mjs
|
|
11281
11281
|
var VERSION$12 = "3.0.137";
|
|
11282
11282
|
var anthropicFailedResponseHandler = createJsonErrorResponseHandler$2({
|
|
11283
11283
|
errorSchema: lazySchema$1(() => zodSchema$2(z.object({
|
|
@@ -20708,7 +20708,7 @@ function createOpenRouter(options = {}) {
|
|
|
20708
20708
|
}
|
|
20709
20709
|
createOpenRouter({ compatibility: "strict" });
|
|
20710
20710
|
// src/llm/model/gateways/constants.ts
|
|
20711
|
-
const MASTRA_USER_AGENT = `mastra/1.87.0-alpha.
|
|
20711
|
+
const MASTRA_USER_AGENT = `mastra/1.87.0-alpha.2`;
|
|
20712
20712
|
const PROVIDERS_WITH_INSTALLED_PACKAGES = [
|
|
20713
20713
|
"anthropic",
|
|
20714
20714
|
"cerebras",
|
|
@@ -35955,7 +35955,7 @@ function createGroq(options = {}) {
|
|
|
35955
35955
|
return provider;
|
|
35956
35956
|
}
|
|
35957
35957
|
createGroq();
|
|
35958
|
-
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@ai-sdk/mistral/3.0.78/
|
|
35958
|
+
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@ai-sdk/mistral/3.0.78/5c8b3b740572806897519c078440250258ba23edc6c06423195a300eba63c869/node_modules/@ai-sdk/mistral/dist/index.mjs
|
|
35959
35959
|
var mistralPromptTokensDetailsSchema = z.object({
|
|
35960
35960
|
messages: z.array(z.json()).nullish(),
|
|
35961
35961
|
cached_tokens: z.number().nullish(),
|
|
@@ -36856,7 +36856,7 @@ function createMistral(options = {}) {
|
|
|
36856
36856
|
return provider;
|
|
36857
36857
|
}
|
|
36858
36858
|
createMistral();
|
|
36859
|
-
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@ai-sdk/perplexity/3.1.9/
|
|
36859
|
+
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@ai-sdk/perplexity/3.1.9/a3815c32484de1633c8bf2fbcfc37087ca094fa1f460b558986fa4aeb503a528/node_modules/@ai-sdk/perplexity/dist/index.mjs
|
|
36860
36860
|
var perplexityEmbeddingModelOptions = lazySchema$1(() => zodSchema$2(z.object({
|
|
36861
36861
|
/**
|
|
36862
36862
|
* The number of dimensions the resulting output embeddings should have
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_run_registry = require("../run-registry-
|
|
2
|
+
const require_run_registry = require("../run-registry-lLRc7EE6.cjs");
|
|
3
3
|
const require_tool = require("../tool-CYlT2UA-.cjs");
|
|
4
4
|
let zod_v4 = require("zod/v4");
|
|
5
5
|
// src/notifications/tool.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $r as
|
|
1
|
+
import { $r as notificationSummarySignalMetadata, Gr as InMemoryNotificationsStorage, Jr as createNotificationSignal, Kr as NotificationsStorage, Qr as notificationSummaryContents, Xr as notificationSignalAttributes, Yr as createNotificationSummarySignal, Zr as notificationSignalMetadata, ai as resolveNotificationDeliveryDecision, ei as summarizeNotifications, ii as resolveDeliveryFailureUpdate, ni as MAX_NOTIFICATION_DELIVERY_ATTEMPTS, qr as dispatchDueNotifications, ri as defaultNotificationDeliveryDecision, ti as readNotificationRoutingRequirement } from "../run-registry-DhOKJtlb.js";
|
|
2
2
|
import { r as createTool } from "../tool-Z3bykc1m.js";
|
|
3
3
|
import { z } from "zod/v4";
|
|
4
4
|
// src/notifications/tool.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_run_registry = require("../run-registry-
|
|
2
|
+
const require_run_registry = require("../run-registry-lLRc7EE6.cjs");
|
|
3
3
|
let zod_v4 = require("zod/v4");
|
|
4
4
|
// src/processor-provider/types.ts
|
|
5
5
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Cs as UnicodeNormalizer, Ss as ModerationProcessor, bs as PIIDetector, cs as TokenLimiterProcessor, hs as BatchPartsProcessor, rs as ToolCallFilter, ss as SystemPromptScrubber, xs as PromptInjectionDetector, ys as LanguageDetector } from "../run-registry-DhOKJtlb.js";
|
|
2
2
|
import { z } from "zod/v4";
|
|
3
3
|
// src/processor-provider/types.ts
|
|
4
4
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_run_registry = require("../run-registry-
|
|
3
|
-
const require_stream = require("../stream-
|
|
2
|
+
const require_run_registry = require("../run-registry-lLRc7EE6.cjs");
|
|
3
|
+
const require_stream = require("../stream-BIDts1fZ.cjs");
|
|
4
4
|
exports.AgentsMDInjector = require_run_registry.AgentsMDInjector;
|
|
5
5
|
exports.BaseProcessor = require_run_registry.BaseProcessor;
|
|
6
6
|
exports.BatchPartsProcessor = require_run_registry.BatchPartsProcessor;
|
package/dist/processors/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { $n as
|
|
2
|
-
import { B as ProviderHistoryCompat, G as REPROCESS_PART_KEY, H as cerebrasStripReasoningContent, M as ProcessorState, U as openaiOrphanItemId, V as anthropicToolIdFormat, cn as isProcessorWorkflow, j as ProcessorRunner, rt as createProcessorSendSignal } from "../stream-
|
|
1
|
+
import { $n as SemanticRecall, $o as SkillsProcessor, Al as ImagePartSchema, As as StreamErrorRetryProcessor, Bl as ProcessorStepInputSchema, Cs as UnicodeNormalizer, Ds as UnsupportedFileHandler, Es as isMalformedFunctionCallError, Fl as ProcessorMessageContentSchema, Gl as StepStartPartSchema, Go as createBackgroundWorkSignalProcessor, Hl as ProcessorStepSchema, Il as ProcessorMessageSchema, Jo as RESPONSE_CACHE_CONTEXT_KEY, Kl as TextPartSchema, Ko as CyberRefusalHandler, Ll as ProcessorOutputResultPhaseSchema, Ml as MessagePartSchema, Ms as isRetryableOpenAIResponsesStreamError, Nl as ProcessorInputPhaseSchema, Ns as PrefillErrorHandler, Os as FileUploadProcessor, Pl as ProcessorInputStepPhaseSchema, Qn as MemoryInputFilter, Qo as SkillSearchProcessor, Rl as ProcessorOutputStepPhaseSchema, Ss as ModerationProcessor, Ts as defaultStabilityErrorProcessors, Ul as ReasoningPartSchema, Vl as ProcessorStepOutputSchema, Wl as SourcePartSchema, Xo as buildResponseCacheKey, Yo as ResponseCache, Zn as BaseProcessor, Zo as WorkspaceInstructionsProcessor, _s as ClassifierProcessor, as as CostGuardProcessor, bs as PIIDetector, cs as TokenLimiterProcessor, er as globalEmbeddingCache, es as formatSkillsCatalog, gs as ModelSelectionProcessor, hs as BatchPartsProcessor, is as RegexFilterProcessor, jl as MessageContentSchema, js as isBadRequestError, kl as FilePartSchema, ks as FILE_UPLOAD_ERROR_CODES, nr as MessageHistory, ns as AgentsMDInjector, os as TokenCostControl, ql as ToolInvocationPartSchema, qo as DEFAULT_RESPONSE_CACHE_TTL_SECONDS, rs as ToolCallFilter, ss as SystemPromptScrubber, tr as WorkingMemory, ts as ToolSearchProcessor, vs as StructuredOutputProcessor, ws as STABILITY_ERROR_PROCESSOR_IDS, xs as PromptInjectionDetector, ys as LanguageDetector, zl as ProcessorOutputStreamPhaseSchema } from "../run-registry-DhOKJtlb.js";
|
|
2
|
+
import { B as ProviderHistoryCompat, G as REPROCESS_PART_KEY, H as cerebrasStripReasoningContent, M as ProcessorState, U as openaiOrphanItemId, V as anthropicToolIdFormat, cn as isProcessorWorkflow, j as ProcessorRunner, rt as createProcessorSendSignal } from "../stream-C8HKG3qC.js";
|
|
3
3
|
export { AgentsMDInjector, BaseProcessor, BatchPartsProcessor, ClassifierProcessor, CostGuardProcessor, CyberRefusalHandler, DEFAULT_RESPONSE_CACHE_TTL_SECONDS, FILE_UPLOAD_ERROR_CODES, FilePartSchema, FileUploadProcessor, ImagePartSchema, LanguageDetector, MemoryInputFilter, MessageContentSchema, MessageHistory, MessagePartSchema, ModelSelectionProcessor, ModerationProcessor, PIIDetector, PrefillErrorHandler, ProcessorInputPhaseSchema, ProcessorInputStepPhaseSchema, ProcessorMessageContentSchema, ProcessorMessageSchema, ProcessorOutputResultPhaseSchema, ProcessorOutputStepPhaseSchema, ProcessorOutputStreamPhaseSchema, ProcessorRunner, ProcessorState, ProcessorStepInputSchema, ProcessorStepOutputSchema, ProcessorStepSchema, PromptInjectionDetector, ProviderHistoryCompat, REPROCESS_PART_KEY, RESPONSE_CACHE_CONTEXT_KEY, ReasoningPartSchema, RegexFilterProcessor, ResponseCache, STABILITY_ERROR_PROCESSOR_IDS, SemanticRecall, SkillSearchProcessor, SkillsProcessor, SourcePartSchema, StepStartPartSchema, StreamErrorRetryProcessor, StructuredOutputProcessor, SystemPromptScrubber, TextPartSchema, TokenCostControl, TokenLimiterProcessor as TokenLimiter, TokenLimiterProcessor, ToolCallFilter, ToolInvocationPartSchema, ToolSearchProcessor, UnicodeNormalizer, UnsupportedFileHandler, WorkingMemory, WorkspaceInstructionsProcessor, anthropicToolIdFormat, buildResponseCacheKey, cerebrasStripReasoningContent, createBackgroundWorkSignalProcessor, createProcessorSendSignal, defaultStabilityErrorProcessors, formatSkillsCatalog, globalEmbeddingCache, isBadRequestError, isMalformedFunctionCallError, isProcessorWorkflow, isRetryableOpenAIResponsesStreamError, openaiOrphanItemId };
|