@mastra/core 1.86.0-alpha.9 → 1.87.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_voice@0.0.47 → @internal_voice@0.0.48}/dist/voice/aisdk/speech.d.ts +1 -1
- package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/voice/aisdk/transcription.d.ts +1 -1
- package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/voice/composite-voice.d.ts +1 -1
- package/dist/agent/agent-legacy.d.ts +1 -1
- package/dist/agent/agent.d.ts +3 -3
- package/dist/agent/agent.types.d.ts +1 -1
- package/dist/agent/durable/constants.d.ts +2 -0
- package/dist/agent/durable/durable-agent.d.ts +3 -3
- package/dist/agent/durable/evented-execution.d.ts +7 -0
- package/dist/agent/durable/execution-engine.d.ts +1 -0
- package/dist/agent/durable/execution-fence.d.ts +2 -0
- package/dist/agent/durable/index.cjs +3 -1
- package/dist/agent/durable/index.d.ts +1 -1
- package/dist/agent/durable/index.js +2 -2
- package/dist/agent/durable/run-registry.d.ts +2 -0
- package/dist/agent/durable/segment-spans.d.ts +54 -1
- package/dist/agent/durable/stream-adapter.d.ts +1 -1
- package/dist/agent/durable/types.d.ts +12 -2
- package/dist/agent/durable/workflows/durable-loop-builder.d.ts +57 -2
- package/dist/agent/durable/workflows/finalize-run.d.ts +2 -0
- package/dist/agent/durable/workflows/shared/index.d.ts +1 -1
- package/dist/agent/durable/workflows/shared/reported-cost.d.ts +7 -0
- package/dist/agent/durable/workflows/shared/schemas.d.ts +16 -1
- package/dist/agent/durable/workflows/shared/tool-call-concurrency.d.ts +6 -0
- package/dist/agent/durable/workflows/steps/llm-execution.d.ts +5 -0
- package/dist/agent/durable/workflows/steps/llm-mapping.d.ts +6 -0
- package/dist/agent/durable/workflows/steps/tool-call.d.ts +20 -0
- package/dist/agent/index.cjs +2 -2
- package/dist/agent/index.js +2 -2
- 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/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 +1 -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 +3 -2
- package/dist/agent/signals.d.ts +1 -1
- package/dist/agent/streams/run-records.d.ts +9 -1
- package/dist/agent/types.d.ts +3 -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/index.cjs +1 -1
- package/dist/agent-controller/index.js +1 -1
- package/dist/agent-controller/session-run-engine.d.ts +5 -2
- package/dist/agent-controller/session.d.ts +2 -0
- package/dist/agent-controller/types.d.ts +23 -0
- package/dist/{agent-controller-SSlKzE6A.js → agent-controller-B8LoFdtu.js} +43 -13
- package/dist/{agent-controller-CrQ9OF80.cjs → agent-controller-DSnFynpa.cjs} +43 -13
- 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 +4 -1
- package/dist/{background-tasks-BDrYBis-.cjs → background-tasks-Ci5h0dhj.cjs} +139 -51
- package/dist/{background-tasks-BnJfNLFo.js → background-tasks-IW7M4iD2.js} +139 -51
- package/dist/browser/index.cjs +1 -1
- package/dist/browser/index.js +1 -1
- package/dist/{builder-Cw8u3pPl.cjs → builder-14Uptu8y.cjs} +2 -2
- package/dist/{builder-Cl-0BWkh.js → builder-DI2c2xjy.js} +2 -2
- package/dist/bundler/index.d.ts +2 -2
- package/dist/cache/base.d.ts +40 -10
- package/dist/cache/index.cjs +1 -1
- package/dist/cache/index.js +1 -1
- package/dist/capabilities/302ai.json +196 -196
- package/dist/capabilities/abliteratedllm.json +36 -36
- package/dist/capabilities/abliteration-ai.json +11 -11
- package/dist/capabilities/above.json +22 -22
- package/dist/capabilities/adaption.json +13 -13
- package/dist/capabilities/adzuki.json +28 -28
- package/dist/capabilities/agentrouter.json +9 -9
- package/dist/capabilities/agnes.json +4 -4
- package/dist/capabilities/ai-router.json +5 -5
- package/dist/capabilities/aiand.json +16 -16
- package/dist/capabilities/aigrow.json +14 -14
- package/dist/capabilities/aimlapi.json +146 -150
- package/dist/capabilities/aipg.json +2 -2
- package/dist/capabilities/aixy.json +9 -9
- package/dist/capabilities/aki-io.json +10 -10
- package/dist/capabilities/alibaba-cn.json +97 -97
- package/dist/capabilities/alibaba-coding-plan-cn.json +5 -5
- package/dist/capabilities/alibaba-coding-plan.json +5 -5
- package/dist/capabilities/alibaba-token-plan-cn.json +51 -51
- package/dist/capabilities/alibaba-token-plan.json +52 -52
- package/dist/capabilities/alibaba.json +69 -69
- package/dist/capabilities/ambient.json +15 -15
- package/dist/capabilities/amd.json +8 -8
- package/dist/capabilities/anthropic.json +49 -49
- package/dist/capabilities/anyapi.json +19 -19
- package/dist/capabilities/arcee.json +9 -9
- package/dist/capabilities/augure.json +4 -4
- package/dist/capabilities/auriko.json +21 -21
- package/dist/capabilities/bailing.json +4 -4
- package/dist/capabilities/baseten.json +28 -28
- package/dist/capabilities/bee.json +5 -5
- package/dist/capabilities/berget.json +4 -4
- package/dist/capabilities/bothub.json +14 -14
- package/dist/capabilities/boundless.json +39 -39
- package/dist/capabilities/bumo.json +42 -42
- package/dist/capabilities/byteplus.json +24 -24
- package/dist/capabilities/cheapaimodel.json +10 -10
- package/dist/capabilities/cheapest-token.json +29 -29
- package/dist/capabilities/chutes.json +10 -13
- package/dist/capabilities/cline-pass.json +37 -37
- package/dist/capabilities/cloudcode.json +10 -10
- package/dist/capabilities/cloudflare-workers-ai.json +12 -73
- package/dist/capabilities/commandcode.json +131 -131
- package/dist/capabilities/concentrate.json +272 -263
- package/dist/capabilities/cortecs.json +113 -113
- package/dist/capabilities/crossmodel.json +169 -169
- package/dist/capabilities/crusoe.json +10 -10
- package/dist/capabilities/daoxe.json +9 -9
- package/dist/capabilities/databricks.json +128 -128
- package/dist/capabilities/deepinfra.json +130 -67
- package/dist/capabilities/deepseek.json +4 -4
- package/dist/capabilities/digitalocean.json +112 -112
- package/dist/capabilities/dothoosh.json +29 -29
- package/dist/capabilities/doubleword.json +29 -29
- package/dist/capabilities/edenai.json +446 -453
- package/dist/capabilities/empiriolabs.json +164 -166
- package/dist/capabilities/engy.json +22 -22
- package/dist/capabilities/entrim.json +4 -4
- package/dist/capabilities/evroc.json +14 -14
- package/dist/capabilities/ezkielyna.json +10 -10
- package/dist/capabilities/fastrouter.json +79 -79
- package/dist/capabilities/fireworks-ai.json +92 -71
- package/dist/capabilities/freemodel.json +21 -21
- package/dist/capabilities/friendli.json +10 -10
- package/dist/capabilities/frogbot.json +87 -87
- package/dist/capabilities/gisoo.json +19 -19
- package/dist/capabilities/gmicloud.json +21 -21
- package/dist/capabilities/google.json +52 -52
- package/dist/capabilities/graphn.json +11 -11
- package/dist/capabilities/greenpt.json +35 -35
- package/dist/capabilities/groq.json +3 -3
- package/dist/capabilities/helicone.json +78 -78
- package/dist/capabilities/hostinger-router.json +13 -13
- package/dist/capabilities/hpc-ai.json +10 -10
- package/dist/capabilities/huawei-maas.json +17 -17
- package/dist/capabilities/hubris.json +25 -25
- package/dist/capabilities/huggingface.json +94 -84
- package/dist/capabilities/hyper.json +29 -29
- package/dist/capabilities/impossibl.json +148 -148
- package/dist/capabilities/inception.json +3 -3
- package/dist/capabilities/inceptron.json +6 -6
- package/dist/capabilities/inco.json +4 -4
- package/dist/capabilities/infer.json +10 -10
- package/dist/capabilities/inferall.json +5 -5
- package/dist/capabilities/inference-coop.json +15 -15
- package/dist/capabilities/inferenceapis.json +17 -17
- package/dist/capabilities/inferris.json +4 -4
- package/dist/capabilities/infersia.json +12 -12
- package/dist/capabilities/infomaniak.json +2 -2
- package/dist/capabilities/io-net.json +2 -2
- package/dist/capabilities/isoquant.json +4 -4
- package/dist/capabilities/iteracompute.json +58 -58
- package/dist/capabilities/jad-ai.json +2 -2
- package/dist/capabilities/jalapeno.json +11 -11
- package/dist/capabilities/jiekou.json +62 -62
- package/dist/capabilities/jzstoken.json +47 -47
- package/dist/capabilities/keln.json +21 -21
- package/dist/capabilities/kenari.json +123 -123
- package/dist/capabilities/kilo.json +631 -621
- package/dist/capabilities/kimi-code-plan-cn.json +6 -6
- package/dist/capabilities/kimi-code-plan-global.json +6 -6
- package/dist/capabilities/kitani.json +4 -4
- package/dist/capabilities/klavo.json +21 -21
- package/dist/capabilities/korouter.json +33 -33
- package/dist/capabilities/kunavo.json +5 -5
- package/dist/capabilities/liquid.json +12 -12
- package/dist/capabilities/lithosai.json +2 -2
- package/dist/capabilities/llmgateway-providers.json +903 -894
- package/dist/capabilities/llmgateway.json +344 -336
- package/dist/capabilities/llmtr.json +23 -23
- package/dist/capabilities/logits.json +2 -2
- package/dist/capabilities/longcat.json +2 -2
- package/dist/capabilities/lowrouter.json +46 -46
- package/dist/capabilities/lyceum.json +14 -14
- package/dist/capabilities/melious.json +15 -15
- package/dist/capabilities/merge-gateway.json +292 -292
- package/dist/capabilities/meta.json +11 -11
- package/dist/capabilities/minimax-cn-coding-plan.json +2 -2
- package/dist/capabilities/minimax-cn.json +5 -5
- package/dist/capabilities/minimax-coding-plan.json +2 -2
- package/dist/capabilities/minimax.json +5 -5
- package/dist/capabilities/mistral.json +21 -21
- package/dist/capabilities/mixlayer.json +4 -4
- package/dist/capabilities/modal.json +14 -14
- package/dist/capabilities/model-oracle-ai.json +23 -23
- package/dist/capabilities/modelis.json +22 -22
- package/dist/capabilities/modelscope.json +2 -2
- package/dist/capabilities/modular.json +7 -7
- package/dist/capabilities/moneo.json +11 -11
- package/dist/capabilities/moonshotai-cn.json +6 -6
- package/dist/capabilities/moonshotai.json +6 -6
- package/dist/capabilities/morph.json +13 -13
- package/dist/capabilities/munito.json +2 -2
- package/dist/capabilities/nan.json +28 -28
- package/dist/capabilities/nano-gpt.json +599 -564
- package/dist/capabilities/nearai.json +96 -96
- package/dist/capabilities/nebius.json +32 -32
- package/dist/capabilities/neon.json +120 -120
- package/dist/capabilities/neuralwatt.json +37 -37
- package/dist/capabilities/nokeep.json +4 -4
- package/dist/capabilities/novita-ai.json +154 -154
- package/dist/capabilities/nvidia.json +28 -60
- package/dist/capabilities/oathbreaker.json +2 -2
- package/dist/capabilities/obscurify.json +20 -20
- package/dist/capabilities/oci.json +17 -8
- package/dist/capabilities/ofox.json +317 -317
- package/dist/capabilities/ollama-cloud.json +56 -56
- package/dist/capabilities/openai.json +78 -46
- package/dist/capabilities/opencode-go.json +86 -86
- package/dist/capabilities/openreason.json +5 -5
- package/dist/capabilities/openrouter.json +535 -519
- package/dist/capabilities/opper.json +27 -27
- package/dist/capabilities/orcarouter.json +217 -217
- package/dist/capabilities/outerlabs.json +31 -31
- package/dist/capabilities/ovhcloud.json +58 -4
- package/dist/capabilities/pareto.json +5 -5
- package/dist/capabilities/pendra.json +4 -4
- package/dist/capabilities/perplexity-agent.json +62 -62
- package/dist/capabilities/phala.json +36 -36
- package/dist/capabilities/pioneer.json +27 -27
- package/dist/capabilities/poe.json +110 -110
- package/dist/capabilities/poolside.json +3 -3
- package/dist/capabilities/powerspring.json +11 -11
- package/dist/capabilities/primalabs.json +10 -10
- package/dist/capabilities/prime.json +127 -111
- package/dist/capabilities/privatemode-ai.json +11 -11
- package/dist/capabilities/proxystacks.json +7 -7
- package/dist/capabilities/qiniu-ai.json +15 -15
- package/dist/capabilities/refuseless.json +9 -9
- package/dist/capabilities/regolo-ai.json +6 -6
- package/dist/capabilities/requesty.json +170 -170
- package/dist/capabilities/ruapi.json +20 -20
- package/dist/capabilities/runcrate.json +10 -10
- package/dist/capabilities/runinfra.json +16 -16
- package/dist/capabilities/sakana.json +6 -6
- package/dist/capabilities/sambanova.json +6 -6
- package/dist/capabilities/sandbase.json +11 -11
- package/dist/capabilities/sarvam.json +10 -10
- package/dist/capabilities/scaleway.json +14 -14
- package/dist/capabilities/scnet-token-plan.json +14 -14
- package/dist/capabilities/scx-ai.json +26 -26
- package/dist/capabilities/sensenova.json +12 -12
- package/dist/capabilities/siliconflow-cn.json +50 -50
- package/dist/capabilities/siliconflow.json +55 -55
- package/dist/capabilities/snowflake-cortex.json +19 -19
- package/dist/capabilities/sokkan.json +7 -7
- package/dist/capabilities/sparrowcodes.json +17 -17
- package/dist/capabilities/standardcompute.json +98 -98
- package/dist/capabilities/steadyrouter.json +38 -38
- package/dist/capabilities/stepfun-ai-step-plan.json +6 -6
- package/dist/capabilities/stepfun-ai.json +5 -5
- package/dist/capabilities/stepfun-step-plan.json +5 -5
- package/dist/capabilities/stepfun.json +5 -5
- package/dist/capabilities/stepping-stone.json +17 -17
- package/dist/capabilities/subconscious.json +2 -2
- package/dist/capabilities/superbot-gg.json +4 -4
- package/dist/capabilities/synthetic.json +12 -12
- package/dist/capabilities/synthorai.json +22 -22
- package/dist/capabilities/teamorouter.json +24 -24
- package/dist/capabilities/teapot-router.json +12 -12
- package/dist/capabilities/tencent-token-plan.json +59 -35
- package/dist/capabilities/tencent-tokenhub.json +46 -46
- package/dist/capabilities/tensorx.json +47 -47
- package/dist/capabilities/tenstorrent.json +8 -8
- package/dist/capabilities/the-grid-ai.json +29 -29
- package/dist/capabilities/thinkingmachines.json +61 -61
- package/dist/capabilities/tinfoil.json +12 -12
- package/dist/capabilities/togetherai.json +62 -52
- package/dist/capabilities/tokengo.json +14 -14
- package/dist/capabilities/tokenify.json +9 -9
- package/dist/capabilities/trustedrouter.json +7 -7
- package/dist/capabilities/trustedtokens.json +15 -15
- package/dist/capabilities/umans-ai-coding-plan.json +16 -16
- package/dist/capabilities/umans-ai.json +13 -13
- package/dist/capabilities/uncensuredai.json +4 -4
- package/dist/capabilities/unrestricted.json +8 -8
- package/dist/capabilities/uplinkswitch.json +21 -21
- package/dist/capabilities/upstage.json +4 -4
- package/dist/capabilities/vancine.json +24 -24
- package/dist/capabilities/vercel.json +582 -582
- package/dist/capabilities/vivgrid.json +86 -86
- package/dist/capabilities/volcengine-coding-plan.json +23 -23
- package/dist/capabilities/volcengine.json +24 -24
- package/dist/capabilities/vultr.json +26 -26
- package/dist/capabilities/wafer.ai.json +16 -16
- package/dist/capabilities/wallaby.json +4 -4
- package/dist/capabilities/wally.json +11 -11
- package/dist/capabilities/wandb.json +21 -21
- package/dist/capabilities/watt.json +24 -24
- package/dist/capabilities/xai.json +6 -6
- package/dist/capabilities/xiaomi.json +2 -2
- package/dist/capabilities/xpersona.json +13 -13
- package/dist/capabilities/xxapi.json +28 -28
- package/dist/capabilities/zai-coding-plan.json +19 -19
- package/dist/capabilities/zai.json +26 -24
- package/dist/capabilities/zenifra.json +27 -27
- package/dist/capabilities/zenmux.json +172 -172
- package/dist/capabilities/zerogpu.json +8 -8
- package/dist/capabilities/zhipuai-coding-plan.json +7 -7
- package/dist/capabilities/zhipuai.json +23 -23
- package/dist/capabilities/zro.json +7 -7
- package/dist/channels/agent-channels.d.ts +2 -1
- package/dist/channels/formatting.d.ts +8 -0
- package/dist/channels/index.cjs +4 -2
- package/dist/channels/index.d.ts +1 -1
- package/dist/channels/index.js +3 -3
- package/dist/channels/types.d.ts +5 -3
- package/dist/{channels-Cz1y3W6u.js → channels-Wh32drgu.js} +1 -1
- package/dist/{channels-DQg4v_gm.cjs → channels-tVV_de9Q.cjs} +1 -1
- package/dist/coding-agent/index.cjs +1 -1
- package/dist/coding-agent/index.js +1 -1
- package/dist/datasets/index.cjs +2 -2
- package/dist/datasets/index.js +2 -2
- package/dist/deployer/index.d.ts +2 -2
- package/dist/docs/SKILL.md +1 -1
- package/dist/docs/assets/SOURCE_MAP.json +798 -798
- package/dist/docs/references/docs-agents-resumable-streams.md +15 -6
- package/dist/docs/references/docs-deployment-workers.md +3 -1
- package/dist/docs/references/docs-harness-background-tasks.md +4 -4
- package/dist/docs/references/docs-harness-durable-agents.md +39 -48
- package/dist/docs/references/docs-knowledge-importers.md +1 -1
- package/dist/docs/references/docs-mastra-platform-observability-overview.md +1 -1
- package/dist/docs/references/docs-sandbox-overview.md +1 -0
- package/dist/docs/references/docs-server-pubsub.md +1 -1
- package/dist/docs/references/docs-workflows-overview.md +67 -3
- package/dist/docs/references/integrations-agentic-ui-assistant-ui.md +2 -0
- package/dist/docs/references/integrations-frameworks-angular.md +39 -0
- package/dist/docs/references/integrations-frameworks-astro.md +5 -2
- package/dist/docs/references/integrations-frameworks-electron.md +40 -0
- package/dist/docs/references/integrations-frameworks-next-js.md +5 -2
- package/dist/docs/references/integrations-frameworks-nuxt.md +5 -2
- package/dist/docs/references/integrations-frameworks-sveltekit.md +5 -2
- package/dist/docs/references/integrations-frameworks-vite-react.md +40 -0
- package/dist/docs/references/integrations.md +3 -0
- package/dist/docs/references/reference-agent-controller-agent-controller-class.md +6 -0
- package/dist/docs/references/reference-agents-channels.md +1 -1
- package/dist/docs/references/reference-agents-durable-agent.md +3 -3
- package/dist/docs/references/reference-agents-generate.md +2 -0
- package/dist/docs/references/reference-configuration.md +1 -1
- package/dist/docs/references/reference-core-mastra-class.md +2 -0
- package/dist/docs/references/reference-knowledge-knowledge-class.md +1 -1
- package/dist/docs/references/reference-knowledge-knowledge-tools.md +11 -5
- package/dist/docs/references/reference-pubsub-caching-pubsub.md +2 -2
- package/dist/docs/references/reference-pubsub-redis-streams.md +2 -2
- package/dist/docs/references/reference-pubsub-valkey-streams.md +2 -2
- package/dist/docs/references/reference-workers-overview.md +2 -0
- package/dist/docs/references/reference-workflows-workflow-methods-create-run.md +2 -0
- package/dist/docs/references/reference-workflows-workflow.md +2 -0
- package/dist/docs/references/reference.md +1 -0
- package/dist/error/index.cjs +2 -1
- package/dist/error/index.d.ts +1 -1
- package/dist/error/index.js +2 -2
- package/dist/error/provider-error.d.ts +2 -1
- package/dist/{error-BLwEXqOK.js → error-BC9Au-22.js} +13 -1
- package/dist/{error-BdEvO8za.cjs → error-L1V4uUbd.cjs} +18 -0
- package/dist/evals/index.cjs +1 -1
- package/dist/evals/index.js +1 -1
- package/dist/evals/run/index.d.ts +1 -1
- package/dist/evals/scoreTraces/index.cjs +1 -1
- package/dist/evals/scoreTraces/index.js +1 -1
- package/dist/evals/types.d.ts +1 -1
- package/dist/events/caching-pubsub.d.ts +28 -0
- package/dist/events/index.cjs +4 -1
- package/dist/events/index.js +2 -2
- package/dist/events/topics.d.ts +55 -9
- package/dist/harness/index.cjs +1 -1
- package/dist/harness/index.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/{inmemory-BDD0w8gx.js → inmemory-BK3zLwvM.js} +42 -12
- package/dist/{inmemory-fgR8sq-U.cjs → inmemory-Dc86VWGB.cjs} +42 -12
- package/dist/knowledge/changes.d.ts +17 -5
- package/dist/knowledge/importers/runner.d.ts +6 -0
- package/dist/knowledge/index.cjs +78 -16
- package/dist/knowledge/index.d.ts +2 -2
- package/dist/knowledge/index.js +78 -16
- package/dist/knowledge/search-snippet.d.ts +30 -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/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 +8011 -7996
- package/dist/llm/model/shared.types.d.ts +1 -1
- package/dist/{llm-B5A5cwJr.js → llm-B1zaFLYZ.js} +3 -3
- package/dist/{llm-8Av3mSjD.cjs → llm-BAiOsNAP.cjs} +3 -3
- package/dist/loop/index.cjs +2 -2
- package/dist/loop/index.js +2 -2
- package/dist/loop/loop-builder.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/shared/transcript-step.d.ts +1 -1
- 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 +1 -1
- 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-sv35JY-z.cjs → manager-BVX9nVrM.cjs} +2 -2
- package/dist/{manager-DfWQCJUK.js → manager-ChK9GdGz.js} +2 -2
- package/dist/mastra/index.cjs +1 -1
- package/dist/mastra/index.js +1 -1
- package/dist/{mastra-CigBrT7X.js → mastra-CUGfgEpZ.js} +28 -18
- package/dist/{mastra-D4hvfuxX.cjs → mastra-HSmofHEJ.cjs} +28 -18
- package/dist/memory/index.cjs +2 -2
- package/dist/memory/index.js +2 -2
- package/dist/memory/memory.d.ts +1 -1
- package/dist/memory/types.d.ts +2 -2
- package/dist/{model-CYtXw861.js → model-C47BJRtR.js} +1 -1
- package/dist/{model-BK93CMtl.cjs → model-WahorgzJ.cjs} +1 -1
- package/dist/{netlify-CuI1ZrwR.js → netlify-CfDXkuLf.js} +2 -2
- package/dist/{netlify-BAnn3ouY.cjs → netlify-D99AnEhW.cjs} +2 -2
- package/dist/notifications/index.cjs +1 -1
- package/dist/notifications/index.js +1 -1
- package/dist/observability/index.cjs +1 -0
- package/dist/observability/index.d.ts +1 -1
- package/dist/observability/index.js +2 -2
- package/dist/{output-helpers-CedRCE17.js → output-helpers-CVzhy1Y0.js} +126 -56
- package/dist/{output-helpers-1Zu4Vt9C.cjs → output-helpers-DgsH4aTb.cjs} +143 -55
- package/dist/processor-provider/index.cjs +1 -1
- package/dist/processor-provider/index.js +1 -1
- package/dist/processors/index.cjs +2 -2
- package/dist/processors/index.d.ts +2 -2
- package/dist/processors/index.js +2 -2
- package/dist/processors/runner.d.ts +3 -1
- package/dist/processors/step-schema.d.ts +1 -1
- package/dist/{provider-registry-BwuI_IpT.cjs → provider-registry-CO1NVbO5.cjs} +22070 -22050
- package/dist/{provider-registry-CmQLzLF_.js → provider-registry-CR385GJ4.js} +22070 -22050
- package/dist/provider-registry.json +22239 -22226
- package/dist/{registry-generator-C17V4WfG.js → registry-generator-B3erRqYS.js} +1 -1
- package/dist/{registry-generator-C_0ae7Ce.cjs → registry-generator-Cvp34qcB.cjs} +1 -1
- package/dist/{rehydrate-PnaVawGX.js → rehydrate-CJBLrZxs.js} +2 -2
- package/dist/{rehydrate-CDQ4dOYj.cjs → rehydrate-Da4hNuaK.cjs} +2 -2
- package/dist/relevance/index.cjs +2 -2
- package/dist/relevance/index.js +2 -2
- package/dist/{run-registry-BwEcwYlU.js → run-registry-DdeEBsVW.js} +1639 -568
- package/dist/{run-registry-BmckDVBk.cjs → run-registry-TOOfO3hT.cjs} +1668 -567
- package/dist/server/auth.d.ts +3 -3
- package/dist/server/composite-auth.d.ts +1 -1
- package/dist/server/simple-auth.d.ts +1 -1
- package/dist/server/types.d.ts +1 -1
- package/dist/storage/domains/inmemory-db.d.ts +1 -0
- package/dist/storage/domains/knowledge/base.d.ts +5 -0
- package/dist/storage/domains/knowledge/inmemory.d.ts +1 -0
- package/dist/storage/domains/knowledge/pages-inmemory.d.ts +10 -2
- package/dist/storage/domains/knowledge/pages.d.ts +30 -0
- package/dist/storage/index.cjs +2 -2
- package/dist/storage/index.js +2 -2
- package/dist/storage/run-fencing.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 +4 -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-D1y9GzoD.js → stream-C5PagEDs.js} +3 -3
- package/dist/{stream-0kdqBOOn.cjs → stream-DH7Qgz8l.cjs} +3 -3
- 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-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-kWaZAT6Q.cjs → tool-loop-agent-CJTs4T8b.cjs} +3 -3
- package/dist/{tool-loop-agent-BdjWGVIb.js → tool-loop-agent-DVYJXlQJ.js} +3 -3
- package/dist/tools/builtin/web-search.d.ts +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/types.d.ts +1 -1
- package/dist/types/user.d.ts +1 -1
- package/dist/{utils-GHY3hmLx.js → utils-D8upuTwy.js} +1 -1
- package/dist/{utils-BKUCaZ12.cjs → utils-xJi_N6Tx.cjs} +1 -1
- package/dist/utils.cjs +1 -1
- package/dist/utils.d.ts +1 -1
- package/dist/utils.js +1 -1
- package/dist/{validate-De92squ7.cjs → validate-6eZ8Wssn.cjs} +1 -1
- package/dist/{validate-CB-q-R2F.js → validate-DTkW3Vlp.js} +1 -1
- package/dist/vector/embed.d.ts +4 -4
- package/dist/vector/index.cjs +1 -1
- package/dist/vector/index.js +1 -1
- 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.js +1 -1
- package/dist/{worker-CAKvQj9_.cjs → worker-24ORi-wV.cjs} +2 -2
- package/dist/{worker-BbWPQuPR.cjs → worker-BO3u_WjZ.cjs} +2 -2
- package/dist/{worker-C3u_xzY2.js → worker-DbcFkKJO.js} +2 -2
- package/dist/{worker-Kwm8EKcj.js → worker-Dqubrnf8.js} +2 -2
- package/dist/{workflow-CSjXeNcR.cjs → workflow-D5Fc5ieC.cjs} +4 -4
- package/dist/{workflow-CVmI1Sw-.js → workflow-wXOf72fO.js} +4 -4
- package/dist/workflows/builder/index.cjs +1 -1
- package/dist/workflows/builder/index.js +1 -1
- package/dist/workflows/evented/index.cjs +1 -1
- package/dist/workflows/evented/index.js +1 -1
- package/dist/workflows/index.cjs +4 -4
- package/dist/workflows/index.js +4 -4
- package/dist/workflows/run-ownership.d.ts +74 -8
- package/dist/workflows/types.d.ts +17 -1
- package/dist/workflows/workflow.d.ts +4 -0
- package/package.json +14 -14
- package/src/llm/model/provider-types.generated.d.ts +8011 -7996
- /package/dist/_types/{@internal_ai-sdk-v4@0.0.98 → @internal_ai-sdk-v4@0.0.99}/dist/index.d.ts +0 -0
- /package/dist/_types/{@internal_ai-sdk-v4@0.0.98 → @internal_ai-sdk-v4@0.0.99}/dist/test.d.ts +0 -0
- /package/dist/_types/{@internal_ai-sdk-v4@0.0.98 → @internal_ai-sdk-v4@0.0.99}/package.json +0 -0
- /package/dist/_types/{@internal_ai-sdk-v5@0.0.98 → @internal_ai-sdk-v5@0.0.99}/dist/index.d.ts +0 -0
- /package/dist/_types/{@internal_ai-sdk-v5@0.0.98 → @internal_ai-sdk-v5@0.0.99}/dist/test.d.ts +0 -0
- /package/dist/_types/{@internal_ai-sdk-v5@0.0.98 → @internal_ai-sdk-v5@0.0.99}/package.json +0 -0
- /package/dist/_types/{@internal_ai-v6@0.0.98 → @internal_ai-v6@0.0.99}/dist/index.d.ts +0 -0
- /package/dist/_types/{@internal_ai-v6@0.0.98 → @internal_ai-v6@0.0.99}/package.json +0 -0
- /package/dist/_types/{@internal_ai-v7@0.0.98 → @internal_ai-v7@0.0.99}/dist/index.d.ts +0 -0
- /package/dist/_types/{@internal_ai-v7@0.0.98 → @internal_ai-v7@0.0.99}/package.json +0 -0
- /package/dist/_types/{@internal_auth@0.0.39 → @internal_auth@0.0.40}/dist/_types/@internal_core@0.1.4/dist/base/index.d.ts +0 -0
- /package/dist/_types/{@internal_auth@0.0.39 → @internal_auth@0.0.40}/dist/_types/@internal_core@0.1.4/dist/index-Diz1p9N7.d.ts +0 -0
- /package/dist/_types/{@internal_auth@0.0.39 → @internal_auth@0.0.40}/dist/ee/capabilities.d.ts +0 -0
- /package/dist/_types/{@internal_auth@0.0.39 → @internal_auth@0.0.40}/dist/ee/defaults/index.d.ts +0 -0
- /package/dist/_types/{@internal_auth@0.0.39 → @internal_auth@0.0.40}/dist/ee/defaults/rbac/index.d.ts +0 -0
- /package/dist/_types/{@internal_auth@0.0.39 → @internal_auth@0.0.40}/dist/ee/defaults/rbac/static.d.ts +0 -0
- /package/dist/_types/{@internal_auth@0.0.39 → @internal_auth@0.0.40}/dist/ee/defaults/roles.d.ts +0 -0
- /package/dist/_types/{@internal_auth@0.0.39 → @internal_auth@0.0.40}/dist/ee/fga-check.d.ts +0 -0
- /package/dist/_types/{@internal_auth@0.0.39 → @internal_auth@0.0.40}/dist/ee/index.d.ts +0 -0
- /package/dist/_types/{@internal_auth@0.0.39 → @internal_auth@0.0.40}/dist/ee/interfaces/acl.d.ts +0 -0
- /package/dist/_types/{@internal_auth@0.0.39 → @internal_auth@0.0.40}/dist/ee/interfaces/fga.d.ts +0 -0
- /package/dist/_types/{@internal_auth@0.0.39 → @internal_auth@0.0.40}/dist/ee/interfaces/index.d.ts +0 -0
- /package/dist/_types/{@internal_auth@0.0.39 → @internal_auth@0.0.40}/dist/ee/interfaces/permissions.generated.d.ts +0 -0
- /package/dist/_types/{@internal_auth@0.0.39 → @internal_auth@0.0.40}/dist/ee/interfaces/rbac.d.ts +0 -0
- /package/dist/_types/{@internal_auth@0.0.39 → @internal_auth@0.0.40}/dist/ee/interfaces/user.d.ts +0 -0
- /package/dist/_types/{@internal_auth@0.0.39 → @internal_auth@0.0.40}/dist/ee/license.d.ts +0 -0
- /package/dist/_types/{@internal_auth@0.0.39 → @internal_auth@0.0.40}/dist/index.d.ts +0 -0
- /package/dist/_types/{@internal_auth@0.0.39 → @internal_auth@0.0.40}/dist/provider/index.d.ts +0 -0
- /package/dist/_types/{@internal_auth@0.0.39 → @internal_auth@0.0.40}/dist/session/cookie.d.ts +0 -0
- /package/dist/_types/{@internal_auth@0.0.39 → @internal_auth@0.0.40}/dist/session/index.d.ts +0 -0
- /package/dist/_types/{@internal_auth@0.0.39 → @internal_auth@0.0.40}/dist/session/memory.d.ts +0 -0
- /package/dist/_types/{@internal_auth@0.0.39 → @internal_auth@0.0.40}/dist/types/index.d.ts +0 -0
- /package/dist/_types/{@internal_auth@0.0.39 → @internal_auth@0.0.40}/package.json +0 -0
- /package/dist/_types/{@internal_deployer@0.0.4 → @internal_deployer@0.0.5}/dist/_types/@internal_core@0.1.4/dist/index-Diz1p9N7.d.ts +0 -0
- /package/dist/_types/{@internal_deployer@0.0.4 → @internal_deployer@0.0.5}/dist/_types/@internal_core@0.1.4/dist/logger/index.d.ts +0 -0
- /package/dist/_types/{@internal_deployer@0.0.4 → @internal_deployer@0.0.5}/dist/bundler.d.ts +0 -0
- /package/dist/_types/{@internal_deployer@0.0.4 → @internal_deployer@0.0.5}/dist/deployer.d.ts +0 -0
- /package/dist/_types/{@internal_deployer@0.0.4 → @internal_deployer@0.0.5}/dist/index.d.ts +0 -0
- /package/dist/_types/{@internal_deployer@0.0.4 → @internal_deployer@0.0.5}/package.json +0 -0
- /package/dist/_types/{@internal_external-types@0.0.101 → @internal_external-types@0.0.102}/dist/index.d.ts +0 -0
- /package/dist/_types/{@internal_external-types@0.0.101 → @internal_external-types@0.0.102}/package.json +0 -0
- /package/dist/_types/{@internal_voice@0.0.47/dist/_types/@internal_ai-sdk-v5@0.0.98 → @internal_voice@0.0.48/dist/_types/@internal_ai-sdk-v5@0.0.99}/dist/index.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/@internal_core@0.1.4/dist/base/index.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/@internal_core@0.1.4/dist/index-Diz1p9N7.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/@internal_core@0.1.4/dist/request-context/index.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/@internal_core@0.1.4/dist/types/index.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v3/ZodError.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v3/errors.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v3/external.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v3/helpers/enumUtil.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v3/helpers/errorUtil.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v3/helpers/parseUtil.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v3/helpers/partialUtil.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v3/helpers/typeAliases.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v3/helpers/util.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v3/index.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v3/locales/en.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v3/standard-schema.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v3/types.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/classic/checks.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/classic/coerce.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/classic/compat.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/classic/deep-partial.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/classic/errors.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/classic/external.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/classic/from-json-schema.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/classic/in-out.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/classic/index.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/classic/iso.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/classic/parse.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/classic/schemas.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/core/api.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/core/checks.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/core/compile.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/core/core.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/core/doc.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/core/errors.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/core/index.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/core/json-schema-generator.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/core/json-schema-processors.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/core/json-schema.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/core/memoizer.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/core/parse.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/core/regexes.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/core/registries.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/core/schemas.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/core/standard-schema.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/core/to-json-schema.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/core/util.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/core/versions.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/index.d.cts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/ar.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/az.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/be.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/bg.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/bn.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/ca.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/ckb.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/cs.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/da.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/de.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/el.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/en.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/eo.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/es.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/fa.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/fi.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/fr-CA.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/fr.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/gu.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/he.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/hi.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/hr.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/hu.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/hy.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/id.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/index.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/is.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/it.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/ja.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/ka.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/kh.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/km.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/kn.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/ko.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/lt.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/mk.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/ms.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/ne.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/nl.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/nn.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/no.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/ota.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/pl.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/ps.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/pt-BR.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/pt.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/ro.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/ru.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/sk.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/sl.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/sv.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/ta.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/tg.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/th.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/tk.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/tr.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/ua.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/uk.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/ur.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/uz.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/vi.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/yo.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/zh-CN.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/_types/zod@4.6.7/v4/locales/zh-TW.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/index.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/voice/aisdk/index.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/voice/default-voice.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/voice/index.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/dist/voice/voice.d.ts +0 -0
- /package/dist/_types/{@internal_voice@0.0.47 → @internal_voice@0.0.48}/package.json +0 -0
package/dist/server/auth.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { MastraAuthProvider, normalizeMastraUser, isSSOProvider, isSessionProvider, isUserProvider, isCredentialsProvider, isOrganizationsProvider, isAuthHttpHandler, hasAuthInit, } from '../_types/@internal_auth@0.0.
|
|
2
|
-
export type { IMastraAuthProvider, MastraAuthOAuthMetadata, MastraAuthProviderOptions } from '../_types/@internal_auth@0.0.
|
|
3
|
-
export type { AuthInitContext, IAuthHttpHandler, IAuthInit, ICredentialsProvider, IOrganizationsProvider, ISessionProvider, ISSOProvider, IUserProvider, } from '../_types/@internal_auth@0.0.
|
|
1
|
+
export { MastraAuthProvider, normalizeMastraUser, isSSOProvider, isSessionProvider, isUserProvider, isCredentialsProvider, isOrganizationsProvider, isAuthHttpHandler, hasAuthInit, } from '../_types/@internal_auth@0.0.40/dist/provider/index.js';
|
|
2
|
+
export type { IMastraAuthProvider, MastraAuthOAuthMetadata, MastraAuthProviderOptions } from '../_types/@internal_auth@0.0.40/dist/provider/index.js';
|
|
3
|
+
export type { AuthInitContext, IAuthHttpHandler, IAuthInit, ICredentialsProvider, IOrganizationsProvider, ISessionProvider, ISSOProvider, IUserProvider, } from '../_types/@internal_auth@0.0.40/dist/index.js';
|
|
4
4
|
//# sourceMappingURL=auth.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { CompositeAuth } from '../_types/@internal_auth@0.0.
|
|
1
|
+
export { CompositeAuth } from '../_types/@internal_auth@0.0.40/dist/provider/index.js';
|
|
2
2
|
//# sourceMappingURL=composite-auth.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { SimpleAuth, type SimpleAuthOptions } from '../_types/@internal_auth@0.0.
|
|
1
|
+
export { SimpleAuth, type SimpleAuthOptions } from '../_types/@internal_auth@0.0.40/dist/provider/index.js';
|
|
2
2
|
//# sourceMappingURL=simple-auth.d.ts.map
|
package/dist/server/types.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { IncomingMessage } from 'node:http';
|
|
2
|
-
import type { MastraAuthConfig as InternalMastraAuthConfig } from '../_types/@internal_auth@0.0.
|
|
2
|
+
import type { MastraAuthConfig as InternalMastraAuthConfig } from '../_types/@internal_auth@0.0.40/dist/types/index.js';
|
|
3
3
|
import type { Handler, MiddlewareHandler, Context } from 'hono';
|
|
4
4
|
import type { cors } from 'hono/cors';
|
|
5
5
|
import type { DescribeRouteOptions } from 'hono-openapi';
|
|
@@ -29,6 +29,11 @@ export interface KnowledgeStorageCapabilities {
|
|
|
29
29
|
* report it, and core refuses dated activity reads on them rather than return unbounded history.
|
|
30
30
|
*/
|
|
31
31
|
supportsActivityDateRange?: boolean;
|
|
32
|
+
/**
|
|
33
|
+
* `listPageActivity` accepts `order: 'asc'` and `after` (oldest first). Adapters without it don't
|
|
34
|
+
* report it, and core refuses oldest-first activity reads on them.
|
|
35
|
+
*/
|
|
36
|
+
supportsActivityAscending?: boolean;
|
|
32
37
|
}
|
|
33
38
|
/** @experimental */
|
|
34
39
|
export interface KnowledgeTransactionOptions {
|
|
@@ -59,6 +59,7 @@ export declare class InMemoryKnowledgeStorage extends KnowledgeStorage {
|
|
|
59
59
|
readonly supportsPinKinds: true;
|
|
60
60
|
readonly supportsTransactions: true;
|
|
61
61
|
readonly supportsActivityDateRange: true;
|
|
62
|
+
readonly supportsActivityAscending: true;
|
|
62
63
|
};
|
|
63
64
|
inspectSchema(): Promise<{
|
|
64
65
|
readonly status: 'compatible';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { KnowledgeNote, KnowledgePage, KnowledgePageActivityEvent, KnowledgePageBodyLink, KnowledgePageLinkCounts, KnowledgePageLinkEdge, KnowledgePageSearchHit, KnowledgePageStore, KnowledgePin, KnowledgePinKind } from './pages.js';
|
|
1
|
+
import type { KnowledgeNote, KnowledgePage, KnowledgePageActivityAction, KnowledgePageActivityEvent, KnowledgePageBodyLink, KnowledgePageLinkCounts, KnowledgePageLinkEdge, KnowledgePageSearchHit, KnowledgePageStore, KnowledgePin, KnowledgePinKind, KnowledgeProvenance } from './pages.js';
|
|
2
2
|
type Store = KnowledgePageStore;
|
|
3
3
|
/**
|
|
4
4
|
* In-memory schema-4 page store: the reference implementation of {@link KnowledgePageStore} that the
|
|
@@ -80,7 +80,15 @@ export declare class InMemoryKnowledgePageStore implements KnowledgePageStore {
|
|
|
80
80
|
restoreNote(input: Parameters<Store['restoreNote']>[0]): Promise<KnowledgeNote>;
|
|
81
81
|
searchPages(input: Parameters<Store['searchPages']>[0]): Promise<KnowledgePageSearchHit[]>;
|
|
82
82
|
listPageActivity(input: Parameters<Store['listPageActivity']>[0]): Promise<{
|
|
83
|
-
events:
|
|
83
|
+
events: {
|
|
84
|
+
id: string;
|
|
85
|
+
action: KnowledgePageActivityAction;
|
|
86
|
+
scopeId: string;
|
|
87
|
+
pageId: string;
|
|
88
|
+
noteId?: string;
|
|
89
|
+
provenance: KnowledgeProvenance;
|
|
90
|
+
createdAt: Date;
|
|
91
|
+
}[];
|
|
84
92
|
nextCursor?: string | undefined;
|
|
85
93
|
}>;
|
|
86
94
|
addPinAudience(input: Parameters<Store['addPinAudience']>[0]): Promise<KnowledgePin>;
|
|
@@ -489,6 +489,11 @@ export interface KnowledgePageActivityEvent {
|
|
|
489
489
|
noteId?: string;
|
|
490
490
|
provenance: KnowledgeProvenance;
|
|
491
491
|
createdAt: Date;
|
|
492
|
+
/**
|
|
493
|
+
* Set on events from oldest-first reads (`order: 'asc'`): this event's place in the feed, an
|
|
494
|
+
* opaque string. Pass it as `after` to continue from here.
|
|
495
|
+
*/
|
|
496
|
+
position?: string;
|
|
492
497
|
}
|
|
493
498
|
/** @experimental */
|
|
494
499
|
export interface KnowledgePageActivityInput {
|
|
@@ -506,6 +511,13 @@ export interface KnowledgePageActivityInput {
|
|
|
506
511
|
createdAt: Date;
|
|
507
512
|
id: string;
|
|
508
513
|
};
|
|
514
|
+
/**
|
|
515
|
+
* `asc` reads oldest first in the store's commit-safe feed order (on stores reporting
|
|
516
|
+
* `supportsActivityAscending`). Defaults to `desc`.
|
|
517
|
+
*/
|
|
518
|
+
order?: 'desc' | 'asc';
|
|
519
|
+
/** Events after this `position` from an earlier oldest-first read. Only with `order: 'asc'`. */
|
|
520
|
+
after?: string;
|
|
509
521
|
}
|
|
510
522
|
/** @experimental */
|
|
511
523
|
export interface KnowledgeScopeDeclarationCount {
|
|
@@ -752,6 +764,24 @@ export interface KnowledgePageStore {
|
|
|
752
764
|
* first, the bounds apply before the limit, and `before` returns only events strictly older than
|
|
753
765
|
* that event in this order. `before` can't be combined with `cursor`. Without any of them the
|
|
754
766
|
* store's existing order and cursor are unchanged.
|
|
767
|
+
*
|
|
768
|
+
* `order: 'asc'`, only on stores reporting `supportsActivityAscending`, reads oldest first in a
|
|
769
|
+
* commit-safe order: an event never appears behind a position a reader already holds, even when
|
|
770
|
+
* its write committed after later-stamped ones. Each event carries a `position`; `after` returns
|
|
771
|
+
* only events past that position, so a reader can store the last position it handled and continue
|
|
772
|
+
* from it later without missing or repeating events. One exception: events of a page or note that
|
|
773
|
+
* becomes readable later (a page moved into the read scope, a note restamped or restored into view)
|
|
774
|
+
* keep their original positions, so they can sit behind a position the reader already holds and
|
|
775
|
+
* aren't returned after it. The move, restamp or restore itself is logged as a new event past that
|
|
776
|
+
* position (for a subtree move, one event for the moved root), so a reader sees it and can read
|
|
777
|
+
* that page's earlier changes newest first. The order is the store's own feed order, not
|
|
778
|
+
* `createdAt` (`since`/`until` still filter by `createdAt`), and it isn't always the order writes
|
|
779
|
+
* committed in: PostgreSQL orders by transaction id (taken at a transaction's first write) and holds back events until every earlier
|
|
780
|
+
* transaction has ended, so a write that started first comes first even if it committed last. `after` needs `order: 'asc'` and can't be combined with `cursor`;
|
|
781
|
+
* `before` can't be used with `order: 'asc'`. Invalid combinations and malformed positions throw
|
|
782
|
+
* a `RangeError`, and so do `order: 'asc'` and `after` on a store that doesn't report the
|
|
783
|
+
* capability. A store can also refuse a position it no longer recognises (for example after its
|
|
784
|
+
* feed was rebuilt by a database restore) with a `RangeError`; restart from `since` then.
|
|
755
785
|
*/
|
|
756
786
|
listPageActivity(input: KnowledgePageActivityInput): Promise<{
|
|
757
787
|
events: KnowledgePageActivityEvent[];
|
package/dist/storage/index.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_run_registry = require("../run-registry-
|
|
2
|
+
const require_run_registry = require("../run-registry-TOOfO3hT.cjs");
|
|
3
3
|
const require_observability = require("../observability-B0R_D1PZ.cjs");
|
|
4
|
-
const require_stream = require("../stream-
|
|
4
|
+
const require_stream = require("../stream-DH7Qgz8l.cjs");
|
|
5
5
|
const require_storage = require("../storage-CfG0I2aF.cjs");
|
|
6
6
|
const require_constants = require("../constants-B9ZDvXZ4.cjs");
|
|
7
7
|
const require_filesystem_versioned = require("../filesystem-versioned-BavRtYWJ.cjs");
|
package/dist/storage/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { $a as
|
|
1
|
+
import { $a as planSpanQuery, $l as resolveRunFence, Aa as TracePageError, Ai as MAX_KNOWLEDGE_PAGE_LINKS, Ar as createEmptyWorkflowSnapshot, Ba as threadQueryIdentitySchema, Bi as knowledgePositionBetween, Br as SchedulesStorage, Ca as parseDuration, Ci as KnowledgePageHasChildrenError, Co as ObservabilityStorage, Cr as FilesystemStore, Da as transformRow, Di as MAX_KNOWLEDGE_PAGE_BODY_LINKS, Dr as WorkflowsInMemory, Ea as storageMessageMatchesMetadataFilter, Ei as MAX_KNOWLEDGE_NOTE_TOKENS, Eo as UniqueViolationError, Er as MockStore, Fa as tracePageResponseSchema, Fi as assertKnowledgePageDescriptionWithinBound, Fr as InMemoryToolProviderConnectionsStorage, Ga as SPAN_QUERY_MAX_CURSOR_BYTES, Gi as HarnessStorage, Gl as isWorkflowStepConflictError, Ha as threadQueryResponseSchema, Hi as parseKnowledgePageRef, Hr as InMemoryNotificationsStorage, Ia as THREAD_QUERY_DEFAULT_LIMIT, Ii as canonicalKnowledgeName, Ir as ToolProviderConnectionsStorage, Ja as SPAN_QUERY_ORDER_FIELDS, Ji as DatasetsInMemory, Jl as RunFenceConflictError, Ka as SPAN_QUERY_MAX_LIMIT, Ki as ExperimentsInMemory, Kl as RUN_FENCE_CONFLICT_ERROR_ID, La as THREAD_QUERY_MAX_LIMIT, Li as knowledgeLinkRefKey, Lr as ScoresInMemory, Ma as tracePageIdSchema, Mi as MAX_KNOWLEDGE_PAGE_LIST_LIMIT, Mr as mergeWorkflowStepResult, Na as tracePageNodeSchema, Ni as MAX_KNOWLEDGE_PIN_LIST_DEPTH, Nr as InMemoryWorkflowDefinitionsStorage, Oa as transformScoreRow, Oi as MAX_KNOWLEDGE_PAGE_DEPTH, Or as cloneRunData, Pa as tracePageRequestSchema, Pi as assertKnowledgeNoteTextWithinBound, Pr as WorkflowDefinitionsStorage, Qa as parseSpanQueryRequest, Ql as matchesRunFence, Ra as encodeThreadQueryCursor, Ri as knowledgePagePath, Rr as ScoresStorage, Sa as jsonValueEquals, Si as KnowledgePageDepthError, So as ObservabilityInMemory, Sr as createGitHubSourceControlProviderFromEnv, Ta as serializeDate, Ti as MAX_KNOWLEDGE_MOVE_PAGES, To as FactoryStorageDomain, Tr as InMemoryStore, Ua as threadQueryRowSchema, Ui as KnowledgeInvalidCursorError, Ul as WorkflowStepConflictError, Ur as NotificationsStorage, Va as threadQueryRequestSchema, Vi as knowledgeScopeReadable, Vr as normalizeScheduleTarget, Wa as SPAN_QUERY_MAX_COST_METRICS, Wi as InMemoryHarness, Wl as assertWorkflowStepGuard, Wr as dispatchDueNotifications, Xa as createSpanQueryPreview, Xi as DatasetItemIdentityConflictError, Xl as currentRunGeneration, Ya as buildSpanQueryResponse, Yi as DatasetsStorage, Yl as coverNestedRun, Za as encodeSpanQueryCursor, Zl as isRunFenceConflictError, _a as ensureDate, _i as assertKnowledgeSchemaCompatible, _o as buildUpdateSpanRecord, _r as knowledgeVisibleScopeKeys, aa as ChannelsStorage, ai as InMemoryKnowledgeStorage, ao as spanQueryResponseSchema, ar as MAX_KNOWLEDGE_SCOPE_TAGS, ba as getSqlType, bi as parseKnowledgeWikilinks, bo as serializeSpanAttributes, br as StoreOperations, ca as BackgroundTasksInMemory, ci as KnowledgeImportersStorage, co as encodeTraceQueryDeltaCursor, cr as assertKnowledgeRecordTextWithinBound, da as resolveRetentionTargets, di as KnowledgeConflictError, do as planTraceQuery, dr as createKnowledgeNodeCursor, eo as resolveSpanQueryCost, eu as runFencingNotSupportedError, fa as retentionCutoffMs, fi as KnowledgeNotFoundError, fo as buildCreateSpanRecord, fr as expandKnowledgeScope, ga as createVectorErrorId, gi as KnowledgeUnsupportedCapabilityError, go as buildScoreRecord, gr as knowledgeSemanticIdempotencyKey, ha as createStoreErrorId, hi as KnowledgeTransactionDeadlineError, ho as buildMetricRecord, hr as knowledgeSemanticDocumentId, ia as InMemoryChannelsStorage, ii as MemoryStorage, io as spanQueryRequestSchema, ir as MAX_KNOWLEDGE_RECORD_TEXT_LENGTH, ja as readTracePage, ji as MAX_KNOWLEDGE_PAGE_LINK_REF_LENGTH, jr as mergeStepResult, ka as validateStorageMetadataFilter, ki as MAX_KNOWLEDGE_PAGE_DESCRIPTION_TOKENS, kr as WorkflowsStorage, la as BackgroundTasksStorage, li as KNOWLEDGE_STORAGE_CONTRACT_VERSION, lo as getTraceQueryDeltaWatermark, lr as assertKnowledgeScopeWithinCeiling, ma as createStorageErrorId, mi as KnowledgeStorage, mo as buildLogRecord, mr as knowledgeScopeKey, no as spanQueryIdentityKey, nu as setRunFenceContext, oa as InMemoryBlobStore, oi as KnowledgeImporterBindingConflictError, oo as spanQueryRowSchema, or as assertKnowledgeCeilingRaised, pa as runRetentionBatches, pi as KnowledgeSchemaResetRequiredError, po as buildFeedbackRecord, pr as isKnowledgeScopeVisible, qa as SPAN_QUERY_MAX_PREVIEW_CHARACTERS, qi as ExperimentsStorage, ql as RUN_FENCING_NOT_SUPPORTED_ERROR_ID, ri as InMemoryMemory, ro as spanQueryIdentitySchema, rr as MAX_KNOWLEDGE_NODE_DESCRIPTION_LENGTH, sa as BlobStore, si as KnowledgeImporterRunStateError, so as encodeTraceQueryCursor, sr as assertKnowledgeDescriptionWithinBound, to as spanQueryCostSchema, tu as runOutsideRunFenceScope, ua as executeRetentionPrune, ui as KNOWLEDGE_STORAGE_SCHEMA_VERSION, uo as planThreadQuery, ur as canonicalizeKnowledgeScope, va as filterByDateRange, vi as createKnowledgeUlid, vo as getObjectOrNull, vr as parseKnowledgeNodeCursor, wa as safelyParseJSON, wi as KnowledgePageKeyConflictError, wo as FactoryStorage, wr as FilesystemDB, xa as hasErrorCode, xi as KnowledgeMoveTooLargeError, xo as toEntityType, xr as GitHubSourceControlProvider, ya as getDefaultValue, yi as inspectKnowledgeSchema, yo as getStringOrNull, yr as StoreOperationsInMemory, za as planThreadRowsQuery, zi as knowledgePinDepth, zr as InMemorySchedulesStorage } from "../run-registry-DdeEBsVW.js";
|
|
2
2
|
import { a as PREVIEW_MAX_LENGTH } from "../observability-D7RNOAPx.js";
|
|
3
|
-
import { At as STATE_CHECKPOINT_PATCHES, Bt as summarizeStepResult, Ft as materializeState, Ht as applyStatePatch, It as materializeWorkflowRun, Lt as pickStateKeys, Mt as applyStateColumnsWrite, Nt as isStateCheckpointDue, Pt as latestStepResults, Rt as stateBaseOf, Ut as diffState, Vt as unusedStateEntries, jt as STEP_RESULT_SUMMARY_FIELDS, kt as getSnapshotMemoryInfo, zt as stateColumnsWrite } from "../stream-
|
|
3
|
+
import { At as STATE_CHECKPOINT_PATCHES, Bt as summarizeStepResult, Ft as materializeState, Ht as applyStatePatch, It as materializeWorkflowRun, Lt as pickStateKeys, Mt as applyStateColumnsWrite, Nt as isStateCheckpointDue, Pt as latestStepResults, Rt as stateBaseOf, Ut as diffState, Vt as unusedStateEntries, jt as STEP_RESULT_SUMMARY_FIELDS, kt as getSnapshotMemoryInfo, zt as stateColumnsWrite } from "../stream-C5PagEDs.js";
|
|
4
4
|
import { $ as getFeedbackAggregateArgsSchema, $t as metricsFilterSchema, A as deleteScoresResponseSchema, An as tagsField, At as getServiceNamesResponseSchema, B as experimentIdField, Bt as listScoresArgsSchema, C as dateRangeSchema, Cn as scoresOrderBySchema, Ct as getScoreBreakdownArgsSchema, D as deleteFeedbackArgsSchema, Dn as sourceField, Dt as getScoreTimeSeriesArgsSchema, E as defaultPaginationArgs, En as sortDirectionSchema, Et as getScorePercentilesResponseSchema, F as entityIdField, Fn as userIdField, Ft as listLogsArgsSchema, G as feedbackRecordSchema, Gt as logsFilterSchema, H as feedbackInputSchema, Ht as logLevelSchema, I as entityNameField, It as listLogsResponseSchema, J as getEntityNamesResponseSchema, Jt as metadataField, K as feedbackReviewStatusSchema, Kt as logsOrderByFieldSchema, L as entityTypeField, Lt as listMetricsArgsSchema, M as deltaInfoSchema, Mn as traceIdField, Mt as getTagsResponseSchema, N as deltaLimitSchema, Nn as updateFeedbackReviewStatusArgsSchema, Nt as listFeedbackArgsSchema, O as deleteFeedbackResponseSchema, On as spanContextFields, Ot as getScoreTimeSeriesResponseSchema, P as distinctColumnSchema, Pn as updatedAtField, Pt as listFeedbackResponseSchema, Q as getEnvironmentsResponseSchema, Qt as metricsAggregationSchema, R as environmentField, Rt as listMetricsResponseSchema, S as createdAtField, Sn as scoresOrderByFieldSchema, St as getScoreAggregateResponseSchema, T as defaultDeltaLimit, Tn as sessionIdField, Tt as getScorePercentilesArgsSchema, U as feedbackOrderByFieldSchema, Ut as logRecordInputSchema, V as feedbackFilterSchema, Vt as listScoresResponseSchema, W as feedbackOrderBySchema, Wt as logRecordSchema, X as getEntityTypesResponseSchema, Xt as metricRecordSchema, Y as getEntityTypesArgsSchema, Yt as metricInputSchema, Z as getEnvironmentsArgsSchema, Zt as metricTypeSchema, _ as createMetricRecordSchema, _n as runIdField, _t as getMetricPercentilesArgsSchema, a as batchCreateFeedbackArgsSchema, an as paginationInfoSchema, at as getFeedbackTimeSeriesArgsSchema, b as createScoreRecordSchema, bn as scoreRecordSchema, bt as getMetricTimeSeriesResponseSchema, c as batchCreateScoresArgsSchema, cn as parentEntityTypeField, ct as getMetricAggregateResponseSchema, d as contextFields, dn as requestIdField, dt as getMetricLabelKeysArgsSchema, en as metricsOrderByFieldSchema, et as getFeedbackAggregateResponseSchema, f as createFeedbackArgsSchema, ft as getMetricLabelKeysResponseSchema, g as createLogRecordSchema, gn as rootEntityTypeField, gt as getMetricNamesResponseSchema, h as createFeedbackResponseSchema, hn as rootEntityNameField, ht as getMetricNamesArgsSchema, i as aggregationTypeSchema, in as paginationArgsSchema, it as getFeedbackPercentilesResponseSchema, j as deltaCursorSchema, jn as threadIdField, jt as getTagsArgsSchema, k as deleteScoresArgsSchema, kn as spanIdField, kt as getServiceNamesArgsSchema, l as commonFilterFields, ln as refineObservabilityListMode, lt as getMetricBreakdownArgsSchema, m as createFeedbackRecordSchema, mn as rootEntityIdField, mt as getMetricLabelValuesResponseSchema, n as METRIC_DISTINCT_COLUMNS, nn as normalizeObservabilityListArgs, nt as getFeedbackBreakdownResponseSchema, o as batchCreateLogsArgsSchema, on as parentEntityIdField, ot as getFeedbackTimeSeriesResponseSchema, p as createFeedbackBodySchema, pn as resourceIdField, pt as getMetricLabelValuesArgsSchema, q as getEntityNamesArgsSchema, qt as logsOrderBySchema, r as aggregationIntervalSchema, rn as organizationIdField, rt as getFeedbackPercentilesArgsSchema, s as batchCreateMetricsArgsSchema, sn as parentEntityNameField, st as getMetricAggregateArgsSchema, t as EntityType, tn as metricsOrderBySchema, tt as getFeedbackBreakdownArgsSchema, u as comparePeriodSchema, un as replaceFeedbackBodySchema, ut as getMetricBreakdownResponseSchema, v as createScoreArgsSchema, vn as scopeField, vt as getMetricPercentilesResponseSchema, w as dbTimestamps, wn as serviceNameField, wt as getScoreBreakdownResponseSchema, x as createScoreResponseSchema, xn as scoresFilterSchema, xt as getScoreAggregateArgsSchema, y as createScoreBodySchema, yn as scoreInputSchema, yt as getMetricTimeSeriesArgsSchema, z as executionSourceField, zt as listModeSchema } from "../storage-Cc50aQAp.js";
|
|
5
5
|
import { $ as TABLE_CHANNEL_INSTALLATIONS, $n as listTracesLightResponseSchema, $t as TABLE_WORKSPACES, A as MCP_CLIENTS_SCHEMA, An as computeTraceStatus, At as TABLE_OBSERVATIONAL_MEMORY, B as PROMPT_BLOCK_VERSIONS_SCHEMA, Bn as getSpansArgsSchema, Bt as TABLE_SKILLS, C as KNOWLEDGE_SCOPE_GRANTS_SCHEMA, Cn as branchesFilterSchema, Ct as TABLE_MCP_CLIENTS, D as KNOWLEDGE_V2_MENTIONS_SCHEMA, Dn as buildPreview, Dt as TABLE_MEMORY_RUN_FENCES, E as KNOWLEDGE_V2_ACTIVITY_SCHEMA, En as buildInputPreview, Et as TABLE_MCP_SERVER_VERSIONS, F as NOTIFICATIONS_SCHEMA, Fn as getBranchResponseSchema, Ft as TABLE_SCHEDULE_TRIGGERS, G as SKILLS_SCHEMA, Gn as getTraceLightResponseSchema, Gt as TABLE_THREAD_STATE, H as SCORERS_SCHEMA, Hn as getStringAttribute, Ht as TABLE_SKILL_VERSIONS, I as OBSERVATIONAL_MEMORY_SCHEMA, In as getRootSpanArgsSchema, It as TABLE_SCHEMAS, J as SPAN_SCHEMA, Jn as lightSpanRecordSchema, Jt as TABLE_WORKFLOW_DEFINITIONS, K as SKILL_BLOBS_SCHEMA, Kn as getTraceResponseSchema, Kt as TABLE_TOOL_PROVIDER_CONNECTIONS, L as OBSERVATIONAL_MEMORY_TABLE_SCHEMA, Ln as getRootSpanResponseSchema, Lt as TABLE_SCORERS, M as MCP_SERVERS_SCHEMA, Mn as createSpanRecordSchema, Mt as TABLE_PROMPT_BLOCK_VERSIONS, N as MCP_SERVER_VERSIONS_SCHEMA, Nn as extractBranchSpans, Nt as TABLE_RESOURCES, O as KNOWLEDGE_V2_NODES_SCHEMA, On as buildPreviewFromJson, Ot as TABLE_MESSAGES, P as MEMORY_RUN_FENCES_SCHEMA, Pn as getBranchArgsSchema, Pt as TABLE_SCHEDULES, Q as TABLE_CHANNEL_CONFIG, Qn as listTracesArgsSchema, Qt as TABLE_WORKFLOW_SNAPSHOT, R as OLD_SPAN_SCHEMA, Rn as getSpanArgsSchema, Rt as TABLE_SCORER_DEFINITIONS, S as KNOWLEDGE_SCOPE_ADDRESSES_SCHEMA, Sn as batchUpdateSpansArgsSchema, St as TABLE_KNOWLEDGE_SEMANTIC_OUTBOX, T as KNOWLEDGE_TABLE_NAMES, Tn as branchesOrderBySchema, Tt as TABLE_MCP_SERVERS, U as SCORER_DEFINITIONS_SCHEMA, Un as getStructureResponseSchema, Ut as TABLE_SPANS, V as RUN_FENCING_TABLE_SCHEMAS, Vn as getSpansResponseSchema, Vt as TABLE_SKILL_BLOBS, W as SCORER_DEFINITION_VERSIONS_SCHEMA, Wn as getTraceArgsSchema, Wt as TABLE_THREADS, X as TABLE_AGENT_VERSIONS, Xn as listBranchesResponseSchema, Xt as TABLE_WORKFLOW_RUN_ENTRIES, Y as TABLE_AGENTS, Yn as listBranchesArgsSchema, Yt as TABLE_WORKFLOW_RUNS, Z as TABLE_BACKGROUND_TASKS, Zn as listScoresBySpanResponseSchema, Zt as TABLE_WORKFLOW_RUN_OWNERS, _ as KNOWLEDGE_NODE_ADDRESSES_SCHEMA, _n as INPUT_PREVIEW_MAX_LENGTH, _r as isAppendOnlySince, _t as TABLE_KNOWLEDGE_PROPOSALS, a as DATASET_VERSIONS_SCHEMA, an as WORKFLOW_RUN_ENTRIES_SCHEMA, ar as spanRecordSchema, at as TABLE_EXPERIMENT_RESULTS, b as KNOWLEDGE_RECORDS_SCHEMA, bn as batchDeleteTracesArgsSchema, br as maxObservationCursor, bt as TABLE_KNOWLEDGE_SCOPE_ADDRESSES, c as FAVORITES_SCHEMA, cn as WORKSPACES_SCHEMA, cr as toTraceSpans, ct as TABLE_KNOWLEDGE_ACCESS_STATE, d as KNOWLEDGE_ACTIVITY_SCHEMA, dn as STORAGE_VISIBILITY_VALUES, dr as tracesOrderByFieldSchema, dt as TABLE_KNOWLEDGE_IMPORT_RUNS, en as TABLE_WORKSPACE_VERSIONS, er as listTracesResponseSchema, et as TABLE_CONFIGS, f as KNOWLEDGE_CURSORS_SCHEMA, fn as buildStorageSchema, fr as tracesOrderBySchema, ft as TABLE_KNOWLEDGE_IMPORT_STATE, g as KNOWLEDGE_NODES_SCHEMA, gn as BRANCH_SPAN_TYPE_SET, gr as compareObservationalMemoryHeadOrder, gt as TABLE_KNOWLEDGE_NODE_SCOPES, h as KNOWLEDGE_MENTIONS_SCHEMA, hn as BRANCH_SPAN_TYPES, hr as assertActiveObservationsApplied, ht as TABLE_KNOWLEDGE_NODE_ADDRESSES, i as DATASET_ITEMS_SCHEMA, in as WORKFLOW_RUNS_SCHEMA, ir as spanIdsSchema, it as TABLE_EXPERIMENTS, j as MCP_CLIENT_VERSIONS_SCHEMA, jn as createSpanArgsSchema, jt as TABLE_PROMPT_BLOCKS, k as KNOWLEDGE_V2_RECORDS_SCHEMA, kn as buildStoredPreview, kt as TABLE_NOTIFICATIONS, l as HARNESS_SESSIONS_SCHEMA, ln as WORKSPACE_VERSIONS_SCHEMA, lr as traceSpanSchema, lt as TABLE_KNOWLEDGE_ACTIVITY, m as KNOWLEDGE_IMPORT_STATE_SCHEMA, mn as BATCH_DELETE_TRACES_MAX_IDS, mr as updateSpanRecordSchema, mt as TABLE_KNOWLEDGE_NODES, n as AGENT_VERSIONS_SCHEMA, nn as TOOL_PROVIDER_CONNECTIONS_SCHEMA, nr as scoreTracesResponseSchema, nt as TABLE_DATASET_ITEMS, o as EXPERIMENTS_SCHEMA, on as WORKFLOW_RUN_JOURNAL_TABLE_CONFIGS, or as toLightSpanRecord, ot as TABLE_FAVORITES, p as KNOWLEDGE_IMPORT_RUNS_SCHEMA, pn as matchesExpectedWorkflowStatus, pr as updateSpanArgsSchema, pt as TABLE_KNOWLEDGE_MENTIONS, q as SKILL_VERSIONS_SCHEMA, qn as isPreviewTruncated, qt as TABLE_TRACES, r as DATASETS_SCHEMA, rn as WORKFLOW_DEFINITIONS_SCHEMA, rr as spanIds, rt as TABLE_DATASET_VERSIONS, s as EXPERIMENT_RESULTS_SCHEMA, sn as WORKFLOW_RUN_OWNERS_SCHEMA, sr as toTraceSpan, st as TABLE_HARNESS_SESSIONS, t as AGENTS_SCHEMA, tn as THREAD_STATE_SCHEMA, tr as scoreTracesRequestSchema, tt as TABLE_DATASETS, u as KNOWLEDGE_ACCESS_STATE_SCHEMA, un as STORAGE_FAVORITE_ENTITY_TYPES, ur as tracesFilterSchema, ut as TABLE_KNOWLEDGE_CURSORS, v as KNOWLEDGE_NODE_SCOPES_SCHEMA, vn as TraceStatus, vr as isBufferedChunkCoveredByCursor, vt as TABLE_KNOWLEDGE_RECORDS, w as KNOWLEDGE_SEMANTIC_OUTBOX_SCHEMA, wn as branchesOrderByFieldSchema, wt as TABLE_MCP_CLIENT_VERSIONS, x as KNOWLEDGE_RECORD_SCOPES_SCHEMA, xn as batchDeleteTracesResponseSchema, xr as planReflectionGenerationText, xt as TABLE_KNOWLEDGE_SCOPE_GRANTS, y as KNOWLEDGE_PROPOSALS_SCHEMA, yn as batchCreateSpansArgsSchema, yr as isBufferedReflectionUnchangedSince, yt as TABLE_KNOWLEDGE_RECORD_SCOPES, z as PROMPT_BLOCKS_SCHEMA, zn as getSpanResponseSchema, zt as TABLE_SCORER_DEFINITION_VERSIONS } from "../constants-BmdTvEYN.js";
|
|
6
6
|
import { _ as ThreadStateStorage, a as GitHistory, c as DOMAIN_KEYS, d as MastraStorage, f as calculatePagination, g as InMemoryThreadStateStorage, h as resolveListOrderBy, i as getSourceControlEntityFilePath, l as EDITOR_DOMAINS, m as normalizePerPage, n as SOURCE_CONTROL_AGENTS_DIR, o as VersionedStorageDomain, p as compareByField, r as getSourceAgentFilePath, s as StorageDomain, t as FilesystemVersionedHelpers, u as MastraCompositeStore } from "../filesystem-versioned-BL1ojJLo.js";
|
|
@@ -38,6 +38,11 @@ export interface RunOwnershipRecord {
|
|
|
38
38
|
leaseExpiresAt: Date | null;
|
|
39
39
|
/** Whether the owner holds an unexpired lease, judged on the store's clock. */
|
|
40
40
|
live: boolean;
|
|
41
|
+
/**
|
|
42
|
+
* When the record last changed (claim, renewal or release), on the store's clock. Absent on
|
|
43
|
+
* stores that don't report it.
|
|
44
|
+
*/
|
|
45
|
+
updatedAt?: Date;
|
|
41
46
|
}
|
|
42
47
|
export interface ClaimRunOwnershipInput {
|
|
43
48
|
runId: string;
|
|
@@ -35,7 +35,7 @@ export declare class WorkflowRunOutput<TResult extends WorkflowResult<any, any,
|
|
|
35
35
|
get fullStream(): ReadableStream<WorkflowStreamEvent>;
|
|
36
36
|
get status(): WorkflowRunStatus;
|
|
37
37
|
get result(): Promise<TResult>;
|
|
38
|
-
get usage(): Promise<import("../_types/@internal_ai-sdk-v5@0.0.
|
|
38
|
+
get usage(): Promise<import("../_types/@internal_ai-sdk-v5@0.0.99/dist/index.js").LanguageModelV2Usage>;
|
|
39
39
|
/**
|
|
40
40
|
* @deprecated Use `fullStream.locked` instead
|
|
41
41
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { LanguageModelV1StreamPart } from '../../../_types/@internal_ai-sdk-v4@0.0.
|
|
1
|
+
import type { LanguageModelV1StreamPart } from '../../../_types/@internal_ai-sdk-v4@0.0.99/dist/index.js';
|
|
2
2
|
import type { RegisteredLogger } from '../../../logger/index.js';
|
|
3
3
|
import { MastraModelInput } from '../../base/index.js';
|
|
4
4
|
import type { ChunkType } from '../../types.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { LanguageModelV2DataContent } from '../../../../_types/@ai-sdk_provider@2.0.5/dist/index.js';
|
|
2
|
-
import type { DataContent } from '../../../../_types/@internal_ai-sdk-v5@0.0.
|
|
2
|
+
import type { DataContent } from '../../../../_types/@internal_ai-sdk-v5@0.0.99/dist/index.js';
|
|
3
3
|
/**
|
|
4
4
|
* Flat generated-file data is `string | Uint8Array`, where strings normally
|
|
5
5
|
* hold base64. URL-backed V4 generated files flatten to http(s) URL strings
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { LanguageModelV2FunctionTool, LanguageModelV2ProviderDefinedTool, LanguageModelV2ToolChoice } from '../../../../_types/@ai-sdk_provider@2.0.5/dist/index.js';
|
|
2
2
|
import type { LanguageModelV3FunctionTool, LanguageModelV3ProviderTool, LanguageModelV3ToolChoice } from '../../../../_types/@ai-sdk_provider@3.0.19/dist/index.js';
|
|
3
|
-
import type { Tool, ToolChoice } from '../../../../_types/@internal_ai-sdk-v5@0.0.
|
|
3
|
+
import type { Tool, ToolChoice } from '../../../../_types/@internal_ai-sdk-v5@0.0.99/dist/index.js';
|
|
4
4
|
import type { ModelToolDefinition } from '../../../../observability/index.js';
|
|
5
5
|
/** Model specification version for tool type conversion */
|
|
6
6
|
export type ModelSpecVersion = 'v2' | 'v3' | 'v4';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { InferUIMessageChunk, TextStreamPart, ToolSet, UIMessage, IdGenerator } from '../../../../_types/@internal_ai-sdk-v5@0.0.
|
|
1
|
+
import type { InferUIMessageChunk, TextStreamPart, ToolSet, UIMessage, IdGenerator } from '../../../../_types/@internal_ai-sdk-v5@0.0.99/dist/index.js';
|
|
2
2
|
export declare function getResponseUIMessageId({ originalMessages, responseMessageId, }: {
|
|
3
3
|
originalMessages: UIMessage[] | undefined;
|
|
4
4
|
responseMessageId: string | IdGenerator | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { LanguageModelV2Prompt } from '../../../_types/@ai-sdk_provider@2.0.5/dist/index.js';
|
|
2
|
-
import type { IdGenerator, ToolChoice, ToolSet } from '../../../_types/@internal_ai-sdk-v5@0.0.
|
|
2
|
+
import type { IdGenerator, ToolChoice, ToolSet } from '../../../_types/@internal_ai-sdk-v5@0.0.99/dist/index.js';
|
|
3
3
|
import type { StructuredOutputOptions } from '../../../agent/types.js';
|
|
4
4
|
import type { ModelMethodType } from '../../../llm/model/model.loop.types.js';
|
|
5
5
|
import type { MastraLanguageModel, SharedProviderOptions } from '../../../llm/model/shared.types.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { LanguageModelV2StreamPart } from '../../../_types/@ai-sdk_provider@2.0.5/dist/index.js';
|
|
2
|
-
import type { IdGenerator } from '../../../_types/@internal_ai-sdk-v5@0.0.
|
|
2
|
+
import type { IdGenerator } from '../../../_types/@internal_ai-sdk-v5@0.0.99/dist/index.js';
|
|
3
3
|
import type { RegisteredLogger } from '../../../logger/index.js';
|
|
4
4
|
import { MastraModelInput } from '../../base/index.js';
|
|
5
5
|
import type { ChunkType } from '../../types.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { StepResult, ToolSet, StaticToolCall, StaticToolResult, DynamicToolCall, DynamicToolResult } from '../../../_types/@internal_ai-sdk-v5@0.0.
|
|
1
|
+
import type { StepResult, ToolSet, StaticToolCall, StaticToolResult, DynamicToolCall, DynamicToolResult } from '../../../_types/@internal_ai-sdk-v5@0.0.99/dist/index.js';
|
|
2
2
|
import type { StepTripwireData } from '../../types.js';
|
|
3
3
|
type ContentPart<TOOLS extends ToolSet> = StepResult<TOOLS>['content'][number];
|
|
4
4
|
export declare class DefaultStepResult<TOOLS extends ToolSet> implements StepResult<TOOLS> {
|
|
@@ -22,31 +22,31 @@ export declare class DefaultStepResult<TOOLS extends ToolSet> implements StepRes
|
|
|
22
22
|
tripwire?: StepTripwireData;
|
|
23
23
|
});
|
|
24
24
|
get text(): string;
|
|
25
|
-
get reasoning(): import("../../../_types/@internal_ai-sdk-v5@0.0.
|
|
25
|
+
get reasoning(): import("../../../_types/@internal_ai-sdk-v5@0.0.99/dist/index.js").ReasoningOutput[];
|
|
26
26
|
get reasoningText(): string | undefined;
|
|
27
|
-
get files(): import("../../../_types/@internal_ai-sdk-v5@0.0.
|
|
27
|
+
get files(): import("../../../_types/@internal_ai-sdk-v5@0.0.99/dist/index.js").GeneratedFile[];
|
|
28
28
|
get sources(): Extract<ContentPart<TOOLS>, {
|
|
29
29
|
type: 'source';
|
|
30
30
|
}>[];
|
|
31
31
|
get toolCalls(): (({
|
|
32
32
|
type: 'tool-call';
|
|
33
33
|
} & DynamicToolCall & {
|
|
34
|
-
providerMetadata?: import("../../../_types/@internal_ai-sdk-v5@0.0.
|
|
34
|
+
providerMetadata?: import("../../../_types/@internal_ai-sdk-v5@0.0.99/dist/index.js").ProviderMetadata;
|
|
35
35
|
}) | ({
|
|
36
36
|
type: 'tool-call';
|
|
37
37
|
} & StaticToolCall<TOOLS> & {
|
|
38
|
-
providerMetadata?: import("../../../_types/@internal_ai-sdk-v5@0.0.
|
|
38
|
+
providerMetadata?: import("../../../_types/@internal_ai-sdk-v5@0.0.99/dist/index.js").ProviderMetadata;
|
|
39
39
|
}))[];
|
|
40
40
|
get staticToolCalls(): StaticToolCall<TOOLS>[];
|
|
41
41
|
get dynamicToolCalls(): DynamicToolCall[];
|
|
42
42
|
get toolResults(): (({
|
|
43
43
|
type: 'tool-result';
|
|
44
44
|
} & DynamicToolResult & {
|
|
45
|
-
providerMetadata?: import("../../../_types/@internal_ai-sdk-v5@0.0.
|
|
45
|
+
providerMetadata?: import("../../../_types/@internal_ai-sdk-v5@0.0.99/dist/index.js").ProviderMetadata;
|
|
46
46
|
}) | ({
|
|
47
47
|
type: 'tool-result';
|
|
48
48
|
} & StaticToolResult<TOOLS> & {
|
|
49
|
-
providerMetadata?: import("../../../_types/@internal_ai-sdk-v5@0.0.
|
|
49
|
+
providerMetadata?: import("../../../_types/@internal_ai-sdk-v5@0.0.99/dist/index.js").ProviderMetadata;
|
|
50
50
|
}))[];
|
|
51
51
|
get staticToolResults(): StaticToolResult<TOOLS>[];
|
|
52
52
|
get dynamicToolResults(): DynamicToolResult[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { LanguageModelV2FinishReason, LanguageModelV2StreamPart, LanguageModelV2Usage, SharedV2ProviderMetadata } from '../../../_types/@ai-sdk_provider@2.0.5/dist/index.js';
|
|
2
|
-
import type { ModelMessage, ObjectStreamPart, TextStreamPart, ToolSet } from '../../../_types/@internal_ai-sdk-v5@0.0.
|
|
2
|
+
import type { ModelMessage, ObjectStreamPart, TextStreamPart, ToolSet } from '../../../_types/@internal_ai-sdk-v5@0.0.99/dist/index.js';
|
|
3
3
|
import type { AIV5ResponseMessage } from '../../../agent/message-list/index.js';
|
|
4
4
|
import type { ChunkType } from '../../types.js';
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ReadableStream } from 'node:stream/web';
|
|
2
|
-
import type { StepResult } from '../../_types/@internal_ai-sdk-v5@0.0.
|
|
2
|
+
import type { StepResult } from '../../_types/@internal_ai-sdk-v5@0.0.99/dist/index.js';
|
|
3
3
|
import type { MessageList, MastraDBMessage } from '../../agent/message-list/index.js';
|
|
4
4
|
import { MastraBase } from '../../base.js';
|
|
5
5
|
import type { ScorerRunInputForAgent, ScorerRunOutputForAgent } from '../../evals/index.js';
|
|
@@ -285,11 +285,11 @@ export declare class MastraModelOutput<OUTPUT = undefined> extends MastraBase {
|
|
|
285
285
|
get response(): Promise<{
|
|
286
286
|
[key: string]: unknown;
|
|
287
287
|
headers?: Record<string, string>;
|
|
288
|
-
messages?: StepResult<import("../../_types/@internal_ai-sdk-v5@0.0.
|
|
288
|
+
messages?: StepResult<import("../../_types/@internal_ai-sdk-v5@0.0.99/dist/index.js").ToolSet>['response']['messages'];
|
|
289
289
|
dbMessages?: MastraDBMessage[];
|
|
290
|
-
uiMessages?: import("../../_types/@internal_ai-sdk-v5@0.0.
|
|
290
|
+
uiMessages?: import("../../_types/@internal_ai-sdk-v5@0.0.99/dist/index.js").UIMessage<[OUTPUT] extends [undefined] ? undefined : {
|
|
291
291
|
structuredOutput?: OUTPUT | undefined;
|
|
292
|
-
} & Record<string, unknown>, import("../../_types/@internal_ai-sdk-v5@0.0.
|
|
292
|
+
} & Record<string, unknown>, import("../../_types/@internal_ai-sdk-v5@0.0.99/dist/index.js").UIDataTypes, import("../../_types/@internal_ai-sdk-v5@0.0.99/dist/index.js").UITools>[] | undefined;
|
|
293
293
|
id?: string;
|
|
294
294
|
timestamp?: Date;
|
|
295
295
|
modelId?: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { JSONSchema7, Schema } from '../../_types/@internal_ai-sdk-v5@0.0.
|
|
1
|
+
import type { JSONSchema7, Schema } from '../../_types/@internal_ai-sdk-v5@0.0.99/dist/index.js';
|
|
2
2
|
import type { z as z3 } from 'zod/v3';
|
|
3
3
|
import type { z as z4 } from 'zod/v4';
|
|
4
4
|
import type { StandardSchemaWithJSON } from '../../schema/index.js';
|
package/dist/stream/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_stream = require("../stream-
|
|
3
|
-
const require_llm = require("../llm-
|
|
2
|
+
const require_stream = require("../stream-DH7Qgz8l.cjs");
|
|
3
|
+
const require_llm = require("../llm-BAiOsNAP.cjs");
|
|
4
4
|
const require_file = require("../file-BEndQUN1.cjs");
|
|
5
5
|
exports.ChunkFrom = require_llm.ChunkFrom;
|
|
6
6
|
exports.DefaultGeneratedFile = require_file.DefaultGeneratedFile;
|
package/dist/stream/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { En as convertFullStreamChunkToUIMessageStream, a as convertFullStreamChunkToMastra, c as WorkflowRunOutput, d as MastraModelOutput, i as withStreamCaching, n as createCachingTransformStream, o as convertMastraChunkToAISDKv5, r as createReplayStream, s as MastraAgentNetworkStream, t as smoothStream } from "../stream-
|
|
2
|
-
import { u as ChunkFrom } from "../llm-
|
|
1
|
+
import { En as convertFullStreamChunkToUIMessageStream, a as convertFullStreamChunkToMastra, c as WorkflowRunOutput, d as MastraModelOutput, i as withStreamCaching, n as createCachingTransformStream, o as convertMastraChunkToAISDKv5, r as createReplayStream, s as MastraAgentNetworkStream, t as smoothStream } from "../stream-C5PagEDs.js";
|
|
2
|
+
import { u as ChunkFrom } from "../llm-B1zaFLYZ.js";
|
|
3
3
|
import { n as DefaultGeneratedFileWithType, t as DefaultGeneratedFile } from "../file-DGZrR5f7.js";
|
|
4
4
|
export { ChunkFrom, DefaultGeneratedFile, DefaultGeneratedFileWithType, MastraAgentNetworkStream, MastraModelOutput, WorkflowRunOutput, convertFullStreamChunkToMastra, convertFullStreamChunkToUIMessageStream, convertMastraChunkToAISDKv5, createCachingTransformStream, createReplayStream, smoothStream, withStreamCaching };
|
package/dist/stream/types.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { TransformStream } from 'node:stream/web';
|
|
2
2
|
import type { LanguageModelV2FinishReason, LanguageModelV2Usage, LanguageModelV2CallWarning, LanguageModelV2Prompt, LanguageModelV2ResponseMetadata, LanguageModelV2StreamPart } from '../_types/@ai-sdk_provider@2.0.5/dist/index.js';
|
|
3
|
-
import type { FinishReason, LanguageModelRequestMetadata, LogProbs as LanguageModelV1LogProbs } from '../_types/@internal_ai-sdk-v4@0.0.
|
|
4
|
-
import type { ModelMessage, StepResult, ToolSet, TypedToolCall, UIMessage } from '../_types/@internal_ai-sdk-v5@0.0.
|
|
3
|
+
import type { FinishReason, LanguageModelRequestMetadata, LogProbs as LanguageModelV1LogProbs } from '../_types/@internal_ai-sdk-v4@0.0.99/dist/index.js';
|
|
4
|
+
import type { ModelMessage, StepResult, ToolSet, TypedToolCall, UIMessage } from '../_types/@internal_ai-sdk-v5@0.0.99/dist/index.js';
|
|
5
5
|
import type { Agent } from '../agent/index.js';
|
|
6
6
|
import type { AIV5ResponseMessage, MessageList } from '../agent/message-list/index.js';
|
|
7
7
|
import type { StoredMessageLoader } from '../agent/message-list/memory-message-refs.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as __exportAll } from "./rolldown-runtime-tIEjjQTE.js";
|
|
2
|
-
import { d as attachModelStreamTransport, f as isDataChunk, i as resolveModelConfig, p as readModelStreamTransport } from "./llm-
|
|
2
|
+
import { d as attachModelStreamTransport, f as isDataChunk, i as resolveModelConfig, p as readModelStreamTransport } from "./llm-B1zaFLYZ.js";
|
|
3
3
|
import { B as getResponseProviderItemIdFromPart, G as RESPONSE_ITEM_ID_PROVIDERS, K as RESPONSE_RESULT_ITEM_ID_KEY, f as coreContentToString, n as MessageList, p as messagesAreEqual, t as convertMessages } from "./message-list-KRbg-TnI.js";
|
|
4
4
|
import { S as resolveObservabilityContext, x as createObservabilityContext } from "./observability-D7RNOAPx.js";
|
|
5
5
|
import { t as MastraBase } from "./base-CKLWBhDo.js";
|
|
@@ -4760,13 +4760,13 @@ var ProcessorRunner = class ProcessorRunner {
|
|
|
4760
4760
|
}
|
|
4761
4761
|
endStreamProcessorSpans(processorStates, options) {
|
|
4762
4762
|
for (const state of processorStates.values()) {
|
|
4763
|
-
state.span?.end({
|
|
4763
|
+
if (!options?.stepScopedOnly) state.span?.end({
|
|
4764
4764
|
output: state.getFinalOutput(),
|
|
4765
4765
|
attributes: state.getFinalAttributes()
|
|
4766
4766
|
});
|
|
4767
4767
|
for (const [key, value] of Object.entries(state.customState)) if (key.startsWith("__outputStreamSpan_")) {
|
|
4768
4768
|
const span = value;
|
|
4769
|
-
if (
|
|
4769
|
+
if (span?.parent?.type === "model_step" ? options?.keepStepScopedSpans : options?.stepScopedOnly) continue;
|
|
4770
4770
|
const durationKey = OUTPUT_STREAM_HOOK_DURATION_KEY_PREFIX + key.slice(19);
|
|
4771
4771
|
const hookDurationMs = state.customState[durationKey];
|
|
4772
4772
|
span?.end(typeof hookDurationMs === "number" ? { attributes: { hookDurationMs } } : void 0);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const require_rolldown_runtime = require("./rolldown-runtime-BrhgMLW6.cjs");
|
|
2
|
-
const require_llm = require("./llm-
|
|
2
|
+
const require_llm = require("./llm-BAiOsNAP.cjs");
|
|
3
3
|
const require_message_list = require("./message-list-Cj0Sq_JP.cjs");
|
|
4
4
|
const require_observability = require("./observability-B0R_D1PZ.cjs");
|
|
5
5
|
const require_base = require("./base-BIzR1D3_.cjs");
|
|
@@ -4761,13 +4761,13 @@ var ProcessorRunner = class ProcessorRunner {
|
|
|
4761
4761
|
}
|
|
4762
4762
|
endStreamProcessorSpans(processorStates, options) {
|
|
4763
4763
|
for (const state of processorStates.values()) {
|
|
4764
|
-
state.span?.end({
|
|
4764
|
+
if (!options?.stepScopedOnly) state.span?.end({
|
|
4765
4765
|
output: state.getFinalOutput(),
|
|
4766
4766
|
attributes: state.getFinalAttributes()
|
|
4767
4767
|
});
|
|
4768
4768
|
for (const [key, value] of Object.entries(state.customState)) if (key.startsWith("__outputStreamSpan_")) {
|
|
4769
4769
|
const span = value;
|
|
4770
|
-
if (
|
|
4770
|
+
if (span?.parent?.type === "model_step" ? options?.keepStepScopedSpans : options?.stepScopedOnly) continue;
|
|
4771
4771
|
const durationKey = OUTPUT_STREAM_HOOK_DURATION_KEY_PREFIX + key.slice(19);
|
|
4772
4772
|
const hookDurationMs = state.customState[durationKey];
|
|
4773
4773
|
span?.end(typeof hookDurationMs === "number" ? { attributes: { hookDurationMs } } : void 0);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_rolldown_runtime = require("../rolldown-runtime-BrhgMLW6.cjs");
|
|
3
3
|
const require_dist = require("../dist-CXeCeeW7.cjs");
|
|
4
|
-
const require_model = require("../model-
|
|
4
|
+
const require_model = require("../model-WahorgzJ.cjs");
|
|
5
5
|
const require_model$1 = require("../model-jBymoqGa.cjs");
|
|
6
6
|
let stream = require("stream");
|
|
7
7
|
let module$1 = require("module");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { simulateReadableStream } from '../_types/@internal_ai-sdk-v4@0.0.
|
|
2
|
-
import { MockLanguageModelV1 } from '../_types/@internal_ai-sdk-v4@0.0.
|
|
3
|
-
import { MockLanguageModelV2 } from '../_types/@internal_ai-sdk-v5@0.0.
|
|
1
|
+
import { simulateReadableStream } from '../_types/@internal_ai-sdk-v4@0.0.99/dist/index.js';
|
|
2
|
+
import { MockLanguageModelV1 } from '../_types/@internal_ai-sdk-v4@0.0.99/dist/test.js';
|
|
3
|
+
import { MockLanguageModelV2 } from '../_types/@internal_ai-sdk-v5@0.0.99/dist/test.js';
|
|
4
4
|
import type { StreamObjectResult, StreamReturn } from '../llm/model/base.types.js';
|
|
5
5
|
import { MastraLLMV1 } from '../llm/model/model.js';
|
|
6
6
|
import { MastraLanguageModelV2Mock } from '../loop/test-utils/MastraLanguageModelV2Mock.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { o as simulateReadableStream } from "../dist-D3cKCUe-.js";
|
|
2
|
-
import { t as MastraLLMV1 } from "../model-
|
|
2
|
+
import { t as MastraLLMV1 } from "../model-C47BJRtR.js";
|
|
3
3
|
import { t as AISDKV5LanguageModel } from "../model-DS-b2R-R.js";
|
|
4
4
|
import { createRequire } from "module";
|
|
5
5
|
import { Readable } from "stream";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_tool_loop_agent = require("../tool-loop-agent-
|
|
2
|
+
const require_tool_loop_agent = require("../tool-loop-agent-CJTs4T8b.cjs");
|
|
3
3
|
exports.getSettings = require_tool_loop_agent.getSettings;
|
|
4
4
|
exports.isToolLoopAgentLike = require_tool_loop_agent.isToolLoopAgentLike;
|
|
5
5
|
exports.toolLoopAgentToMastraAgent = require_tool_loop_agent.toolLoopAgentToMastraAgent;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { n as getSettings, r as isToolLoopAgentLike, t as toolLoopAgentToMastraAgent } from "../tool-loop-agent-
|
|
1
|
+
export { n as getSettings, r as isToolLoopAgentLike, t as toolLoopAgentToMastraAgent } from "../tool-loop-agent-DVYJXlQJ.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ToolLoopAgentSettings } from '../_types/@internal_ai-v6@0.0.
|
|
1
|
+
import type { ToolLoopAgentSettings } from '../_types/@internal_ai-v6@0.0.99/dist/index.js';
|
|
2
2
|
/**
|
|
3
3
|
* Shape of a ToolLoopAgent-like object for runtime extraction.
|
|
4
4
|
* We use this looser type because TypeScript's structural typing doesn't work
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const require_dist = require("./dist-P2rjrlmj.cjs");
|
|
2
|
-
const require_run_registry = require("./run-registry-
|
|
3
|
-
const require_stream = require("./stream-
|
|
4
|
-
const require_llm = require("./llm-
|
|
2
|
+
const require_run_registry = require("./run-registry-TOOfO3hT.cjs");
|
|
3
|
+
const require_stream = require("./stream-DH7Qgz8l.cjs");
|
|
4
|
+
const require_llm = require("./llm-BAiOsNAP.cjs");
|
|
5
5
|
const require_message_list = require("./message-list-Cj0Sq_JP.cjs");
|
|
6
6
|
// src/tool-loop-agent/utils.ts
|
|
7
7
|
function isToolLoopAgentLike(obj) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { m as generateId } from "./dist-TPVqg8oV.js";
|
|
2
|
-
import { N as Agent } from "./run-registry-
|
|
3
|
-
import { ln as isSupportedLanguageModel } from "./stream-
|
|
4
|
-
import { i as resolveModelConfig } from "./llm-
|
|
2
|
+
import { N as Agent } from "./run-registry-DdeEBsVW.js";
|
|
3
|
+
import { ln as isSupportedLanguageModel } from "./stream-C5PagEDs.js";
|
|
4
|
+
import { i as resolveModelConfig } from "./llm-B1zaFLYZ.js";
|
|
5
5
|
import { N as ToolLoopAgent } from "./message-list-KRbg-TnI.js";
|
|
6
6
|
// src/tool-loop-agent/utils.ts
|
|
7
7
|
function isToolLoopAgentLike(obj) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ProviderDefinedTool } from '../../_types/@internal_external-types@0.0.
|
|
1
|
+
import type { ProviderDefinedTool } from '../../_types/@internal_external-types@0.0.102/dist/index.js';
|
|
2
2
|
declare const WEB_SEARCH_TOOL_MARKER: unique symbol;
|
|
3
3
|
export type WebSearchProvider = 'openai' | 'anthropic' | 'google' | 'xai';
|
|
4
4
|
export type WebSearchProviderToolId = 'openai.web_search' | 'anthropic.web_search_20250305' | 'google.google_search' | 'xai.web_search';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ProviderDefinedTool } from '../../_types/@internal_external-types@0.0.
|
|
1
|
+
import type { ProviderDefinedTool } from '../../_types/@internal_external-types@0.0.102/dist/index.js';
|
|
2
2
|
import { MastraBase } from '../../base.js';
|
|
3
3
|
import type { ToolOptions } from '../../utils/index.js';
|
|
4
4
|
import type { CoreTool, ToolAction, VercelTool, VercelToolV5 } from '../types.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ToolSet } from '../_types/@internal_ai-sdk-v5@0.0.
|
|
1
|
+
import type { ToolSet } from '../_types/@internal_ai-sdk-v5@0.0.99/dist/index.js';
|
|
2
2
|
import type { JSONObject } from '../stream/types.js';
|
|
3
3
|
import type { CoreTool } from './types.js';
|
|
4
4
|
type ResolvedTool = ToolSet[string] | CoreTool | undefined;
|
package/dist/tools/types.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { WritableStream } from 'node:stream/web';
|
|
2
|
-
import type { Tool, ToolV5, FlexibleSchema, ToolCallOptions, ToolExecutionOptions, Schema } from '../_types/@internal_external-types@0.0.
|
|
2
|
+
import type { Tool, ToolV5, FlexibleSchema, ToolCallOptions, ToolExecutionOptions, Schema } from '../_types/@internal_external-types@0.0.102/dist/index.js';
|
|
3
3
|
import type { MastraPrimitives, MastraUnion } from '../action/index.js';
|
|
4
4
|
export type { MastraPrimitives, MastraUnion };
|
|
5
5
|
import type { MastraDBMessage } from '../agent/message-list/index.js';
|
package/dist/types/user.d.ts
CHANGED
|
@@ -16,5 +16,5 @@
|
|
|
16
16
|
* configured auth provider. The raw provider-specific user object remains
|
|
17
17
|
* available on the request context under the `mastra__user` key.
|
|
18
18
|
*/
|
|
19
|
-
export type { MastraUser } from '../_types/@internal_auth@0.0.
|
|
19
|
+
export type { MastraUser } from '../_types/@internal_auth@0.0.40/dist/index.js';
|
|
20
20
|
//# sourceMappingURL=user.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { i as MastraError, n as ErrorDomain, o as getErrorFromUnknown, t as ErrorCategory } from "./error-oh2DLsP2.js";
|
|
2
2
|
import { c as registerToolOutputValidationSchema, d as validateToolOutput, f as validateToolSuspendData, h as markBuilderValidatedInput, i as createStandardSchemaIssuesError, n as Tool, o as getValidationIssuePaths, p as createToolObserve, s as isValidationError, u as validateToolInput } from "./tool-Z3bykc1m.js";
|
|
3
3
|
import { i as MastraFGAPermissions } from "./ee-iTj2bRDt-By_B9ngH.js";
|
|
4
|
-
import { i as isToolBackgroundEligible, n as backgroundOverrideJsonSchema, r as backgroundOverrideZodSchema } from "./background-tasks-
|
|
4
|
+
import { i as isToolBackgroundEligible, n as backgroundOverrideJsonSchema, r as backgroundOverrideZodSchema } from "./background-tasks-IW7M4iD2.js";
|
|
5
5
|
import { t as MastraBase } from "./base-CKLWBhDo.js";
|
|
6
6
|
import { O as executionFailureTermination, b as wrapMastra, x as createObservabilityContext } from "./observability-D7RNOAPx.js";
|
|
7
7
|
import { a as getOrCreateSpan, t as executeWithContext } from "./utils-DU_pU5SK.js";
|