@mastra/core 1.87.0-alpha.20 → 1.87.0-alpha.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_types/@internal_ai-sdk-v4@0.0.99/dist/index.d.ts +1 -1
- package/dist/_types/@internal_ai-sdk-v5@0.0.99/dist/index.d.ts +1 -1
- package/dist/_types/@internal_ai-v6@0.0.99/dist/index.d.ts +1 -1
- package/dist/_types/@internal_ai-v7@0.0.99/dist/index.d.ts +1 -1
- package/dist/_types/@internal_voice@0.0.48/dist/_types/@internal_ai-sdk-v5@0.0.99/dist/index.d.ts +1 -1
- package/dist/agent/durable/index.cjs +1 -1
- package/dist/agent/durable/index.js +1 -1
- package/dist/agent/index.cjs +2 -2
- package/dist/agent/index.js +2 -2
- 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-WTjY0HJM.cjs → agent-controller-4dz2FE2a.cjs} +5 -5
- package/dist/{agent-controller-D2d_qiJr.js → agent-controller-Cw5t1dkE.js} +5 -5
- package/dist/background-tasks/index.cjs +1 -1
- package/dist/background-tasks/index.js +1 -1
- package/dist/{background-tasks-CgspqU_S.js → background-tasks-DFDfV-FJ.js} +1 -1
- package/dist/{background-tasks-DJ6x1bn-.cjs → background-tasks-fjEu5kC8.cjs} +1 -1
- package/dist/browser/index.cjs +1 -1
- package/dist/browser/index.js +1 -1
- package/dist/{builder-B2P49nT9.cjs → builder-DrBUrE-F.cjs} +2 -2
- package/dist/{builder-MymUxyDK.js → builder-la4Jv6di.js} +2 -2
- package/dist/capabilities/302ai.json +196 -196
- package/dist/capabilities/abliteratedllm.json +31 -31
- package/dist/capabilities/abliteration-ai.json +6 -6
- package/dist/capabilities/above.json +18 -18
- package/dist/capabilities/adaption.json +12 -12
- package/dist/capabilities/adzuki.json +35 -35
- package/dist/capabilities/agentrouter.json +6 -6
- package/dist/capabilities/agnes.json +2 -2
- package/dist/capabilities/ai-router.json +9 -9
- package/dist/capabilities/aiand.json +13 -13
- package/dist/capabilities/aigrow.json +14 -14
- package/dist/capabilities/aimlapi.json +141 -141
- package/dist/capabilities/aipg.json +2 -2
- package/dist/capabilities/aixy.json +13 -13
- package/dist/capabilities/aki-io.json +12 -12
- package/dist/capabilities/alibaba-cn.json +101 -101
- package/dist/capabilities/alibaba-coding-plan-cn.json +4 -4
- package/dist/capabilities/alibaba-coding-plan.json +4 -4
- package/dist/capabilities/alibaba-token-plan-cn.json +51 -51
- package/dist/capabilities/alibaba-token-plan.json +48 -48
- package/dist/capabilities/alibaba.json +68 -68
- package/dist/capabilities/ambient.json +17 -17
- package/dist/capabilities/amd-tokenlab.json +5 -5
- package/dist/capabilities/amd.json +9 -9
- package/dist/capabilities/anthropic.json +45 -45
- package/dist/capabilities/anyapi.json +20 -20
- package/dist/capabilities/apiko.json +4 -4
- package/dist/capabilities/arcee.json +11 -11
- package/dist/capabilities/augure.json +6 -6
- package/dist/capabilities/auriko.json +17 -17
- package/dist/capabilities/bailing.json +5 -5
- package/dist/capabilities/baseten.json +27 -27
- package/dist/capabilities/bothub.json +12 -12
- package/dist/capabilities/boundless.json +37 -37
- package/dist/capabilities/bumo.json +39 -39
- package/dist/capabilities/byteplus.json +26 -26
- package/dist/capabilities/cheapaimodel.json +6 -6
- package/dist/capabilities/cheapest-token.json +29 -29
- package/dist/capabilities/chutes.json +29 -29
- package/dist/capabilities/cline-pass.json +34 -34
- package/dist/capabilities/cloudcode.json +6 -6
- package/dist/capabilities/cloudflare-workers-ai.json +15 -15
- package/dist/capabilities/commandcode.json +133 -133
- package/dist/capabilities/concentrate.json +276 -276
- package/dist/capabilities/cortecs.json +103 -103
- package/dist/capabilities/crossmodel.json +168 -168
- package/dist/capabilities/crusoe.json +14 -14
- package/dist/capabilities/daoxe.json +9 -9
- package/dist/capabilities/databricks.json +131 -131
- package/dist/capabilities/deepinfra.json +87 -87
- package/dist/capabilities/deepseek.json +4 -4
- package/dist/capabilities/digitalocean.json +115 -115
- package/dist/capabilities/dothoosh.json +30 -30
- package/dist/capabilities/doubleword.json +26 -26
- package/dist/capabilities/edenai.json +290 -281
- package/dist/capabilities/empiriolabs.json +174 -179
- package/dist/capabilities/engy.json +19 -19
- package/dist/capabilities/entrim.json +2 -2
- package/dist/capabilities/evroc.json +13 -13
- package/dist/capabilities/ezkielyna.json +13 -13
- package/dist/capabilities/fastrouter.json +81 -81
- package/dist/capabilities/fireworks-ai.json +103 -103
- package/dist/capabilities/fortytwo.json +4 -4
- package/dist/capabilities/freemodel.json +6 -6
- package/dist/capabilities/friendli.json +8 -8
- package/dist/capabilities/frogbot.json +97 -97
- package/dist/capabilities/gisoo.json +19 -19
- package/dist/capabilities/gmicloud.json +17 -17
- package/dist/capabilities/google.json +49 -49
- package/dist/capabilities/graphn.json +8 -8
- package/dist/capabilities/greenpt.json +35 -35
- package/dist/capabilities/groq.json +2 -2
- package/dist/capabilities/helicone.json +73 -73
- package/dist/capabilities/hetzner.json +2 -2
- package/dist/capabilities/hopper.json +2 -2
- package/dist/capabilities/hostinger-router.json +10 -10
- package/dist/capabilities/hpc-ai.json +4 -4
- package/dist/capabilities/huawei-maas.json +15 -15
- package/dist/capabilities/hubris.json +34 -34
- package/dist/capabilities/huggingface.json +79 -72
- package/dist/capabilities/humain.json +2 -2
- package/dist/capabilities/hyper.json +23 -23
- package/dist/capabilities/impossibl.json +129 -129
- package/dist/capabilities/inception.json +3 -3
- package/dist/capabilities/inceptron.json +2 -2
- package/dist/capabilities/inco.json +2 -2
- package/dist/capabilities/infer.json +14 -14
- package/dist/capabilities/inferall.json +5 -5
- package/dist/capabilities/inference-coop.json +12 -12
- package/dist/capabilities/inferenceapis.json +18 -18
- package/dist/capabilities/inferris.json +4 -4
- package/dist/capabilities/infersia.json +12 -12
- package/dist/capabilities/inferx.json +3 -3
- package/dist/capabilities/infomaniak.json +2 -2
- package/dist/capabilities/isoquant.json +4 -4
- package/dist/capabilities/iteracompute.json +38 -38
- package/dist/capabilities/jalapeno.json +11 -11
- package/dist/capabilities/jiekou.json +33 -33
- package/dist/capabilities/jzstoken.json +51 -51
- package/dist/capabilities/keln.json +16 -16
- package/dist/capabilities/kenari.json +131 -131
- package/dist/capabilities/kilo.json +615 -624
- package/dist/capabilities/kimchi.json +90 -0
- package/dist/capabilities/kimi-code-plan-cn.json +7 -7
- package/dist/capabilities/kimi-code-plan-global.json +7 -7
- package/dist/capabilities/klavo.json +21 -21
- package/dist/capabilities/korouter.json +32 -32
- package/dist/capabilities/kunavo.json +10 -10
- package/dist/capabilities/liquid.json +7 -7
- package/dist/capabilities/llmgateway-providers.json +924 -917
- package/dist/capabilities/llmgateway.json +347 -341
- package/dist/capabilities/llmtr.json +22 -22
- package/dist/capabilities/logits.json +2 -2
- package/dist/capabilities/longcat.json +2 -2
- package/dist/capabilities/lowrouter.json +49 -49
- package/dist/capabilities/lyceum.json +14 -14
- package/dist/capabilities/melious.json +12 -12
- package/dist/capabilities/merge-gateway.json +274 -266
- package/dist/capabilities/meta.json +6 -6
- package/dist/capabilities/minimax-cn-coding-plan.json +5 -5
- package/dist/capabilities/minimax-cn.json +5 -5
- package/dist/capabilities/minimax-coding-plan.json +5 -5
- package/dist/capabilities/minimax.json +5 -5
- package/dist/capabilities/mistral.json +15 -15
- package/dist/capabilities/mixlayer.json +5 -5
- package/dist/capabilities/modal.json +8 -8
- package/dist/capabilities/model-oracle-ai.json +25 -25
- package/dist/capabilities/modelis.json +18 -18
- package/dist/capabilities/modular.json +10 -10
- package/dist/capabilities/moneo.json +5 -5
- package/dist/capabilities/moonshotai-cn.json +6 -6
- package/dist/capabilities/moonshotai.json +6 -6
- package/dist/capabilities/morph.json +22 -14
- package/dist/capabilities/munito-eu.json +8 -8
- package/dist/capabilities/munito.json +8 -8
- package/dist/capabilities/nan.json +27 -27
- package/dist/capabilities/nano-gpt.json +568 -568
- package/dist/capabilities/nearai.json +85 -85
- package/dist/capabilities/nebius.json +28 -28
- package/dist/capabilities/neon.json +132 -132
- package/dist/capabilities/neuralwatt.json +40 -40
- package/dist/capabilities/nokeep.json +2 -2
- package/dist/capabilities/novita-ai.json +135 -135
- package/dist/capabilities/nvidia.json +13 -13
- package/dist/capabilities/oathbreaker.json +5 -5
- package/dist/capabilities/obscurify.json +19 -19
- package/dist/capabilities/oci.json +7 -7
- package/dist/capabilities/ofox.json +209 -209
- package/dist/capabilities/ollama-cloud.json +55 -55
- package/dist/capabilities/openai.json +60 -60
- package/dist/capabilities/opencode-go.json +91 -91
- package/dist/capabilities/openreason.json +4 -4
- package/dist/capabilities/openrouter.json +502 -511
- package/dist/capabilities/opper.json +25 -25
- package/dist/capabilities/orcarouter.json +266 -266
- package/dist/capabilities/outerlabs.json +27 -27
- package/dist/capabilities/ovhcloud.json +20 -20
- package/dist/capabilities/perplexity-agent.json +132 -42
- package/dist/capabilities/perplexity.json +2 -2
- package/dist/capabilities/phala.json +35 -35
- package/dist/capabilities/poe.json +108 -108
- package/dist/capabilities/poolside.json +2 -2
- package/dist/capabilities/powerspring.json +11 -11
- package/dist/capabilities/primalabs.json +14 -14
- package/dist/capabilities/prime.json +121 -121
- package/dist/capabilities/privatemode-ai.json +7 -7
- package/dist/capabilities/proxystacks.json +6 -6
- package/dist/capabilities/qiniu-ai.json +12 -12
- package/dist/capabilities/refuseless.json +6 -6
- package/dist/capabilities/regolo-ai.json +9 -9
- package/dist/capabilities/requesty.json +202 -202
- package/dist/capabilities/ruapi.json +23 -23
- package/dist/capabilities/runcrate.json +4 -4
- package/dist/capabilities/runinfra.json +13 -13
- package/dist/capabilities/sakana.json +5 -5
- package/dist/capabilities/sambanova.json +9 -9
- package/dist/capabilities/sandbase.json +4 -4
- package/dist/capabilities/sarvam.json +9 -9
- package/dist/capabilities/scaleway.json +15 -15
- package/dist/capabilities/scnet-token-plan.json +12 -12
- package/dist/capabilities/scx-ai.json +26 -26
- package/dist/capabilities/sensenova.json +14 -14
- package/dist/capabilities/siliconflow-cn.json +45 -45
- package/dist/capabilities/siliconflow.json +50 -50
- package/dist/capabilities/snowflake-cortex.json +24 -24
- package/dist/capabilities/sokkan.json +2 -2
- package/dist/capabilities/sparrowcodes.json +20 -20
- package/dist/capabilities/standardcompute.json +80 -80
- package/dist/capabilities/steadyrouter.json +43 -43
- package/dist/capabilities/stepfun-ai-step-plan.json +9 -9
- package/dist/capabilities/stepfun-ai.json +9 -9
- package/dist/capabilities/stepfun-step-plan.json +9 -9
- package/dist/capabilities/stepfun.json +9 -9
- package/dist/capabilities/stepping-stone.json +18 -18
- package/dist/capabilities/superbot-gg.json +4 -4
- package/dist/capabilities/synthetic.json +10 -10
- package/dist/capabilities/synthorai.json +20 -20
- package/dist/capabilities/teamorouter.json +25 -25
- package/dist/capabilities/teapot-router.json +14 -14
- package/dist/capabilities/tencent-token-plan-intl.json +22 -22
- package/dist/capabilities/tencent-token-plan.json +40 -40
- package/dist/capabilities/tencent-tokenhub.json +47 -47
- package/dist/capabilities/tensorx.json +48 -48
- package/dist/capabilities/tenstorrent.json +6 -6
- package/dist/capabilities/the-grid-ai.json +24 -24
- package/dist/capabilities/thinkingmachines.json +72 -72
- package/dist/capabilities/tinfoil.json +8 -8
- package/dist/capabilities/toapis.json +2 -2
- package/dist/capabilities/togetherai.json +48 -48
- package/dist/capabilities/tokengo.json +15 -15
- package/dist/capabilities/tokenharbor.json +738 -0
- package/dist/capabilities/tokenify.json +8 -8
- package/dist/capabilities/trustedrouter.json +6 -6
- package/dist/capabilities/trustedtokens.json +17 -17
- package/dist/capabilities/umans-ai-coding-plan.json +13 -13
- package/dist/capabilities/umans-ai.json +10 -10
- package/dist/capabilities/uncensuredai.json +5 -5
- package/dist/capabilities/unrestricted.json +6 -6
- package/dist/capabilities/uplinkswitch.json +22 -22
- package/dist/capabilities/upstage.json +2 -2
- package/dist/capabilities/vancine.json +24 -24
- package/dist/capabilities/vercel.json +576 -577
- package/dist/capabilities/verda.json +4 -4
- package/dist/capabilities/vivgrid.json +56 -56
- package/dist/capabilities/volcengine-coding-plan.json +26 -26
- package/dist/capabilities/volcengine.json +26 -26
- package/dist/capabilities/vultr.json +19 -19
- package/dist/capabilities/wafer.ai.json +19 -19
- package/dist/capabilities/wallaby.json +4 -4
- package/dist/capabilities/wally.json +13 -13
- package/dist/capabilities/wandb.json +19 -19
- package/dist/capabilities/watt.json +24 -24
- package/dist/capabilities/xai.json +6 -6
- package/dist/capabilities/xiaomi-token-plan-ams.json +2 -2
- package/dist/capabilities/xiaomi-token-plan-cn.json +2 -2
- package/dist/capabilities/xiaomi-token-plan-sgp.json +2 -2
- package/dist/capabilities/xiaomi.json +2 -2
- package/dist/capabilities/xpersona.json +12 -12
- package/dist/capabilities/xxapi.json +31 -31
- package/dist/capabilities/zai-coding-plan.json +17 -17
- package/dist/capabilities/zai.json +36 -27
- package/dist/capabilities/zenifra.json +26 -26
- package/dist/capabilities/zenmux.json +165 -165
- package/dist/capabilities/zerogpu.json +9 -9
- package/dist/capabilities/zhipuai-coding-plan.json +2 -2
- package/dist/capabilities/zhipuai.json +43 -27
- package/dist/capabilities/zro.json +6 -6
- package/dist/channels/index.cjs +2 -2
- package/dist/channels/index.js +2 -2
- package/dist/{channels-nnBeh58G.js → channels-BUa-51eD.js} +1 -1
- package/dist/{channels-CKRPQRmF.cjs → channels-CqwRfJzZ.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/docs/SKILL.md +1 -1
- package/dist/docs/assets/SOURCE_MAP.json +467 -467
- package/dist/docs/references/docs-memory-message-history.md +2 -0
- package/dist/evals/index.cjs +1 -1
- package/dist/evals/index.js +1 -1
- package/dist/evals/scoreTraces/index.cjs +1 -1
- package/dist/evals/scoreTraces/index.js +1 -1
- package/dist/{execution-fence-CKFtgb2u.cjs → execution-fence-DeR5VB54.cjs} +7 -7
- package/dist/{execution-fence-DTrAehtv.js → execution-fence-Yl_-iJxn.js} +7 -7
- package/dist/harness/index.cjs +1 -1
- package/dist/harness/index.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/knowledge/index.cjs +1 -1
- package/dist/knowledge/index.js +1 -1
- package/dist/llm/index.cjs +3 -3
- package/dist/llm/index.js +3 -3
- package/dist/llm/model/provider-types.generated.d.ts +7042 -6917
- package/dist/{llm-B6EYEbYf.js → llm-BZQdtNe1.js} +2 -2
- package/dist/{llm-P6sWWNc6.cjs → llm-DVQKutUM.cjs} +2 -2
- package/dist/loop/index.cjs +2 -2
- package/dist/loop/index.js +2 -2
- package/dist/{manager-tQrH4_MZ.cjs → manager-Cr0lJZSV.cjs} +2 -2
- package/dist/{manager-BvnXZAFj.js → manager-CxN9r6o4.js} +2 -2
- package/dist/mastra/index.cjs +1 -1
- package/dist/mastra/index.js +1 -1
- package/dist/{mastra-BhPympcg.js → mastra-CsuV_iVH.js} +16 -16
- package/dist/{mastra-CtL0diD6.cjs → mastra-D4Q2NPsZ.cjs} +16 -16
- package/dist/memory/index.cjs +2 -2
- package/dist/memory/index.js +2 -2
- package/dist/{model-D2XwLRQi.js → model-CIV_1-kW.js} +1 -1
- package/dist/{model-Cy0Z_3FQ.cjs → model-DOqga9dt.cjs} +1 -1
- package/dist/{netlify-d2fyniAS.js → netlify-CoThk6uD.js} +1 -1
- package/dist/{netlify-DgHrsLpJ.cjs → netlify-KyTDrIQP.cjs} +1 -1
- package/dist/notifications/index.cjs +1 -1
- package/dist/notifications/index.js +1 -1
- package/dist/processor-provider/index.cjs +1 -1
- package/dist/processor-provider/index.js +1 -1
- package/dist/processors/index.cjs +2 -2
- package/dist/processors/index.js +2 -2
- package/dist/{provider-registry-B9UP28b4.js → provider-registry-BIXG21H8.js} +21337 -21065
- package/dist/{provider-registry-Brcz84P1.cjs → provider-registry-BsphJbPb.cjs} +21337 -21065
- package/dist/provider-registry.json +20759 -20491
- package/dist/{registry-generator-DSvbAYar.cjs → registry-generator-BBmRjrp4.cjs} +1 -1
- package/dist/{registry-generator-BDZrKvMb.js → registry-generator-BXZzqm-j.js} +1 -1
- package/dist/{rehydrate-Cme19iOk.js → rehydrate-BwfL5GuU.js} +2 -2
- package/dist/{rehydrate-vAlkgCKL.cjs → rehydrate-tjUWtbB-.cjs} +2 -2
- package/dist/relevance/index.cjs +2 -2
- package/dist/relevance/index.js +2 -2
- package/dist/storage/index.cjs +2 -2
- package/dist/storage/index.js +2 -2
- package/dist/stream/index.cjs +2 -2
- package/dist/stream/index.js +2 -2
- package/dist/{stream-B9y9VYqr.cjs → stream-C4XcOMuS.cjs} +1 -1
- package/dist/{stream-DSVk0bct.js → stream-Dgsrva80.js} +1 -1
- package/dist/test-utils/llm-mock.cjs +1 -1
- package/dist/test-utils/llm-mock.js +1 -1
- package/dist/tool-loop-agent/index.cjs +1 -1
- package/dist/tool-loop-agent/index.js +1 -1
- package/dist/{tool-loop-agent-e2Bi-mrf.js → tool-loop-agent-DN4C3VpR.js} +3 -3
- package/dist/{tool-loop-agent-C3wj9NhP.cjs → tool-loop-agent-Dze-IJOx.cjs} +3 -3
- package/dist/{utils-B87rm4F-.cjs → utils-AfuTYtPM.cjs} +1 -1
- package/dist/{utils-DCDsj1CG.js → utils-B-UrrqES.js} +1 -1
- package/dist/utils.cjs +1 -1
- package/dist/utils.js +1 -1
- package/dist/{validate-XPZLQRoc.cjs → validate-GzP07CVb.cjs} +1 -1
- package/dist/{validate-_e8OoEh5.js → validate-zLPo00kk.js} +1 -1
- package/dist/vector/index.cjs +1 -1
- package/dist/vector/index.js +1 -1
- package/dist/worker/index.cjs +1 -1
- package/dist/worker/index.js +1 -1
- package/dist/{worker-BAstsOqw.js → worker-BYQGN5Lh.js} +2 -2
- package/dist/{worker-DzMDk--h.cjs → worker-ChLwyYHR.cjs} +2 -2
- package/dist/{worker-DvI9J9Qw.js → worker-DP_A9d7f.js} +2 -2
- package/dist/{worker-CGWclXz3.cjs → worker-J6-CpZ0n.cjs} +2 -2
- package/dist/{workflow-BFF2mNDa.cjs → workflow-COgwqQxL.cjs} +3 -3
- package/dist/{workflow-DcpI9eNC.js → workflow-DqV0r2P-.js} +3 -3
- package/dist/workflows/builder/index.cjs +1 -1
- package/dist/workflows/builder/index.js +1 -1
- package/dist/workflows/evented/index.cjs +1 -1
- package/dist/workflows/evented/index.js +1 -1
- package/dist/workflows/index.cjs +4 -4
- package/dist/workflows/index.js +4 -4
- package/package.json +5 -5
- package/src/llm/model/provider-types.generated.d.ts +7042 -6917
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const require_rolldown_runtime = require("./rolldown-runtime-BrhgMLW6.cjs");
|
|
2
|
-
const require_netlify = require("./netlify-
|
|
2
|
+
const require_netlify = require("./netlify-KyTDrIQP.cjs");
|
|
3
3
|
let path = require("path");
|
|
4
4
|
path = require_rolldown_runtime.__toESM(path, 1);
|
|
5
5
|
let fs_promises = require("fs/promises");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as getGatewayId, v as shouldEnableGateway, y as getCapabilityFileName } from "./netlify-
|
|
1
|
+
import { g as getGatewayId, v as shouldEnableGateway, y as getCapabilityFileName } from "./netlify-CoThk6uD.js";
|
|
2
2
|
import path from "path";
|
|
3
3
|
import fs from "fs/promises";
|
|
4
4
|
// src/llm/model/registry-generator.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Ds as createEventedWorkflow, Es as cloneWorkflow, Ic as mapVariable, Lc as predicateToCondition, Os as createWorkflow, al as createStepFromTool, rl as createStepFromAgent, yl as getSingleStepEntryId } from "./execution-fence-
|
|
1
|
+
import { Ds as createEventedWorkflow, Es as cloneWorkflow, Ic as mapVariable, Lc as predicateToCondition, Os as createWorkflow, al as createStepFromTool, rl as createStepFromAgent, yl as getSingleStepEntryId } from "./execution-fence-Yl_-iJxn.js";
|
|
2
2
|
import { derivePredicateLabel } from "./predicate/index.js";
|
|
3
|
-
import { a as jsonSchemaToZod, l as parseMapConfig } from "./validate-
|
|
3
|
+
import { a as jsonSchemaToZod, l as parseMapConfig } from "./validate-zLPo00kk.js";
|
|
4
4
|
import { standardSchemaToJSONSchema, toStandardSchema } from "./schema/index.js";
|
|
5
5
|
// src/workflows/dynamic/serialize.ts
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
const require_execution_fence = require("./execution-fence-
|
|
1
|
+
const require_execution_fence = require("./execution-fence-DeR5VB54.cjs");
|
|
2
2
|
const require_predicate_index = require("./predicate/index.cjs");
|
|
3
|
-
const require_validate = require("./validate-
|
|
3
|
+
const require_validate = require("./validate-GzP07CVb.cjs");
|
|
4
4
|
let _mastra_schema_compat_schema = require("@mastra/schema-compat/schema");
|
|
5
5
|
// src/workflows/dynamic/serialize.ts
|
|
6
6
|
/**
|
package/dist/relevance/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_execution_fence = require("../execution-fence-
|
|
3
|
-
const require_stream = require("../stream-
|
|
2
|
+
const require_execution_fence = require("../execution-fence-DeR5VB54.cjs");
|
|
3
|
+
const require_stream = require("../stream-C4XcOMuS.cjs");
|
|
4
4
|
// src/relevance/relevance-score-provider.ts
|
|
5
5
|
function createSimilarityPrompt(query, text) {
|
|
6
6
|
return `Rate the semantic similarity between the following the query and the text on a scale from 0 to 1 (decimals allowed), where 1 means exactly the same meaning and 0 means completely different:
|
package/dist/relevance/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { T as Agent } from "../execution-fence-
|
|
2
|
-
import { un as isSupportedLanguageModel } from "../stream-
|
|
1
|
+
import { T as Agent } from "../execution-fence-Yl_-iJxn.js";
|
|
2
|
+
import { un as isSupportedLanguageModel } from "../stream-Dgsrva80.js";
|
|
3
3
|
// src/relevance/relevance-score-provider.ts
|
|
4
4
|
function createSimilarityPrompt(query, text) {
|
|
5
5
|
return `Rate the semantic similarity between the following the query and the text on a scale from 0 to 1 (decimals allowed), where 1 means exactly the same meaning and 0 means completely different:
|
package/dist/storage/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_execution_fence = require("../execution-fence-
|
|
2
|
+
const require_stream = require("../stream-C4XcOMuS.cjs");
|
|
3
|
+
const require_execution_fence = require("../execution-fence-DeR5VB54.cjs");
|
|
4
4
|
const require_observability = require("../observability-VaoaeadK.cjs");
|
|
5
5
|
const require_storage = require("../storage-CfG0I2aF.cjs");
|
|
6
6
|
const require_constants = require("../constants-B2FVV_2e.cjs");
|
package/dist/storage/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { At as getSnapshotMemoryInfo, Bt as stateColumnsWrite, Ft as latestStepResults, Ht as unusedStateEntries, It as materializeState, Lt as materializeWorkflowRun, Mt as STEP_RESULT_SUMMARY_FIELDS, Nt as applyStateColumnsWrite, Pt as isStateCheckpointDue, Rt as pickStateKeys, Sn as takenQueueThreadId, Ut as applyStatePatch, Vt as summarizeStepResult, Wt as diffState, _n as QUEUE_THREAD_PREFIX, bn as pendingQueueThreadId, jt as STATE_CHECKPOINT_PATCHES, vn as assertNotQueueThreadId, xn as queuedQueueThreadId, yn as isQueueThreadId, zt as stateBaseOf } from "../stream-
|
|
2
|
-
import { $a as spanQueryResponseSchema, $i as ChannelsStorage, $n as assertKnowledgeCeilingRaised, $r as KnowledgeImporterBindingConflictError, Aa as THREAD_QUERY_DEFAULT_LIMIT, Ai as knowledgeLinkRefKey, Ar as ScoresInMemory, Ba as SPAN_QUERY_MAX_LIMIT, Bi as ExperimentsInMemory, Ca as validateStorageMetadataFilter, Ci as MAX_KNOWLEDGE_PAGE_LINKS, Cr as createEmptyWorkflowSnapshot, Da as tracePageNodeSchema, Dc as isWorkflowStepConflictError, Di as assertKnowledgeNoteTextWithinBound, Dr as WorkflowDefinitionsStorage, Ea as tracePageIdSchema, Ec as assertWorkflowStepGuard, Ei as MAX_KNOWLEDGE_PIN_LIST_DEPTH, Er as InMemoryWorkflowDefinitionsStorage, Fa as threadQueryRequestSchema, Fi as parseKnowledgePageRef, Fr as InMemoryNotificationsStorage, Ga as encodeSpanQueryCursor, Ha as SPAN_QUERY_ORDER_FIELDS, Hi as DatasetsInMemory, Ia as threadQueryResponseSchema, Ii as KnowledgeInvalidCursorError, Ir as NotificationsStorage, Ja as resolveSpanQueryCost, Ka as parseSpanQueryRequest, La as threadQueryRowSchema, Lr as dispatchDueNotifications, Ma as encodeThreadQueryCursor, Mi as knowledgePinDepth, Mr as InMemorySchedulesStorage, Na as planThreadRowsQuery, Ni as knowledgePositionBetween, Nr as SchedulesStorage, Oa as tracePageRequestSchema, Oi as assertKnowledgePageDescriptionWithinBound, Or as InMemoryToolProviderConnectionsStorage, Pa as threadQueryIdentitySchema, Pi as knowledgeScopeReadable, Pr as normalizeScheduleTarget, Qa as spanQueryRequestSchema, Qi as InMemoryChannelsStorage, Qn as MAX_KNOWLEDGE_SCOPE_TAGS, Qr as InMemoryKnowledgeStorage, Ra as SPAN_QUERY_MAX_COST_METRICS, Ri as InMemoryHarness, Sa as transformScoreRow, Si as MAX_KNOWLEDGE_PAGE_DESCRIPTION_TOKENS, Sr as WorkflowsStorage, Ta as readTracePage, Tc as WorkflowStepConflictError, Ti as MAX_KNOWLEDGE_PAGE_LIST_LIMIT, Tr as mergeWorkflowStepResult, Ua as buildSpanQueryResponse, Ui as DatasetsStorage, Va as SPAN_QUERY_MAX_PREVIEW_CHARACTERS, Vi as ExperimentsStorage, Wa as createSpanQueryPreview, Wi as DatasetItemIdentityConflictError, Xa as spanQueryIdentityKey, Xn as MAX_KNOWLEDGE_NODE_DESCRIPTION_LENGTH, Xr as InMemoryMemory, Ya as spanQueryCostSchema, Za as spanQueryIdentitySchema, Zn as MAX_KNOWLEDGE_RECORD_TEXT_LENGTH, Zr as MemoryStorage, _a as parseDuration, _i as KnowledgePageKeyConflictError, _o as ObservabilityStorage, _r as FilesystemDB, _u as matchesRunFence, aa as resolveRetentionTargets, ai as KnowledgeNotFoundError, ao as planTraceQuery, ar as expandKnowledgeScope, ba as storageMessageMatchesMetadataFilter, bi as MAX_KNOWLEDGE_PAGE_BODY_LINKS, bo as UniqueViolationError, br as WorkflowsInMemory, bu as runOutsideRunFenceScope, ca as createStorageErrorId, ci as KnowledgeTransactionDeadlineError, co as buildLogRecord, cr as knowledgeSemanticDocumentId, da as ensureDate, di as createKnowledgeUlid, do as buildUpdateSpanRecord, dr as parseKnowledgeNodeCursor, du as RUN_FENCE_CONFLICT_ERROR_ID, ea as InMemoryBlobStore, ei as KnowledgeImporterRunStateError, eo as spanQueryRowSchema, er as assertKnowledgeDescriptionWithinBound, fa as filterByDateRange, fi as inspectKnowledgeSchema, fo as getObjectOrNull, fr as StoreOperationsInMemory, fu as RUN_FENCING_NOT_SUPPORTED_ERROR_ID, ga as jsonValueEquals, gi as KnowledgePageHasChildrenError, go as ObservabilityInMemory, gr as FilesystemStore, gu as isRunFenceConflictError, ha as hasErrorCode, hi as KnowledgePageDepthError, ho as toEntityType, hr as createGitHubSourceControlProviderFromEnv, hu as currentRunGeneration, ia as executeRetentionPrune, ii as KnowledgeConflictError, io as planThreadQuery, ir as createKnowledgeNodeCursor, ja as THREAD_QUERY_MAX_LIMIT, ji as knowledgePagePath, jr as ScoresStorage, ka as tracePageResponseSchema, ki as canonicalKnowledgeName, kr as ToolProviderConnectionsStorage, la as createStoreErrorId, li as KnowledgeUnsupportedCapabilityError, lo as buildMetricRecord, lr as knowledgeSemanticIdempotencyKey, ma as getSqlType, mi as KnowledgeMoveTooLargeError, mo as serializeSpanAttributes, mr as GitHubSourceControlProvider, mu as coverNestedRun, na as BackgroundTasksInMemory, ni as KNOWLEDGE_STORAGE_CONTRACT_VERSION, no as encodeTraceQueryDeltaCursor, nr as assertKnowledgeScopeWithinCeiling, oa as retentionCutoffMs, oi as KnowledgeSchemaResetRequiredError, oo as buildCreateSpanRecord, or as isKnowledgeScopeVisible, pa as getDefaultValue, pi as parseKnowledgeWikilinks, po as getStringOrNull, pr as StoreOperations, pu as RunFenceConflictError, qa as planSpanQuery, ra as BackgroundTasksStorage, ri as KNOWLEDGE_STORAGE_SCHEMA_VERSION, ro as getTraceQueryDeltaWatermark, rr as canonicalizeKnowledgeScope, sa as runRetentionBatches, si as KnowledgeStorage, so as buildFeedbackRecord, sr as knowledgeScopeKey, ta as BlobStore, ti as KnowledgeImportersStorage, to as encodeTraceQueryCursor, tr as assertKnowledgeRecordTextWithinBound, ua as createVectorErrorId, ui as assertKnowledgeSchemaCompatible, uo as buildScoreRecord, ur as knowledgeVisibleScopeKeys, va as safelyParseJSON, vi as MAX_KNOWLEDGE_MOVE_PAGES, vo as FactoryStorage, vr as InMemoryStore, vu as resolveRunFence, wa as TracePageError, wi as MAX_KNOWLEDGE_PAGE_LINK_REF_LENGTH, wr as mergeStepResult, xa as transformRow, xi as MAX_KNOWLEDGE_PAGE_DEPTH, xr as cloneRunData, xu as setRunFenceContext, ya as serializeDate, yi as MAX_KNOWLEDGE_NOTE_TOKENS, yo as FactoryStorageDomain, yr as MockStore, yu as runFencingNotSupportedError, za as SPAN_QUERY_MAX_CURSOR_BYTES, zi as HarnessStorage } from "../execution-fence-
|
|
1
|
+
import { At as getSnapshotMemoryInfo, Bt as stateColumnsWrite, Ft as latestStepResults, Ht as unusedStateEntries, It as materializeState, Lt as materializeWorkflowRun, Mt as STEP_RESULT_SUMMARY_FIELDS, Nt as applyStateColumnsWrite, Pt as isStateCheckpointDue, Rt as pickStateKeys, Sn as takenQueueThreadId, Ut as applyStatePatch, Vt as summarizeStepResult, Wt as diffState, _n as QUEUE_THREAD_PREFIX, bn as pendingQueueThreadId, jt as STATE_CHECKPOINT_PATCHES, vn as assertNotQueueThreadId, xn as queuedQueueThreadId, yn as isQueueThreadId, zt as stateBaseOf } from "../stream-Dgsrva80.js";
|
|
2
|
+
import { $a as spanQueryResponseSchema, $i as ChannelsStorage, $n as assertKnowledgeCeilingRaised, $r as KnowledgeImporterBindingConflictError, Aa as THREAD_QUERY_DEFAULT_LIMIT, Ai as knowledgeLinkRefKey, Ar as ScoresInMemory, Ba as SPAN_QUERY_MAX_LIMIT, Bi as ExperimentsInMemory, Ca as validateStorageMetadataFilter, Ci as MAX_KNOWLEDGE_PAGE_LINKS, Cr as createEmptyWorkflowSnapshot, Da as tracePageNodeSchema, Dc as isWorkflowStepConflictError, Di as assertKnowledgeNoteTextWithinBound, Dr as WorkflowDefinitionsStorage, Ea as tracePageIdSchema, Ec as assertWorkflowStepGuard, Ei as MAX_KNOWLEDGE_PIN_LIST_DEPTH, Er as InMemoryWorkflowDefinitionsStorage, Fa as threadQueryRequestSchema, Fi as parseKnowledgePageRef, Fr as InMemoryNotificationsStorage, Ga as encodeSpanQueryCursor, Ha as SPAN_QUERY_ORDER_FIELDS, Hi as DatasetsInMemory, Ia as threadQueryResponseSchema, Ii as KnowledgeInvalidCursorError, Ir as NotificationsStorage, Ja as resolveSpanQueryCost, Ka as parseSpanQueryRequest, La as threadQueryRowSchema, Lr as dispatchDueNotifications, Ma as encodeThreadQueryCursor, Mi as knowledgePinDepth, Mr as InMemorySchedulesStorage, Na as planThreadRowsQuery, Ni as knowledgePositionBetween, Nr as SchedulesStorage, Oa as tracePageRequestSchema, Oi as assertKnowledgePageDescriptionWithinBound, Or as InMemoryToolProviderConnectionsStorage, Pa as threadQueryIdentitySchema, Pi as knowledgeScopeReadable, Pr as normalizeScheduleTarget, Qa as spanQueryRequestSchema, Qi as InMemoryChannelsStorage, Qn as MAX_KNOWLEDGE_SCOPE_TAGS, Qr as InMemoryKnowledgeStorage, Ra as SPAN_QUERY_MAX_COST_METRICS, Ri as InMemoryHarness, Sa as transformScoreRow, Si as MAX_KNOWLEDGE_PAGE_DESCRIPTION_TOKENS, Sr as WorkflowsStorage, Ta as readTracePage, Tc as WorkflowStepConflictError, Ti as MAX_KNOWLEDGE_PAGE_LIST_LIMIT, Tr as mergeWorkflowStepResult, Ua as buildSpanQueryResponse, Ui as DatasetsStorage, Va as SPAN_QUERY_MAX_PREVIEW_CHARACTERS, Vi as ExperimentsStorage, Wa as createSpanQueryPreview, Wi as DatasetItemIdentityConflictError, Xa as spanQueryIdentityKey, Xn as MAX_KNOWLEDGE_NODE_DESCRIPTION_LENGTH, Xr as InMemoryMemory, Ya as spanQueryCostSchema, Za as spanQueryIdentitySchema, Zn as MAX_KNOWLEDGE_RECORD_TEXT_LENGTH, Zr as MemoryStorage, _a as parseDuration, _i as KnowledgePageKeyConflictError, _o as ObservabilityStorage, _r as FilesystemDB, _u as matchesRunFence, aa as resolveRetentionTargets, ai as KnowledgeNotFoundError, ao as planTraceQuery, ar as expandKnowledgeScope, ba as storageMessageMatchesMetadataFilter, bi as MAX_KNOWLEDGE_PAGE_BODY_LINKS, bo as UniqueViolationError, br as WorkflowsInMemory, bu as runOutsideRunFenceScope, ca as createStorageErrorId, ci as KnowledgeTransactionDeadlineError, co as buildLogRecord, cr as knowledgeSemanticDocumentId, da as ensureDate, di as createKnowledgeUlid, do as buildUpdateSpanRecord, dr as parseKnowledgeNodeCursor, du as RUN_FENCE_CONFLICT_ERROR_ID, ea as InMemoryBlobStore, ei as KnowledgeImporterRunStateError, eo as spanQueryRowSchema, er as assertKnowledgeDescriptionWithinBound, fa as filterByDateRange, fi as inspectKnowledgeSchema, fo as getObjectOrNull, fr as StoreOperationsInMemory, fu as RUN_FENCING_NOT_SUPPORTED_ERROR_ID, ga as jsonValueEquals, gi as KnowledgePageHasChildrenError, go as ObservabilityInMemory, gr as FilesystemStore, gu as isRunFenceConflictError, ha as hasErrorCode, hi as KnowledgePageDepthError, ho as toEntityType, hr as createGitHubSourceControlProviderFromEnv, hu as currentRunGeneration, ia as executeRetentionPrune, ii as KnowledgeConflictError, io as planThreadQuery, ir as createKnowledgeNodeCursor, ja as THREAD_QUERY_MAX_LIMIT, ji as knowledgePagePath, jr as ScoresStorage, ka as tracePageResponseSchema, ki as canonicalKnowledgeName, kr as ToolProviderConnectionsStorage, la as createStoreErrorId, li as KnowledgeUnsupportedCapabilityError, lo as buildMetricRecord, lr as knowledgeSemanticIdempotencyKey, ma as getSqlType, mi as KnowledgeMoveTooLargeError, mo as serializeSpanAttributes, mr as GitHubSourceControlProvider, mu as coverNestedRun, na as BackgroundTasksInMemory, ni as KNOWLEDGE_STORAGE_CONTRACT_VERSION, no as encodeTraceQueryDeltaCursor, nr as assertKnowledgeScopeWithinCeiling, oa as retentionCutoffMs, oi as KnowledgeSchemaResetRequiredError, oo as buildCreateSpanRecord, or as isKnowledgeScopeVisible, pa as getDefaultValue, pi as parseKnowledgeWikilinks, po as getStringOrNull, pr as StoreOperations, pu as RunFenceConflictError, qa as planSpanQuery, ra as BackgroundTasksStorage, ri as KNOWLEDGE_STORAGE_SCHEMA_VERSION, ro as getTraceQueryDeltaWatermark, rr as canonicalizeKnowledgeScope, sa as runRetentionBatches, si as KnowledgeStorage, so as buildFeedbackRecord, sr as knowledgeScopeKey, ta as BlobStore, ti as KnowledgeImportersStorage, to as encodeTraceQueryCursor, tr as assertKnowledgeRecordTextWithinBound, ua as createVectorErrorId, ui as assertKnowledgeSchemaCompatible, uo as buildScoreRecord, ur as knowledgeVisibleScopeKeys, va as safelyParseJSON, vi as MAX_KNOWLEDGE_MOVE_PAGES, vo as FactoryStorage, vr as InMemoryStore, vu as resolveRunFence, wa as TracePageError, wi as MAX_KNOWLEDGE_PAGE_LINK_REF_LENGTH, wr as mergeStepResult, xa as transformRow, xi as MAX_KNOWLEDGE_PAGE_DEPTH, xr as cloneRunData, xu as setRunFenceContext, ya as serializeDate, yi as MAX_KNOWLEDGE_NOTE_TOKENS, yo as FactoryStorageDomain, yr as MockStore, yu as runFencingNotSupportedError, za as SPAN_QUERY_MAX_CURSOR_BYTES, zi as HarnessStorage } from "../execution-fence-Yl_-iJxn.js";
|
|
3
3
|
import { l as PREVIEW_MAX_LENGTH } from "../observability-DPDWibyH.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-Dro9fuhk.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-C4XcOMuS.cjs");
|
|
3
|
+
const require_llm = require("../llm-DVQKutUM.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 { Nn 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 { Nn 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-Dgsrva80.js";
|
|
2
|
+
import { u as ChunkFrom } from "../llm-BZQdtNe1.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 };
|
|
@@ -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-DVQKutUM.cjs");
|
|
3
3
|
const require_message_list = require("./message-list-C0F2sDNC.cjs");
|
|
4
4
|
const require_observability = require("./observability-VaoaeadK.cjs");
|
|
5
5
|
const require_base = require("./base-BIzR1D3_.cjs");
|
|
@@ -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-BZQdtNe1.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-RgFlLrxG.js";
|
|
4
4
|
import { _ as resolveObservabilityContext, g as createObservabilityContext } from "./observability-DPDWibyH.js";
|
|
5
5
|
import { t as MastraBase } from "./base-CKLWBhDo.js";
|
|
@@ -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-DOqga9dt.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,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-CIV_1-kW.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-Dze-IJOx.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-DN4C3VpR.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { m as generateId } from "./dist-TPVqg8oV.js";
|
|
2
|
-
import { T as Agent } from "./execution-fence-
|
|
3
|
-
import { un as isSupportedLanguageModel } from "./stream-
|
|
4
|
-
import { i as resolveModelConfig } from "./llm-
|
|
2
|
+
import { T as Agent } from "./execution-fence-Yl_-iJxn.js";
|
|
3
|
+
import { un as isSupportedLanguageModel } from "./stream-Dgsrva80.js";
|
|
4
|
+
import { i as resolveModelConfig } from "./llm-BZQdtNe1.js";
|
|
5
5
|
import { N as ToolLoopAgent } from "./message-list-RgFlLrxG.js";
|
|
6
6
|
// src/tool-loop-agent/utils.ts
|
|
7
7
|
function isToolLoopAgentLike(obj) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const require_dist = require("./dist-P2rjrlmj.cjs");
|
|
2
|
-
const require_execution_fence = require("./execution-fence-
|
|
3
|
-
const require_stream = require("./stream-
|
|
4
|
-
const require_llm = require("./llm-
|
|
2
|
+
const require_execution_fence = require("./execution-fence-DeR5VB54.cjs");
|
|
3
|
+
const require_stream = require("./stream-C4XcOMuS.cjs");
|
|
4
|
+
const require_llm = require("./llm-DVQKutUM.cjs");
|
|
5
5
|
const require_message_list = require("./message-list-C0F2sDNC.cjs");
|
|
6
6
|
// src/tool-loop-agent/utils.ts
|
|
7
7
|
function isToolLoopAgentLike(obj) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const require_error = require("./error-D90lJ6M7.cjs");
|
|
2
2
|
const require_tool = require("./tool-Dn9WSDVn.cjs");
|
|
3
3
|
const require_ee_iTj2bRDt = require("./ee-iTj2bRDt-D3-QLGDF.cjs");
|
|
4
|
-
const require_background_tasks = require("./background-tasks-
|
|
4
|
+
const require_background_tasks = require("./background-tasks-fjEu5kC8.cjs");
|
|
5
5
|
const require_base = require("./base-BIzR1D3_.cjs");
|
|
6
6
|
const require_observability = require("./observability-VaoaeadK.cjs");
|
|
7
7
|
const require_utils = require("./utils-D-eNsgDM.cjs");
|
|
@@ -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-DIFduuTw.js";
|
|
3
3
|
import { i as MastraFGAPermissions } from "./ee-iTj2bRDt-By_B9ngH.js";
|
|
4
|
-
import { a as isToolBackgroundEligible, i as isModelBackgroundOverrideAllowed, n as backgroundOverrideJsonSchema, r as backgroundOverrideZodSchema } from "./background-tasks-
|
|
4
|
+
import { a as isToolBackgroundEligible, i as isModelBackgroundOverrideAllowed, n as backgroundOverrideJsonSchema, r as backgroundOverrideZodSchema } from "./background-tasks-DFDfV-FJ.js";
|
|
5
5
|
import { t as MastraBase } from "./base-CKLWBhDo.js";
|
|
6
6
|
import { g as createObservabilityContext, h as wrapMastra, o as executionFailureTermination } from "./observability-DPDWibyH.js";
|
|
7
7
|
import { a as getOrCreateSpan, t as executeWithContext } from "./utils-DU_pU5SK.js";
|
package/dist/utils.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_zod_utils = require("./zod-utils-Cl5jw5N_.cjs");
|
|
3
|
-
const require_utils = require("./utils-
|
|
3
|
+
const require_utils = require("./utils-AfuTYtPM.cjs");
|
|
4
4
|
const require_fetchWithRetry = require("./fetchWithRetry-f5k4p7_1.cjs");
|
|
5
5
|
const require_utils_safe_stringify = require("./utils/safe-stringify.cjs");
|
|
6
6
|
const require_deep_equal = require("./deep-equal-TMDmByBC.cjs");
|
package/dist/utils.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as isZodObject, i as isZodArray, r as getZodTypeName, t as getZodDef } from "./zod-utils-BDDS_mxU.js";
|
|
2
|
-
import { C as setNestedValue, S as selectFields, _ as parseSqlIdentifier, a as ensureToolProperties, b as removeUndefinedValues, c as isCoreMessage, d as makeCoreTool, f as makeCoreToolV5, g as parseFieldKey, h as omitKeys, i as delay, l as isUiMessage, m as maskStreamTags, n as createMastraProxy, o as generateEmptyFromSchema, p as makeProcessorCoreTool, r as deepMerge, s as getNestedValue, t as checkEvalStorageFields, u as isZodType, v as readPositiveIntEnv, x as resolveSerializedZodOutput, y as rebindProcessorTools } from "./utils-
|
|
2
|
+
import { C as setNestedValue, S as selectFields, _ as parseSqlIdentifier, a as ensureToolProperties, b as removeUndefinedValues, c as isCoreMessage, d as makeCoreTool, f as makeCoreToolV5, g as parseFieldKey, h as omitKeys, i as delay, l as isUiMessage, m as maskStreamTags, n as createMastraProxy, o as generateEmptyFromSchema, p as makeProcessorCoreTool, r as deepMerge, s as getNestedValue, t as checkEvalStorageFields, u as isZodType, v as readPositiveIntEnv, x as resolveSerializedZodOutput, y as rebindProcessorTools } from "./utils-B-UrrqES.js";
|
|
3
3
|
import { t as fetchWithRetry } from "./fetchWithRetry-DFSvpYDT.js";
|
|
4
4
|
import { boundedStringify, ensureSerializable, isBoundedSerializable, safeStringify } from "./utils/safe-stringify.js";
|
|
5
5
|
import { t as deepEqual } from "./deep-equal-d1xU02ag.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { standardSchemaToJSONSchema, toStandardSchema } from "./schema/index.js";
|
|
2
|
-
import { Ct as collectTemplateStepIds, Dt as validateTemplate } from "./stream-
|
|
2
|
+
import { Ct as collectTemplateStepIds, Dt as validateTemplate } from "./stream-Dgsrva80.js";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
// src/workflows/dynamic/graph.ts
|
|
5
5
|
/**
|
package/dist/vector/index.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_base = require("../base-BIzR1D3_.cjs");
|
|
3
3
|
const require_error = require("../error-D90lJ6M7.cjs");
|
|
4
|
-
const require_execution_fence = require("../execution-fence-
|
|
4
|
+
const require_execution_fence = require("../execution-fence-DeR5VB54.cjs");
|
|
5
5
|
const require_message_list = require("../message-list-C0F2sDNC.cjs");
|
|
6
6
|
const require_dist = require("../dist-P2rjrlmj.cjs");
|
|
7
7
|
const require_dist$1 = require("../dist-CXeCeeW7.cjs");
|
package/dist/vector/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as MastraBase } from "../base-CKLWBhDo.js";
|
|
2
2
|
import { i as MastraError, n as ErrorDomain, t as ErrorCategory } from "../error-oh2DLsP2.js";
|
|
3
|
-
import { Zt as embed$3, ua as createVectorErrorId } from "../execution-fence-
|
|
3
|
+
import { Zt as embed$3, ua as createVectorErrorId } from "../execution-fence-Yl_-iJxn.js";
|
|
4
4
|
import { P as embed$2 } from "../message-list-RgFlLrxG.js";
|
|
5
5
|
import { r as embed$1 } from "../dist-TPVqg8oV.js";
|
|
6
6
|
import { n as embed } from "../dist-D3cKCUe-.js";
|
package/dist/worker/index.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_worker = require("../worker-
|
|
2
|
+
const require_worker = require("../worker-J6-CpZ0n.cjs");
|
|
3
3
|
exports.BackgroundTaskWorker = require_worker.BackgroundTaskWorker;
|
|
4
4
|
exports.HttpRemoteStrategy = require_worker.HttpRemoteStrategy;
|
|
5
5
|
exports.InProcessStrategy = require_worker.InProcessStrategy;
|
package/dist/worker/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { n as BackgroundTaskWorker, s as HttpRemoteStrategy, t as InProcessStrategy, l as MastraWorker, a as OrchestrationWorker, o as PullTransport, r as SchedulerWorker, c as StepExecutionError } from "../worker-
|
|
1
|
+
export { n as BackgroundTaskWorker, s as HttpRemoteStrategy, t as InProcessStrategy, l as MastraWorker, a as OrchestrationWorker, o as PullTransport, r as SchedulerWorker, c as StepExecutionError } from "../worker-BYQGN5Lh.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { $s as resolveAgentById, Ac as getStepEntry, Fs as WorkflowEventProcessor, Is as StepExecutor, Ll as assertDrainTimeout, Ls as computeScheduleDefinitionHash, Rl as waitMs, kc as getNestedWorkflow } from "./execution-fence-
|
|
1
|
+
import { $s as resolveAgentById, Ac as getStepEntry, Fs as WorkflowEventProcessor, Is as StepExecutor, Ll as assertDrainTimeout, Ls as computeScheduleDefinitionHash, Rl as waitMs, kc as getNestedWorkflow } from "./execution-fence-Yl_-iJxn.js";
|
|
2
2
|
import { t as Scheduler } from "./scheduler-0ShtMM1I.js";
|
|
3
|
-
import { l as BackgroundTaskManager } from "./background-tasks-
|
|
3
|
+
import { l as BackgroundTaskManager } from "./background-tasks-DFDfV-FJ.js";
|
|
4
4
|
import { u as RequestContext } from "./request-context-COnZHt2-.js";
|
|
5
5
|
// src/worker/worker.ts
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
const require_execution_fence = require("./execution-fence-
|
|
1
|
+
const require_execution_fence = require("./execution-fence-DeR5VB54.cjs");
|
|
2
2
|
const require_request_context = require("./request-context-D9RXYCy8.cjs");
|
|
3
|
-
const require_worker = require("./worker-
|
|
3
|
+
const require_worker = require("./worker-J6-CpZ0n.cjs");
|
|
4
4
|
const require_schedules = require("./schedules-BZS8McF7.cjs");
|
|
5
5
|
// src/schedules/worker.ts
|
|
6
6
|
/** PubSub topic on which the scheduler publishes `agent-schedule.fire` events. */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { $s as resolveAgentById } from "./execution-fence-
|
|
1
|
+
import { $s as resolveAgentById } from "./execution-fence-Yl_-iJxn.js";
|
|
2
2
|
import { u as RequestContext } from "./request-context-COnZHt2-.js";
|
|
3
|
-
import { l as MastraWorker, o as PullTransport } from "./worker-
|
|
3
|
+
import { l as MastraWorker, o as PullTransport } from "./worker-BYQGN5Lh.js";
|
|
4
4
|
import { l as parseFsAgentScheduleRowId } from "./schedules-DZfSx-7P.js";
|
|
5
5
|
// src/schedules/worker.ts
|
|
6
6
|
/** PubSub topic on which the scheduler publishes `agent-schedule.fire` events. */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
const require_execution_fence = require("./execution-fence-
|
|
1
|
+
const require_execution_fence = require("./execution-fence-DeR5VB54.cjs");
|
|
2
2
|
const require_scheduler = require("./scheduler-CMjK0LoQ.cjs");
|
|
3
|
-
const require_background_tasks = require("./background-tasks-
|
|
3
|
+
const require_background_tasks = require("./background-tasks-fjEu5kC8.cjs");
|
|
4
4
|
const require_request_context = require("./request-context-D9RXYCy8.cjs");
|
|
5
5
|
// src/worker/worker.ts
|
|
6
6
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
const require_stream = require("./stream-
|
|
1
|
+
const require_stream = require("./stream-C4XcOMuS.cjs");
|
|
2
2
|
require("./utils-D-eNsgDM.cjs");
|
|
3
3
|
const require_output_helpers = require("./output-helpers-By5FbLpp.cjs");
|
|
4
|
-
const require_execution_fence = require("./execution-fence-
|
|
5
|
-
const require_background_tasks = require("./background-tasks-
|
|
4
|
+
const require_execution_fence = require("./execution-fence-DeR5VB54.cjs");
|
|
5
|
+
const require_background_tasks = require("./background-tasks-fjEu5kC8.cjs");
|
|
6
6
|
let zod = require("zod");
|
|
7
7
|
// src/background-tasks/workflow.ts
|
|
8
8
|
const inputSchema = zod.z.object({ taskId: zod.z.string() });
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { dn as resolveSuspendedToolRunId } from "./stream-
|
|
1
|
+
import { dn as resolveSuspendedToolRunId } from "./stream-Dgsrva80.js";
|
|
2
2
|
import "./utils-DU_pU5SK.js";
|
|
3
3
|
import { h as slimProgressChunk } from "./output-helpers-k2-48ssH.js";
|
|
4
|
-
import { Os as createWorkflow, Pc as createStep } from "./execution-fence-
|
|
5
|
-
import { d as nextAttemptStart, f as suspendEnvelope, m as unwrapSuspendData, p as toolSuspendPayload, u as BACKGROUND_TASK_WORKFLOW_ID } from "./background-tasks-
|
|
4
|
+
import { Os as createWorkflow, Pc as createStep } from "./execution-fence-Yl_-iJxn.js";
|
|
5
|
+
import { d as nextAttemptStart, f as suspendEnvelope, m as unwrapSuspendData, p as toolSuspendPayload, u as BACKGROUND_TASK_WORKFLOW_ID } from "./background-tasks-DFDfV-FJ.js";
|
|
6
6
|
import { z } from "zod";
|
|
7
7
|
// src/background-tasks/workflow.ts
|
|
8
8
|
const inputSchema = z.object({ taskId: z.string() });
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_builder = require("../../builder-
|
|
2
|
+
const require_builder = require("../../builder-DrBUrE-F.cjs");
|
|
3
3
|
exports.WORKFLOW_BUILDER_AUTHORING_CONSTRAINTS = require_builder.WORKFLOW_BUILDER_AUTHORING_CONSTRAINTS;
|
|
4
4
|
exports.WORKFLOW_BUILDER_AUTHORING_PLAYBOOK = require_builder.WORKFLOW_BUILDER_AUTHORING_PLAYBOOK;
|
|
5
5
|
exports.WORKFLOW_BUILDER_MAPPING_CONFIG_DESCRIPTION = require_builder.WORKFLOW_BUILDER_MAPPING_CONFIG_DESCRIPTION;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { U as WORKFLOW_BUILDER_AUTHORING_CONSTRAINTS, W as WORKFLOW_BUILDER_AUTHORING_PLAYBOOK, i as WORKFLOW_BUILDER_MAPPING_CONFIG_DESCRIPTION, t as WORKFLOW_BUILDER_SUPPORTED_STEP_TYPES, B as compareWorkflowBuilderSchemas, r as createWorkflowBuilderAgent, a as deleteStoredWorkflowResponseSchema, V as inspectWorkflowBuilderSchemas, o as listStoredWorkflowsResponseSchema, n as normalizeWorkflowBuilderDefinition, H as preflightWorkflowDefinition, s as storedWorkflowDefinitionSchema, c as upsertStoredWorkflowResponseSchema, l as workflowBuilderAgentEntryInputSchema, u as workflowBuilderAgentEntrySchema, d as workflowBuilderClassifierEntryInputSchema, f as workflowBuilderClassifierEntrySchema, p as workflowBuilderConditionalEntryInputSchema, m as workflowBuilderConditionalEntrySchema, h as workflowBuilderDefinitionInputSchema, g as workflowBuilderDefinitionSchema, _ as workflowBuilderForeachEntryInputSchema, v as workflowBuilderForeachEntrySchema, y as workflowBuilderGraphEntryInputSchema, b as workflowBuilderGraphEntrySchema, x as workflowBuilderLoopEntryInputSchema, S as workflowBuilderLoopEntrySchema, C as workflowBuilderMappingConfigSchema, w as workflowBuilderMappingDescriptorSchema, T as workflowBuilderMappingEntryInputSchema, E as workflowBuilderMappingEntrySchema, D as workflowBuilderNestedWorkflowEntryInputSchema, O as workflowBuilderNestedWorkflowEntrySchema, k as workflowBuilderParallelEntryInputSchema, A as workflowBuilderParallelEntrySchema, j as workflowBuilderPredicateSchema, M as workflowBuilderScheduleConfigSchema, N as workflowBuilderScheduleSchema, P as workflowBuilderSleepEntryInputSchema, F as workflowBuilderSleepEntrySchema, I as workflowBuilderSleepUntilEntryInputSchema, L as workflowBuilderSleepUntilEntrySchema, R as workflowBuilderToolEntryInputSchema, z as workflowBuilderToolEntrySchema } from "../../builder-
|
|
1
|
+
export { U as WORKFLOW_BUILDER_AUTHORING_CONSTRAINTS, W as WORKFLOW_BUILDER_AUTHORING_PLAYBOOK, i as WORKFLOW_BUILDER_MAPPING_CONFIG_DESCRIPTION, t as WORKFLOW_BUILDER_SUPPORTED_STEP_TYPES, B as compareWorkflowBuilderSchemas, r as createWorkflowBuilderAgent, a as deleteStoredWorkflowResponseSchema, V as inspectWorkflowBuilderSchemas, o as listStoredWorkflowsResponseSchema, n as normalizeWorkflowBuilderDefinition, H as preflightWorkflowDefinition, s as storedWorkflowDefinitionSchema, c as upsertStoredWorkflowResponseSchema, l as workflowBuilderAgentEntryInputSchema, u as workflowBuilderAgentEntrySchema, d as workflowBuilderClassifierEntryInputSchema, f as workflowBuilderClassifierEntrySchema, p as workflowBuilderConditionalEntryInputSchema, m as workflowBuilderConditionalEntrySchema, h as workflowBuilderDefinitionInputSchema, g as workflowBuilderDefinitionSchema, _ as workflowBuilderForeachEntryInputSchema, v as workflowBuilderForeachEntrySchema, y as workflowBuilderGraphEntryInputSchema, b as workflowBuilderGraphEntrySchema, x as workflowBuilderLoopEntryInputSchema, S as workflowBuilderLoopEntrySchema, C as workflowBuilderMappingConfigSchema, w as workflowBuilderMappingDescriptorSchema, T as workflowBuilderMappingEntryInputSchema, E as workflowBuilderMappingEntrySchema, D as workflowBuilderNestedWorkflowEntryInputSchema, O as workflowBuilderNestedWorkflowEntrySchema, k as workflowBuilderParallelEntryInputSchema, A as workflowBuilderParallelEntrySchema, j as workflowBuilderPredicateSchema, M as workflowBuilderScheduleConfigSchema, N as workflowBuilderScheduleSchema, P as workflowBuilderSleepEntryInputSchema, F as workflowBuilderSleepEntrySchema, I as workflowBuilderSleepUntilEntryInputSchema, L as workflowBuilderSleepUntilEntrySchema, R as workflowBuilderToolEntryInputSchema, z as workflowBuilderToolEntrySchema } from "../../builder-la4Jv6di.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_execution_fence = require("../../execution-fence-
|
|
2
|
+
const require_execution_fence = require("../../execution-fence-DeR5VB54.cjs");
|
|
3
3
|
exports.EventedExecutionEngine = require_execution_fence.EventedExecutionEngine;
|
|
4
4
|
exports.EventedRun = require_execution_fence.EventedRun;
|
|
5
5
|
exports.EventedWorkflow = require_execution_fence.EventedWorkflow;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Oc as EventedExecutionEngine, ks as EventedRun, As as EventedWorkflow, Is as StepExecutor, Fs as WorkflowEventProcessor, js as cloneStep, Ms as cloneWorkflow, Ns as createStep, Ps as createWorkflow } from "../../execution-fence-
|
|
1
|
+
export { Oc as EventedExecutionEngine, ks as EventedRun, As as EventedWorkflow, Is as StepExecutor, Fs as WorkflowEventProcessor, js as cloneStep, Ms as cloneWorkflow, Ns as createStep, Ps as createWorkflow } from "../../execution-fence-Yl_-iJxn.js";
|
package/dist/workflows/index.cjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_execution_fence = require("../execution-fence-
|
|
3
|
-
const require_stream = require("../stream-
|
|
2
|
+
const require_execution_fence = require("../execution-fence-DeR5VB54.cjs");
|
|
3
|
+
const require_stream = require("../stream-C4XcOMuS.cjs");
|
|
4
4
|
const require_predicate_index = require("../predicate/index.cjs");
|
|
5
5
|
const require_schedules = require("../schedules-BZS8McF7.cjs");
|
|
6
6
|
const require_scheduler = require("../scheduler-CMjK0LoQ.cjs");
|
|
7
|
-
const require_validate = require("../validate-
|
|
8
|
-
const require_rehydrate = require("../rehydrate-
|
|
7
|
+
const require_validate = require("../validate-GzP07CVb.cjs");
|
|
8
|
+
const require_rehydrate = require("../rehydrate-tjUWtbB-.cjs");
|
|
9
9
|
// src/workflows/state-reader.ts
|
|
10
10
|
const getStep = (state, stepId) => state.steps?.[stepId];
|
|
11
11
|
const getFirstStepResult = (step) => {
|
package/dist/workflows/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { Al as validateStepRequestContext, Cl as isSingleStepEntry, Dl as runCountDeprecationMessage, Ds as createEventedWorkflow, El as resolveForeachConcurrency, Es as cloneWorkflow, Fc as isProcessor, Fl as getEntryId, Ic as mapVariable, Il as getEntryWorkflow, Lc as predicateToCondition, Ls as computeScheduleDefinitionHash, Mc as Workflow, Ml as validateStepStateData, Nc as cloneStep, Nl as validateStepSuspendData, Ol as setLongTimeout, Os as createWorkflow, Pc as createStep, Pl as waitForSuspendedSnapshot, Qc as ExecutionEngine, Rc as evaluatePredicate, Sl as isEntryFinished, Tl as omitPriorSuspensionFields, Wc as DefaultExecutionEngine, _l as getRestartStartIndex, al as createStepFromTool, bl as getStepIds, cl as abortableSleep, dl as cleanStepResult, fl as createDeprecationProxy, gl as defineStateAccessors, hl as defineLazyWriter, il as createStepFromClassifier, jc as Run, jl as validateStepResumeData, kl as validateStepInput, ll as applyStateDelta, ml as createTimeTravelExecutionParams, nl as createMappingStep, ol as RESUME_SNAPSHOT_POLL_INTERVAL_MS, pl as createRestartExecutionParams, rl as createStepFromAgent, sl as RESUME_SNAPSHOT_WAIT_STATUSES, ul as assertTimeTravelGraphMatchesSnapshot, vl as getResumeLabelsByStepId, wl as omitPriorCompletionFields, xl as hydrateSerializedStepErrors, yl as getSingleStepEntryId, zl as workflowTermination } from "../execution-fence-
|
|
2
|
-
import { Ot as getStepResult, kt as getStepResultAsync } from "../stream-
|
|
1
|
+
import { Al as validateStepRequestContext, Cl as isSingleStepEntry, Dl as runCountDeprecationMessage, Ds as createEventedWorkflow, El as resolveForeachConcurrency, Es as cloneWorkflow, Fc as isProcessor, Fl as getEntryId, Ic as mapVariable, Il as getEntryWorkflow, Lc as predicateToCondition, Ls as computeScheduleDefinitionHash, Mc as Workflow, Ml as validateStepStateData, Nc as cloneStep, Nl as validateStepSuspendData, Ol as setLongTimeout, Os as createWorkflow, Pc as createStep, Pl as waitForSuspendedSnapshot, Qc as ExecutionEngine, Rc as evaluatePredicate, Sl as isEntryFinished, Tl as omitPriorSuspensionFields, Wc as DefaultExecutionEngine, _l as getRestartStartIndex, al as createStepFromTool, bl as getStepIds, cl as abortableSleep, dl as cleanStepResult, fl as createDeprecationProxy, gl as defineStateAccessors, hl as defineLazyWriter, il as createStepFromClassifier, jc as Run, jl as validateStepResumeData, kl as validateStepInput, ll as applyStateDelta, ml as createTimeTravelExecutionParams, nl as createMappingStep, ol as RESUME_SNAPSHOT_POLL_INTERVAL_MS, pl as createRestartExecutionParams, rl as createStepFromAgent, sl as RESUME_SNAPSHOT_WAIT_STATUSES, ul as assertTimeTravelGraphMatchesSnapshot, vl as getResumeLabelsByStepId, wl as omitPriorCompletionFields, xl as hydrateSerializedStepErrors, yl as getSingleStepEntryId, zl as workflowTermination } from "../execution-fence-Yl_-iJxn.js";
|
|
2
|
+
import { Ot as getStepResult, kt as getStepResultAsync } from "../stream-Dgsrva80.js";
|
|
3
3
|
import { derivePredicateLabel, predicateSchema } from "../predicate/index.js";
|
|
4
4
|
import { _ as validateCron, h as computeNextFireAt } from "../schedules-DZfSx-7P.js";
|
|
5
5
|
import { i as runScheduleTick, n as WorkflowScheduler, r as claimScheduleFire, t as Scheduler } from "../scheduler-0ShtMM1I.js";
|
|
6
|
-
import { a as jsonSchemaToZod, c as analyzeMapConfig, d as toJsonSchemaOrUndefined, f as validateWorkflowRefs, h as forEachSingleStepEntryWithPath, i as validateWorkflowSchemas, l as parseMapConfig, m as forEachSingleStepEntry, n as validateDynamicWorkflow, o as validateStorableJsonSchema, p as collectNestedWorkflowIds, r as validateWorkflowStructure, s as inferGraphSchemas, t as assertValidDynamicWorkflow, u as schemaCompatibility } from "../validate-
|
|
7
|
-
import { n as entryOptionFields, r as toStorableGraph, t as rehydrateWorkflow } from "../rehydrate-
|
|
6
|
+
import { a as jsonSchemaToZod, c as analyzeMapConfig, d as toJsonSchemaOrUndefined, f as validateWorkflowRefs, h as forEachSingleStepEntryWithPath, i as validateWorkflowSchemas, l as parseMapConfig, m as forEachSingleStepEntry, n as validateDynamicWorkflow, o as validateStorableJsonSchema, p as collectNestedWorkflowIds, r as validateWorkflowStructure, s as inferGraphSchemas, t as assertValidDynamicWorkflow, u as schemaCompatibility } from "../validate-zLPo00kk.js";
|
|
7
|
+
import { n as entryOptionFields, r as toStorableGraph, t as rehydrateWorkflow } from "../rehydrate-BwfL5GuU.js";
|
|
8
8
|
// src/workflows/state-reader.ts
|
|
9
9
|
const getStep = (state, stepId) => state.steps?.[stepId];
|
|
10
10
|
const getFirstStepResult = (step) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/core",
|
|
3
|
-
"version": "1.87.0-alpha.
|
|
3
|
+
"version": "1.87.0-alpha.21",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -987,18 +987,18 @@
|
|
|
987
987
|
"vscode-languageserver-protocol": "^3.18.5",
|
|
988
988
|
"zod": "^4.6.7",
|
|
989
989
|
"zod-v3": "npm:zod@3.25.76",
|
|
990
|
-
"@internal/ai-sdk-v4": "0.0.99",
|
|
991
990
|
"@internal/ai-sdk-v5": "0.0.99",
|
|
992
|
-
"@internal/ai-v7": "0.0.99",
|
|
993
991
|
"@internal/ai-v6": "0.0.99",
|
|
994
|
-
"@internal/
|
|
992
|
+
"@internal/ai-v7": "0.0.99",
|
|
993
|
+
"@internal/ai-sdk-v4": "0.0.99",
|
|
995
994
|
"@internal/core": "0.1.4",
|
|
996
995
|
"@internal/deployer": "0.0.5",
|
|
997
|
-
"@internal/external-types": "0.0.102",
|
|
998
996
|
"@internal/lint": "0.0.152",
|
|
997
|
+
"@internal/auth": "0.0.40",
|
|
999
998
|
"@internal/llm-recorder": "0.0.88",
|
|
1000
999
|
"@internal/test-utils": "0.0.88",
|
|
1001
1000
|
"@internal/types-builder": "0.0.127",
|
|
1001
|
+
"@internal/external-types": "0.0.102",
|
|
1002
1002
|
"@internal/voice": "0.0.48"
|
|
1003
1003
|
},
|
|
1004
1004
|
"engines": {
|