@mastra/core 1.87.0-alpha.9 → 1.88.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/dist/_types/{@internal_ai-sdk-v4@0.0.99 → @internal_ai-sdk-v4@0.0.100}/dist/index.d.ts +1 -1
- package/dist/_types/{@internal_ai-sdk-v5@0.0.99 → @internal_ai-sdk-v5@0.0.100}/dist/index.d.ts +1 -1
- package/dist/_types/{@internal_ai-v6@0.0.99 → @internal_ai-v6@0.0.100}/dist/index.d.ts +1 -1
- package/dist/_types/{@internal_ai-v7@0.0.99 → @internal_ai-v7@0.0.100}/dist/index.d.ts +1 -1
- package/dist/_types/@internal_core@0.1.4/dist/knowledge-compat/index.d.ts +79 -3
- package/dist/_types/{@internal_voice@0.0.48/dist/_types/@internal_ai-sdk-v5@0.0.99 → @internal_voice@0.0.49/dist/_types/@internal_ai-sdk-v5@0.0.100}/dist/index.d.ts +1 -1
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/voice/aisdk/speech.d.ts +1 -1
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/voice/aisdk/transcription.d.ts +1 -1
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/voice/composite-voice.d.ts +1 -1
- package/dist/a2a/index.cjs +1 -1
- package/dist/a2a/index.js +1 -1
- package/dist/agent/active-run-signal-queues.d.ts +49 -0
- package/dist/agent/agent-legacy.d.ts +1 -1
- package/dist/agent/agent.d.ts +30 -8
- package/dist/agent/agent.types.d.ts +2 -1
- package/dist/agent/durable/abort-transport.d.ts +1 -1
- package/dist/agent/durable/create-evented-agent.d.ts +2 -1
- package/dist/agent/durable/durable-agent.d.ts +4 -3
- package/dist/agent/durable/execution-engine.d.ts +14 -0
- package/dist/agent/durable/index.cjs +88 -87
- package/dist/agent/durable/index.js +4 -3
- package/dist/agent/durable/preparation.d.ts +17 -0
- package/dist/agent/durable/run-registry.d.ts +56 -25
- package/dist/agent/durable/segment-spans.d.ts +7 -0
- package/dist/agent/durable/stored-signal-drain.d.ts +100 -0
- package/dist/agent/durable/stream-adapter.d.ts +1 -1
- package/dist/agent/durable/types.d.ts +51 -2
- package/dist/agent/durable/utils/resolve-runtime.d.ts +16 -0
- package/dist/agent/durable/utils/serialize-state.d.ts +1 -0
- package/dist/agent/durable/workflows/create-durable-agentic-workflow.d.ts +1 -0
- package/dist/agent/durable/workflows/durable-loop-builder.d.ts +5 -0
- package/dist/agent/durable/workflows/finalize-run.d.ts +7 -1
- package/dist/agent/durable/workflows/shared/message-list-state.d.ts +6 -2
- package/dist/agent/durable/workflows/shared/schemas.d.ts +2 -0
- package/dist/agent/durable/workflows/steps/llm-execution.d.ts +1 -0
- package/dist/agent/index.cjs +17 -17
- package/dist/agent/index.d.ts +1 -0
- package/dist/agent/index.js +4 -4
- package/dist/agent/message-list/adapters/AIV4Adapter.d.ts +1 -1
- package/dist/agent/message-list/adapters/types.d.ts +1 -1
- package/dist/agent/message-list/cache/CacheKeyGenerator.d.ts +1 -1
- package/dist/agent/message-list/conversion/output-converter.d.ts +1 -1
- package/dist/agent/message-list/conversion/to-prompt.d.ts +1 -1
- package/dist/agent/message-list/conversion/utils.d.ts +1 -1
- package/dist/agent/message-list/detection/TypeDetector.d.ts +1 -1
- package/dist/agent/message-list/index.cjs +1 -1
- package/dist/agent/message-list/index.js +1 -1
- package/dist/agent/message-list/message-list.d.ts +2 -2
- package/dist/agent/message-list/prompt/attachments-to-parts.d.ts +1 -1
- package/dist/agent/message-list/prompt/convert-file.d.ts +1 -1
- package/dist/agent/message-list/prompt/data-content.d.ts +1 -1
- package/dist/agent/message-list/state/MessageStateManager.d.ts +6 -1
- package/dist/agent/message-list/state/types.d.ts +2 -2
- package/dist/agent/message-list/types.d.ts +9 -9
- package/dist/agent/message-list/utils/convert-messages.d.ts +3 -3
- package/dist/agent/message-list/utils/provider-compat.d.ts +1 -1
- package/dist/agent/request-context-snapshot.d.ts +5 -0
- package/dist/agent/scopes.d.ts +8 -0
- package/dist/agent/signals.d.ts +8 -4
- package/dist/agent/stored-run-signals.d.ts +93 -0
- package/dist/agent/stored-signals.d.ts +40 -0
- package/dist/agent/streams/abort-transport.d.ts +10 -1
- package/dist/agent/streams/constants.d.ts +9 -0
- package/dist/agent/streams/publisher.d.ts +3 -1
- package/dist/agent/thread-stream-runtime.d.ts +70 -6
- package/dist/agent/tool-name.d.ts +21 -0
- package/dist/agent/types.d.ts +4 -3
- package/dist/agent/workflows/prepare-stream/run-scope-keys.d.ts +1 -1
- package/dist/agent-builder/ee/index.cjs +1 -1
- package/dist/agent-builder/ee/index.js +1 -1
- package/dist/agent-controller/agent-controller.d.ts +8 -1
- package/dist/agent-controller/index.cjs +3 -3
- package/dist/agent-controller/index.js +3 -3
- package/dist/agent-controller/session.d.ts +38 -1
- package/dist/agent-controller/types.d.ts +6 -0
- package/dist/{agent-controller-fazk0U_b.js → agent-controller-CQDCmsFD.js} +126 -220
- package/dist/{agent-controller-ZCQy7cOG.cjs → agent-controller-NQKYmY0W.cjs} +150 -244
- package/dist/{agent-skills-resolver-BMoCDoaK.cjs → agent-skills-resolver-2d8k7ioj.cjs} +134 -109
- package/dist/{agent-skills-resolver-CUEIMDbx.js → agent-skills-resolver-D2HktP6Y.js} +134 -109
- package/dist/auth/defaults/index.d.ts +2 -2
- package/dist/auth/defaults/session/cookie.d.ts +2 -2
- package/dist/auth/defaults/session/index.d.ts +2 -2
- package/dist/auth/defaults/session/memory.d.ts +2 -2
- package/dist/auth/ee/capabilities.d.ts +1 -1
- package/dist/auth/ee/defaults/index.d.ts +1 -1
- package/dist/auth/ee/defaults/rbac/index.d.ts +1 -1
- package/dist/auth/ee/defaults/rbac/static.d.ts +1 -1
- package/dist/auth/ee/defaults/roles.d.ts +1 -1
- package/dist/auth/ee/fga-check.d.ts +1 -1
- package/dist/auth/ee/index.d.ts +1 -1
- package/dist/auth/ee/interfaces/acl.d.ts +1 -1
- package/dist/auth/ee/interfaces/fga.d.ts +1 -1
- package/dist/auth/ee/interfaces/index.d.ts +1 -1
- package/dist/auth/ee/interfaces/permissions.generated.d.ts +1 -1
- package/dist/auth/ee/interfaces/rbac.d.ts +1 -1
- package/dist/auth/ee/interfaces/user.d.ts +1 -1
- package/dist/auth/ee/license.d.ts +1 -1
- package/dist/auth/index.d.ts +2 -2
- package/dist/auth/interfaces/credentials.d.ts +1 -1
- package/dist/auth/interfaces/index.d.ts +2 -2
- package/dist/auth/interfaces/session.d.ts +1 -1
- package/dist/auth/interfaces/sso.d.ts +1 -1
- package/dist/auth/interfaces/user.d.ts +1 -1
- package/dist/background-tasks/index.cjs +1 -1
- package/dist/background-tasks/index.js +1 -1
- package/dist/background-tasks/manager.d.ts +3 -1
- package/dist/background-tasks/workflow-id.d.ts +42 -0
- package/dist/{background-tasks-DlLB_pJR.js → background-tasks-B7UygDdO.js} +239 -28
- package/dist/{background-tasks-B63welNM.cjs → background-tasks-CeARf1DK.cjs} +262 -27
- package/dist/browser/index.cjs +17 -8
- package/dist/browser/index.js +17 -8
- package/dist/browser/processor.d.ts +1 -0
- package/dist/{builder-D82iR2oQ.js → builder-CpAEmMdR.js} +2 -2
- package/dist/{builder-DCaL4xmU.cjs → builder-Dmf04g9P.cjs} +3 -3
- package/dist/bundler/index.d.ts +2 -2
- package/dist/capabilities/302ai.json +197 -197
- package/dist/capabilities/abacus.json +2 -96
- package/dist/capabilities/abliteratedllm.json +37 -37
- package/dist/capabilities/abliteration-ai.json +12 -12
- package/dist/capabilities/above.json +17 -17
- package/dist/capabilities/adaption.json +12 -12
- package/dist/capabilities/adzuki.json +20 -20
- package/dist/capabilities/agentrouter.json +8 -8
- package/dist/capabilities/agnes.json +4 -4
- package/dist/capabilities/ai-router.json +7 -7
- package/dist/capabilities/aiand.json +23 -31
- package/dist/capabilities/aigrow.json +14 -14
- package/dist/capabilities/aimlapi.json +143 -145
- package/dist/capabilities/aipg.json +2 -2
- package/dist/capabilities/aixy.json +11 -11
- package/dist/capabilities/aki-io.json +12 -12
- package/dist/capabilities/alibaba-cn.json +119 -128
- package/dist/capabilities/alibaba-coding-plan-cn.json +5 -10
- package/dist/capabilities/alibaba-coding-plan.json +5 -10
- package/dist/capabilities/alibaba-token-plan-cn.json +53 -49
- package/dist/capabilities/alibaba-token-plan.json +53 -49
- package/dist/capabilities/alibaba.json +101 -70
- package/dist/capabilities/ambient.json +10 -28
- package/dist/capabilities/amd-tokenlab.json +41 -0
- package/dist/capabilities/amd.json +11 -11
- package/dist/capabilities/anthropic.json +38 -62
- package/dist/capabilities/anyapi.json +18 -18
- package/dist/capabilities/arcee.json +7 -7
- package/dist/capabilities/augure.json +6 -6
- package/dist/capabilities/auriko.json +17 -17
- package/dist/capabilities/bailing.json +5 -5
- package/dist/capabilities/baseten.json +44 -35
- package/dist/capabilities/bee.json +5 -5
- package/dist/capabilities/berget.json +2 -35
- package/dist/capabilities/bothub.json +14 -14
- package/dist/capabilities/boundless.json +32 -32
- package/dist/capabilities/bumo.json +42 -42
- package/dist/capabilities/byteplus.json +30 -30
- package/dist/capabilities/cheapaimodel.json +8 -8
- package/dist/capabilities/cheapest-token.json +30 -30
- package/dist/capabilities/chutes.json +88 -7
- package/dist/capabilities/cline-pass.json +29 -42
- package/dist/capabilities/cloudcode.json +6 -6
- package/dist/capabilities/cloudflare-workers-ai.json +13 -13
- package/dist/capabilities/commandcode.json +141 -156
- package/dist/capabilities/concentrate.json +288 -271
- package/dist/capabilities/cortecs.json +105 -105
- package/dist/capabilities/crossmodel.json +177 -177
- package/dist/capabilities/crusoe.json +12 -12
- package/dist/capabilities/daoxe.json +9 -9
- package/dist/capabilities/databricks.json +136 -128
- package/dist/capabilities/deepinfra.json +105 -95
- package/dist/capabilities/deepseek.json +3 -3
- package/dist/capabilities/digitalocean.json +113 -114
- package/dist/capabilities/dinference.json +1 -2
- package/dist/capabilities/dothoosh.json +28 -28
- package/dist/capabilities/doubleword.json +26 -26
- package/dist/capabilities/edenai.json +298 -280
- package/dist/capabilities/empiriolabs.json +180 -171
- package/dist/capabilities/engy.json +23 -17
- package/dist/capabilities/entrim.json +6 -6
- package/dist/capabilities/evroc.json +12 -12
- package/dist/capabilities/ezkielyna.json +7 -7
- package/dist/capabilities/fastrouter.json +81 -85
- package/dist/capabilities/fireworks-ai.json +100 -100
- package/dist/capabilities/fortytwo.json +4 -4
- package/dist/capabilities/freemodel.json +7 -51
- package/dist/capabilities/friendli.json +26 -5
- package/dist/capabilities/frogbot.json +92 -100
- package/dist/capabilities/gisoo.json +19 -19
- package/dist/capabilities/gmicloud.json +11 -11
- package/dist/capabilities/google.json +43 -43
- package/dist/capabilities/graphn.json +14 -14
- package/dist/capabilities/greenpt.json +37 -37
- package/dist/capabilities/groq.json +7 -20
- package/dist/capabilities/helicone.json +80 -82
- package/dist/capabilities/hetzner.json +4 -4
- package/dist/capabilities/hostinger-router.json +9 -16
- package/dist/capabilities/hpc-ai.json +9 -25
- package/dist/capabilities/huawei-maas.json +12 -12
- package/dist/capabilities/hubris.json +29 -29
- package/dist/capabilities/huggingface.json +94 -85
- package/dist/capabilities/humain.json +2 -2
- package/dist/capabilities/hyper.json +22 -22
- package/dist/capabilities/impossibl.json +121 -168
- package/dist/capabilities/inception.json +3 -3
- package/dist/capabilities/inceptron.json +8 -8
- package/dist/capabilities/inco.json +5 -22
- package/dist/capabilities/infer.json +11 -11
- package/dist/capabilities/inferall.json +3 -19
- package/dist/capabilities/inference-coop.json +15 -15
- package/dist/capabilities/inference.json +2 -11
- package/dist/capabilities/inferenceapis.json +21 -21
- package/dist/capabilities/inferris.json +4 -4
- package/dist/capabilities/infersia.json +7 -7
- package/dist/capabilities/inferx.json +2 -2
- package/dist/capabilities/infomaniak.json +3 -3
- package/dist/capabilities/io-net.json +3 -13
- package/dist/capabilities/iteracompute.json +38 -76
- package/dist/capabilities/jalapeno.json +11 -11
- package/dist/capabilities/jiekou.json +19 -167
- package/dist/capabilities/joingonka.json +4 -4
- package/dist/capabilities/jzstoken.json +47 -47
- package/dist/capabilities/keln.json +22 -22
- package/dist/capabilities/kenari.json +129 -120
- package/dist/capabilities/kilo.json +629 -653
- package/dist/capabilities/kimchi.json +90 -0
- package/dist/capabilities/kimi-code-plan-cn.json +9 -9
- package/dist/capabilities/kimi-code-plan-global.json +9 -9
- package/dist/capabilities/kitani.json +6 -6
- package/dist/capabilities/klavo.json +24 -24
- package/dist/capabilities/korouter.json +34 -34
- package/dist/capabilities/kunavo.json +4 -4
- package/dist/capabilities/liquid.json +11 -11
- package/dist/capabilities/lithosai.json +2 -2
- package/dist/capabilities/llmgateway-providers.json +934 -943
- package/dist/capabilities/llmgateway.json +347 -324
- package/dist/capabilities/llmtr.json +22 -60
- package/dist/capabilities/longcat.json +2 -2
- package/dist/capabilities/lowrouter.json +51 -51
- package/dist/capabilities/lyceum.json +16 -16
- package/dist/capabilities/meganova.json +0 -1
- package/dist/capabilities/melious.json +12 -12
- package/dist/capabilities/merge-gateway.json +303 -281
- package/dist/capabilities/meta.json +11 -11
- package/dist/capabilities/minimax-cn-coding-plan.json +6 -6
- package/dist/capabilities/minimax-coding-plan.json +6 -6
- package/dist/capabilities/mistral.json +11 -27
- package/dist/capabilities/mixlayer.json +5 -5
- package/dist/capabilities/moark.json +0 -2
- package/dist/capabilities/modal.json +12 -12
- package/dist/capabilities/model-oracle-ai.json +18 -26
- package/dist/capabilities/modelis.json +17 -17
- package/dist/capabilities/modular.json +12 -12
- package/dist/capabilities/moneo.json +3 -34
- package/dist/capabilities/moonshotai-cn.json +7 -7
- package/dist/capabilities/moonshotai.json +7 -7
- package/dist/capabilities/morph.json +22 -14
- package/dist/capabilities/munito-eu.json +6 -6
- package/dist/capabilities/munito.json +10 -10
- package/dist/capabilities/nan.json +30 -30
- package/dist/capabilities/nano-gpt.json +580 -596
- package/dist/capabilities/nearai.json +81 -81
- package/dist/capabilities/nebius.json +41 -34
- package/dist/capabilities/neon.json +135 -135
- package/dist/capabilities/neuralwatt.json +40 -40
- package/dist/capabilities/nokeep.json +2 -2
- package/dist/capabilities/novita-ai.json +106 -220
- package/dist/capabilities/nvidia.json +22 -80
- package/dist/capabilities/oathbreaker.json +5 -5
- package/dist/capabilities/obscurify.json +24 -24
- package/dist/capabilities/oci.json +9 -9
- package/dist/capabilities/ofox.json +205 -569
- package/dist/capabilities/ollama-cloud.json +57 -57
- package/dist/capabilities/openai.json +57 -60
- package/dist/capabilities/opencode-go.json +103 -95
- package/dist/capabilities/openreason.json +5 -5
- package/dist/capabilities/openrouter.json +551 -577
- package/dist/capabilities/opper.json +26 -31
- package/dist/capabilities/orcarouter.json +414 -199
- package/dist/capabilities/outerlabs.json +33 -33
- package/dist/capabilities/ovhcloud.json +16 -17
- package/dist/capabilities/pareto.json +2 -7
- package/dist/capabilities/perplexity-agent.json +101 -66
- package/dist/capabilities/perplexity.json +2 -2
- package/dist/capabilities/phala.json +34 -34
- package/dist/capabilities/pioneer.json +5 -122
- package/dist/capabilities/poe.json +140 -140
- package/dist/capabilities/poolside.json +3 -3
- package/dist/capabilities/powerspring.json +9 -9
- package/dist/capabilities/primalabs.json +7 -7
- package/dist/capabilities/prime.json +131 -115
- package/dist/capabilities/privatemode-ai.json +9 -37
- package/dist/capabilities/proxystacks.json +7 -7
- package/dist/capabilities/qihang-ai.json +3 -15
- package/dist/capabilities/qiniu-ai.json +14 -88
- package/dist/capabilities/refuseless.json +4 -11
- package/dist/capabilities/regolo-ai.json +6 -10
- package/dist/capabilities/requesty.json +249 -208
- package/dist/capabilities/routing-run.json +3 -40
- package/dist/capabilities/ruapi.json +17 -17
- package/dist/capabilities/runcrate.json +13 -13
- package/dist/capabilities/runinfra.json +15 -15
- package/dist/capabilities/sakana.json +6 -6
- package/dist/capabilities/sambanova.json +5 -5
- package/dist/capabilities/sandbase.json +23 -23
- package/dist/capabilities/sarvam.json +17 -8
- package/dist/capabilities/scaleway.json +14 -14
- package/dist/capabilities/scnet-token-plan.json +10 -10
- package/dist/capabilities/scx-ai.json +12 -28
- package/dist/capabilities/sensenova.json +9 -9
- package/dist/capabilities/siliconflow-cn.json +63 -97
- package/dist/capabilities/siliconflow.json +63 -63
- package/dist/capabilities/snowflake-cortex.json +28 -28
- package/dist/capabilities/sokkan.json +8 -20
- package/dist/capabilities/sparrowcodes.json +19 -19
- package/dist/capabilities/stackit.json +1 -2
- package/dist/capabilities/standardcompute.json +77 -113
- package/dist/capabilities/steadyrouter.json +45 -45
- package/dist/capabilities/stepfun-ai-step-plan.json +14 -8
- package/dist/capabilities/stepfun-ai.json +21 -7
- package/dist/capabilities/stepfun-step-plan.json +14 -7
- package/dist/capabilities/stepfun.json +21 -7
- package/dist/capabilities/stepping-stone.json +12 -12
- package/dist/capabilities/synthetic.json +9 -18
- package/dist/capabilities/synthorai.json +22 -22
- package/dist/capabilities/teamorouter.json +21 -21
- package/dist/capabilities/teapot-router.json +10 -10
- package/dist/capabilities/tencent-token-plan-intl.json +20 -20
- package/dist/capabilities/tencent-token-plan.json +45 -45
- package/dist/capabilities/tencent-tokenhub.json +47 -47
- package/dist/capabilities/tensorx.json +50 -50
- package/dist/capabilities/tenstorrent.json +6 -6
- package/dist/capabilities/the-grid-ai.json +28 -28
- package/dist/capabilities/thinkingmachines.json +61 -61
- package/dist/capabilities/tinfoil.json +12 -12
- package/dist/capabilities/toapis.json +3 -3
- package/dist/capabilities/togetherai.json +50 -58
- package/dist/capabilities/tokengo.json +21 -21
- package/dist/capabilities/tokenharbor.json +738 -0
- package/dist/capabilities/tokenify.json +2 -2
- package/dist/capabilities/trustedrouter.json +6 -6
- package/dist/capabilities/trustedtokens.json +12 -12
- package/dist/capabilities/umans-ai-coding-plan.json +14 -14
- package/dist/capabilities/umans-ai.json +11 -11
- package/dist/capabilities/uncensuredai.json +4 -4
- package/dist/capabilities/unorouter.json +1 -22
- package/dist/capabilities/unrestricted.json +6 -22
- package/dist/capabilities/uplinkswitch.json +20 -20
- package/dist/capabilities/upstage.json +3 -15
- package/dist/capabilities/vancine.json +21 -21
- package/dist/capabilities/vercel.json +628 -593
- package/dist/capabilities/verda.json +8 -1
- package/dist/capabilities/vivgrid.json +55 -135
- package/dist/capabilities/volcengine-coding-plan.json +25 -25
- package/dist/capabilities/volcengine.json +24 -24
- package/dist/capabilities/vultr.json +12 -65
- package/dist/capabilities/wafer.ai.json +17 -17
- package/dist/capabilities/wallaby.json +2 -2
- package/dist/capabilities/wally.json +9 -9
- package/dist/capabilities/wandb.json +21 -21
- package/dist/capabilities/watt.json +23 -23
- package/dist/capabilities/xai.json +6 -6
- package/dist/capabilities/xpersona.json +11 -11
- package/dist/capabilities/xxapi.json +25 -25
- package/dist/capabilities/zai-coding-plan.json +15 -15
- package/dist/capabilities/zai.json +37 -28
- package/dist/capabilities/zenifra.json +26 -26
- package/dist/capabilities/zenmux.json +151 -194
- package/dist/capabilities/zerogpu.json +12 -12
- package/dist/capabilities/zhipuai-coding-plan.json +5 -16
- package/dist/capabilities/zhipuai.json +44 -28
- package/dist/capabilities/zro.json +7 -7
- package/dist/channels/index.cjs +24 -24
- package/dist/channels/index.js +2 -2
- package/dist/channels/reply-tool.d.ts +5 -1
- package/dist/{channels-Bs8wDPDl.js → channels-BQ--aLCA.js} +2 -2
- package/dist/{channels-BXZbY7TL.cjs → channels-CTCBsS5M.cjs} +6 -6
- package/dist/coding-agent/index.cjs +7 -7
- package/dist/coding-agent/index.js +4 -4
- package/dist/{constants-Bou0hEgY.cjs → constants-B2FVV_2e.cjs} +9 -1
- package/dist/{constants-CFWgIaqA.js → constants-Dro9fuhk.js} +9 -1
- package/dist/datasets/index.cjs +9 -9
- package/dist/datasets/index.js +2 -2
- package/dist/deployer/index.d.ts +2 -2
- package/dist/docs/SKILL.md +2 -1
- package/dist/docs/assets/SOURCE_MAP.json +1253 -1213
- package/dist/docs/references/docs-agents-code-mode.md +2 -2
- package/dist/docs/references/docs-agents-human-in-the-loop.md +3 -3
- package/dist/docs/references/docs-agents-networks.md +1 -1
- package/dist/docs/references/docs-agents-overview.md +15 -6
- package/dist/docs/references/docs-agents-processors.md +9 -9
- package/dist/docs/references/docs-agents-resumable-streams.md +5 -5
- package/dist/docs/references/docs-agents-structured-output.md +6 -6
- package/dist/docs/references/docs-agents-tools.md +11 -11
- package/dist/docs/references/docs-browser.md +1 -1
- package/dist/docs/references/docs-channels.md +13 -7
- package/dist/docs/references/docs-classifier.md +1 -1
- package/dist/docs/references/docs-connections-a2a.md +1 -1
- package/dist/docs/references/docs-connections-acp.md +2 -2
- package/dist/docs/references/docs-connections-overview.md +1 -1
- package/dist/docs/references/docs-connections-sdk-agents.md +6 -6
- package/dist/docs/references/docs-deployment-workers.md +11 -5
- package/dist/docs/references/docs-develop.md +1 -1
- package/dist/docs/references/docs-evals-custom-scorers.md +1 -1
- package/dist/docs/references/docs-evals-multi-turn.md +2 -2
- package/dist/docs/references/docs-guides-build-an-eval-loop.md +2 -2
- package/dist/docs/references/docs-guides-context-engineering.md +3 -3
- package/dist/docs/references/docs-guides-streaming.md +1 -1
- package/dist/docs/references/docs-harness-agent-controller.md +6 -3
- package/dist/docs/references/docs-harness-background-tasks.md +10 -7
- package/dist/docs/references/docs-harness-durable-agents.md +22 -19
- package/dist/docs/references/docs-harness-goals.md +2 -2
- package/dist/docs/references/docs-harness-schedules.md +35 -1
- package/dist/docs/references/docs-knowledge-agents-and-tools.md +2 -2
- package/dist/docs/references/docs-knowledge-importers.md +22 -1
- package/dist/docs/references/docs-knowledge-overview.md +1 -1
- package/dist/docs/references/docs-knowledge-scopes-and-access.md +1 -1
- package/dist/docs/references/docs-knowledge-search.md +1 -1
- package/dist/docs/references/docs-memory-memory-processors.md +8 -8
- package/dist/docs/references/docs-memory-message-history.md +5 -3
- package/dist/docs/references/docs-memory-observational-memory.md +1 -1
- package/dist/docs/references/docs-memory-semantic-recall.md +2 -2
- package/dist/docs/references/docs-memory-working-memory.md +3 -2
- package/dist/docs/references/docs-sandbox-overview.md +2 -2
- package/dist/docs/references/docs-sandbox-skills.md +1 -1
- package/dist/docs/references/docs-server-mastra-client.md +1 -1
- package/dist/docs/references/docs-server-mcp.md +91 -0
- package/dist/docs/references/docs-server-pubsub.md +45 -16
- package/dist/docs/references/docs-server-request-context.md +4 -4
- package/dist/docs/references/docs-signals-notifications.md +2 -2
- package/dist/docs/references/docs-signals-overview.md +1 -1
- package/dist/docs/references/docs-signals-running-across-processes.md +12 -3
- package/dist/docs/references/docs-signals-sending-signals.md +20 -7
- package/dist/docs/references/docs-signals-signal-providers.md +18 -2
- package/dist/docs/references/docs-signals-state-signals.md +1 -0
- package/dist/docs/references/docs-signals-thread-streams.md +12 -0
- package/dist/docs/references/docs-skills.md +8 -5
- package/dist/docs/references/docs-storage.md +12 -12
- package/dist/docs/references/docs-studio-editor.md +2 -2
- package/dist/docs/references/docs-subagents.md +26 -3
- package/dist/docs/references/docs-workflows-overview.md +5 -3
- package/dist/docs/references/integrations-agentic-ui-copilotkit.md +1 -1
- package/dist/docs/references/integrations-agentic-ui-openui.md +1 -1
- package/dist/docs/references/integrations-channels-discord.md +1 -1
- package/dist/docs/references/integrations-channels-github.md +1 -1
- package/dist/docs/references/integrations-channels-imessage.md +2 -2
- package/dist/docs/references/integrations-channels-ring.md +2 -2
- package/dist/docs/references/integrations-channels-slack.md +1 -1
- package/dist/docs/references/integrations-channels-teams.md +1 -1
- package/dist/docs/references/integrations-channels-telegram.md +1 -1
- package/dist/docs/references/integrations-channels-whatsapp.md +1 -1
- package/dist/docs/references/integrations-tools-firecrawl.md +1 -1
- package/dist/docs/references/reference-acp-acp-agent.md +1 -1
- package/dist/docs/references/reference-acp-create-acp-tool.md +1 -1
- package/dist/docs/references/reference-agent-controller-agent-controller-class.md +3 -1
- package/dist/docs/references/reference-agent-controller-session.md +54 -7
- package/dist/docs/references/reference-agents-agent.md +43 -15
- package/dist/docs/references/reference-agents-channels.md +11 -11
- package/dist/docs/references/reference-agents-createSkill.md +20 -1
- package/dist/docs/references/reference-agents-durable-agent.md +5 -5
- package/dist/docs/references/reference-agents-getLLM.md +2 -2
- package/dist/docs/references/reference-agents-getMetadata.md +2 -2
- package/dist/docs/references/reference-agents-network.md +2 -2
- package/dist/docs/references/reference-browser-mastra-browser.md +1 -1
- package/dist/docs/references/reference-channels-thread-link.md +1 -1
- package/dist/docs/references/reference-classifier-classifier.md +2 -0
- package/dist/docs/references/reference-coding-agent-build-base-prompt.md +1 -1
- package/dist/docs/references/reference-coding-agent-create-coding-agent.md +7 -7
- package/dist/docs/references/reference-configuration.md +75 -14
- package/dist/docs/references/reference-core-getAgentById.md +1 -1
- package/dist/docs/references/reference-core-mastra-model-gateway.md +1 -1
- package/dist/docs/references/reference-datasets-startExperiment.md +1 -1
- package/dist/docs/references/reference-editor-mastra-editor.md +2 -2
- package/dist/docs/references/reference-file-based-agents-config.md +3 -3
- package/dist/docs/references/reference-file-based-agents-schedules.md +1 -1
- package/dist/docs/references/reference-file-based-agents-subagents.md +3 -3
- package/dist/docs/references/reference-file-based-agents-workspace.md +1 -1
- package/dist/docs/references/reference-knowledge-knowledge-class.md +12 -0
- package/dist/docs/references/reference-knowledge-knowledge-tools.md +1 -2
- package/dist/docs/references/reference-knowledge-limits.md +16 -16
- package/dist/docs/references/reference-manual-install.md +1 -1
- package/dist/docs/references/reference-memory-memory-class.md +3 -3
- package/dist/docs/references/reference-memory-observational-memory.md +7 -3
- package/dist/docs/references/reference-observability-metrics-metrics-context.md +63 -3
- package/dist/docs/references/reference-observability-tracing-bridges-datadog.md +12 -11
- package/dist/docs/references/reference-observability-tracing-configuration.md +2 -2
- package/dist/docs/references/reference-observability-tracing-exporters-datadog.md +14 -12
- package/dist/docs/references/reference-processors-batch-parts-processor.md +1 -1
- package/dist/docs/references/reference-processors-classifier-processor.md +2 -2
- package/dist/docs/references/reference-processors-cyber-refusal-handler.md +1 -1
- package/dist/docs/references/reference-processors-language-detector.md +1 -1
- package/dist/docs/references/reference-processors-message-history-processor.md +1 -1
- package/dist/docs/references/reference-processors-model-selection-processor.md +3 -3
- package/dist/docs/references/reference-processors-moderation-processor.md +4 -4
- package/dist/docs/references/reference-processors-pii-detector.md +2 -2
- package/dist/docs/references/reference-processors-prefill-error-handler.md +2 -2
- package/dist/docs/references/reference-processors-processor-interface.md +19 -8
- package/dist/docs/references/reference-processors-prompt-injection-detector.md +1 -1
- package/dist/docs/references/reference-processors-provider-history-compat.md +1 -1
- package/dist/docs/references/reference-processors-response-cache.md +1 -1
- package/dist/docs/references/reference-processors-semantic-recall-processor.md +1 -1
- package/dist/docs/references/reference-processors-skill-search-processor.md +1 -1
- package/dist/docs/references/reference-processors-skills-processor.md +1 -1
- package/dist/docs/references/reference-processors-stream-error-retry-processor.md +3 -3
- package/dist/docs/references/reference-processors-system-prompt-scrubber.md +1 -1
- package/dist/docs/references/reference-processors-token-limiter-processor.md +3 -3
- package/dist/docs/references/reference-processors-tool-call-filter.md +2 -2
- package/dist/docs/references/reference-processors-tool-search-processor.md +3 -3
- package/dist/docs/references/reference-processors-unicode-normalizer.md +1 -1
- package/dist/docs/references/reference-processors-working-memory-processor.md +1 -1
- package/dist/docs/references/reference-pubsub-base.md +2 -2
- package/dist/docs/references/reference-pubsub-caching-pubsub.md +1 -1
- package/dist/docs/references/reference-pubsub-google-cloud-pubsub.md +13 -7
- package/dist/docs/references/reference-pubsub-lease-provider.md +4 -0
- package/dist/docs/references/reference-pubsub-redis-streams.md +21 -14
- package/dist/docs/references/reference-pubsub-valkey-streams.md +27 -9
- package/dist/docs/references/reference-rag-chunking-and-embedding.md +1 -1
- package/dist/docs/references/reference-rag-graph-rag-guide.md +2 -2
- package/dist/docs/references/reference-rag-retrieval.md +13 -13
- package/dist/docs/references/reference-signals-create-notification-inbox-tool.md +1 -1
- package/dist/docs/references/reference-signals-time-signal-provider.md +137 -0
- package/dist/docs/references/reference-storage-composite.md +4 -0
- package/dist/docs/references/reference-storage-overview.md +29 -29
- package/dist/docs/references/reference-templates-overview.md +31 -1
- package/dist/docs/references/reference-tools-create-code-mode.md +1 -1
- package/dist/docs/references/reference-tools-vector-query-tool.md +3 -3
- package/dist/docs/references/reference-voice-overview.md +28 -28
- package/dist/docs/references/reference-voice-speech-to-speech.md +10 -10
- package/dist/docs/references/reference-voice-speech-to-text.md +1 -1
- package/dist/docs/references/reference-voice-text-to-speech.md +1 -1
- package/dist/docs/references/reference-voice-voice.addInstructions.md +1 -1
- package/dist/docs/references/reference-voice-voice.listen.md +1 -1
- package/dist/docs/references/reference-workers-overview.md +3 -1
- package/dist/docs/references/reference-workflows-run-methods-restart.md +2 -0
- package/dist/docs/references/reference-workflows-step.md +1 -1
- package/dist/docs/references/reference-workflows-workflow-methods-map.md +1 -1
- package/dist/docs/references/reference-workflows-workflow.md +1 -1
- package/dist/docs/references/reference-workspace-factory-sandbox.md +2 -0
- package/dist/docs/references/reference-workspace-local-filesystem.md +1 -1
- package/dist/docs/references/reference-workspace-local-sandbox.md +1 -1
- package/dist/docs/references/reference.md +2 -0
- package/dist/evals/index.cjs +13 -13
- package/dist/evals/index.js +2 -2
- package/dist/evals/run/index.d.ts +1 -1
- package/dist/evals/scoreTraces/index.cjs +4 -4
- package/dist/evals/scoreTraces/index.js +2 -2
- package/dist/evals/types.d.ts +1 -1
- package/dist/events/caching-pubsub.d.ts +3 -11
- package/dist/events/index.cjs +1 -1
- package/dist/events/index.js +1 -1
- package/dist/events/pubsub.d.ts +3 -4
- package/dist/{run-registry-DX_EyboB.cjs → execution-fence-C8Q0wWkG.cjs} +12890 -8734
- package/dist/{run-registry-DKiudqVU.js → execution-fence-DGFyUV5h.js} +12380 -8260
- package/dist/harness/index.cjs +3 -3
- package/dist/harness/index.js +3 -3
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -1
- package/dist/integration/index.cjs +1 -1
- package/dist/integration/index.js +1 -1
- package/dist/knowledge/importers/overlay.d.ts +170 -0
- package/dist/knowledge/importers/sink.d.ts +17 -1
- package/dist/knowledge/importers/types.d.ts +14 -0
- package/dist/knowledge/index.cjs +2047 -276
- package/dist/knowledge/index.d.ts +6 -0
- package/dist/knowledge/index.js +1929 -158
- package/dist/knowledge/links.d.ts +27 -0
- package/dist/knowledge/page-tools.d.ts +2 -0
- package/dist/llm/index.cjs +3 -3
- package/dist/llm/index.d.ts +2 -2
- package/dist/llm/index.js +3 -3
- package/dist/llm/model/aisdk/v4/model.d.ts +9 -9
- package/dist/llm/model/base.types.d.ts +2 -2
- package/dist/llm/model/embedding-router.d.ts +1 -1
- package/dist/llm/model/gateways/opencode-session-header.d.ts +28 -0
- package/dist/llm/model/mastra-gateway-provider-tools.d.ts +7 -0
- package/dist/llm/model/model-settings.d.ts +1 -1
- package/dist/llm/model/model.d.ts +1 -1
- package/dist/llm/model/model.loop.d.ts +1 -1
- package/dist/llm/model/model.loop.types.d.ts +1 -1
- package/dist/llm/model/provider-types.generated.d.ts +7162 -7416
- package/dist/llm/model/resolve-model.d.ts +1 -0
- package/dist/llm/model/shared.types.d.ts +2 -1
- package/dist/llm/reasoning/account-switch.d.ts +50 -0
- package/dist/llm/reasoning/anthropic-thinking.d.ts +5 -0
- package/dist/llm/reasoning/gemini-thinking.d.ts +24 -0
- package/dist/llm/reasoning/index.cjs +454 -0
- package/dist/llm/reasoning/index.d.ts +9 -0
- package/dist/llm/reasoning/index.js +422 -0
- package/dist/llm/reasoning/model-fallback.d.ts +75 -0
- package/dist/llm/reasoning/model-ids.d.ts +5 -0
- package/dist/llm/reasoning/thinking-provider-options.d.ts +10 -0
- package/dist/llm/reasoning/thinking-request.d.ts +14 -0
- package/dist/llm/reasoning/thinking.d.ts +37 -0
- package/dist/{llm-ypGNjEom.cjs → llm-RIAYOAtD.cjs} +34 -14
- package/dist/{llm-9xmy8HlF.js → llm-YNjDFSui.js} +34 -14
- package/dist/loop/index.cjs +15 -15
- package/dist/loop/index.js +2 -2
- package/dist/loop/loop-builder.d.ts +1 -1
- package/dist/loop/loop-runtime.d.ts +1 -1
- package/dist/loop/loop.d.ts +1 -1
- package/dist/loop/run-scope-keys.d.ts +1 -1
- package/dist/loop/server.cjs +1 -1
- package/dist/loop/server.js +1 -1
- package/dist/loop/shared/signal-outcome.d.ts +1 -1
- package/dist/loop/shared/steps/signal-drain-core.d.ts +9 -3
- package/dist/loop/shared/transcript-step.d.ts +1 -1
- package/dist/loop/suspended-run-auto-resume.d.ts +15 -0
- package/dist/loop/types.d.ts +2 -2
- package/dist/loop/workflows/agentic-execution/background-task-check-step.d.ts +1 -1
- package/dist/loop/workflows/agentic-execution/build-messages-from-chunks.d.ts +1 -1
- package/dist/loop/workflows/agentic-execution/goal-step.d.ts +1 -1
- package/dist/loop/workflows/agentic-execution/index.d.ts +1 -1
- package/dist/loop/workflows/agentic-execution/is-task-complete-step.d.ts +1 -1
- package/dist/loop/workflows/agentic-execution/llm-execution-step.d.ts +1 -1
- package/dist/loop/workflows/agentic-execution/llm-mapping-step.d.ts +1 -1
- package/dist/loop/workflows/agentic-execution/tool-call-concurrency.d.ts +1 -1
- package/dist/loop/workflows/agentic-execution/tool-call-step.d.ts +2 -2
- package/dist/loop/workflows/agentic-loop/index.d.ts +1 -1
- package/dist/loop/workflows/schema.d.ts +2 -2
- package/dist/loop/workflows/stream.d.ts +1 -1
- package/dist/{manager-B-QrBhhd.js → manager-DZhtdV6Q.js} +9 -7
- package/dist/{manager-CYXV5_vY.cjs → manager-Y-jYcS7T.cjs} +21 -19
- package/dist/mastra/index.cjs +1 -1
- package/dist/mastra/index.d.ts +67 -12
- package/dist/mastra/index.js +1 -1
- package/dist/{mastra-zszeli0N.cjs → mastra-B2-HBq1-.cjs} +211 -67
- package/dist/{mastra-DPSwJ5ae.js → mastra-BJ54VxOO.js} +171 -27
- package/dist/mastra-gateway-provider-tools-C-AjGZis.js +58 -0
- package/dist/mastra-gateway-provider-tools-WpH3Tmu4.cjs +81 -0
- package/dist/memory/index.cjs +25 -25
- package/dist/memory/index.js +3 -3
- package/dist/memory/memory.d.ts +1 -1
- package/dist/memory/mock.d.ts +2 -3
- package/dist/memory/om-events/index.cjs +189 -0
- package/dist/memory/om-events/index.d.ts +17 -0
- package/dist/memory/om-events/index.js +188 -0
- package/dist/memory/types.d.ts +2 -2
- package/dist/{message-list-vR3uLAHL.cjs → message-list-C0F2sDNC.cjs} +3 -2
- package/dist/{message-list-BGm1DCiG.js → message-list-RgFlLrxG.js} +3 -2
- package/dist/{model-UYJb8Zel.js → model-cS3d5rmF.js} +2 -2
- package/dist/{model-WLujr8OR.cjs → model-lzZPXaEV.cjs} +2 -2
- package/dist/{netlify-wZafLKoe.cjs → netlify-1lti1j4Z.cjs} +97 -3
- package/dist/{netlify-DTWAZGpA.js → netlify-ClBjc0Xg.js} +86 -4
- package/dist/notifications/index.cjs +18 -18
- package/dist/notifications/index.js +2 -2
- package/dist/observability/index.cjs +1 -1
- package/dist/observability/index.js +1 -1
- package/dist/{observability-D7RNOAPx.js → observability-DPDWibyH.js} +648 -648
- package/dist/{output-helpers-CVzhy1Y0.js → output-helpers-D-qplq22.js} +70 -74
- package/dist/{output-helpers-DgsH4aTb.cjs → output-helpers-D4O_oFne.cjs} +69 -73
- package/dist/processor-provider/index.cjs +10 -10
- package/dist/processor-provider/index.js +1 -1
- package/dist/processors/index.cjs +65 -65
- package/dist/processors/index.d.ts +2 -2
- package/dist/processors/index.js +2 -2
- package/dist/processors/runner.d.ts +1 -1
- package/dist/processors/step-schema.d.ts +1 -1
- package/dist/{provider-registry-BvpUdOiq.cjs → provider-registry-C6jd3Uxi.cjs} +20494 -21358
- package/dist/{provider-registry-COT79RLh.js → provider-registry-C_XQJvu2.js} +20493 -21357
- package/dist/provider-registry.json +22407 -23248
- package/dist/{registry-generator-Dn1Tuacv.cjs → registry-generator-BYdAlox6.cjs} +1 -1
- package/dist/{registry-generator-BKjTPD6B.js → registry-generator-DBrTbThj.js} +1 -1
- package/dist/{rehydrate-BK1v65H7.js → rehydrate-4xHubfOY.js} +2 -2
- package/dist/{rehydrate-C0xrJUBu.cjs → rehydrate-BtwY0ima.cjs} +14 -14
- package/dist/relevance/index.cjs +3 -3
- package/dist/relevance/index.js +2 -2
- package/dist/{scheduler-B-VZUvv_.js → scheduler-D1qdie5k.js} +75 -23
- package/dist/{scheduler-D00X03jQ.cjs → scheduler-DE5lcHJA.cjs} +86 -22
- package/dist/server/auth.d.ts +3 -3
- package/dist/server/composite-auth.d.ts +1 -1
- package/dist/server/index.d.ts +1 -1
- package/dist/server/simple-auth.d.ts +1 -1
- package/dist/server/types.d.ts +64 -1
- package/dist/{signal-provider-BslnAjWG.js → signal-provider-B_mfW-J4.js} +1 -1
- package/dist/{signal-provider-BFAvh_AJ.cjs → signal-provider-D9gbevHN.cjs} +1 -1
- package/dist/signals/index.cjs +4 -3
- package/dist/signals/index.d.ts +1 -0
- package/dist/signals/index.js +4 -4
- package/dist/signals/time-signal-provider.d.ts +70 -0
- package/dist/signals-BwDXGqxc.cjs +358 -0
- package/dist/signals-TznxWfM3.js +347 -0
- package/dist/skills/create-skill.d.ts +3 -0
- package/dist/skills/index.cjs +1 -1
- package/dist/skills/index.js +1 -1
- package/dist/skills/inline-skill-source.d.ts +5 -1
- package/dist/skills/types.d.ts +16 -1
- package/dist/{source-fNa6u1kH.js → source-B3He4_mz.js} +7 -0
- package/dist/{source-BVOi8Xhp.cjs → source-C_nWbqI0.cjs} +7 -0
- package/dist/{state-processor-B9kxpM53.js → state-processor-B_KsS82m.js} +1 -1
- package/dist/{state-processor-kRNZ38Nf.cjs → state-processor-DaSmhVUX.cjs} +1 -1
- package/dist/storage/constants.cjs +1 -1
- package/dist/storage/constants.js +1 -1
- package/dist/storage/domains/agents/index.cjs +1 -1
- package/dist/storage/domains/agents/index.js +1 -1
- package/dist/storage/domains/inmemory-db.d.ts +6 -0
- package/dist/storage/domains/knowledge/base.d.ts +140 -5
- package/dist/storage/domains/knowledge/importers-inmemory.d.ts +9 -0
- package/dist/storage/domains/knowledge/importers.d.ts +31 -0
- package/dist/storage/domains/knowledge/inmemory.d.ts +11 -0
- package/dist/storage/domains/knowledge/pages-inmemory.d.ts +50 -12
- package/dist/storage/domains/knowledge/pages.d.ts +90 -1
- package/dist/storage/domains/memory/base.d.ts +122 -0
- package/dist/storage/domains/memory/index.d.ts +1 -0
- package/dist/storage/domains/memory/inmemory.d.ts +39 -0
- package/dist/storage/domains/memory/queue-thread.d.ts +42 -0
- package/dist/storage/domains/schedules/base.d.ts +31 -2
- package/dist/storage/domains/schedules/inmemory.d.ts +9 -2
- package/dist/storage/domains/workflows/base.d.ts +32 -5
- package/dist/storage/domains/workflows/inmemory.d.ts +7 -6
- package/dist/storage/domains/workflows/journal.d.ts +16 -1
- package/dist/storage/index.cjs +192 -186
- package/dist/storage/index.js +6 -6
- package/dist/storage/types.d.ts +6 -0
- package/dist/storage/workflow-snapshot.d.ts +4 -0
- package/dist/storage/workflow-step-guard.d.ts +5 -0
- package/dist/stream/RunOutput.d.ts +1 -1
- package/dist/stream/aisdk/v4/input.d.ts +1 -1
- package/dist/stream/aisdk/v5/compat/content.d.ts +1 -1
- package/dist/stream/aisdk/v5/compat/prepare-tools.d.ts +1 -1
- package/dist/stream/aisdk/v5/compat/ui-message.d.ts +1 -1
- package/dist/stream/aisdk/v5/compat/validation.d.ts +1 -1
- package/dist/stream/aisdk/v5/execute.d.ts +1 -1
- package/dist/stream/aisdk/v5/input.d.ts +1 -1
- package/dist/stream/aisdk/v5/output-helpers.d.ts +7 -7
- package/dist/stream/aisdk/v5/transform.d.ts +1 -1
- package/dist/stream/base/output.d.ts +12 -4
- package/dist/stream/base/schema.d.ts +1 -1
- package/dist/stream/index.cjs +2 -2
- package/dist/stream/index.js +2 -2
- package/dist/stream/types.d.ts +2 -2
- package/dist/{stream-BmtBm_-L.cjs → stream-DqKDB3nL.cjs} +144 -10
- package/dist/{stream-B4LzC6Sz.js → stream-H_wVxqdK.js} +103 -11
- package/dist/telemetry/index.cjs +1 -1
- package/dist/telemetry/index.js +1 -1
- package/dist/test-utils/llm-mock.cjs +1 -1
- package/dist/test-utils/llm-mock.d.ts +3 -3
- package/dist/test-utils/llm-mock.js +1 -1
- package/dist/{tool-Z3bykc1m.js → tool-DIFduuTw.js} +2 -5
- package/dist/{tool-CYlT2UA-.cjs → tool-Dn9WSDVn.cjs} +2 -5
- package/dist/tool-loop-agent/index.cjs +1 -1
- package/dist/tool-loop-agent/index.js +1 -1
- package/dist/tool-loop-agent/utils.d.ts +1 -1
- package/dist/{tool-loop-agent-BIbw3quM.cjs → tool-loop-agent-D4gSdYuN.cjs} +5 -5
- package/dist/{tool-loop-agent-CR2AgmkF.js → tool-loop-agent-DvZcOxWe.js} +4 -4
- package/dist/{toolchecks-DrsZdc3S.js → toolchecks-CRAfUe9H.js} +1 -1
- package/dist/{toolchecks-MFU48cit.cjs → toolchecks-DbBsQGHW.cjs} +1 -1
- package/dist/tools/builtin/web-search.d.ts +9 -1
- package/dist/tools/index.cjs +5 -5
- package/dist/tools/index.d.ts +1 -0
- package/dist/tools/index.js +5 -5
- package/dist/tools/is-vercel-tool.cjs +1 -1
- package/dist/tools/is-vercel-tool.js +1 -1
- package/dist/tools/provider-tool-utils.d.ts +1 -1
- package/dist/tools/tool-builder/builder.d.ts +1 -1
- package/dist/tools/tool-title.d.ts +1 -1
- package/dist/tools/tool.d.ts +2 -4
- package/dist/tools/types.d.ts +2 -1
- package/dist/{tools-BEYxowf0.cjs → tools-DZoVfKPl.cjs} +43 -18
- package/dist/{tools-tPy2FwMI.js → tools-FwJyNoyg.js} +42 -11
- package/dist/types/user.d.ts +1 -1
- package/dist/{utils-D2Bj0C2E.cjs → utils-Dd4m7z13.cjs} +6 -5
- package/dist/{utils-BnG4bq6k.js → utils-h5k_ChdS.js} +6 -5
- package/dist/utils.cjs +3 -3
- package/dist/utils.d.ts +1 -1
- package/dist/utils.js +3 -3
- package/dist/{validate-DHEGALaE.js → validate-DQB9spZ1.js} +1 -1
- package/dist/{validate-BxgKlbt7.cjs → validate-u6_TUYSo.cjs} +1 -1
- package/dist/vector/embed.d.ts +4 -4
- package/dist/vector/index.cjs +9 -9
- package/dist/vector/index.js +2 -2
- package/dist/vector/vector.d.ts +4 -4
- package/dist/voice/aisdk/index.d.ts +1 -1
- package/dist/voice/aisdk/speech.d.ts +1 -1
- package/dist/voice/aisdk/transcription.d.ts +1 -1
- package/dist/voice/composite-voice.d.ts +1 -1
- package/dist/voice/default-voice.d.ts +1 -1
- package/dist/voice/index.d.ts +2 -2
- package/dist/voice/voice.d.ts +1 -1
- package/dist/worker/index.cjs +1 -1
- package/dist/worker/index.d.ts +1 -1
- package/dist/worker/index.js +1 -1
- package/dist/worker/workers/orchestration-worker.d.ts +13 -0
- package/dist/{worker-BRKHC9hv.cjs → worker-0F7Nukyf.cjs} +3 -3
- package/dist/{worker-DYBrWSDX.cjs → worker-D-cq8McN.cjs} +129 -39
- package/dist/{worker-C-xoXGOt.js → worker-DWOK2M_5.js} +122 -32
- package/dist/{worker-1lHN6hT1.js → worker-DmUkyJY_.js} +2 -2
- package/dist/{workflow-DGRDgyhs.cjs → workflow-DXE15e-w.cjs} +30 -38
- package/dist/{workflow-79JneaJP.js → workflow-DamOke3z.js} +26 -34
- package/dist/workflows/builder/index.cjs +1 -1
- package/dist/workflows/builder/index.js +1 -1
- package/dist/workflows/evented/execution-engine.d.ts +3 -1
- package/dist/workflows/evented/index.cjs +10 -10
- package/dist/workflows/evented/index.js +1 -1
- package/dist/workflows/evented/setup-warning.d.ts +31 -0
- package/dist/workflows/evented/workflow-event-processor/index.d.ts +10 -4
- package/dist/workflows/evented/workflow-event-processor/loop.d.ts +1 -1
- package/dist/workflows/evented/workflow-event-processor/parallel.d.ts +2 -2
- package/dist/workflows/evented/workflow-event-processor/sleep.d.ts +2 -2
- package/dist/workflows/evented/workflow.d.ts +8 -3
- package/dist/workflows/handlers/entry.d.ts +8 -0
- package/dist/workflows/index.cjs +57 -55
- package/dist/workflows/index.js +6 -6
- package/dist/workflows/run-storage.d.ts +27 -3
- package/dist/workflows/scheduler/claim.d.ts +51 -0
- package/dist/workflows/scheduler/index.d.ts +2 -0
- package/dist/workflows/scheduler/types.d.ts +3 -0
- package/dist/workflows/types.d.ts +17 -1
- package/dist/workflows/workflow.d.ts +88 -11
- package/dist/workspace/filesystem/local-filesystem.d.ts +13 -0
- package/dist/workspace/index.cjs +1 -1
- package/dist/workspace/index.js +1 -1
- package/dist/workspace/sandbox/local-sandbox.d.ts +11 -0
- package/dist/workspace/sandbox/sandbox.d.ts +2 -0
- package/dist/workspace/tools/media.d.ts +2 -2
- package/dist/{workspace-C8Zo5_qK.cjs → workspace-BQD4tcQi.cjs} +227 -26
- package/dist/{workspace-DOAil8mG.js → workspace-sqcfdZRR.js} +226 -25
- package/llm/reasoning.d.ts +1 -0
- package/memory/om-events.d.ts +1 -0
- package/package.json +36 -15
- package/skills/mastra/SKILL.md +171 -0
- package/skills/mastra/references/common-errors.md +557 -0
- package/skills/mastra/references/core-concepts.md +21 -0
- package/skills/mastra/references/create-mastra.md +233 -0
- package/skills/mastra/references/embedded-docs.md +103 -0
- package/skills/mastra/references/feedback.md +69 -0
- package/skills/mastra/references/gateway.md +66 -0
- package/skills/mastra/references/mastra-api.md +222 -0
- package/skills/mastra/references/migration-guide.md +185 -0
- package/skills/mastra/references/model-selection.md +29 -0
- package/skills/mastra/references/platform.md +164 -0
- package/skills/mastra/references/remote-docs.md +193 -0
- package/skills/mastra/references/trace-query.md +150 -0
- package/skills/mastra/scripts/provider-registry.mjs +271 -0
- package/src/llm/model/provider-types.generated.d.ts +7162 -7416
- package/dist/capabilities/ai21.json +0 -4
- package/dist/capabilities/clarifai.json +0 -42
- package/dist/capabilities/jad-ai.json +0 -20
- package/dist/capabilities/llmtech.json +0 -16
- package/dist/signals-B1JSj-Ew.cjs +0 -58
- package/dist/signals-De9VnwL2.js +0 -53
- package/dist/_types/{@internal_ai-sdk-v4@0.0.99 → @internal_ai-sdk-v4@0.0.100}/dist/test.d.ts +0 -0
- package/dist/_types/{@internal_ai-sdk-v4@0.0.99 → @internal_ai-sdk-v4@0.0.100}/package.json +0 -0
- package/dist/_types/{@internal_ai-sdk-v5@0.0.99 → @internal_ai-sdk-v5@0.0.100}/dist/test.d.ts +0 -0
- package/dist/_types/{@internal_ai-sdk-v5@0.0.99 → @internal_ai-sdk-v5@0.0.100}/package.json +0 -0
- package/dist/_types/{@internal_ai-v6@0.0.99 → @internal_ai-v6@0.0.100}/package.json +0 -0
- package/dist/_types/{@internal_ai-v7@0.0.99 → @internal_ai-v7@0.0.100}/package.json +0 -0
- package/dist/_types/{@internal_auth@0.0.40 → @internal_auth@0.0.41}/dist/_types/@internal_core@0.1.4/dist/base/index.d.ts +0 -0
- package/dist/_types/{@internal_auth@0.0.40 → @internal_auth@0.0.41}/dist/_types/@internal_core@0.1.4/dist/index-Diz1p9N7.d.ts +0 -0
- package/dist/_types/{@internal_auth@0.0.40 → @internal_auth@0.0.41}/dist/ee/capabilities.d.ts +0 -0
- package/dist/_types/{@internal_auth@0.0.40 → @internal_auth@0.0.41}/dist/ee/defaults/index.d.ts +0 -0
- package/dist/_types/{@internal_auth@0.0.40 → @internal_auth@0.0.41}/dist/ee/defaults/rbac/index.d.ts +0 -0
- package/dist/_types/{@internal_auth@0.0.40 → @internal_auth@0.0.41}/dist/ee/defaults/rbac/static.d.ts +0 -0
- package/dist/_types/{@internal_auth@0.0.40 → @internal_auth@0.0.41}/dist/ee/defaults/roles.d.ts +0 -0
- package/dist/_types/{@internal_auth@0.0.40 → @internal_auth@0.0.41}/dist/ee/fga-check.d.ts +0 -0
- package/dist/_types/{@internal_auth@0.0.40 → @internal_auth@0.0.41}/dist/ee/index.d.ts +0 -0
- package/dist/_types/{@internal_auth@0.0.40 → @internal_auth@0.0.41}/dist/ee/interfaces/acl.d.ts +0 -0
- package/dist/_types/{@internal_auth@0.0.40 → @internal_auth@0.0.41}/dist/ee/interfaces/fga.d.ts +0 -0
- package/dist/_types/{@internal_auth@0.0.40 → @internal_auth@0.0.41}/dist/ee/interfaces/index.d.ts +0 -0
- package/dist/_types/{@internal_auth@0.0.40 → @internal_auth@0.0.41}/dist/ee/interfaces/permissions.generated.d.ts +0 -0
- package/dist/_types/{@internal_auth@0.0.40 → @internal_auth@0.0.41}/dist/ee/interfaces/rbac.d.ts +0 -0
- package/dist/_types/{@internal_auth@0.0.40 → @internal_auth@0.0.41}/dist/ee/interfaces/user.d.ts +0 -0
- package/dist/_types/{@internal_auth@0.0.40 → @internal_auth@0.0.41}/dist/ee/license.d.ts +0 -0
- package/dist/_types/{@internal_auth@0.0.40 → @internal_auth@0.0.41}/dist/index.d.ts +0 -0
- package/dist/_types/{@internal_auth@0.0.40 → @internal_auth@0.0.41}/dist/provider/index.d.ts +0 -0
- package/dist/_types/{@internal_auth@0.0.40 → @internal_auth@0.0.41}/dist/session/cookie.d.ts +0 -0
- package/dist/_types/{@internal_auth@0.0.40 → @internal_auth@0.0.41}/dist/session/index.d.ts +0 -0
- package/dist/_types/{@internal_auth@0.0.40 → @internal_auth@0.0.41}/dist/session/memory.d.ts +0 -0
- package/dist/_types/{@internal_auth@0.0.40 → @internal_auth@0.0.41}/dist/types/index.d.ts +0 -0
- package/dist/_types/{@internal_auth@0.0.40 → @internal_auth@0.0.41}/package.json +0 -0
- package/dist/_types/{@internal_deployer@0.0.5 → @internal_deployer@0.0.6}/dist/_types/@internal_core@0.1.4/dist/index-Diz1p9N7.d.ts +0 -0
- package/dist/_types/{@internal_deployer@0.0.5 → @internal_deployer@0.0.6}/dist/_types/@internal_core@0.1.4/dist/logger/index.d.ts +0 -0
- package/dist/_types/{@internal_deployer@0.0.5 → @internal_deployer@0.0.6}/dist/bundler.d.ts +0 -0
- package/dist/_types/{@internal_deployer@0.0.5 → @internal_deployer@0.0.6}/dist/deployer.d.ts +0 -0
- package/dist/_types/{@internal_deployer@0.0.5 → @internal_deployer@0.0.6}/dist/index.d.ts +0 -0
- package/dist/_types/{@internal_deployer@0.0.5 → @internal_deployer@0.0.6}/package.json +0 -0
- package/dist/_types/{@internal_external-types@0.0.102 → @internal_external-types@0.0.103}/dist/index.d.ts +0 -0
- package/dist/_types/{@internal_external-types@0.0.102 → @internal_external-types@0.0.103}/package.json +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/_types/@internal_core@0.1.4/dist/base/index.d.ts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/_types/@internal_core@0.1.4/dist/index-Diz1p9N7.d.ts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/_types/@internal_core@0.1.4/dist/request-context/index.d.ts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/_types/@internal_core@0.1.4/dist/types/index.d.ts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/_types/zod@4.6.7/v3/ZodError.d.ts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/_types/zod@4.6.7/v3/errors.d.ts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/_types/zod@4.6.7/v3/external.d.ts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/_types/zod@4.6.7/v3/helpers/enumUtil.d.ts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/_types/zod@4.6.7/v3/helpers/errorUtil.d.ts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/_types/zod@4.6.7/v3/helpers/parseUtil.d.ts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/_types/zod@4.6.7/v3/helpers/partialUtil.d.ts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/_types/zod@4.6.7/v3/helpers/typeAliases.d.ts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/_types/zod@4.6.7/v3/helpers/util.d.ts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/_types/zod@4.6.7/v3/index.d.ts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/_types/zod@4.6.7/v3/locales/en.d.ts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/_types/zod@4.6.7/v3/standard-schema.d.ts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/_types/zod@4.6.7/v3/types.d.ts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/_types/zod@4.6.7/v4/classic/checks.d.ts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/_types/zod@4.6.7/v4/classic/coerce.d.ts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/_types/zod@4.6.7/v4/classic/compat.d.ts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/_types/zod@4.6.7/v4/classic/deep-partial.d.ts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/_types/zod@4.6.7/v4/classic/errors.d.ts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/_types/zod@4.6.7/v4/classic/external.d.ts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/_types/zod@4.6.7/v4/classic/from-json-schema.d.ts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/_types/zod@4.6.7/v4/classic/in-out.d.ts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/_types/zod@4.6.7/v4/classic/index.d.ts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/_types/zod@4.6.7/v4/classic/iso.d.ts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/_types/zod@4.6.7/v4/classic/parse.d.ts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/_types/zod@4.6.7/v4/classic/schemas.d.ts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/_types/zod@4.6.7/v4/core/api.d.ts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/_types/zod@4.6.7/v4/core/checks.d.ts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/_types/zod@4.6.7/v4/core/compile.d.ts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/_types/zod@4.6.7/v4/core/core.d.ts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/_types/zod@4.6.7/v4/core/doc.d.ts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/_types/zod@4.6.7/v4/core/errors.d.ts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/_types/zod@4.6.7/v4/core/index.d.ts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/_types/zod@4.6.7/v4/core/json-schema-generator.d.ts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/_types/zod@4.6.7/v4/core/json-schema-processors.d.ts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/_types/zod@4.6.7/v4/core/json-schema.d.ts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/_types/zod@4.6.7/v4/core/memoizer.d.ts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/_types/zod@4.6.7/v4/core/parse.d.ts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/_types/zod@4.6.7/v4/core/regexes.d.ts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/_types/zod@4.6.7/v4/core/registries.d.ts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/_types/zod@4.6.7/v4/core/schemas.d.ts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/_types/zod@4.6.7/v4/core/standard-schema.d.ts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/_types/zod@4.6.7/v4/core/to-json-schema.d.ts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/_types/zod@4.6.7/v4/core/util.d.ts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/_types/zod@4.6.7/v4/core/versions.d.ts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/_types/zod@4.6.7/v4/index.d.cts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/_types/zod@4.6.7/v4/locales/ar.d.ts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/_types/zod@4.6.7/v4/locales/az.d.ts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/_types/zod@4.6.7/v4/locales/be.d.ts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/_types/zod@4.6.7/v4/locales/bg.d.ts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/_types/zod@4.6.7/v4/locales/bn.d.ts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/_types/zod@4.6.7/v4/locales/ca.d.ts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/_types/zod@4.6.7/v4/locales/ckb.d.ts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/_types/zod@4.6.7/v4/locales/cs.d.ts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/_types/zod@4.6.7/v4/locales/da.d.ts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/_types/zod@4.6.7/v4/locales/de.d.ts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/_types/zod@4.6.7/v4/locales/el.d.ts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/_types/zod@4.6.7/v4/locales/en.d.ts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/_types/zod@4.6.7/v4/locales/eo.d.ts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/_types/zod@4.6.7/v4/locales/es.d.ts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/_types/zod@4.6.7/v4/locales/fa.d.ts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/_types/zod@4.6.7/v4/locales/fi.d.ts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/_types/zod@4.6.7/v4/locales/fr-CA.d.ts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/_types/zod@4.6.7/v4/locales/fr.d.ts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/_types/zod@4.6.7/v4/locales/gu.d.ts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/_types/zod@4.6.7/v4/locales/he.d.ts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/_types/zod@4.6.7/v4/locales/hi.d.ts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/_types/zod@4.6.7/v4/locales/hr.d.ts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/_types/zod@4.6.7/v4/locales/hu.d.ts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/_types/zod@4.6.7/v4/locales/hy.d.ts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/_types/zod@4.6.7/v4/locales/id.d.ts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/_types/zod@4.6.7/v4/locales/index.d.ts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/_types/zod@4.6.7/v4/locales/is.d.ts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/_types/zod@4.6.7/v4/locales/it.d.ts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/_types/zod@4.6.7/v4/locales/ja.d.ts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/_types/zod@4.6.7/v4/locales/ka.d.ts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/_types/zod@4.6.7/v4/locales/kh.d.ts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/_types/zod@4.6.7/v4/locales/km.d.ts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/_types/zod@4.6.7/v4/locales/kn.d.ts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/_types/zod@4.6.7/v4/locales/ko.d.ts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/_types/zod@4.6.7/v4/locales/lt.d.ts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/_types/zod@4.6.7/v4/locales/mk.d.ts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/_types/zod@4.6.7/v4/locales/ms.d.ts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/_types/zod@4.6.7/v4/locales/ne.d.ts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/_types/zod@4.6.7/v4/locales/nl.d.ts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/_types/zod@4.6.7/v4/locales/nn.d.ts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/_types/zod@4.6.7/v4/locales/no.d.ts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/_types/zod@4.6.7/v4/locales/ota.d.ts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/_types/zod@4.6.7/v4/locales/pl.d.ts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/_types/zod@4.6.7/v4/locales/ps.d.ts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/_types/zod@4.6.7/v4/locales/pt-BR.d.ts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/_types/zod@4.6.7/v4/locales/pt.d.ts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/_types/zod@4.6.7/v4/locales/ro.d.ts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/_types/zod@4.6.7/v4/locales/ru.d.ts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/_types/zod@4.6.7/v4/locales/sk.d.ts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/_types/zod@4.6.7/v4/locales/sl.d.ts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/_types/zod@4.6.7/v4/locales/sv.d.ts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/_types/zod@4.6.7/v4/locales/ta.d.ts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/_types/zod@4.6.7/v4/locales/tg.d.ts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/_types/zod@4.6.7/v4/locales/th.d.ts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/_types/zod@4.6.7/v4/locales/tk.d.ts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/_types/zod@4.6.7/v4/locales/tr.d.ts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/_types/zod@4.6.7/v4/locales/ua.d.ts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/_types/zod@4.6.7/v4/locales/uk.d.ts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/_types/zod@4.6.7/v4/locales/ur.d.ts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/_types/zod@4.6.7/v4/locales/uz.d.ts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/_types/zod@4.6.7/v4/locales/vi.d.ts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/_types/zod@4.6.7/v4/locales/yo.d.ts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/_types/zod@4.6.7/v4/locales/zh-CN.d.ts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/_types/zod@4.6.7/v4/locales/zh-TW.d.ts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/index.d.ts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/voice/aisdk/index.d.ts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/voice/default-voice.d.ts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/voice/index.d.ts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/voice/voice.d.ts +0 -0
- package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/package.json +0 -0
- package/dist/{observability-B0R_D1PZ.cjs → observability-VaoaeadK.cjs} +647 -647
package/dist/_types/{@internal_ai-sdk-v4@0.0.99 → @internal_ai-sdk-v4@0.0.100}/dist/index.d.ts
RENAMED
|
@@ -7486,4 +7486,4 @@ export declare function zodSchema<OBJECT>(zodSchema: z.Schema<OBJECT, z.ZodTypeD
|
|
|
7486
7486
|
}): Schema<OBJECT>;
|
|
7487
7487
|
|
|
7488
7488
|
export { }
|
|
7489
|
-
export {
|
|
7489
|
+
export { LanguageModelV1FinishReason as LanguageModelV1FinishReason, LanguageModelV1CallWarning as LanguageModelV1CallWarning, JSONValue_2 as JSONValue_2, Source as Source, DataStreamString as DataStreamString, AttributeValue as AttributeValue, Tracer as Tracer, EmbeddingModelV1 as EmbeddingModelV1, EmbeddingModelV1Embedding as EmbeddingModelV1Embedding, ImageModelV1CallWarning as ImageModelV1CallWarning, TranscriptionModelV1CallWarning as TranscriptionModelV1CallWarning, SpeechModelV1CallWarning as SpeechModelV1CallWarning, ProviderOptions as ProviderOptions, ReasoningPart as ReasoningPart, RedactedReasoningPart as RedactedReasoningPart, ToolResultContent as ToolResultContent, inferParameters as inferParameters, ToolParameters as ToolParameters, JSONRPCRequestSchema as JSONRPCRequestSchema, JSONRPCResponseSchema as JSONRPCResponseSchema, JSONRPCErrorSchema as JSONRPCErrorSchema, JSONRPCNotificationSchema as JSONRPCNotificationSchema, JSONRPCMessageSchema as JSONRPCMessageSchema, MCPClientConfig as MCPClientConfig, MCPClient as MCPClient, ValueOf as ValueOf, ToToolResultObject as ToToolResultObject, ToToolsWithDefinedExecute as ToToolsWithDefinedExecute, ToToolsWithExecute as ToToolsWithExecute, ReasoningDetail as ReasoningDetail, ToolCallArray as ToolCallArray, ToolResultArray as ToolResultArray, ResponseMessage as ResponseMessage, Output_2 as Output_2, ConsumeStreamOptions as ConsumeStreamOptions, ImageModelV1 as ImageModelV1, CallSettings as CallSettings, Prompt as Prompt, StreamObjectOnErrorCallback as StreamObjectOnErrorCallback, AsyncIterableStream as AsyncIterableStream, SpeechModelV1 as SpeechModelV1, TranscriptionModelV1 as TranscriptionModelV1, LanguageModelV1ProviderMetadata as LanguageModelV1ProviderMetadata, ExtractModelId as ExtractModelId, ExtractLiteralUnion as ExtractLiteralUnion, ProviderV1 as ProviderV1, SingleRequestTextStreamPart as SingleRequestTextStreamPart, RetryErrorReason as RetryErrorReason, AssistantResponseSettings as AssistantResponseSettings, AssistantResponseCallback as AssistantResponseCallback, LanguageModelV1Message as LanguageModelV1Message, LanguageModelV1CallSettings as LanguageModelV1CallSettings, LanguageModelV1FunctionTool as LanguageModelV1FunctionTool, LanguageModelV1ProviderDefinedTool as LanguageModelV1ProviderDefinedTool, LanguageModelV1ToolChoice as LanguageModelV1ToolChoice, LanguageModelV1ObjectGenerationMode as LanguageModelV1ObjectGenerationMode, LanguageModelV1FunctionToolCall as LanguageModelV1FunctionToolCall, LanguageModelV1Source as LanguageModelV1Source, LanguageModelV1LogProbs as LanguageModelV1LogProbs, FetchFunction as FetchFunction, TextUIPart as TextUIPart, ReasoningUIPart as ReasoningUIPart, ToolInvocationUIPart as ToolInvocationUIPart, SourceUIPart as SourceUIPart, FileUIPart as FileUIPart, StepStartUIPart as StepStartUIPart, AssistantStreamPartType as AssistantStreamPartType, AssistantStreamPartValueType as AssistantStreamPartValueType, AssistantStreamString as AssistantStreamString, DataStreamPartType as DataStreamPartType, DataStreamPartValueType as DataStreamPartValueType, DeepPartialInternal as DeepPartialInternal, Validator as Validator };
|
package/dist/_types/{@internal_ai-sdk-v5@0.0.99 → @internal_ai-sdk-v5@0.0.100}/dist/index.d.ts
RENAMED
|
@@ -9200,5 +9200,5 @@ export declare function zodSchema<OBJECT>(zodSchema: z4.core.$ZodType<OBJECT, an
|
|
|
9200
9200
|
}): Schema<OBJECT>;
|
|
9201
9201
|
|
|
9202
9202
|
export { }
|
|
9203
|
-
export {
|
|
9203
|
+
export { ImageModelV2CallWarning as ImageModelV2CallWarning, SpeechModelV2CallWarning as SpeechModelV2CallWarning, TranscriptionModelV2CallWarning as TranscriptionModelV2CallWarning, AttributeValue as AttributeValue, Tracer as Tracer, EmbeddingModelV2Embedding as EmbeddingModelV2Embedding, ImageModelV2ProviderMetadata as ImageModelV2ProviderMetadata, GlobalProviderModelId as GlobalProviderModelId, LanguageModelV2FinishReason as LanguageModelV2FinishReason, LanguageModelV2CallWarning as LanguageModelV2CallWarning, LanguageModelV2Middleware as LanguageModelV2Middleware, SharedV2ProviderMetadata as SharedV2ProviderMetadata, LanguageModelV2Usage as LanguageModelV2Usage, Source as Source, ResponseMessage as ResponseMessage, DeepPartialInternal as DeepPartialInternal, LanguageModelV2ToolCall as LanguageModelV2ToolCall, StreamTextOnAbortCallback as StreamTextOnAbortCallback, ValueOf as ValueOf, asUITool as asUITool, _ai_sdk_provider_utils as _ai_sdk_provider_utils, DataUIMessageChunk as DataUIMessageChunk, ConsumeStreamOptions as ConsumeStreamOptions, InferAgentTools as InferAgentTools, SingleRequestTextStreamPart as SingleRequestTextStreamPart, EnforcedToolChoice as EnforcedToolChoice, LanguageModelV2Content as LanguageModelV2Content, RetryErrorReason as RetryErrorReason, InferSchema as InferSchema, Job as Job, StreamObjectOnErrorCallback as StreamObjectOnErrorCallback, JSONValue_2 as JSONValue_2, LanguageModelV2CallOptions as LanguageModelV2CallOptions, LanguageModelV2 as LanguageModelV2, EmbeddingModelV2 as EmbeddingModelV2, ImageModelV2 as ImageModelV2, TranscriptionModelV2 as TranscriptionModelV2, SpeechModelV2 as SpeechModelV2, ExtractModelId as ExtractModelId, ExtractLiteralUnion as ExtractLiteralUnion, ProviderV2 as ProviderV2, getOriginalFetch as getOriginalFetch, UIMessageStreamResponseInit as UIMessageStreamResponseInit, InferUIMessageToolCall as InferUIMessageToolCall, Validator as Validator, StandardSchemaV1 as StandardSchemaV1, UIDataTypesToSchemas as UIDataTypesToSchemas, InferUIMessageData as InferUIMessageData, InferUIMessageMetadata as InferUIMessageMetadata, InferUIMessageTools as InferUIMessageTools, Resolvable as Resolvable, FetchFunction as FetchFunction, ValidateUIMessagesOptions as ValidateUIMessagesOptions, GatewayProviderSettings as GatewayProviderSettings, GatewayProvider as GatewayProvider, ParseResult as ParseResult, FlexibleValidator as FlexibleValidator, ValidationResult as ValidationResult, LanguageModelV2ToolResultOutput as LanguageModelV2ToolResultOutput, ProviderOptions as ProviderOptions, ReasoningPart as ReasoningPart, ToolOutputProperties as ToolOutputProperties, LanguageModelV2ToolResultPart as LanguageModelV2ToolResultPart, FlexibleSchema as FlexibleSchema };
|
|
9204
9204
|
export { EMBEDDING_MODEL_MAX_INPUT_BYTES_PER_CALL, schemaSymbol, symbol$1, symbol$1_2, symbol$2, symbol$2_2, symbol$3, symbol$3_2, symbol$4, symbol$4_2, symbol$5, symbol$5_2, symbol$6, symbol$6_2, symbol$7, symbol$7_2, symbol$8, symbol$8_2, symbol$9, symbol$9_2, symbol$a, symbol$b, symbol$b_2, symbol$c, symbol$c_2, symbol$d, symbol$d_2, symbol$e, symbol$f, symbol, symbol_2, symbol_3, validatorSymbol };
|
|
@@ -14637,5 +14637,5 @@ export declare function zodSchema<OBJECT>(zodSchema: z4.core.$ZodType<OBJECT, an
|
|
|
14637
14637
|
}): Schema<OBJECT>;
|
|
14638
14638
|
|
|
14639
14639
|
export { }
|
|
14640
|
-
export {
|
|
14640
|
+
export { EmbeddingModelV2 as EmbeddingModelV2, EmbeddingModelV3Embedding as EmbeddingModelV3Embedding, EmbeddingModelV3Middleware as EmbeddingModelV3Middleware, ImageModelV2 as ImageModelV2, ImageModelV3ProviderMetadata as ImageModelV3ProviderMetadata, ImageModelV2ProviderMetadata as ImageModelV2ProviderMetadata, ImageModelV3Middleware as ImageModelV3Middleware, GlobalProviderModelId as GlobalProviderModelId, LanguageModelV2 as LanguageModelV2, SharedV3Warning as SharedV3Warning, LanguageModelV3Middleware as LanguageModelV3Middleware, SharedV3ProviderMetadata as SharedV3ProviderMetadata, SpeechModelV2 as SpeechModelV2, TranscriptionModelV2 as TranscriptionModelV2, ImageModelV3Usage as ImageModelV3Usage, DeepPartialInternal as DeepPartialInternal, AttributeValue as AttributeValue, Tracer as Tracer, BaseToolCall as BaseToolCall, Source as Source, PrepareStepCallSettings as PrepareStepCallSettings, ResponseMessage as ResponseMessage, LanguageModelV3ToolCall as LanguageModelV3ToolCall, GenerateTextIncludeSettings as GenerateTextIncludeSettings, ValueOf as ValueOf, asUITool as asUITool, _ai_sdk_provider_utils as _ai_sdk_provider_utils, DataUIMessageChunk as DataUIMessageChunk, InferElementOutput as InferElementOutput, ConsumeStreamOptions as ConsumeStreamOptions, StreamTextIncludeSettings as StreamTextIncludeSettings, StreamTextOnAbortCallback as StreamTextOnAbortCallback, EnrichedStreamPart as EnrichedStreamPart, CallbackModelInfo as CallbackModelInfo, LanguageModelV3ToolChoice as LanguageModelV3ToolChoice, Listener as Listener, MaybePromiseLike as MaybePromiseLike, InferAgentTools as InferAgentTools, UIMessageStreamResponseInit as UIMessageStreamResponseInit, getOriginalFetch as getOriginalFetch, InferUIMessageTools as InferUIMessageTools, InferUIMessageToolCall as InferUIMessageToolCall, UIDataTypesToSchemas as UIDataTypesToSchemas, InferUIMessageData as InferUIMessageData, InferUIMessageMetadata as InferUIMessageMetadata, Resolvable as Resolvable, FetchFunction as FetchFunction, ValidateUIMessagesOptions as ValidateUIMessagesOptions, SingleRequestTextStreamPart as SingleRequestTextStreamPart, EnforcedToolChoice as EnforcedToolChoice, LanguageModelV3Content as LanguageModelV3Content, RetryErrorReason_2 as RetryErrorReason_2, GenerateImagePrompt as GenerateImagePrompt, JSONValue_2 as JSONValue_2, Job as Job, StreamObjectOnErrorCallback as StreamObjectOnErrorCallback, VideoModelResponseMetadata as VideoModelResponseMetadata, VideoModelProviderMetadata as VideoModelProviderMetadata, VideoModel as VideoModel, VideoModelV3FrameType as VideoModelV3FrameType, EmbeddingModelV3CallOptions as EmbeddingModelV3CallOptions, LanguageModelV3CallOptions as LanguageModelV3CallOptions, JSONObject as JSONObject, LanguageModelV3 as LanguageModelV3, EmbeddingModelV3 as EmbeddingModelV3, ImageModelV3 as ImageModelV3, TranscriptionModelV3 as TranscriptionModelV3, SpeechModelV3 as SpeechModelV3, RerankingModelV3 as RerankingModelV3, VideoModelV3 as VideoModelV3, ProviderV2 as ProviderV2, ExtractModelId as ExtractModelId, ExtractLiteralUnion as ExtractLiteralUnion, ProviderV3 as ProviderV3, GatewayProviderSettings as GatewayProviderSettings, GatewayProvider as GatewayProvider, LazySchema as LazySchema, ZodSchema as ZodSchema, StandardSchema as StandardSchema, ValidationResult as ValidationResult, ParseResult as ParseResult, ProviderOptions as ProviderOptions, ReasoningPart as ReasoningPart, ToolOutputProperties as ToolOutputProperties, ToolResultOutput as ToolResultOutput, ToolNeedsApprovalFunction as ToolNeedsApprovalFunction, TypeValidationContext as TypeValidationContext };
|
|
14641
14641
|
export { EMBEDDING_MODEL_MAX_INPUT_BYTES_PER_CALL, EMBEDDING_MODEL_PROVIDER_OPTIONS_TRANSFORMER, schemaSymbol, symbol$1, symbol$1_2, symbol$2, symbol$2_2, symbol$3, symbol$3_2, symbol$4, symbol$4_2, symbol$5, symbol$5_2, symbol$6, symbol$6_2, symbol$7, symbol$7_2, symbol$8, symbol$8_2, symbol$9, symbol$9_2, symbol$a, symbol$b, symbol$b_2, symbol$c, symbol$c_2, symbol$d, symbol$d_2, symbol$e, symbol$f, symbol$g, symbol$h, symbol$i, symbol$j, symbol$k, symbol$l, symbol, symbol_2, symbol_3 };
|
|
@@ -23418,5 +23418,5 @@ export declare function zodSchema<OBJECT>(zodSchema: ZodSchema<OBJECT>, options?
|
|
|
23418
23418
|
}): Schema<OBJECT>;
|
|
23419
23419
|
|
|
23420
23420
|
export { }
|
|
23421
|
-
export {
|
|
23421
|
+
export { LanguageModelV4Citation as LanguageModelV4Citation, EmbeddingModelV3 as EmbeddingModelV3, EmbeddingModelV2 as EmbeddingModelV2, EmbeddingModelV4Embedding as EmbeddingModelV4Embedding, EmbeddingModelV4Middleware as EmbeddingModelV4Middleware, ImageModelV3 as ImageModelV3, ImageModelV2 as ImageModelV2, ImageModelV2ProviderMetadata as ImageModelV2ProviderMetadata, ImageModelV4Middleware as ImageModelV4Middleware, GlobalProviderModelId as GlobalProviderModelId, LanguageModelV3 as LanguageModelV3, LanguageModelV2 as LanguageModelV2, SharedV4Warning as SharedV4Warning, LanguageModelV4Middleware as LanguageModelV4Middleware, RerankingModelV3 as RerankingModelV3, SpeechModelV3 as SpeechModelV3, SpeechModelV2 as SpeechModelV2, TranscriptionModelV3 as TranscriptionModelV3, TranscriptionModelV2 as TranscriptionModelV2, ImageModelV4Usage as ImageModelV4Usage, JSONValue_2 as JSONValue_2, Experimental_EvaluationModelV4 as Experimental_EvaluationModelV4, DecisionModelV4Result as DecisionModelV4Result, DeepPartialInternal as DeepPartialInternal, IncludedContext as IncludedContext, IncludedToolsContext as IncludedToolsContext, BaseToolCall as BaseToolCall, Source as Source, ValueOf as ValueOf, asUITool as asUITool, DataUIMessageChunk as DataUIMessageChunk, InferElementOutput as InferElementOutput, ConsumeStreamOptions as ConsumeStreamOptions, TextStreamTextStartPart as TextStreamTextStartPart, TextStreamTextEndPart as TextStreamTextEndPart, TextStreamReasoningStartPart as TextStreamReasoningStartPart, TextStreamReasoningEndPart as TextStreamReasoningEndPart, TextStreamCustomPart as TextStreamCustomPart, TextStreamToolInputStartPart as TextStreamToolInputStartPart, TextStreamToolInputEndPart as TextStreamToolInputEndPart, TextStreamToolInputDeltaPart as TextStreamToolInputDeltaPart, TextStreamSourcePart as TextStreamSourcePart, TextStreamToolOutputDeniedPart as TextStreamToolOutputDeniedPart, TextStreamStartStepPart as TextStreamStartStepPart, TextStreamFinishStepPart as TextStreamFinishStepPart, TextStreamStartPart as TextStreamStartPart, TextStreamFinishPart as TextStreamFinishPart, TextStreamAbortPart as TextStreamAbortPart, TextStreamErrorPart as TextStreamErrorPart, TextStreamRawPart as TextStreamRawPart, MaybePromiseLike as MaybePromiseLike, InferToolContext as InferToolContext, ToolCallerName as ToolCallerName, LanguageModelV4ToolCall as LanguageModelV4ToolCall, WidenedToolExecutionStartEvent as WidenedToolExecutionStartEvent, StaticToolExecutionStartEvent as StaticToolExecutionStartEvent, DynamicToolExecutionStartEvent as DynamicToolExecutionStartEvent, WidenedToolExecutionEndEvent as WidenedToolExecutionEndEvent, StaticToolExecutionEndEvent as StaticToolExecutionEndEvent, DynamicToolExecutionEndEvent as DynamicToolExecutionEndEvent, StreamTextOptions as StreamTextOptions, StreamTextSingleConsumerResult as StreamTextSingleConsumerResult, EnrichedStreamPart as EnrichedStreamPart, StandardizedPrompt as StandardizedPrompt, ResponseMessage as ResponseMessage, TranscriptionStartEventFor as TranscriptionStartEventFor, TranscriptionEndEventFor as TranscriptionEndEventFor, BivariantCallback as BivariantCallback, OperationStartEvent as OperationStartEvent, OperationEndEvent as OperationEndEvent, Arrayable as Arrayable, Context as Context, GenerateTextOptions as GenerateTextOptions, ToolsContextParameter as ToolsContextParameter, StreamTextOnAbortCallback as StreamTextOnAbortCallback, ToolLoopAgentCallExtensions as ToolLoopAgentCallExtensions, InferAgentTools as InferAgentTools, getOriginalFetch as getOriginalFetch, InferUIMessageTools as InferUIMessageTools, InferUIMessageToolCall as InferUIMessageToolCall, UIDataTypesToSchemas as UIDataTypesToSchemas, InferUIMessageData as InferUIMessageData, InferUIMessageMetadata as InferUIMessageMetadata, Resolvable as Resolvable, FetchFunction as FetchFunction, WebSocketConstructor as WebSocketConstructor, ValidateUIMessagesOptions as ValidateUIMessagesOptions, AgentUIMessageStreamOptions as AgentUIMessageStreamOptions, UIMessageStreamResponseInit as UIMessageStreamResponseInit, ActiveToolSubset as ActiveToolSubset, TextStreamTextDeltaPart as TextStreamTextDeltaPart, TextStreamReasoningDeltaPart as TextStreamReasoningDeltaPart, TextStreamFilePart as TextStreamFilePart, TextStreamReasoningFilePart as TextStreamReasoningFilePart, TextStreamToolApprovalRequestPart as TextStreamToolApprovalRequestPart, TextStreamToolApprovalResponsePart as TextStreamToolApprovalResponsePart, TextStreamToolCallPart as TextStreamToolCallPart, TextStreamToolResultPart as TextStreamToolResultPart, TextStreamToolErrorPart as TextStreamToolErrorPart, LanguageModelV4Prompt as LanguageModelV4Prompt, SharedV4Headers as SharedV4Headers, BatchV4 as BatchV4, BatchV4Error as BatchV4Error, BatchV4Status as BatchV4Status, GenerateImagePrompt as GenerateImagePrompt, BatchV4ModelIds as BatchV4ModelIds, InferBatchModelIds as InferBatchModelIds, BatchV4StartResult as BatchV4StartResult, BatchCallOptions as BatchCallOptions, ImageModelV4ProviderMetadata as ImageModelV4ProviderMetadata, Callback as Callback, EnforcedToolChoice as EnforcedToolChoice, LanguageModelV4Content as LanguageModelV4Content, RetryErrorReason as RetryErrorReason, DecisionModelV4CallOptions as DecisionModelV4CallOptions, Job as Job, StreamObjectOnErrorCallback as StreamObjectOnErrorCallback, SharedV4AudioFormat as SharedV4AudioFormat, SharedV4ProviderMetadata as SharedV4ProviderMetadata, SpeechModelV4StreamUsage as SpeechModelV4StreamUsage, VideoModelResponseMetadata as VideoModelResponseMetadata, VideoModelProviderMetadata as VideoModelProviderMetadata, VideoModelV4FrameType as VideoModelV4FrameType, GenerateVideoPollOptions as GenerateVideoPollOptions, GenerateVideoWebhookFactory as GenerateVideoWebhookFactory, VideoModelV4OperationStatusResult as VideoModelV4OperationStatusResult, EmbeddingModelV4CallOptions as EmbeddingModelV4CallOptions, LanguageModelV4CallOptions as LanguageModelV4CallOptions, JSONObject as JSONObject, RealtimeFactoryV4 as RealtimeFactoryV4, RealtimeFactoryV4GetTokenOptions as RealtimeFactoryV4GetTokenOptions, RealtimeFactoryV4GetTokenResult as RealtimeFactoryV4GetTokenResult, RealtimeModelV4 as RealtimeModelV4, RealtimeModelV4ClientEvent as RealtimeModelV4ClientEvent, RealtimeModelV4ServerEvent as RealtimeModelV4ServerEvent, RealtimeModelV4SessionConfig as RealtimeModelV4SessionConfig, RealtimeModelV4ToolDefinition as RealtimeModelV4ToolDefinition, InferToolSetContext as InferToolSetContext, ProviderDecisionModelIdentifier as ProviderDecisionModelIdentifier, ExtractLiteralUnion as ExtractLiteralUnion, ProviderVideoModelIdentifier as ProviderVideoModelIdentifier, ProviderV4 as ProviderV4, ProviderV3 as ProviderV3, VideoModel as VideoModel, FilesV4 as FilesV4, SkillsV4 as SkillsV4, ProviderV2 as ProviderV2, ExtractModelId as ExtractModelId, LanguageModelV4 as LanguageModelV4, EmbeddingModelV4 as EmbeddingModelV4, ImageModelV4 as ImageModelV4, TranscriptionModelV4 as TranscriptionModelV4, RerankingModelV4 as RerankingModelV4, SpeechModelV4 as SpeechModelV4, VideoModelV4 as VideoModelV4, DecisionModelV4 as DecisionModelV4, ToolSearchInput as ToolSearchInput, ToolSearchOutput as ToolSearchOutput, ToolSearchFunction as ToolSearchFunction, SpeechTranslationModelV4Usage as SpeechTranslationModelV4Usage, SpeechTranslationModelResponseMetadata as SpeechTranslationModelResponseMetadata, SpeechTranslationModel as SpeechTranslationModel, FilesV4UploadFileCallOptions as FilesV4UploadFileCallOptions, SkillsV4UploadSkillResult as SkillsV4UploadSkillResult, SkillsV4UploadSkillCallOptions as SkillsV4UploadSkillCallOptions, UploadSkillFile as UploadSkillFile, GatewayProviderSettings as GatewayProviderSettings, GatewayProvider as GatewayProvider, ParseResult as ParseResult, LazySchema as LazySchema, StandardSchema as StandardSchema, ZodSchema as ZodSchema, ValidationResult as ValidationResult, ProviderOptions as ProviderOptions, CustomPart as CustomPart, ReasoningPart as ReasoningPart, ReasoningFilePart as ReasoningFilePart, FileData as FileData, ProviderReference_2 as ProviderReference_2, ToolResultOutput as ToolResultOutput, SandboxReadFileOptions as SandboxReadFileOptions, SandboxReadBinaryFileOptions as SandboxReadBinaryFileOptions, SandboxReadTextFileOptions as SandboxReadTextFileOptions, SandboxWriteFileOptions as SandboxWriteFileOptions, SandboxWriteBinaryFileOptions as SandboxWriteBinaryFileOptions, SandboxWriteTextFileOptions as SandboxWriteTextFileOptions, SandboxStatOptions as SandboxStatOptions, SandboxListDirectoryOptions as SandboxListDirectoryOptions, SandboxDeleteFileOptions as SandboxDeleteFileOptions, SandboxSpawnOptionsWithStdin as SandboxSpawnOptionsWithStdin, WritableSandboxProcess as WritableSandboxProcess, SandboxSpawnOptionsWithoutStdin as SandboxSpawnOptionsWithoutStdin, SandboxSpawnOptions as SandboxSpawnOptions, SandboxRunOptions as SandboxRunOptions, ToolCallerDefinition as ToolCallerDefinition, FunctionTool as FunctionTool, ProviderDefinedTool as ProviderDefinedTool, ProviderExecutedTool as ProviderExecutedTool, ExecutableTool as ExecutableTool, DynamicTool as DynamicTool, DecisionModelV4Input as DecisionModelV4Input, SharedV4ProviderReference as SharedV4ProviderReference, TypeValidationContext as TypeValidationContext };
|
|
23422
23422
|
export { schemaSymbol, symbol$1, symbol$10, symbol$10_2, symbol$11, symbol$12, symbol$13, symbol$14, symbol$14_2, symbol$15, symbol$15_2, symbol$16, symbol$16_2, symbol$17, symbol$17_2, symbol$18, symbol$18_2, symbol$19, symbol$1_2, symbol$1_3, symbol$2, symbol$20, symbol$21, symbol$22, symbol$23, symbol$2_2, symbol$3, symbol$3_2, symbol$4, symbol$4_2, symbol$5, symbol$5_2, symbol$6, symbol$6_2, symbol$7, symbol$7_2, symbol$8, symbol$8_2, symbol$9, symbol$9_2, symbol, symbol_2 };
|
|
@@ -346,18 +346,94 @@ export declare const KNOWLEDGE_SEARCH_MAX_WORDS = 16;
|
|
|
346
346
|
export declare function knowledgeSearchWords(query: string): string[];
|
|
347
347
|
/**
|
|
348
348
|
* Points one matched search word earns on a page, by the best field it appears in: name, then
|
|
349
|
-
* description, then body
|
|
350
|
-
*
|
|
351
|
-
* match the same number of words.
|
|
349
|
+
* description, then body; a note's text counts like a body. They break ties between hits with the
|
|
350
|
+
* same {@link knowledgeSearchTermWeights} score and word count.
|
|
352
351
|
*/
|
|
353
352
|
export declare const KNOWLEDGE_SEARCH_WEIGHTS: {
|
|
354
353
|
readonly name: 3;
|
|
355
354
|
readonly description: 2;
|
|
356
355
|
readonly body: 1;
|
|
357
356
|
};
|
|
357
|
+
/**
|
|
358
|
+
* How much one matched search word counts, by how rare it is (r506): the BM25 inverse document
|
|
359
|
+
* frequency `ln(1 + (total - df + 0.5) / (df + 0.5))`, scaled by 1000 and rounded, at least 1.
|
|
360
|
+
* `total` is how many documents the search could return (readable pages and visible notes in its
|
|
361
|
+
* scope) and `df[i]` how many of them contain `words[i]`. Integers so every store sums and orders
|
|
362
|
+
* scores the same way, whether in SQL, MongoDB or JavaScript.
|
|
363
|
+
*/
|
|
364
|
+
export declare function knowledgeSearchTermWeights(df: readonly number[], total: number): number[];
|
|
365
|
+
/** One page or note hit with the keys {@link compareKnowledgeSearchHits} orders by. */
|
|
366
|
+
export interface KnowledgeSearchRank {
|
|
367
|
+
/** 0 for a page whose canonical name contains the whole query, else 1 (always 1 for a note). */
|
|
368
|
+
tier: number;
|
|
369
|
+
/** Sum of the matched words' {@link knowledgeSearchTermWeights}. */
|
|
370
|
+
score: number;
|
|
371
|
+
/** How many query words matched. */
|
|
372
|
+
matched: number;
|
|
373
|
+
/** Sum of the matched words' {@link KNOWLEDGE_SEARCH_WEIGHTS} by field. */
|
|
374
|
+
points: number;
|
|
375
|
+
updatedAt: Date;
|
|
376
|
+
type: 'page' | 'note';
|
|
377
|
+
id: string;
|
|
378
|
+
}
|
|
379
|
+
/**
|
|
380
|
+
* Keyword-search order, the same for pages and notes so they share one list: whole query in the name
|
|
381
|
+
* first, then highest score (rarer words count more), then most words matched, then most points, then
|
|
382
|
+
* newest, then pages before notes, then id in code point order.
|
|
383
|
+
*/
|
|
384
|
+
export declare function compareKnowledgeSearchHits(a: KnowledgeSearchRank, b: KnowledgeSearchRank): number;
|
|
358
385
|
/**
|
|
359
386
|
* Why `key` can't be a Knowledge page key, or undefined when it can. Keys are one path segment:
|
|
360
387
|
* non-empty, with no `/` (path separator), `#` (scope/path separator) or `%` (escape character).
|
|
361
388
|
*/
|
|
362
389
|
export declare function knowledgePageKeyProblem(key: string): string | undefined;
|
|
390
|
+
/** The fields of a batch page write (core's `KnowledgePageWrite`) the helpers below read. */
|
|
391
|
+
type KnowledgeBatchWrite = {
|
|
392
|
+
op: 'create' | 'update' | 'move' | 'delete' | 'add-note' | 'remove-note' | 'replace-links';
|
|
393
|
+
id?: string;
|
|
394
|
+
pageId?: string;
|
|
395
|
+
scopeId?: string;
|
|
396
|
+
expectedVersion?: number;
|
|
397
|
+
deletedBy?: string;
|
|
398
|
+
provenance?: {
|
|
399
|
+
author: string;
|
|
400
|
+
};
|
|
401
|
+
};
|
|
402
|
+
/**
|
|
403
|
+
* Throws unless the batch holds `applyPageWrites`' first rule: at most one create, one move and one
|
|
404
|
+
* delete per page, no create, update or move of a page the batch deletes, and at most one write
|
|
405
|
+
* per note (stores apply note removals before additions, so two writes of one note can't keep
|
|
406
|
+
* input order).
|
|
407
|
+
*/
|
|
408
|
+
export declare function assertKnowledgePageWritesBatchable(writes: readonly KnowledgeBatchWrite[]): void;
|
|
409
|
+
/**
|
|
410
|
+
* The stored version each versioned write (update, move, delete) must find when a store runs the
|
|
411
|
+
* batch's page-row writes in `order` (which must keep a page's create first and its updates in
|
|
412
|
+
* input order), so the batch ends as the writes would one by one. Null when the writes'
|
|
413
|
+
* `expectedVersion`s aren't consecutive per page: one by one, one of them would conflict.
|
|
414
|
+
*/
|
|
415
|
+
export declare function knowledgePageWriteVersions<W extends KnowledgeBatchWrite>(writes: readonly W[], order: readonly W[]): Map<W, number> | null;
|
|
416
|
+
/**
|
|
417
|
+
* The pages whose `updatedBy` would end wrong when a store runs the batch's page-row writes in
|
|
418
|
+
* `order`: those whose last update or move in input order isn't the last one the store runs. Each
|
|
419
|
+
* comes with the provenance the single writes would leave, for the store to set at the end (it
|
|
420
|
+
* doesn't change the version). Empty unless a page is both moved and updated.
|
|
421
|
+
*/
|
|
422
|
+
export declare function knowledgePageWriteLastWriters<W extends KnowledgeBatchWrite>(writes: readonly W[], order: readonly W[]): {
|
|
423
|
+
id: string;
|
|
424
|
+
provenance: {
|
|
425
|
+
author: string;
|
|
426
|
+
};
|
|
427
|
+
}[];
|
|
428
|
+
/** The activity row the single write would log for `write`, or null (`replace-links` logs none). */
|
|
429
|
+
export declare function knowledgePageWriteActivity(write: KnowledgeBatchWrite): {
|
|
430
|
+
action: 'page-created' | 'page-updated' | 'page-moved' | 'page-deleted' | 'note-added' | 'note-removed';
|
|
431
|
+
scopeId: string;
|
|
432
|
+
pageId: string;
|
|
433
|
+
noteId?: string;
|
|
434
|
+
provenance: {
|
|
435
|
+
author: string;
|
|
436
|
+
};
|
|
437
|
+
} | null;
|
|
438
|
+
export {};
|
|
363
439
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -9200,5 +9200,5 @@ export declare function zodSchema<OBJECT>(zodSchema: z4.core.$ZodType<OBJECT, an
|
|
|
9200
9200
|
}): Schema<OBJECT>;
|
|
9201
9201
|
|
|
9202
9202
|
export { }
|
|
9203
|
-
export {
|
|
9203
|
+
export { ImageModelV2CallWarning as ImageModelV2CallWarning, SpeechModelV2CallWarning as SpeechModelV2CallWarning, TranscriptionModelV2CallWarning as TranscriptionModelV2CallWarning, AttributeValue as AttributeValue, Tracer as Tracer, EmbeddingModelV2Embedding as EmbeddingModelV2Embedding, ImageModelV2ProviderMetadata as ImageModelV2ProviderMetadata, GlobalProviderModelId as GlobalProviderModelId, LanguageModelV2FinishReason as LanguageModelV2FinishReason, LanguageModelV2CallWarning as LanguageModelV2CallWarning, LanguageModelV2Middleware as LanguageModelV2Middleware, SharedV2ProviderMetadata as SharedV2ProviderMetadata, LanguageModelV2Usage as LanguageModelV2Usage, Source as Source, ResponseMessage as ResponseMessage, DeepPartialInternal as DeepPartialInternal, LanguageModelV2ToolCall as LanguageModelV2ToolCall, StreamTextOnAbortCallback as StreamTextOnAbortCallback, ValueOf as ValueOf, asUITool as asUITool, _ai_sdk_provider_utils as _ai_sdk_provider_utils, DataUIMessageChunk as DataUIMessageChunk, ConsumeStreamOptions as ConsumeStreamOptions, InferAgentTools as InferAgentTools, SingleRequestTextStreamPart as SingleRequestTextStreamPart, EnforcedToolChoice as EnforcedToolChoice, LanguageModelV2Content as LanguageModelV2Content, RetryErrorReason as RetryErrorReason, InferSchema as InferSchema, Job as Job, StreamObjectOnErrorCallback as StreamObjectOnErrorCallback, JSONValue_2 as JSONValue_2, LanguageModelV2CallOptions as LanguageModelV2CallOptions, LanguageModelV2 as LanguageModelV2, EmbeddingModelV2 as EmbeddingModelV2, ImageModelV2 as ImageModelV2, TranscriptionModelV2 as TranscriptionModelV2, SpeechModelV2 as SpeechModelV2, ExtractModelId as ExtractModelId, ExtractLiteralUnion as ExtractLiteralUnion, ProviderV2 as ProviderV2, getOriginalFetch as getOriginalFetch, UIMessageStreamResponseInit as UIMessageStreamResponseInit, InferUIMessageToolCall as InferUIMessageToolCall, Validator as Validator, StandardSchemaV1 as StandardSchemaV1, UIDataTypesToSchemas as UIDataTypesToSchemas, InferUIMessageData as InferUIMessageData, InferUIMessageMetadata as InferUIMessageMetadata, InferUIMessageTools as InferUIMessageTools, Resolvable as Resolvable, FetchFunction as FetchFunction, ValidateUIMessagesOptions as ValidateUIMessagesOptions, GatewayProviderSettings as GatewayProviderSettings, GatewayProvider as GatewayProvider, ParseResult as ParseResult, FlexibleValidator as FlexibleValidator, ValidationResult as ValidationResult, LanguageModelV2ToolResultOutput as LanguageModelV2ToolResultOutput, ProviderOptions as ProviderOptions, ReasoningPart as ReasoningPart, ToolOutputProperties as ToolOutputProperties, LanguageModelV2ToolResultPart as LanguageModelV2ToolResultPart, FlexibleSchema as FlexibleSchema };
|
|
9204
9204
|
export { EMBEDDING_MODEL_MAX_INPUT_BYTES_PER_CALL, schemaSymbol, symbol$1, symbol$1_2, symbol$2, symbol$2_2, symbol$3, symbol$3_2, symbol$4, symbol$4_2, symbol$5, symbol$5_2, symbol$6, symbol$6_2, symbol$7, symbol$7_2, symbol$8, symbol$8_2, symbol$9, symbol$9_2, symbol$a, symbol$b, symbol$b_2, symbol$c, symbol$c_2, symbol$d, symbol$d_2, symbol$e, symbol$f, symbol, symbol_2, symbol_3, validatorSymbol };
|
package/dist/_types/{@internal_voice@0.0.48 → @internal_voice@0.0.49}/dist/voice/aisdk/speech.d.ts
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { SpeechModel } from '../../_types/@internal_ai-sdk-v5@0.0.
|
|
1
|
+
import type { SpeechModel } from '../../_types/@internal_ai-sdk-v5@0.0.100/dist/index.js';
|
|
2
2
|
import { MastraVoice } from '../voice.js';
|
|
3
3
|
export declare class AISDKSpeech extends MastraVoice {
|
|
4
4
|
private model;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { TranscriptionModel } from '../../_types/@internal_ai-sdk-v5@0.0.
|
|
1
|
+
import type { TranscriptionModel } from '../../_types/@internal_ai-sdk-v5@0.0.100/dist/index.js';
|
|
2
2
|
import { MastraVoice } from '../voice.js';
|
|
3
3
|
export declare class AISDKTranscription extends MastraVoice {
|
|
4
4
|
private model;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { TranscriptionModel, SpeechModel } from '../_types/@internal_ai-sdk-v5@0.0.
|
|
1
|
+
import type { TranscriptionModel, SpeechModel } from '../_types/@internal_ai-sdk-v5@0.0.100/dist/index.js';
|
|
2
2
|
import type { ToolsInput } from '../_types/@internal_core@0.1.4/dist/types/index.js';
|
|
3
3
|
import { MastraVoice } from './voice.js';
|
|
4
4
|
import type { IMastraVoice, VoiceEventType, VoiceEventMap } from '.';
|
package/dist/a2a/index.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
require("../rolldown-runtime-BrhgMLW6.cjs");
|
|
3
3
|
const require_client = require("../client-bbXoVR4g.cjs");
|
|
4
|
-
const require_message_list = require("../message-list-
|
|
4
|
+
const require_message_list = require("../message-list-C0F2sDNC.cjs");
|
|
5
5
|
const require_request_context = require("../request-context-D9RXYCy8.cjs");
|
|
6
6
|
const require_dynamic_argument = require("../dynamic-argument-CUc1BBOS.cjs");
|
|
7
7
|
let _a2a_js_sdk_v1 = require("@a2a-js/sdk-v1");
|
package/dist/a2a/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "../rolldown-runtime-tIEjjQTE.js";
|
|
2
2
|
import { t as MastraA2AError } from "../client-BIxS0ecg.js";
|
|
3
|
-
import { n as MessageList, t as convertMessages } from "../message-list-
|
|
3
|
+
import { n as MessageList, t as convertMessages } from "../message-list-RgFlLrxG.js";
|
|
4
4
|
import { u as RequestContext } from "../request-context-COnZHt2-.js";
|
|
5
5
|
import { n as resolveDynamicArgument } from "../dynamic-argument-BzPK3qPN.js";
|
|
6
6
|
import { AgentCard, GetTaskRequest, Role, SendMessageRequest, SendMessageResponse, StreamResponse, SubscribeToTaskRequest, Task, TaskState } from "@a2a-js/sdk-v1";
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import type { CreatedAgentSignal } from './signals.js';
|
|
2
|
+
type ActiveRunSignalScope = 'pending' | 'pre-run';
|
|
3
|
+
/**
|
|
4
|
+
* Signals waiting for a thread's active run, keyed by thread key.
|
|
5
|
+
*/
|
|
6
|
+
export declare function createActiveRunSignalQueues(): {
|
|
7
|
+
/** Appends to the thread's queue for `scope`. */
|
|
8
|
+
enqueue(scope: ActiveRunSignalScope, key: string, signal: CreatedAgentSignal): void;
|
|
9
|
+
/** Whether either of the thread's queues holds a signal with this id. */
|
|
10
|
+
includes(key: string, signalId: string): boolean;
|
|
11
|
+
/** Whether either of the thread's queues is non-empty. */
|
|
12
|
+
hasSignals(key: string): boolean;
|
|
13
|
+
/** Removes and returns the thread's whole queue for `scope`. */
|
|
14
|
+
take(scope: ActiveRunSignalScope, key: string): CreatedAgentSignal[];
|
|
15
|
+
/** The thread's queued signals, pre-run first, iterated without copying the queues. */
|
|
16
|
+
queued(key: string): Generator<CreatedAgentSignal>;
|
|
17
|
+
/** Passes each queued signal to `forward`, pre-run first, then drops the thread's queues. */
|
|
18
|
+
handOff(key: string, forward: (signal: CreatedAgentSignal, preRun: boolean) => void): void;
|
|
19
|
+
/** Puts pre-run signals a finished run never took in front of the thread's follow-ups. */
|
|
20
|
+
foldPreRunIntoPending(key: string): void;
|
|
21
|
+
/** Removes the oldest follow-up, dropping the queue once it is empty. */
|
|
22
|
+
takeNextPending(key: string): CreatedAgentSignal | undefined;
|
|
23
|
+
/** Puts a follow-up back at the front of the thread's queue. */
|
|
24
|
+
returnToFront(key: string, signal: CreatedAgentSignal): void;
|
|
25
|
+
/**
|
|
26
|
+
* Moves the remaining follow-ups in front of the thread's pre-run signals,
|
|
27
|
+
* for a follow-up run's first model request, and returns them.
|
|
28
|
+
*/
|
|
29
|
+
batchPendingIntoPreRun(key: string): CreatedAgentSignal[];
|
|
30
|
+
/**
|
|
31
|
+
* Requeues after a follow-up run failed to start: `signal`, then whatever
|
|
32
|
+
* was batched into its pre-run queue, then the follow-ups queued since.
|
|
33
|
+
*/
|
|
34
|
+
restoreAfterFailedStart(key: string, signal: CreatedAgentSignal | undefined): void;
|
|
35
|
+
/**
|
|
36
|
+
* Removes matching signals from both of the thread's queues and returns
|
|
37
|
+
* their ids, pre-run first. Each queue is replaced by a new array, or
|
|
38
|
+
* dropped when nothing is left.
|
|
39
|
+
*/
|
|
40
|
+
cancel(key: string, matches: (signal: CreatedAgentSignal) => boolean): string[];
|
|
41
|
+
/** Removes one pre-run signal in place, dropping the queue once it is empty. */
|
|
42
|
+
discardPreRunSignal(key: string, signalId: string): void;
|
|
43
|
+
/** Drops the thread's pre-run queue. */
|
|
44
|
+
discardPreRunQueue(key: string): void;
|
|
45
|
+
clear(): void;
|
|
46
|
+
};
|
|
47
|
+
export type ActiveRunSignalQueues = ReturnType<typeof createActiveRunSignalQueues>;
|
|
48
|
+
export {};
|
|
49
|
+
//# sourceMappingURL=active-run-signal-queues.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { WritableStream } from 'node:stream/web';
|
|
2
|
-
import type { UIMessage } from '../_types/@internal_ai-sdk-v4@0.0.
|
|
2
|
+
import type { UIMessage } from '../_types/@internal_ai-sdk-v4@0.0.100/dist/index.js';
|
|
3
3
|
import type { JSONSchema7 } from 'json-schema';
|
|
4
4
|
import type { MastraLLMV1 } from '../llm/model/index.js';
|
|
5
5
|
import type { GenerateObjectResult, GenerateTextResult, StreamObjectResult, StreamTextResult } from '../llm/model/base.types.js';
|
package/dist/agent/agent.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
/** Docs for this @mastra/core version are bundled at node_modules/@mastra/core/dist/docs/SKILL.md. Read it before guessing APIs from these types. */
|
|
2
|
+
import type { UIMessage } from '../_types/@internal_ai-sdk-v4@0.0.100/dist/index.js';
|
|
2
3
|
import type { StandardSchemaWithJSON } from '@mastra/schema-compat/schema';
|
|
3
4
|
import type { JSONSchema7 } from 'json-schema';
|
|
4
5
|
import type { MastraPrimitives } from '../action/index.js';
|
|
@@ -159,10 +160,7 @@ export interface AgentListSuspendedRunsResult {
|
|
|
159
160
|
* });
|
|
160
161
|
* ```
|
|
161
162
|
*
|
|
162
|
-
* @see
|
|
163
|
-
* `@mastra/core/package.json` with your project's resolver or package-manager
|
|
164
|
-
* tooling, then read `dist/docs/SKILL.md` from that package root and follow its
|
|
165
|
-
* reference links. Use package-manager tools for virtual or archived packages.
|
|
163
|
+
* @see Docs for this @mastra/core version are bundled at node_modules/@mastra/core/dist/docs/SKILL.md. Read it before guessing APIs from these types.
|
|
166
164
|
*
|
|
167
165
|
* @see [Agent documentation](https://mastra.ai/docs/agents/overview)
|
|
168
166
|
* if packaged docs are unavailable.
|
|
@@ -767,7 +765,7 @@ TRequestContext extends Record<string, any> | unknown = any, TEditor extends Age
|
|
|
767
765
|
listSkills(options?: {
|
|
768
766
|
requestContext?: RequestContext;
|
|
769
767
|
}): Promise<SkillMetadata[]>;
|
|
770
|
-
get voice(): IMastraVoice<unknown, unknown, import("../_types/@internal_voice@0.0.
|
|
768
|
+
get voice(): IMastraVoice<unknown, unknown, import("../_types/@internal_voice@0.0.49/dist/index.js").ToolsInput, import("../_types/@internal_voice@0.0.49/dist/index.js").VoiceEventMap, unknown>;
|
|
771
769
|
/**
|
|
772
770
|
* Gets the request context schema for this agent.
|
|
773
771
|
* Returns the Zod schema used to validate request context values, or undefined if not set.
|
|
@@ -818,7 +816,7 @@ TRequestContext extends Record<string, any> | unknown = any, TEditor extends Age
|
|
|
818
816
|
*/
|
|
819
817
|
getVoice({ requestContext }?: {
|
|
820
818
|
requestContext?: RequestContext;
|
|
821
|
-
}): Promise<IMastraVoice<unknown, unknown, import("../_types/@internal_voice@0.0.
|
|
819
|
+
}): Promise<IMastraVoice<unknown, unknown, import("../_types/@internal_voice@0.0.49/dist/index.js").ToolsInput, import("../_types/@internal_voice@0.0.49/dist/index.js").VoiceEventMap, unknown>>;
|
|
822
820
|
/**
|
|
823
821
|
* Gets the instructions for this agent, resolving function-based instructions if necessary.
|
|
824
822
|
* Instructions define the agent's behavior and capabilities.
|
|
@@ -1682,6 +1680,16 @@ TRequestContext extends Record<string, any> | unknown = any, TEditor extends Age
|
|
|
1682
1680
|
* @internal Used by the server's run abort route.
|
|
1683
1681
|
*/
|
|
1684
1682
|
__abortRunAcknowledged(runId: string): Promise<boolean>;
|
|
1683
|
+
/**
|
|
1684
|
+
* @internal Close the stored signals of a parked run that an abort requested by another process releases here.
|
|
1685
|
+
* With `exclusiveOfResume`, the close holds the run's execution claim from its snapshot read through its commit, as
|
|
1686
|
+
* a resume segment does. A resume that starts meanwhile waits for it, instead of consuming a signal that the close,
|
|
1687
|
+
* working from the snapshot it read before, would then return to pending. Resolves `false` while another
|
|
1688
|
+
* execution holds the run.
|
|
1689
|
+
*/
|
|
1690
|
+
__closeParkedRunSignals(runId: string, options?: {
|
|
1691
|
+
exclusiveOfResume?: boolean;
|
|
1692
|
+
}): Promise<boolean> | undefined;
|
|
1685
1693
|
sendMessage<OUTPUT = TOutput>(message: AgentMessageInput, target: SendAgentMessageOptions<OUTPUT>): SendAgentMessageResult<OUTPUT>;
|
|
1686
1694
|
queueMessage<OUTPUT = TOutput>(message: AgentMessageInput, target: QueueAgentMessageOptions<OUTPUT>): QueueAgentMessageResult<OUTPUT>;
|
|
1687
1695
|
/**
|
|
@@ -1689,7 +1697,14 @@ TRequestContext extends Record<string, any> | unknown = any, TEditor extends Age
|
|
|
1689
1697
|
* the thread immediately when it is idle. Shares the queue used by `queueMessage()`.
|
|
1690
1698
|
*/
|
|
1691
1699
|
queueSignal<OUTPUT = TOutput>(signal: AgentSignal, target: QueueAgentSignalOptions<OUTPUT>): QueueAgentSignalResult<OUTPUT>;
|
|
1692
|
-
|
|
1700
|
+
/**
|
|
1701
|
+
* Cancels queued input of a thread: signals sent to its active run that no
|
|
1702
|
+
* model request took yet, and messages queued for its next run. Resolves
|
|
1703
|
+
* with every cancelled id once the cancellation settled, including signals
|
|
1704
|
+
* kept in memory storage. A signal a run already took into its transcript is
|
|
1705
|
+
* not cancelled.
|
|
1706
|
+
*/
|
|
1707
|
+
cancelQueuedMessages(target: CancelQueuedAgentMessagesOptions): Promise<CancelQueuedAgentMessagesResult>;
|
|
1693
1708
|
subscribeThreadEvents(scope: SubscribeAgentThreadEventsOptions, listener: AgentThreadEventListener): () => void;
|
|
1694
1709
|
sendStateSignal<OUTPUT = TOutput>(state: AgentStateSignalInput, target: SendAgentStateSignalOptions<OUTPUT>): Promise<SendAgentStateSignalResult<OUTPUT>>;
|
|
1695
1710
|
/**
|
|
@@ -2173,6 +2188,12 @@ TRequestContext extends Record<string, any> | unknown = any, TEditor extends Age
|
|
|
2173
2188
|
* segment that lost its lease without being replaced still reports its error
|
|
2174
2189
|
* but keeps the snapshots so the run stays recoverable.
|
|
2175
2190
|
*
|
|
2191
|
+
* A total deadline also closes the stored signals of a run that keeps them in
|
|
2192
|
+
* storage, with the signals of the transcript it saves. When the run's steps
|
|
2193
|
+
* execute in another process, this process holds no transcript of them and
|
|
2194
|
+
* saves only the turn's input, so the signals those steps took and memory
|
|
2195
|
+
* did not save yet are pending again for the thread's next run.
|
|
2196
|
+
*
|
|
2176
2197
|
* Never rejects: a pubsub that is already closing (for example during
|
|
2177
2198
|
* shutdown) must not turn a run's own failure into an unhandledRejection.
|
|
2178
2199
|
*
|
|
@@ -2181,6 +2202,7 @@ TRequestContext extends Record<string, any> | unknown = any, TEditor extends Age
|
|
|
2181
2202
|
protected settleExecution(runId: string, fence: ExecutionFence | undefined, outcome: {
|
|
2182
2203
|
status?: string;
|
|
2183
2204
|
error?: Error;
|
|
2205
|
+
state?: unknown;
|
|
2184
2206
|
}): Promise<void>;
|
|
2185
2207
|
private redeliverDeadlineError;
|
|
2186
2208
|
/**
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
/** Docs for this @mastra/core version are bundled at node_modules/@mastra/core/dist/docs/SKILL.md. Read it before guessing APIs from these types. */
|
|
2
|
+
import type { ModelMessage, ToolChoice } from '../_types/@internal_ai-sdk-v5@0.0.100/dist/index.js';
|
|
2
3
|
import type { ActorSignal } from '../auth/ee/index.js';
|
|
3
4
|
import type { WaitUntilFn } from '../channels/wait-until.js';
|
|
4
5
|
import type { MastraScorer, MastraScorers, ScoringFilter, ScoringSamplingConfig } from '../evals/index.js';
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
*/
|
|
15
15
|
import type { PubSub } from '../../events/index.js';
|
|
16
16
|
import type { Mastra } from '../../mastra/index.js';
|
|
17
|
-
export { publishAbortRequest, requestAcknowledgedAbort, subscribeToAbortRequests } from '../streams/abort-transport.js';
|
|
17
|
+
export { publishAbortRequest, publishSignalAvailable, requestAcknowledgedAbort, subscribeToAbortRequests, } from '../streams/abort-transport.js';
|
|
18
18
|
/**
|
|
19
19
|
* Make the current process responsive to abort requests for `runId`.
|
|
20
20
|
*
|
|
@@ -92,7 +92,8 @@ export interface CreateEventedAgentOptions<TAgentId extends string = string, TTo
|
|
|
92
92
|
*
|
|
93
93
|
* In one process it runs on any pubsub, including the default one. Running its
|
|
94
94
|
* steps on several processes needs a pubsub that redelivers unacknowledged
|
|
95
|
-
* events
|
|
95
|
+
* events, a workflows store with step guards, and a server cache (`cache` on
|
|
96
|
+
* `Mastra`) that every process shares.
|
|
96
97
|
*
|
|
97
98
|
* @see https://mastra.ai/docs/server/pubsub#evented-workflows-and-agents
|
|
98
99
|
*
|
|
@@ -210,7 +210,7 @@ export declare class DurableAgent<TAgentId extends string = string, TTools exten
|
|
|
210
210
|
*/
|
|
211
211
|
get cleanupTimeoutMs(): number;
|
|
212
212
|
__setLogger(logger: IMastraLogger): void;
|
|
213
|
-
getModel(options?: any): import("../../_types/@internal_ai-sdk-v4@0.0.
|
|
213
|
+
getModel(options?: any): import("../../_types/@internal_ai-sdk-v4@0.0.100/dist/index.js").LanguageModelV1 | Promise<import("../../_types/@internal_ai-sdk-v4@0.0.100/dist/index.js").LanguageModelV1 | import("..").MastraLanguageModel> | import("..").MastraLanguageModel;
|
|
214
214
|
getLLM(options?: any): Promise<import("..").MastraLLM> | import("..").MastraLLM;
|
|
215
215
|
getModelList(requestContext?: any): Promise<import("..").AgentModelManagerConfig[] | null>;
|
|
216
216
|
__getModelAndModelList(options?: Parameters<Agent<TAgentId, TTools, TOutput>['__getModelAndModelList']>[0]): Promise<{
|
|
@@ -240,8 +240,8 @@ export declare class DurableAgent<TAgentId extends string = string, TTools exten
|
|
|
240
240
|
getKnowledge(): import("../../knowledge").Knowledge | undefined;
|
|
241
241
|
getWorkspace(options?: any): Promise<import("../../workspace").AnyWorkspace | undefined>;
|
|
242
242
|
hasOwnWorkspace(): boolean;
|
|
243
|
-
getVoice(options?: any): Promise<import("../../_types/@internal_voice@0.0.
|
|
244
|
-
get voice(): import("../../_types/@internal_voice@0.0.
|
|
243
|
+
getVoice(options?: any): Promise<import("../../_types/@internal_voice@0.0.49/dist/index.js").IMastraVoice<unknown, unknown, import("../../_types/@internal_voice@0.0.49/dist/index.js").ToolsInput, import("../../_types/@internal_voice@0.0.49/dist/index.js").VoiceEventMap, unknown>>;
|
|
244
|
+
get voice(): import("../../_types/@internal_voice@0.0.49/dist/index.js").IMastraVoice<unknown, unknown, import("../../_types/@internal_voice@0.0.49/dist/index.js").ToolsInput, import("../../_types/@internal_voice@0.0.49/dist/index.js").VoiceEventMap, unknown>;
|
|
245
245
|
get requestContextSchema(): import("@mastra/schema-compat").StandardSchemaWithJSON<any> | undefined;
|
|
246
246
|
getConfiguredProcessorWorkflows(): Promise<import("../../processors").ProcessorWorkflow[]>;
|
|
247
247
|
listInputProcessors(requestContext?: any): Promise<import("../../processors").InputProcessorOrWorkflow[]>;
|
|
@@ -345,6 +345,7 @@ export declare class DurableAgent<TAgentId extends string = string, TTools exten
|
|
|
345
345
|
runId: string;
|
|
346
346
|
agentId: string;
|
|
347
347
|
agentName?: string | undefined;
|
|
348
|
+
signalsStored?: boolean | undefined;
|
|
348
349
|
agentVersionId?: string | undefined;
|
|
349
350
|
messageListState: any;
|
|
350
351
|
toolsMetadata: any[];
|
|
@@ -20,6 +20,8 @@ export type ExecutionOutcome = {
|
|
|
20
20
|
owner: 'agent';
|
|
21
21
|
status?: string;
|
|
22
22
|
error?: Error;
|
|
23
|
+
/** The run's workflow state when it ended. */
|
|
24
|
+
state?: unknown;
|
|
23
25
|
} | {
|
|
24
26
|
owner: 'workers';
|
|
25
27
|
error?: Error;
|
|
@@ -95,6 +97,14 @@ export declare class DefaultAgentExecutionEngine {
|
|
|
95
97
|
* another server from resuming the run.
|
|
96
98
|
*/
|
|
97
99
|
cancelParkedRun(runId: string): Promise<boolean>;
|
|
100
|
+
/**
|
|
101
|
+
* Close the stored signals of a parked run that was aborted. Call it before
|
|
102
|
+
* the snapshot is deleted and before the abort terminal is published.
|
|
103
|
+
* Returns nothing to wait for when this engine's runs never store signals.
|
|
104
|
+
* Resolves `false` when the run was left open: its committed state could not
|
|
105
|
+
* be determined yet, or the close did not commit.
|
|
106
|
+
*/
|
|
107
|
+
closeParkedRunSignals(_runId: string): Promise<boolean> | undefined;
|
|
98
108
|
/**
|
|
99
109
|
* Publish the abort terminal for a parked run this call just canceled. The bus is
|
|
100
110
|
* shared, so observers on every server close now, whichever server later refuses
|
|
@@ -123,6 +133,7 @@ export declare class DefaultAgentExecutionEngine {
|
|
|
123
133
|
runId: string;
|
|
124
134
|
agentId: string;
|
|
125
135
|
agentName?: string | undefined;
|
|
136
|
+
signalsStored?: boolean | undefined;
|
|
126
137
|
agentVersionId?: string | undefined;
|
|
127
138
|
messageListState: any;
|
|
128
139
|
toolsMetadata: any[];
|
|
@@ -203,6 +214,7 @@ export declare class DefaultAgentExecutionEngine {
|
|
|
203
214
|
runId: string;
|
|
204
215
|
agentId: string;
|
|
205
216
|
agentName?: string | undefined;
|
|
217
|
+
signalsStored?: boolean | undefined;
|
|
206
218
|
agentVersionId?: string | undefined;
|
|
207
219
|
messageListState: any;
|
|
208
220
|
toolsMetadata: any[];
|
|
@@ -279,6 +291,7 @@ export declare class DefaultAgentExecutionEngine {
|
|
|
279
291
|
runId: string;
|
|
280
292
|
agentId: string;
|
|
281
293
|
agentName?: string | undefined;
|
|
294
|
+
signalsStored?: boolean | undefined;
|
|
282
295
|
agentVersionId?: string | undefined;
|
|
283
296
|
messageListState: any;
|
|
284
297
|
toolsMetadata: any[];
|
|
@@ -344,6 +357,7 @@ export declare class EventedAgentExecutionEngine extends DefaultAgentExecutionEn
|
|
|
344
357
|
#private;
|
|
345
358
|
get executionMode(): 'blocking' | 'background';
|
|
346
359
|
get suspendPersistedOnReturn(): boolean;
|
|
360
|
+
closeParkedRunSignals(runId: string): Promise<boolean> | undefined;
|
|
347
361
|
get executesStepsLocally(): boolean;
|
|
348
362
|
prepareExecution(pubsub: PubSub | undefined, fence: ExecutionFence | undefined, workflowEngine: 'default' | 'evented', logger: IMastraLogger, guardrailLogger: IMastraLogger | undefined): {
|
|
349
363
|
sharedExecution: boolean;
|