@mastra/core 1.87.0-alpha.17 → 1.87.0-alpha.19
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-v6@0.0.99/dist/index.d.ts +2075 -123
- package/dist/_types/@internal_core@0.1.4/dist/knowledge-compat/index.d.ts +30 -3
- package/dist/agent/agent.d.ts +2 -4
- package/dist/agent/agent.types.d.ts +1 -0
- package/dist/agent/durable/index.cjs +86 -86
- package/dist/agent/durable/index.js +2 -2
- package/dist/agent/durable/run-registry.d.ts +54 -25
- package/dist/agent/index.cjs +16 -16
- package/dist/agent/index.d.ts +1 -0
- package/dist/agent/index.js +3 -3
- package/dist/agent/scopes.d.ts +8 -0
- package/dist/agent/types.d.ts +1 -0
- package/dist/agent-builder/ee/index.cjs +1 -1
- package/dist/agent-builder/ee/index.js +1 -1
- package/dist/agent-controller/agent-controller.d.ts +8 -1
- package/dist/agent-controller/index.cjs +3 -3
- package/dist/agent-controller/index.js +3 -3
- package/dist/agent-controller/session.d.ts +16 -0
- package/dist/{agent-controller-cqcUP-xy.cjs → agent-controller-DzOEhUjR.cjs} +55 -35
- package/dist/{agent-controller-ChZ3qcXE.js → agent-controller-lBdNfcFi.js} +31 -11
- package/dist/{agent-skills-resolver-BMoCDoaK.cjs → agent-skills-resolver-2d8k7ioj.cjs} +134 -109
- package/dist/{agent-skills-resolver-CUEIMDbx.js → agent-skills-resolver-D2HktP6Y.js} +134 -109
- package/dist/background-tasks/index.cjs +1 -1
- package/dist/background-tasks/index.js +1 -1
- package/dist/{background-tasks-CH_gzJwc.js → background-tasks-DAu4WaCb.js} +1 -1
- package/dist/{background-tasks-BIk1TRPw.cjs → background-tasks-DOmQdBVn.cjs} +1 -1
- package/dist/browser/index.cjs +4 -4
- package/dist/browser/index.js +4 -4
- package/dist/{builder-ZAUhFqtD.cjs → builder-BFcVEbX0.cjs} +3 -3
- package/dist/{builder-v01k8_0x.js → builder-DHFtMW8D.js} +2 -2
- package/dist/capabilities/302ai.json +198 -198
- package/dist/capabilities/abacus.json +2 -96
- package/dist/capabilities/abliteratedllm.json +36 -36
- package/dist/capabilities/abliteration-ai.json +11 -11
- package/dist/capabilities/above.json +19 -19
- package/dist/capabilities/adaption.json +11 -11
- package/dist/capabilities/adzuki.json +32 -32
- package/dist/capabilities/agentrouter.json +12 -12
- package/dist/capabilities/agnes.json +4 -4
- package/dist/capabilities/ai-router.json +5 -5
- package/dist/capabilities/aiand.json +25 -25
- package/dist/capabilities/aigrow.json +13 -13
- package/dist/capabilities/aimlapi.json +144 -144
- package/dist/capabilities/aipg.json +2 -2
- package/dist/capabilities/aixy.json +24 -24
- package/dist/capabilities/aki-io.json +12 -12
- package/dist/capabilities/alibaba-cn.json +81 -126
- 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 +57 -53
- package/dist/capabilities/alibaba-token-plan.json +57 -53
- package/dist/capabilities/alibaba.json +76 -71
- package/dist/capabilities/ambient.json +14 -32
- package/dist/capabilities/amd-tokenlab.json +41 -0
- package/dist/capabilities/amd.json +8 -8
- package/dist/capabilities/anthropic.json +32 -56
- package/dist/capabilities/anyapi.json +47 -47
- package/dist/capabilities/apiko.json +5 -5
- package/dist/capabilities/arcee.json +5 -5
- package/dist/capabilities/augure.json +4 -4
- package/dist/capabilities/auriko.json +15 -15
- package/dist/capabilities/bailing.json +3 -3
- package/dist/capabilities/baseten.json +35 -35
- package/dist/capabilities/bee.json +5 -5
- package/dist/capabilities/berget.json +2 -35
- package/dist/capabilities/bothub.json +14 -14
- package/dist/capabilities/boundless.json +39 -39
- package/dist/capabilities/bumo.json +40 -40
- package/dist/capabilities/byteplus.json +28 -28
- package/dist/capabilities/cheapest-token.json +31 -31
- package/dist/capabilities/chutes.json +48 -17
- package/dist/capabilities/cline-pass.json +32 -45
- package/dist/capabilities/cloudcode.json +8 -8
- package/dist/capabilities/cloudferro-sherlock.json +4 -4
- package/dist/capabilities/cloudflare-workers-ai.json +17 -17
- package/dist/capabilities/commandcode.json +141 -156
- package/dist/capabilities/concentrate.json +289 -289
- package/dist/capabilities/cortecs.json +103 -103
- package/dist/capabilities/crossmodel.json +194 -194
- package/dist/capabilities/crusoe.json +18 -18
- package/dist/capabilities/daoxe.json +9 -9
- package/dist/capabilities/databricks.json +128 -128
- package/dist/capabilities/deepinfra.json +98 -94
- package/dist/capabilities/deepseek.json +4 -4
- package/dist/capabilities/digitalocean.json +114 -114
- package/dist/capabilities/dinference.json +1 -2
- package/dist/capabilities/dothoosh.json +26 -26
- package/dist/capabilities/doubleword.json +23 -23
- package/dist/capabilities/edenai.json +285 -285
- package/dist/capabilities/empiriolabs.json +176 -167
- package/dist/capabilities/engy.json +16 -16
- package/dist/capabilities/entrim.json +8 -8
- package/dist/capabilities/evroc.json +15 -15
- package/dist/capabilities/ezkielyna.json +10 -10
- package/dist/capabilities/fastrouter.json +93 -97
- package/dist/capabilities/fireworks-ai.json +85 -85
- package/dist/capabilities/fortytwo.json +4 -4
- package/dist/capabilities/freemodel.json +7 -51
- package/dist/capabilities/friendli.json +8 -8
- package/dist/capabilities/frogbot.json +95 -103
- package/dist/capabilities/gisoo.json +15 -15
- package/dist/capabilities/gmicloud.json +21 -21
- package/dist/capabilities/google.json +55 -55
- package/dist/capabilities/graphn.json +10 -10
- package/dist/capabilities/greenpt.json +35 -35
- package/dist/capabilities/groq.json +7 -20
- package/dist/capabilities/helicone.json +84 -86
- package/dist/capabilities/hetzner.json +4 -4
- package/dist/capabilities/hopper.json +2 -2
- package/dist/capabilities/hostinger-router.json +5 -5
- package/dist/capabilities/hpc-ai.json +8 -24
- package/dist/capabilities/huawei-maas.json +13 -13
- package/dist/capabilities/hubris.json +30 -30
- package/dist/capabilities/huggingface.json +86 -101
- package/dist/capabilities/hyper.json +24 -24
- package/dist/capabilities/impossibl.json +152 -199
- package/dist/capabilities/inceptron.json +8 -8
- package/dist/capabilities/inco.json +4 -21
- package/dist/capabilities/infer.json +16 -16
- package/dist/capabilities/inferall.json +2 -18
- package/dist/capabilities/inference-coop.json +6 -6
- package/dist/capabilities/inference.json +2 -11
- package/dist/capabilities/inferenceapis.json +24 -24
- package/dist/capabilities/infersia.json +13 -13
- package/dist/capabilities/inferx.json +3 -3
- package/dist/capabilities/infomaniak.json +3 -3
- package/dist/capabilities/io-net.json +6 -16
- package/dist/capabilities/isoquant.json +4 -4
- package/dist/capabilities/iteracompute.json +42 -80
- package/dist/capabilities/jalapeno.json +11 -11
- package/dist/capabilities/jiekou.json +19 -167
- package/dist/capabilities/joingonka.json +4 -4
- package/dist/capabilities/jzstoken.json +54 -54
- package/dist/capabilities/keln.json +23 -23
- package/dist/capabilities/kenari.json +122 -130
- package/dist/capabilities/kilo.json +649 -647
- package/dist/capabilities/kimi-code-plan-cn.json +7 -7
- package/dist/capabilities/kimi-code-plan-global.json +7 -7
- package/dist/capabilities/kitani.json +4 -4
- package/dist/capabilities/klavo.json +24 -24
- package/dist/capabilities/korouter.json +32 -32
- package/dist/capabilities/kunavo.json +7 -7
- package/dist/capabilities/liquid.json +8 -8
- package/dist/capabilities/lithosai.json +3 -3
- package/dist/capabilities/llmgateway-providers.json +885 -893
- package/dist/capabilities/llmgateway.json +340 -340
- package/dist/capabilities/llmtr.json +16 -54
- package/dist/capabilities/lowrouter.json +61 -61
- package/dist/capabilities/lyceum.json +14 -14
- package/dist/capabilities/meganova.json +0 -1
- package/dist/capabilities/melious.json +14 -14
- 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 +15 -31
- package/dist/capabilities/mixlayer.json +5 -5
- package/dist/capabilities/moark.json +0 -2
- package/dist/capabilities/modal.json +8 -8
- package/dist/capabilities/model-oracle-ai.json +19 -27
- package/dist/capabilities/modelis.json +14 -14
- package/dist/capabilities/modelscope.json +2 -2
- package/dist/capabilities/modular.json +11 -11
- package/dist/capabilities/moneo.json +7 -38
- package/dist/capabilities/moonshotai-cn.json +7 -7
- package/dist/capabilities/moonshotai.json +7 -7
- package/dist/capabilities/morph.json +13 -13
- package/dist/capabilities/munito-eu.json +8 -8
- package/dist/capabilities/munito.json +10 -10
- package/dist/capabilities/nan.json +31 -31
- package/dist/capabilities/nano-gpt.json +581 -603
- package/dist/capabilities/nearai.json +119 -119
- package/dist/capabilities/nebius.json +30 -31
- package/dist/capabilities/neon.json +132 -132
- package/dist/capabilities/neuralwatt.json +41 -41
- package/dist/capabilities/nokeep.json +5 -5
- package/dist/capabilities/novita-ai.json +113 -227
- package/dist/capabilities/nvidia.json +14 -82
- package/dist/capabilities/oathbreaker.json +2 -2
- package/dist/capabilities/obscurify.json +28 -28
- package/dist/capabilities/oci.json +4 -4
- package/dist/capabilities/ofox.json +270 -270
- package/dist/capabilities/ollama-cloud.json +53 -53
- package/dist/capabilities/openai.json +57 -57
- package/dist/capabilities/opencode-go.json +88 -90
- package/dist/capabilities/openreason.json +5 -5
- package/dist/capabilities/openrouter.json +574 -563
- package/dist/capabilities/opper.json +29 -34
- package/dist/capabilities/orcarouter.json +307 -367
- package/dist/capabilities/outerlabs.json +30 -30
- package/dist/capabilities/ovhcloud.json +19 -19
- package/dist/capabilities/pareto.json +2 -7
- package/dist/capabilities/perplexity-agent.json +47 -102
- package/dist/capabilities/perplexity.json +2 -2
- package/dist/capabilities/phala.json +35 -35
- package/dist/capabilities/pioneer.json +5 -122
- package/dist/capabilities/poe.json +130 -130
- package/dist/capabilities/poolside.json +2 -2
- package/dist/capabilities/powerspring.json +14 -14
- package/dist/capabilities/primalabs.json +12 -12
- package/dist/capabilities/prime.json +123 -115
- package/dist/capabilities/privatemode-ai.json +8 -36
- package/dist/capabilities/proxystacks.json +5 -5
- package/dist/capabilities/qihang-ai.json +3 -15
- package/dist/capabilities/qiniu-ai.json +13 -87
- package/dist/capabilities/refuseless.json +7 -14
- package/dist/capabilities/regolo-ai.json +9 -13
- package/dist/capabilities/requesty.json +202 -202
- package/dist/capabilities/routing-run.json +3 -40
- package/dist/capabilities/ruapi.json +21 -21
- package/dist/capabilities/runcrate.json +10 -10
- package/dist/capabilities/runinfra.json +16 -16
- package/dist/capabilities/sakana.json +3 -3
- package/dist/capabilities/sambanova.json +9 -9
- package/dist/capabilities/sandbase.json +20 -20
- package/dist/capabilities/sarvam.json +22 -13
- package/dist/capabilities/scaleway.json +18 -18
- package/dist/capabilities/scnet-token-plan.json +7 -7
- package/dist/capabilities/scx-ai.json +16 -32
- package/dist/capabilities/sensenova.json +12 -12
- package/dist/capabilities/siliconflow-cn.json +45 -97
- package/dist/capabilities/siliconflow.json +53 -53
- package/dist/capabilities/snowflake-cortex.json +26 -26
- package/dist/capabilities/sokkan.json +8 -20
- package/dist/capabilities/sparrowcodes.json +21 -21
- package/dist/capabilities/stackit.json +1 -2
- package/dist/capabilities/standardcompute.json +84 -120
- package/dist/capabilities/steadyrouter.json +41 -41
- package/dist/capabilities/stepfun-ai-step-plan.json +8 -8
- package/dist/capabilities/stepfun-ai.json +8 -8
- package/dist/capabilities/stepfun-step-plan.json +8 -8
- package/dist/capabilities/stepfun.json +8 -8
- package/dist/capabilities/stepping-stone.json +15 -15
- package/dist/capabilities/subconscious.json +2 -2
- package/dist/capabilities/superbot-gg.json +4 -4
- package/dist/capabilities/synthetic.json +8 -17
- package/dist/capabilities/synthorai.json +21 -21
- package/dist/capabilities/teamorouter.json +23 -23
- package/dist/capabilities/teapot-router.json +10 -10
- package/dist/capabilities/tencent-token-plan-intl.json +25 -25
- package/dist/capabilities/tencent-token-plan.json +38 -38
- package/dist/capabilities/tencent-tokenhub.json +46 -46
- package/dist/capabilities/tensorx.json +48 -48
- package/dist/capabilities/tenstorrent.json +4 -4
- package/dist/capabilities/the-grid-ai.json +29 -29
- package/dist/capabilities/thinkingmachines.json +71 -71
- package/dist/capabilities/tinfoil.json +8 -8
- package/dist/capabilities/toapis.json +3 -3
- package/dist/capabilities/togetherai.json +42 -42
- package/dist/capabilities/tokengo.json +21 -21
- package/dist/capabilities/tokenify.json +2 -2
- package/dist/capabilities/trustedrouter.json +5 -5
- 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/unorouter.json +1 -22
- package/dist/capabilities/unrestricted.json +4 -20
- package/dist/capabilities/uplinkswitch.json +21 -21
- package/dist/capabilities/upstage.json +3 -15
- package/dist/capabilities/vancine.json +20 -20
- package/dist/capabilities/vercel.json +551 -551
- package/dist/capabilities/vivgrid.json +51 -131
- package/dist/capabilities/volcengine-coding-plan.json +29 -29
- package/dist/capabilities/volcengine.json +27 -27
- package/dist/capabilities/vultr.json +14 -67
- package/dist/capabilities/wafer.ai.json +17 -17
- package/dist/capabilities/wallaby.json +2 -2
- package/dist/capabilities/wally.json +12 -12
- package/dist/capabilities/wandb.json +21 -21
- package/dist/capabilities/watt.json +22 -22
- package/dist/capabilities/xai.json +5 -5
- 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 +13 -13
- package/dist/capabilities/xxapi.json +30 -30
- package/dist/capabilities/zai-coding-plan.json +17 -17
- package/dist/capabilities/zai.json +31 -31
- package/dist/capabilities/zenifra.json +26 -26
- package/dist/capabilities/zenmux.json +190 -233
- package/dist/capabilities/zerogpu.json +8 -8
- package/dist/capabilities/zhipuai-coding-plan.json +3 -14
- package/dist/capabilities/zhipuai.json +30 -30
- package/dist/capabilities/zro.json +6 -6
- package/dist/channels/index.cjs +24 -24
- package/dist/channels/index.js +2 -2
- package/dist/{channels-B7lf5BnT.js → channels-BBwgs50q.js} +2 -2
- package/dist/{channels-CAA8MkDQ.cjs → channels-CbhgGgQD.cjs} +6 -6
- package/dist/coding-agent/index.cjs +7 -7
- package/dist/coding-agent/index.js +4 -4
- package/dist/{constants-CFO8w780.cjs → constants-B2FVV_2e.cjs} +1 -1
- package/dist/{constants-CUv0mU2y.js → constants-Dro9fuhk.js} +1 -1
- package/dist/datasets/index.cjs +9 -9
- package/dist/datasets/index.js +2 -2
- package/dist/docs/SKILL.md +1 -1
- package/dist/docs/assets/SOURCE_MAP.json +1147 -1142
- package/dist/docs/references/docs-agents-overview.md +9 -0
- package/dist/docs/references/docs-deployment-workers.md +1 -1
- package/dist/docs/references/docs-harness-background-tasks.md +8 -5
- package/dist/docs/references/docs-harness-durable-agents.md +1 -0
- package/dist/docs/references/docs-knowledge-search.md +1 -1
- package/dist/docs/references/docs-server-pubsub.md +1 -1
- package/dist/docs/references/docs-skills.md +4 -1
- package/dist/docs/references/docs-workflows-overview.md +2 -0
- package/dist/docs/references/reference-agent-controller-session.md +19 -0
- package/dist/docs/references/reference-agents-createSkill.md +20 -1
- package/dist/docs/references/reference-knowledge-knowledge-tools.md +1 -2
- package/dist/docs/references/reference-observability-metrics-metrics-context.md +63 -3
- package/dist/docs/references/reference-pubsub-base.md +1 -1
- package/dist/docs/references/reference-pubsub-redis-streams.md +3 -5
- package/dist/docs/references/reference-pubsub-valkey-streams.md +2 -2
- package/dist/docs/references/reference-templates-overview.md +31 -1
- package/dist/docs/references/reference-workflows-run-methods-restart.md +2 -0
- package/dist/evals/index.cjs +13 -13
- package/dist/evals/index.js +2 -2
- package/dist/evals/scoreTraces/index.cjs +4 -4
- package/dist/evals/scoreTraces/index.js +2 -2
- package/dist/events/index.cjs +1 -1
- package/dist/events/index.js +1 -1
- package/dist/events/pubsub.d.ts +1 -3
- package/dist/{run-registry-bm6b6mwQ.js → execution-fence-B8yV_n51.js} +62508 -62052
- package/dist/{run-registry-BaVTwGKh.cjs → execution-fence-fqV6FGdV.cjs} +63621 -63153
- package/dist/harness/index.cjs +3 -3
- package/dist/harness/index.js +3 -3
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -1
- package/dist/integration/index.cjs +1 -1
- package/dist/integration/index.js +1 -1
- package/dist/knowledge/index.cjs +163 -153
- package/dist/knowledge/index.js +18 -8
- package/dist/llm/index.cjs +3 -3
- package/dist/llm/index.js +3 -3
- package/dist/llm/model/gateways/opencode-session-header.d.ts +28 -0
- package/dist/llm/model/provider-types.generated.d.ts +7412 -7795
- package/dist/llm/model/resolve-model.d.ts +1 -0
- package/dist/llm/model/shared.types.d.ts +1 -0
- package/dist/{llm-CGl_FZsb.cjs → llm-B7ul27Ay.cjs} +32 -14
- package/dist/{llm-B5OxUmL4.js → llm-Cy3WZXgA.js} +32 -14
- package/dist/loop/index.cjs +15 -15
- package/dist/loop/index.js +2 -2
- package/dist/loop/server.cjs +1 -1
- package/dist/loop/server.js +1 -1
- package/dist/{manager-BuPZ97U6.cjs → manager-CY-RzZJL.cjs} +21 -19
- package/dist/{manager-R_QVoiy9.js → manager-Dsub5fyz.js} +9 -7
- package/dist/mastra/index.cjs +1 -1
- package/dist/mastra/index.d.ts +33 -4
- package/dist/mastra/index.js +1 -1
- package/dist/{mastra-CHYi4Woq.cjs → mastra-DXQUuwFl.cjs} +116 -67
- package/dist/{mastra-Cl5EC-jR.js → mastra-yjoYfTS5.js} +76 -27
- package/dist/memory/index.cjs +24 -24
- package/dist/memory/index.js +2 -2
- package/dist/memory/mock.d.ts +2 -3
- package/dist/{model-WmKuSHa8.cjs → model-BARBpXDN.cjs} +2 -2
- package/dist/{model-BNIR9RSw.js → model-DauH8JTo.js} +2 -2
- package/dist/{netlify-D4orVt-5.js → netlify-BNBtKR4Q.js} +86 -4
- package/dist/{netlify-C_6KLad8.cjs → netlify-DGsETiFB.cjs} +97 -3
- package/dist/notifications/index.cjs +18 -18
- package/dist/notifications/index.js +2 -2
- package/dist/observability/index.cjs +1 -1
- package/dist/observability/index.js +1 -1
- package/dist/{observability-D7RNOAPx.js → observability-DPDWibyH.js} +648 -648
- package/dist/{output-helpers-DgsH4aTb.cjs → output-helpers-By5FbLpp.cjs} +71 -73
- package/dist/{output-helpers-CVzhy1Y0.js → output-helpers-k2-48ssH.js} +72 -74
- package/dist/processor-provider/index.cjs +10 -10
- package/dist/processor-provider/index.js +1 -1
- package/dist/processors/index.cjs +65 -65
- package/dist/processors/index.js +2 -2
- package/dist/{provider-registry-CkHZ7heH.js → provider-registry-CfHy4Zhw.js} +21401 -22401
- package/dist/{provider-registry-DH7XbpHT.cjs → provider-registry-Y6tbfFhH.cjs} +21401 -22401
- package/dist/provider-registry.json +21940 -22961
- package/dist/{registry-generator-Dn8HU1Jz.cjs → registry-generator-BEJ0APNc.cjs} +1 -1
- package/dist/{registry-generator-CAXpGkmM.js → registry-generator-DJiQAI8V.js} +1 -1
- package/dist/{rehydrate-DZyZNbaq.cjs → rehydrate-4Sl7D3kO.cjs} +14 -14
- package/dist/{rehydrate-Cy7-QPU-.js → rehydrate-Da4_E_N8.js} +2 -2
- package/dist/relevance/index.cjs +3 -3
- package/dist/relevance/index.js +2 -2
- package/dist/{signal-provider-BslnAjWG.js → signal-provider-B_mfW-J4.js} +1 -1
- package/dist/{signal-provider-BFAvh_AJ.cjs → signal-provider-D9gbevHN.cjs} +1 -1
- package/dist/signals/index.cjs +3 -3
- package/dist/signals/index.js +3 -3
- package/dist/{signals-CbmgVwL-.cjs → signals-BwDXGqxc.cjs} +2 -2
- package/dist/{signals-Clupx3jz.js → signals-TznxWfM3.js} +2 -2
- package/dist/skills/create-skill.d.ts +3 -0
- package/dist/skills/index.cjs +1 -1
- package/dist/skills/index.js +1 -1
- package/dist/skills/inline-skill-source.d.ts +5 -1
- package/dist/skills/types.d.ts +16 -1
- package/dist/{source-DYZMfjv3.js → source-B3He4_mz.js} +1 -1
- package/dist/{source-BC8Et5qZ.cjs → source-C_nWbqI0.cjs} +1 -1
- package/dist/{state-processor-B9kxpM53.js → state-processor-B_KsS82m.js} +1 -1
- package/dist/{state-processor-kRNZ38Nf.cjs → state-processor-DaSmhVUX.cjs} +1 -1
- package/dist/storage/constants.cjs +1 -1
- package/dist/storage/constants.js +1 -1
- package/dist/storage/domains/agents/index.cjs +1 -1
- package/dist/storage/domains/agents/index.js +1 -1
- package/dist/storage/domains/inmemory-db.d.ts +1 -1
- package/dist/storage/domains/knowledge/pages.d.ts +8 -1
- package/dist/storage/domains/memory/base.d.ts +19 -9
- package/dist/storage/domains/memory/inmemory.d.ts +4 -1
- package/dist/storage/domains/memory/queue-thread.d.ts +7 -1
- package/dist/storage/domains/workflows/base.d.ts +18 -5
- package/dist/storage/domains/workflows/inmemory.d.ts +3 -5
- package/dist/storage/domains/workflows/journal.d.ts +16 -1
- package/dist/storage/index.cjs +187 -186
- package/dist/storage/index.js +6 -6
- package/dist/storage/workflow-snapshot.d.ts +4 -0
- package/dist/storage/workflow-step-guard.d.ts +5 -0
- package/dist/stream/base/output.d.ts +1 -0
- package/dist/stream/index.cjs +2 -2
- package/dist/stream/index.js +2 -2
- package/dist/{stream-B9dswdIM.js → stream-BFhCDJvz.js} +18 -8
- package/dist/{stream-CbG7k93m.cjs → stream-CZy8XA_q.cjs} +23 -7
- package/dist/telemetry/index.cjs +1 -1
- package/dist/telemetry/index.js +1 -1
- package/dist/test-utils/llm-mock.cjs +1 -1
- package/dist/test-utils/llm-mock.js +1 -1
- package/dist/{tool-Z3bykc1m.js → tool-DIFduuTw.js} +2 -5
- package/dist/{tool-CYlT2UA-.cjs → tool-Dn9WSDVn.cjs} +2 -5
- package/dist/tool-loop-agent/index.cjs +1 -1
- package/dist/tool-loop-agent/index.js +1 -1
- package/dist/{tool-loop-agent-BnlPROel.cjs → tool-loop-agent-DifR6VLI.cjs} +4 -4
- package/dist/{tool-loop-agent-BmlzhMxc.js → tool-loop-agent-SOpIJRws.js} +3 -3
- package/dist/{toolchecks-DrsZdc3S.js → toolchecks-CRAfUe9H.js} +1 -1
- package/dist/{toolchecks-MFU48cit.cjs → toolchecks-DbBsQGHW.cjs} +1 -1
- package/dist/tools/index.cjs +5 -5
- package/dist/tools/index.d.ts +1 -0
- package/dist/tools/index.js +5 -5
- package/dist/tools/is-vercel-tool.cjs +1 -1
- package/dist/tools/is-vercel-tool.js +1 -1
- package/dist/tools/tool.d.ts +2 -4
- package/dist/tools/types.d.ts +1 -0
- package/dist/{tools-BEYxowf0.cjs → tools-C2q0ougI.cjs} +1 -1
- package/dist/{tools-tPy2FwMI.js → tools-ybbz1YKg.js} +1 -1
- package/dist/{utils-N_OPw-9g.cjs → utils-BjFntMW_.cjs} +6 -5
- package/dist/{utils-BU8lpEZ4.js → utils-DN_kWhH6.js} +6 -5
- package/dist/utils.cjs +3 -3
- package/dist/utils.js +3 -3
- package/dist/{validate-BvxwUPNa.cjs → validate-CBQ0dMBb.cjs} +1 -1
- package/dist/{validate-BANPY3pi.js → validate-KIBMWuyc.js} +1 -1
- package/dist/vector/index.cjs +8 -8
- package/dist/vector/index.js +1 -1
- package/dist/worker/index.cjs +1 -1
- package/dist/worker/index.js +1 -1
- package/dist/{worker-BpVWGM6Q.js → worker-Bqg7bsxX.js} +8 -3
- package/dist/{worker-E2MdhICW.cjs → worker-CJ_JYSy0.cjs} +3 -3
- package/dist/{worker-B3s2DjXP.cjs → worker-Ct6E5_2p.cjs} +16 -11
- package/dist/{worker-CZ_07SOb.js → worker-DVM_pvH7.js} +2 -2
- package/dist/{workflow-BrcVks0j.js → workflow-BmShpn3p.js} +4 -4
- package/dist/{workflow-BuPW86ke.cjs → workflow-DEAvg0pI.cjs} +8 -8
- package/dist/workflows/builder/index.cjs +1 -1
- package/dist/workflows/builder/index.js +1 -1
- package/dist/workflows/evented/index.cjs +10 -10
- package/dist/workflows/evented/index.js +1 -1
- package/dist/workflows/evented/workflow-event-processor/index.d.ts +0 -2
- package/dist/workflows/evented/workflow.d.ts +2 -1
- package/dist/workflows/index.cjs +54 -54
- package/dist/workflows/index.js +4 -4
- package/dist/workflows/run-storage.d.ts +16 -1
- package/dist/workflows/types.d.ts +10 -0
- package/dist/workflows/workflow.d.ts +3 -1
- package/dist/workspace/index.cjs +1 -1
- package/dist/workspace/index.js +1 -1
- package/dist/{workspace-CzzrnE6Q.cjs → workspace-BQD4tcQi.cjs} +3 -3
- package/dist/{workspace-Ct2kAiDv.js → workspace-sqcfdZRR.js} +2 -2
- package/package.json +7 -6
- package/skills/mastra/SKILL.md +171 -0
- package/skills/mastra/references/common-errors.md +557 -0
- package/skills/mastra/references/core-concepts.md +21 -0
- package/skills/mastra/references/create-mastra.md +233 -0
- package/skills/mastra/references/embedded-docs.md +103 -0
- package/skills/mastra/references/feedback.md +69 -0
- package/skills/mastra/references/gateway.md +66 -0
- package/skills/mastra/references/mastra-api.md +222 -0
- package/skills/mastra/references/migration-guide.md +185 -0
- package/skills/mastra/references/model-selection.md +29 -0
- package/skills/mastra/references/platform.md +164 -0
- package/skills/mastra/references/remote-docs.md +193 -0
- package/skills/mastra/references/trace-query.md +150 -0
- package/skills/mastra/scripts/provider-registry.mjs +271 -0
- package/src/llm/model/provider-types.generated.d.ts +7412 -7795
- package/dist/{observability-B0R_D1PZ.cjs → observability-VaoaeadK.cjs} +647 -647
|
@@ -23,12 +23,6 @@
|
|
|
23
23
|
"qwen3.6-35b-a3b"
|
|
24
24
|
],
|
|
25
25
|
"reasoning": {
|
|
26
|
-
"glm-5.3-flash": [
|
|
27
|
-
{
|
|
28
|
-
"type": "effort",
|
|
29
|
-
"values": ["low", "high", "max"]
|
|
30
|
-
}
|
|
31
|
-
],
|
|
32
26
|
"deepseek-v4.1-flash": [
|
|
33
27
|
{
|
|
34
28
|
"type": "toggle"
|
|
@@ -38,10 +32,10 @@
|
|
|
38
32
|
"values": ["low", "high", "max"]
|
|
39
33
|
}
|
|
40
34
|
],
|
|
41
|
-
"
|
|
35
|
+
"glm-5.3-flash": [
|
|
42
36
|
{
|
|
43
37
|
"type": "effort",
|
|
44
|
-
"values": ["
|
|
38
|
+
"values": ["low", "high", "max"]
|
|
45
39
|
}
|
|
46
40
|
],
|
|
47
41
|
"gpt-5.4-nano": [
|
|
@@ -50,6 +44,12 @@
|
|
|
50
44
|
"values": ["none", "low", "medium", "high", "xhigh"]
|
|
51
45
|
}
|
|
52
46
|
],
|
|
47
|
+
"gpt-5.6-luna": [
|
|
48
|
+
{
|
|
49
|
+
"type": "effort",
|
|
50
|
+
"values": ["none", "low", "medium", "high", "xhigh", "max"]
|
|
51
|
+
}
|
|
52
|
+
],
|
|
53
53
|
"qwen3-30b-a3b-fp8": [
|
|
54
54
|
{
|
|
55
55
|
"type": "toggle"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
|
-
"attachment": ["glm-
|
|
3
|
-
"temperature": ["glm-
|
|
4
|
-
"structuredOutput": ["glm-5.3", "glm-5.3-flash", "glm-5.
|
|
2
|
+
"attachment": ["glm-5.3-flash", "glm-5.4"],
|
|
3
|
+
"temperature": ["glm-5.3", "glm-5.3-flash", "glm-5.4"],
|
|
4
|
+
"structuredOutput": ["glm-5.3", "glm-5.3-flash", "glm-5.4"],
|
|
5
5
|
"reasoning": {
|
|
6
6
|
"glm-5.3-flash": [
|
|
7
7
|
{
|
|
@@ -9,17 +9,6 @@
|
|
|
9
9
|
"values": ["low", "high", "max"]
|
|
10
10
|
}
|
|
11
11
|
],
|
|
12
|
-
"glm-5.3-highspeed": [
|
|
13
|
-
{
|
|
14
|
-
"type": "effort",
|
|
15
|
-
"values": ["low", "high", "max"]
|
|
16
|
-
}
|
|
17
|
-
],
|
|
18
|
-
"glm-4.6v": [
|
|
19
|
-
{
|
|
20
|
-
"type": "toggle"
|
|
21
|
-
}
|
|
22
|
-
],
|
|
23
12
|
"glm-5.4": [
|
|
24
13
|
{
|
|
25
14
|
"type": "effort",
|
|
@@ -30,10 +30,9 @@
|
|
|
30
30
|
],
|
|
31
31
|
"structuredOutput": ["glm-5.1", "glm-5.2", "glm-5.3", "glm-5.3-flash", "glm-5.3-flashx", "glm-5.3-flashx-legal"],
|
|
32
32
|
"reasoning": {
|
|
33
|
-
"glm-
|
|
33
|
+
"glm-4.7-flash": [
|
|
34
34
|
{
|
|
35
|
-
"type": "
|
|
36
|
-
"values": ["low", "high", "max"]
|
|
35
|
+
"type": "toggle"
|
|
37
36
|
}
|
|
38
37
|
],
|
|
39
38
|
"glm-4.6v-flash": [
|
|
@@ -41,28 +40,35 @@
|
|
|
41
40
|
"type": "toggle"
|
|
42
41
|
}
|
|
43
42
|
],
|
|
44
|
-
"glm-
|
|
43
|
+
"glm-5v-turbo": [
|
|
45
44
|
{
|
|
46
|
-
"type": "
|
|
47
|
-
"values": ["low", "high", "max"]
|
|
45
|
+
"type": "toggle"
|
|
48
46
|
}
|
|
49
47
|
],
|
|
50
|
-
"glm-4.
|
|
48
|
+
"glm-4.5v": [
|
|
51
49
|
{
|
|
52
50
|
"type": "toggle"
|
|
53
51
|
}
|
|
54
52
|
],
|
|
55
|
-
"glm-
|
|
53
|
+
"glm-5.3-flashx": [
|
|
56
54
|
{
|
|
57
|
-
"type": "
|
|
55
|
+
"type": "effort",
|
|
56
|
+
"values": ["low", "high", "max"]
|
|
58
57
|
}
|
|
59
58
|
],
|
|
60
|
-
"glm-
|
|
59
|
+
"glm-5.3-flashx-legal": [
|
|
61
60
|
{
|
|
62
|
-
"type": "
|
|
61
|
+
"type": "effort",
|
|
62
|
+
"values": ["low", "high", "max"]
|
|
63
63
|
}
|
|
64
64
|
],
|
|
65
|
-
"glm-
|
|
65
|
+
"glm-5.3-flash": [
|
|
66
|
+
{
|
|
67
|
+
"type": "effort",
|
|
68
|
+
"values": ["low", "high", "max"]
|
|
69
|
+
}
|
|
70
|
+
],
|
|
71
|
+
"glm-4.5": [
|
|
66
72
|
{
|
|
67
73
|
"type": "toggle"
|
|
68
74
|
}
|
|
@@ -72,41 +78,41 @@
|
|
|
72
78
|
"type": "toggle"
|
|
73
79
|
}
|
|
74
80
|
],
|
|
75
|
-
"glm-
|
|
81
|
+
"glm-4.7": [
|
|
76
82
|
{
|
|
77
83
|
"type": "toggle"
|
|
78
|
-
},
|
|
79
|
-
{
|
|
80
|
-
"type": "effort",
|
|
81
|
-
"values": ["high", "max"]
|
|
82
84
|
}
|
|
83
85
|
],
|
|
84
|
-
"glm-4.
|
|
86
|
+
"glm-4.5-air": [
|
|
85
87
|
{
|
|
86
88
|
"type": "toggle"
|
|
87
89
|
}
|
|
88
90
|
],
|
|
89
|
-
"glm-
|
|
91
|
+
"glm-5.1": [
|
|
90
92
|
{
|
|
91
93
|
"type": "toggle"
|
|
92
94
|
}
|
|
93
95
|
],
|
|
94
|
-
"glm-4.
|
|
96
|
+
"glm-4.6": [
|
|
95
97
|
{
|
|
96
98
|
"type": "toggle"
|
|
97
99
|
}
|
|
98
100
|
],
|
|
99
|
-
"glm-4.
|
|
101
|
+
"glm-4.5-flash": [
|
|
100
102
|
{
|
|
101
103
|
"type": "toggle"
|
|
102
104
|
}
|
|
103
105
|
],
|
|
104
|
-
"glm-
|
|
106
|
+
"glm-5.2": [
|
|
105
107
|
{
|
|
106
108
|
"type": "toggle"
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"type": "effort",
|
|
112
|
+
"values": ["high", "max"]
|
|
107
113
|
}
|
|
108
114
|
],
|
|
109
|
-
"glm-
|
|
115
|
+
"glm-4.6v": [
|
|
110
116
|
{
|
|
111
117
|
"type": "toggle"
|
|
112
118
|
}
|
|
@@ -117,16 +123,10 @@
|
|
|
117
123
|
"values": ["low", "high", "max"]
|
|
118
124
|
}
|
|
119
125
|
],
|
|
120
|
-
"glm-
|
|
126
|
+
"glm-4.7-flashx": [
|
|
121
127
|
{
|
|
122
128
|
"type": "toggle"
|
|
123
129
|
}
|
|
124
|
-
],
|
|
125
|
-
"glm-5.3-flashx-legal": [
|
|
126
|
-
{
|
|
127
|
-
"type": "effort",
|
|
128
|
-
"values": ["low", "high", "max"]
|
|
129
|
-
}
|
|
130
130
|
]
|
|
131
131
|
}
|
|
132
132
|
}
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
"temperature": ["deepseek-v4.1-flash", "dolly1-security", "dolly2-security", "glm-5.3", "glm-5.3-flash"],
|
|
4
4
|
"structuredOutput": ["deepseek-v4.1-flash", "dolly1-security", "dolly2-security", "glm-5.3", "glm-5.3-flash"],
|
|
5
5
|
"reasoning": {
|
|
6
|
-
"
|
|
6
|
+
"deepseek-v4.1-flash": [
|
|
7
7
|
{
|
|
8
8
|
"type": "effort",
|
|
9
|
-
"values": ["low", "high", "max"]
|
|
9
|
+
"values": ["none", "low", "high", "max"]
|
|
10
10
|
}
|
|
11
11
|
],
|
|
12
12
|
"glm-5.3-flash": [
|
|
@@ -15,19 +15,19 @@
|
|
|
15
15
|
"values": ["low", "high", "max"]
|
|
16
16
|
}
|
|
17
17
|
],
|
|
18
|
-
"
|
|
18
|
+
"dolly1-security": [
|
|
19
19
|
{
|
|
20
20
|
"type": "effort",
|
|
21
|
-
"values": ["
|
|
21
|
+
"values": ["low", "high", "max"]
|
|
22
22
|
}
|
|
23
23
|
],
|
|
24
|
-
"
|
|
24
|
+
"glm-5.3": [
|
|
25
25
|
{
|
|
26
26
|
"type": "effort",
|
|
27
27
|
"values": ["low", "high", "max"]
|
|
28
28
|
}
|
|
29
29
|
],
|
|
30
|
-
"
|
|
30
|
+
"dolly2-security": [
|
|
31
31
|
{
|
|
32
32
|
"type": "effort",
|
|
33
33
|
"values": ["low", "high", "max"]
|
package/dist/channels/index.cjs
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const
|
|
3
|
-
const require_channels = require("../channels-
|
|
2
|
+
const require_execution_fence = require("../execution-fence-fqV6FGdV.cjs");
|
|
3
|
+
const require_channels = require("../channels-CbhgGgQD.cjs");
|
|
4
4
|
exports.ATTACH_FILE_MAX_BYTES = require_channels.ATTACH_FILE_MAX_BYTES;
|
|
5
5
|
exports.ATTACH_FILE_TOOL_NAME = require_channels.ATTACH_FILE_TOOL_NAME;
|
|
6
|
-
exports.AgentChannels =
|
|
6
|
+
exports.AgentChannels = require_execution_fence.AgentChannels;
|
|
7
7
|
exports.AgentControllerChannels = require_channels.AgentControllerChannels;
|
|
8
|
-
exports.CHAT_CHANNEL_RENDER_CONTEXT_KEY =
|
|
9
|
-
exports.CONTINUE_RUN_ACTION_ID =
|
|
10
|
-
exports.CONTINUE_RUN_MESSAGE =
|
|
11
|
-
exports.ChannelSessionRejectedError =
|
|
12
|
-
exports.ChannelThreadLinkProcessor =
|
|
8
|
+
exports.CHAT_CHANNEL_RENDER_CONTEXT_KEY = require_execution_fence.CHAT_CHANNEL_RENDER_CONTEXT_KEY;
|
|
9
|
+
exports.CONTINUE_RUN_ACTION_ID = require_execution_fence.CONTINUE_RUN_ACTION_ID;
|
|
10
|
+
exports.CONTINUE_RUN_MESSAGE = require_execution_fence.CONTINUE_RUN_MESSAGE;
|
|
11
|
+
exports.ChannelSessionRejectedError = require_execution_fence.ChannelSessionRejectedError;
|
|
12
|
+
exports.ChannelThreadLinkProcessor = require_execution_fence.ChannelThreadLinkProcessor;
|
|
13
13
|
exports.ChannelToolAnnouncementProcessor = require_channels.ChannelToolAnnouncementProcessor;
|
|
14
|
-
exports.ChatChannelProcessor =
|
|
15
|
-
exports.DEFAULT_CHANNEL_TOOLS_SETTINGS =
|
|
16
|
-
exports.MastraStateAdapter =
|
|
17
|
-
exports.NEW_CHANNEL_THREAD_KEY =
|
|
18
|
-
exports.REPLY_TOOL_NAME =
|
|
19
|
-
exports.channelToolScopeResolver =
|
|
14
|
+
exports.ChatChannelProcessor = require_execution_fence.ChatChannelProcessor;
|
|
15
|
+
exports.DEFAULT_CHANNEL_TOOLS_SETTINGS = require_execution_fence.DEFAULT_CHANNEL_TOOLS_SETTINGS;
|
|
16
|
+
exports.MastraStateAdapter = require_execution_fence.MastraStateAdapter;
|
|
17
|
+
exports.NEW_CHANNEL_THREAD_KEY = require_execution_fence.NEW_CHANNEL_THREAD_KEY;
|
|
18
|
+
exports.REPLY_TOOL_NAME = require_execution_fence.REPLY_TOOL_NAME;
|
|
19
|
+
exports.channelToolScopeResolver = require_execution_fence.channelToolScopeResolver;
|
|
20
20
|
exports.createChannelAttachFileTool = require_channels.createChannelAttachFileTool;
|
|
21
|
-
exports.createChannelToolScope =
|
|
22
|
-
exports.createChannelTools =
|
|
23
|
-
exports.defaultTypingStatus =
|
|
24
|
-
exports.formatToolApproval =
|
|
25
|
-
exports.markNewChannelThread =
|
|
26
|
-
exports.renderBuiltInToolEvent =
|
|
27
|
-
exports.resolveChannelRenderContext =
|
|
28
|
-
exports.resolveChannelToolsSettings =
|
|
29
|
-
exports.resolveWaitUntil =
|
|
30
|
-
exports.toChatLogger =
|
|
21
|
+
exports.createChannelToolScope = require_execution_fence.createChannelToolScope;
|
|
22
|
+
exports.createChannelTools = require_execution_fence.createChannelTools;
|
|
23
|
+
exports.defaultTypingStatus = require_execution_fence.defaultTypingStatus;
|
|
24
|
+
exports.formatToolApproval = require_execution_fence.formatToolApproval;
|
|
25
|
+
exports.markNewChannelThread = require_execution_fence.markNewChannelThread;
|
|
26
|
+
exports.renderBuiltInToolEvent = require_execution_fence.renderBuiltInToolEvent;
|
|
27
|
+
exports.resolveChannelRenderContext = require_execution_fence.resolveChannelRenderContext;
|
|
28
|
+
exports.resolveChannelToolsSettings = require_execution_fence.resolveChannelToolsSettings;
|
|
29
|
+
exports.resolveWaitUntil = require_execution_fence.resolveWaitUntil;
|
|
30
|
+
exports.toChatLogger = require_execution_fence.toChatLogger;
|
package/dist/channels/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as AgentControllerChannels, i as createChannelAttachFileTool, n as ATTACH_FILE_MAX_BYTES, r as ATTACH_FILE_TOOL_NAME, t as ChannelToolAnnouncementProcessor } from "../channels-
|
|
1
|
+
import { An as renderBuiltInToolEvent, Bn as toChatLogger, Cn as MastraStateAdapter, Dn as markNewChannelThread, En as NEW_CHANNEL_THREAD_KEY, Fn as DEFAULT_CHANNEL_TOOLS_SETTINGS, In as channelToolScopeResolver, Ln as createChannelToolScope, Mn as CONTINUE_RUN_MESSAGE, Nn as formatToolApproval, On as ChatChannelProcessor, Pn as ChannelSessionRejectedError, Rn as createChannelTools, Sn as resolveChannelRenderContext, Tn as ChannelThreadLinkProcessor, bn as resolveWaitUntil, jn as CONTINUE_RUN_ACTION_ID, kn as CHAT_CHANNEL_RENDER_CONTEXT_KEY, wn as REPLY_TOOL_NAME, xn as defaultTypingStatus, yn as AgentChannels, zn as resolveChannelToolsSettings } from "../execution-fence-B8yV_n51.js";
|
|
2
|
+
import { a as AgentControllerChannels, i as createChannelAttachFileTool, n as ATTACH_FILE_MAX_BYTES, r as ATTACH_FILE_TOOL_NAME, t as ChannelToolAnnouncementProcessor } from "../channels-BBwgs50q.js";
|
|
3
3
|
export { ATTACH_FILE_MAX_BYTES, ATTACH_FILE_TOOL_NAME, AgentChannels, AgentControllerChannels, CHAT_CHANNEL_RENDER_CONTEXT_KEY, CONTINUE_RUN_ACTION_ID, CONTINUE_RUN_MESSAGE, ChannelSessionRejectedError, ChannelThreadLinkProcessor, ChannelToolAnnouncementProcessor, ChatChannelProcessor, DEFAULT_CHANNEL_TOOLS_SETTINGS, MastraStateAdapter, NEW_CHANNEL_THREAD_KEY, REPLY_TOOL_NAME, channelToolScopeResolver, createChannelAttachFileTool, createChannelToolScope, createChannelTools, defaultTypingStatus, formatToolApproval, markNewChannelThread, renderBuiltInToolEvent, resolveChannelRenderContext, resolveChannelToolsSettings, resolveWaitUntil, toChatLogger };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Pn as ChannelSessionRejectedError, Sn as resolveChannelRenderContext, yn as AgentChannels } from "./execution-fence-B8yV_n51.js";
|
|
2
2
|
import { i as MastraFGAPermissions } from "./ee-iTj2bRDt-By_B9ngH.js";
|
|
3
|
-
import { r as createTool } from "./tool-
|
|
3
|
+
import { r as createTool } from "./tool-DIFduuTw.js";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
// src/channels/agent-controller-channels.ts
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
const
|
|
1
|
+
const require_execution_fence = require("./execution-fence-fqV6FGdV.cjs");
|
|
2
2
|
const require_ee_iTj2bRDt = require("./ee-iTj2bRDt-D3-QLGDF.cjs");
|
|
3
|
-
const require_tool = require("./tool-
|
|
3
|
+
const require_tool = require("./tool-Dn9WSDVn.cjs");
|
|
4
4
|
let zod = require("zod");
|
|
5
5
|
// src/channels/agent-controller-channels.ts
|
|
6
6
|
/**
|
|
@@ -17,7 +17,7 @@ let zod = require("zod");
|
|
|
17
17
|
* V1 targets long-lived servers: controller sessions are in-memory objects
|
|
18
18
|
* and do not survive process restarts.
|
|
19
19
|
*/
|
|
20
|
-
var AgentControllerChannels = class extends
|
|
20
|
+
var AgentControllerChannels = class extends require_execution_fence.AgentChannels {
|
|
21
21
|
controller = null;
|
|
22
22
|
/**
|
|
23
23
|
* Session resourceIds whose adapter can't render approval buttons, so their
|
|
@@ -267,7 +267,7 @@ var AgentControllerChannels = class extends require_run_registry.AgentChannels {
|
|
|
267
267
|
try {
|
|
268
268
|
return await this.resolveSession(ctx);
|
|
269
269
|
} catch (cause) {
|
|
270
|
-
throw new
|
|
270
|
+
throw new require_execution_fence.ChannelSessionRejectedError(cause);
|
|
271
271
|
}
|
|
272
272
|
}
|
|
273
273
|
/**
|
|
@@ -323,7 +323,7 @@ function missingScopeError(error, platform) {
|
|
|
323
323
|
}
|
|
324
324
|
/** The thread a channel tool posts into, resolved when the tool runs. */
|
|
325
325
|
async function postTarget(requestContext, channels) {
|
|
326
|
-
const render = await
|
|
326
|
+
const render = await require_execution_fence.resolveChannelRenderContext(requestContext, channels);
|
|
327
327
|
if (!render) throw new Error("This session is no longer linked to a chat thread.");
|
|
328
328
|
return render;
|
|
329
329
|
}
|
|
@@ -394,7 +394,7 @@ var ChannelToolAnnouncementProcessor = class {
|
|
|
394
394
|
requestContext
|
|
395
395
|
});
|
|
396
396
|
if (!markdown) return part;
|
|
397
|
-
|
|
397
|
+
require_execution_fence.resolveChannelRenderContext(requestContext, this.#options.channels).then((render) => render?.chatThread.post({ markdown })).catch((error) => console.warn("[channels] tool announcement failed", error));
|
|
398
398
|
return part;
|
|
399
399
|
}
|
|
400
400
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const
|
|
3
|
-
require("../state-processor-
|
|
4
|
-
const require_signals = require("../signals-
|
|
5
|
-
const require_workspace = require("../workspace-
|
|
2
|
+
const require_execution_fence = require("../execution-fence-fqV6FGdV.cjs");
|
|
3
|
+
require("../state-processor-DaSmhVUX.cjs");
|
|
4
|
+
const require_signals = require("../signals-BwDXGqxc.cjs");
|
|
5
|
+
const require_workspace = require("../workspace-BQD4tcQi.cjs");
|
|
6
6
|
// src/coding-agent/prompt.ts
|
|
7
7
|
function buildBasePrompt(ctx) {
|
|
8
8
|
const commonBinaries = formatCommonBinaries(ctx.commonBinaries);
|
|
@@ -226,13 +226,13 @@ function createCodingAgent(config) {
|
|
|
226
226
|
...goal,
|
|
227
227
|
prompt: goal.prompt ?? "You are the goal judge. Your decision directly controls whether the assistant continues working toward the goal.\n\nGiven a goal and the assistant's latest response, reason about whether the goal's requirements have been satisfied. Compare what the goal asks for against what the assistant has actually produced. Focus on substance, not phrasing.\n\nUse \"done\" when the goal is fully achieved.\nUse \"waiting\" when the goal explicitly requires a user checkpoint, user feedback, human verification, human confirmation, or another external event outside the goal-judge loop before the assistant should continue, and the assistant has correctly stopped at that checkpoint.\nUse \"waiting\" when the latest user message asks a question or requests clarification and the latest assistant message answers it; let the user acknowledge the answer, ask a follow-up, or otherwise return control before continuing goal work. Use common sense and do not wait if the user explicitly asked the assistant to continue autonomously after answering.\nUse \"continue\" when the goal is not done and the assistant should keep working autonomously, including when it asked for input that the goal did not explicitly require.\nIf your previous decision was \"waiting\" for an explicit user checkpoint, keep choosing \"waiting\" when the user's latest response asks a question, requests clarification, or otherwise does not satisfy the checkpoint. Do not continue until the required user feedback/confirmation/verification has actually been provided.\nIf the goal says to wait for the goal judge, judge, evaluator, or you to respond, approve, verify, validate, tell the assistant to continue, or otherwise provide the next signal, treat your own decision as that judge response. Verification can be performed by you unless the goal explicitly says it needs human/user verification. Choose \"continue\" when the assistant should proceed to the next step. Do not choose \"waiting\" for judge-controlled checkpoints, because that would mean waiting for yourself.\n\nYour \"reason\" field is sent back to the assistant as guidance when the goal is not yet done \u2014 be specific about what still needs to be accomplished. When choosing \"continue\", write the reason as an instruction for what the assistant should do next. When choosing \"waiting\", explain what specific user checkpoint is still outstanding."
|
|
228
228
|
} : void 0;
|
|
229
|
-
return new
|
|
229
|
+
return new require_execution_fence.Agent({
|
|
230
230
|
...rest,
|
|
231
231
|
memory,
|
|
232
232
|
workspace,
|
|
233
233
|
signals: resolvedSignals,
|
|
234
|
-
outputProcessors: outputProcessors ?? [new
|
|
235
|
-
errorProcessors: errorProcessors ?? (rest.errorProcessorDefaults === false ? void 0 : [new
|
|
234
|
+
outputProcessors: outputProcessors ?? [new require_execution_fence.CyberRefusalHandler()],
|
|
235
|
+
errorProcessors: errorProcessors ?? (rest.errorProcessorDefaults === false ? void 0 : [new require_execution_fence.CyberRefusalHandler(), ...require_execution_fence.defaultStabilityErrorProcessors({
|
|
236
236
|
retryUnknownErrors: true,
|
|
237
237
|
retryBadRequests: true
|
|
238
238
|
})]),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "../state-processor-
|
|
3
|
-
import { n as TaskSignalProvider } from "../signals-
|
|
4
|
-
import { F as LocalSandbox, c as Workspace, st as LocalFilesystem } from "../workspace-
|
|
1
|
+
import { Lo as CyberRefusalHandler, T as Agent, gs as defaultStabilityErrorProcessors } from "../execution-fence-B8yV_n51.js";
|
|
2
|
+
import "../state-processor-B_KsS82m.js";
|
|
3
|
+
import { n as TaskSignalProvider } from "../signals-TznxWfM3.js";
|
|
4
|
+
import { F as LocalSandbox, c as Workspace, st as LocalFilesystem } from "../workspace-sqcfdZRR.js";
|
|
5
5
|
// src/coding-agent/prompt.ts
|
|
6
6
|
function buildBasePrompt(ctx) {
|
|
7
7
|
const commonBinaries = formatCommonBinaries(ctx.commonBinaries);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
const require_utils = require("./utils-D-eNsgDM.cjs");
|
|
2
2
|
const require_storage = require("./storage-CfG0I2aF.cjs");
|
|
3
|
-
const require_observability = require("./observability-
|
|
3
|
+
const require_observability = require("./observability-VaoaeadK.cjs");
|
|
4
4
|
const require_zod_utils = require("./zod-utils-Cl5jw5N_.cjs");
|
|
5
5
|
let zod_v4 = require("zod/v4");
|
|
6
6
|
// src/evals/types.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { v as SpanType } from "./utils-DU_pU5SK.js";
|
|
2
2
|
import { An as tagsField, C as dateRangeSchema, En as sortDirectionSchema, Jt as metadataField, M as deltaInfoSchema, Mn as traceIdField, N as deltaLimitSchema, On as spanContextFields, an as paginationInfoSchema, in as paginationArgsSchema, j as deltaCursorSchema, kn as spanIdField, ln as refineObservabilityListMode, nn as normalizeObservabilityListArgs, pn as resourceIdField, rn as organizationIdField, w as dbTimestamps, zt as listModeSchema } from "./storage-Cc50aQAp.js";
|
|
3
|
-
import {
|
|
3
|
+
import { d as truncatePreview } from "./observability-DPDWibyH.js";
|
|
4
4
|
import { n as getZodInnerType, r as getZodTypeName } from "./zod-utils-BDDS_mxU.js";
|
|
5
5
|
import { z } from "zod/v4";
|
|
6
6
|
// src/evals/types.ts
|
package/dist/datasets/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const
|
|
3
|
-
const require_manager = require("../manager-
|
|
2
|
+
const require_execution_fence = require("../execution-fence-fqV6FGdV.cjs");
|
|
3
|
+
const require_manager = require("../manager-CY-RzZJL.cjs");
|
|
4
4
|
let zod_v4 = require("zod/v4");
|
|
5
5
|
let crypto = require("crypto");
|
|
6
6
|
// src/datasets/snapshot.ts
|
|
@@ -227,25 +227,25 @@ exports.EXPERIMENT_ITEM_BEFORE_EACH_FAILED = require_manager.EXPERIMENT_ITEM_BEF
|
|
|
227
227
|
exports.EXPERIMENT_ITEM_SCORER_NOT_FOUND = require_manager.EXPERIMENT_ITEM_SCORER_NOT_FOUND;
|
|
228
228
|
exports.EXPERIMENT_NOT_DURABLE = require_manager.EXPERIMENT_NOT_DURABLE;
|
|
229
229
|
exports.EXPERIMENT_SCORER_NOT_FOUND = require_manager.EXPERIMENT_SCORER_NOT_FOUND;
|
|
230
|
-
exports.SchemaUpdateValidationError =
|
|
231
|
-
exports.SchemaValidationError =
|
|
232
|
-
exports.SchemaValidator =
|
|
230
|
+
exports.SchemaUpdateValidationError = require_execution_fence.SchemaUpdateValidationError;
|
|
231
|
+
exports.SchemaValidationError = require_execution_fence.SchemaValidationError;
|
|
232
|
+
exports.SchemaValidator = require_execution_fence.SchemaValidator;
|
|
233
233
|
exports.TOOL_MOCK_EXHAUSTED = require_manager.TOOL_MOCK_EXHAUSTED;
|
|
234
234
|
exports.TOOL_MOCK_MISMATCH = require_manager.TOOL_MOCK_MISMATCH;
|
|
235
235
|
exports.TOOL_MOCK_NOT_DECLARED = require_manager.TOOL_MOCK_NOT_DECLARED;
|
|
236
236
|
exports.ToolMockMatcher = require_manager.ToolMockMatcher;
|
|
237
|
-
exports.UnsupportedSchemaPatternError =
|
|
238
|
-
exports.assertSupportedPatterns =
|
|
237
|
+
exports.UnsupportedSchemaPatternError = require_execution_fence.UnsupportedSchemaPatternError;
|
|
238
|
+
exports.assertSupportedPatterns = require_execution_fence.assertSupportedPatterns;
|
|
239
239
|
exports.compareExperiments = require_manager.compareExperiments;
|
|
240
240
|
exports.computeMean = require_manager.computeMean;
|
|
241
241
|
exports.computeScorerStats = require_manager.computeScorerStats;
|
|
242
242
|
exports.createDatasetSnapshot = createDatasetSnapshot;
|
|
243
|
-
exports.createValidator =
|
|
243
|
+
exports.createValidator = require_execution_fence.createValidator;
|
|
244
244
|
exports.datasetSnapshotContentSchema = datasetSnapshotContentSchema;
|
|
245
245
|
exports.datasetSnapshotSchema = datasetSnapshotSchema;
|
|
246
246
|
exports.executeExperimentItem = require_manager.executeExperimentItem;
|
|
247
247
|
exports.executeTarget = require_manager.executeTarget;
|
|
248
|
-
exports.getSchemaValidator =
|
|
248
|
+
exports.getSchemaValidator = require_execution_fence.getSchemaValidator;
|
|
249
249
|
exports.isRegression = require_manager.isRegression;
|
|
250
250
|
exports.parseDatasetSnapshot = parseDatasetSnapshot;
|
|
251
251
|
exports.resolveScorers = require_manager.resolveScorers;
|
package/dist/datasets/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { _ as TOOL_MOCK_NOT_DECLARED, a as executeExperimentItem, c as computeScorerStats, d as EXPERIMENT_SCORER_NOT_FOUND, f as resolveScorers, g as TOOL_MOCK_MISMATCH, h as TOOL_MOCK_EXHAUSTED, i as runExperiment, l as isRegression, m as executeTarget, n as Dataset, o as compareExperiments, p as runScorersForItem, r as EXPERIMENT_ITEM_BEFORE_EACH_FAILED, s as computeMean, t as DatasetsManager, u as EXPERIMENT_ITEM_SCORER_NOT_FOUND, v as ToolMockMatcher, x as resolveTarget, y as EXPERIMENT_NOT_DURABLE } from "../manager-
|
|
1
|
+
import { Gi as SchemaValidator, Ji as getSchemaValidator, Ki as assertSupportedPatterns, Xi as SchemaUpdateValidationError, Yi as UnsupportedSchemaPatternError, Zi as SchemaValidationError, qi as createValidator } from "../execution-fence-B8yV_n51.js";
|
|
2
|
+
import { _ as TOOL_MOCK_NOT_DECLARED, a as executeExperimentItem, c as computeScorerStats, d as EXPERIMENT_SCORER_NOT_FOUND, f as resolveScorers, g as TOOL_MOCK_MISMATCH, h as TOOL_MOCK_EXHAUSTED, i as runExperiment, l as isRegression, m as executeTarget, n as Dataset, o as compareExperiments, p as runScorersForItem, r as EXPERIMENT_ITEM_BEFORE_EACH_FAILED, s as computeMean, t as DatasetsManager, u as EXPERIMENT_ITEM_SCORER_NOT_FOUND, v as ToolMockMatcher, x as resolveTarget, y as EXPERIMENT_NOT_DURABLE } from "../manager-Dsub5fyz.js";
|
|
3
3
|
import { z } from "zod/v4";
|
|
4
4
|
import { createHash } from "crypto";
|
|
5
5
|
// src/datasets/snapshot.ts
|
package/dist/docs/SKILL.md
CHANGED