@mastra/core 1.86.0-alpha.6 → 1.86.0-alpha.7
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_core@0.1.4/dist/memory/index.d.ts +25 -0
- package/dist/agent/agent.d.ts +27 -11
- package/dist/agent/agent.types.d.ts +4 -0
- package/dist/agent/durable/create-durable-agent.d.ts +1 -1
- package/dist/agent/durable/durable-agent.d.ts +30 -500
- package/dist/agent/durable/durable-stream-until-idle.d.ts +2 -1
- package/dist/agent/durable/evented-agent.d.ts +2 -5
- package/dist/agent/durable/execution-engine.d.ts +20 -3
- package/dist/agent/durable/index.cjs +55 -6338
- package/dist/agent/durable/index.d.ts +3 -2
- package/dist/agent/durable/index.js +44 -6327
- package/dist/agent/durable/stream-adapter.d.ts +5 -5
- package/dist/agent/durable/types.d.ts +454 -3
- package/dist/agent/durable/workflows/durable-loop-builder.d.ts +7 -9
- package/dist/agent/helpers.d.ts +1 -1
- package/dist/agent/index.cjs +4 -4
- package/dist/agent/index.d.ts +1 -1
- package/dist/agent/index.js +4 -4
- package/dist/agent/streams/execution-capability.d.ts +3 -2
- package/dist/agent/streams/execution-policy.d.ts +1 -1
- package/dist/agent/streams/types.d.ts +3 -3
- package/dist/agent/types.d.ts +5 -5
- package/dist/agent-builder/ee/index.cjs +1 -1
- package/dist/agent-builder/ee/index.js +1 -1
- package/dist/agent-controller/index.cjs +2 -2
- package/dist/agent-controller/index.js +2 -2
- package/dist/{agent-controller-c4KbZ8DY.js → agent-controller-Cf3_IuY8.js} +9 -9
- package/dist/{agent-controller-6ORqG6hK.cjs → agent-controller-K5vHtqfO.cjs} +9 -9
- package/dist/{agent-skills-resolver-BIeWsb01.cjs → agent-skills-resolver-BMoCDoaK.cjs} +1 -1
- package/dist/{agent-skills-resolver-k04IRam7.js → agent-skills-resolver-CUEIMDbx.js} +1 -1
- package/dist/background-tasks/index.cjs +1 -1
- package/dist/background-tasks/index.js +1 -1
- package/dist/{background-tasks-CEglmAt7.js → background-tasks-BgpX1P_s.js} +1 -1
- package/dist/{background-tasks-Da0c3R-J.cjs → background-tasks-DqnQMfuf.cjs} +1 -1
- package/dist/browser/index.cjs +2 -2
- package/dist/browser/index.js +2 -2
- package/dist/{builder-DS826dWf.cjs → builder-D8Osghdo.cjs} +3 -3
- package/dist/{builder-0V9N8S15.js → builder-x295GDL6.js} +3 -3
- package/dist/capabilities/302ai.json +191 -191
- package/dist/capabilities/abliteratedllm.json +36 -36
- package/dist/capabilities/abliteration-ai.json +7 -7
- package/dist/capabilities/above.json +20 -20
- package/dist/capabilities/adaption.json +10 -10
- package/dist/capabilities/adzuki.json +31 -31
- package/dist/capabilities/agentrouter.json +10 -10
- package/dist/capabilities/ai-router.json +9 -9
- package/dist/capabilities/aiand.json +19 -19
- package/dist/capabilities/aigrow.json +14 -14
- package/dist/capabilities/aimlapi.json +142 -142
- package/dist/capabilities/aipg.json +2 -2
- package/dist/capabilities/aixy.json +20 -20
- package/dist/capabilities/aki-io.json +15 -15
- package/dist/capabilities/alibaba-cn.json +90 -90
- package/dist/capabilities/alibaba-coding-plan-cn.json +5 -5
- package/dist/capabilities/alibaba-coding-plan.json +5 -5
- package/dist/capabilities/alibaba-token-plan-cn.json +55 -55
- package/dist/capabilities/alibaba-token-plan.json +57 -57
- package/dist/capabilities/alibaba.json +64 -64
- package/dist/capabilities/ambient.json +12 -12
- package/dist/capabilities/amd.json +8 -8
- package/dist/capabilities/anthropic.json +60 -36
- package/dist/capabilities/anyapi.json +14 -14
- package/dist/capabilities/apiko.json +2 -2
- package/dist/capabilities/arcee.json +11 -11
- package/dist/capabilities/augure.json +5 -5
- package/dist/capabilities/auriko.json +19 -19
- package/dist/capabilities/bailing.json +5 -5
- package/dist/capabilities/baseten.json +18 -18
- package/dist/capabilities/bee.json +3 -3
- package/dist/capabilities/berget.json +8 -8
- package/dist/capabilities/bothub.json +13 -13
- package/dist/capabilities/boundless.json +35 -35
- package/dist/capabilities/bumo.json +44 -44
- package/dist/capabilities/byteplus.json +31 -31
- package/dist/capabilities/cerebras.json +4 -4
- package/dist/capabilities/cheapaimodel.json +10 -10
- package/dist/capabilities/cheapest-token.json +31 -31
- package/dist/capabilities/chutes.json +8 -8
- package/dist/capabilities/cline-pass.json +41 -41
- package/dist/capabilities/cloudcode.json +7 -7
- package/dist/capabilities/cloudflare-workers-ai.json +31 -31
- package/dist/capabilities/commandcode.json +147 -147
- package/dist/capabilities/concentrate.json +259 -259
- package/dist/capabilities/cortecs.json +109 -109
- package/dist/capabilities/crossmodel.json +169 -169
- package/dist/capabilities/crusoe.json +10 -10
- package/dist/capabilities/daoxe.json +9 -9
- package/dist/capabilities/databricks.json +59 -59
- package/dist/capabilities/deepinfra.json +85 -85
- package/dist/capabilities/deepseek.json +3 -3
- package/dist/capabilities/digitalocean.json +113 -113
- package/dist/capabilities/dothoosh.json +29 -29
- package/dist/capabilities/doubleword.json +23 -23
- package/dist/capabilities/edenai.json +454 -453
- package/dist/capabilities/empiriolabs.json +170 -170
- package/dist/capabilities/engy.json +22 -22
- package/dist/capabilities/entrim.json +6 -6
- package/dist/capabilities/evroc.json +16 -16
- package/dist/capabilities/ezkielyna.json +9 -9
- package/dist/capabilities/fastrouter.json +80 -80
- package/dist/capabilities/fireworks-ai.json +65 -65
- package/dist/capabilities/freemodel.json +21 -21
- package/dist/capabilities/friendli.json +6 -6
- package/dist/capabilities/frogbot.json +89 -89
- package/dist/capabilities/gisoo.json +19 -19
- package/dist/capabilities/gmicloud.json +16 -16
- package/dist/capabilities/google.json +57 -57
- package/dist/capabilities/graphn.json +12 -12
- package/dist/capabilities/greenpt.json +34 -34
- package/dist/capabilities/groq.json +2 -2
- package/dist/capabilities/helicone.json +83 -83
- package/dist/capabilities/hostinger-router.json +11 -11
- package/dist/capabilities/hpc-ai.json +14 -14
- package/dist/capabilities/huawei-maas.json +14 -14
- package/dist/capabilities/hubris.json +25 -25
- package/dist/capabilities/huggingface.json +48 -48
- package/dist/capabilities/hyper.json +26 -26
- package/dist/capabilities/impossibl.json +132 -132
- package/dist/capabilities/inception.json +2 -2
- package/dist/capabilities/inco.json +5 -5
- package/dist/capabilities/infer.json +12 -12
- package/dist/capabilities/inferall.json +10 -10
- package/dist/capabilities/inference-coop.json +11 -11
- package/dist/capabilities/inferenceapis.json +6 -6
- package/dist/capabilities/inferris.json +4 -4
- package/dist/capabilities/infersia.json +14 -14
- package/dist/capabilities/inferx.json +3 -3
- package/dist/capabilities/infomaniak.json +4 -4
- package/dist/capabilities/io-net.json +2 -2
- package/dist/capabilities/isoquant.json +4 -4
- package/dist/capabilities/iteracompute.json +60 -60
- package/dist/capabilities/jad-ai.json +3 -3
- package/dist/capabilities/jalapeno.json +10 -10
- package/dist/capabilities/jiekou.json +65 -65
- package/dist/capabilities/jzstoken.json +52 -52
- package/dist/capabilities/keln.json +23 -23
- package/dist/capabilities/kenari.json +122 -116
- package/dist/capabilities/kilo.json +627 -627
- 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 +2 -2
- package/dist/capabilities/klavo.json +24 -24
- package/dist/capabilities/korouter.json +29 -29
- package/dist/capabilities/kunavo.json +7 -7
- package/dist/capabilities/liquid.json +10 -10
- package/dist/capabilities/lithosai.json +2 -2
- package/dist/capabilities/llmgateway-providers.json +890 -890
- package/dist/capabilities/llmgateway.json +333 -333
- package/dist/capabilities/llmtr.json +30 -30
- package/dist/capabilities/longcat.json +3 -3
- package/dist/capabilities/lowrouter.json +51 -51
- package/dist/capabilities/lyceum.json +14 -14
- package/dist/capabilities/melious.json +15 -15
- package/dist/capabilities/merge-gateway.json +236 -236
- package/dist/capabilities/meta.json +11 -11
- package/dist/capabilities/mistral.json +21 -21
- package/dist/capabilities/mixlayer.json +3 -3
- package/dist/capabilities/modal.json +10 -10
- package/dist/capabilities/model-oracle-ai.json +24 -24
- package/dist/capabilities/modelis.json +20 -20
- package/dist/capabilities/modelscope.json +2 -2
- package/dist/capabilities/modular.json +5 -5
- package/dist/capabilities/moneo.json +16 -16
- package/dist/capabilities/moonshotai-cn.json +7 -7
- package/dist/capabilities/moonshotai.json +7 -7
- package/dist/capabilities/morph.json +16 -16
- package/dist/capabilities/munito-eu.json +4 -4
- package/dist/capabilities/munito.json +6 -6
- package/dist/capabilities/nan.json +29 -29
- package/dist/capabilities/nano-gpt.json +586 -556
- package/dist/capabilities/nearai.json +89 -89
- package/dist/capabilities/nebius.json +29 -29
- package/dist/capabilities/neon.json +126 -126
- package/dist/capabilities/neuralwatt.json +43 -43
- package/dist/capabilities/nokeep.json +2 -2
- package/dist/capabilities/novita-ai.json +140 -140
- package/dist/capabilities/nvidia.json +35 -35
- package/dist/capabilities/oathbreaker.json +2 -2
- package/dist/capabilities/obscurify.json +31 -31
- package/dist/capabilities/oci.json +7 -7
- package/dist/capabilities/ofox.json +354 -354
- package/dist/capabilities/ollama-cloud.json +54 -54
- package/dist/capabilities/openai.json +53 -60
- package/dist/capabilities/opencode-go.json +89 -89
- package/dist/capabilities/openreason.json +5 -5
- package/dist/capabilities/openrouter.json +553 -553
- package/dist/capabilities/opper.json +28 -28
- package/dist/capabilities/orcarouter.json +248 -248
- package/dist/capabilities/outerlabs.json +32 -32
- package/dist/capabilities/ovhcloud.json +4 -4
- package/dist/capabilities/pareto.json +5 -5
- package/dist/capabilities/perplexity-agent.json +55 -55
- package/dist/capabilities/phala.json +33 -33
- package/dist/capabilities/pioneer.json +28 -28
- package/dist/capabilities/poe.json +121 -121
- package/dist/capabilities/poolside.json +3 -3
- package/dist/capabilities/powerspring.json +12 -12
- package/dist/capabilities/primalabs.json +9 -9
- package/dist/capabilities/prime.json +111 -111
- package/dist/capabilities/privatemode-ai.json +13 -13
- package/dist/capabilities/proxystacks.json +7 -7
- package/dist/capabilities/qiniu-ai.json +15 -15
- package/dist/capabilities/refuseless.json +10 -10
- package/dist/capabilities/regolo-ai.json +6 -6
- package/dist/capabilities/requesty.json +171 -188
- package/dist/capabilities/ruapi.json +19 -19
- package/dist/capabilities/runcrate.json +8 -8
- package/dist/capabilities/runinfra.json +13 -13
- package/dist/capabilities/sakana.json +6 -6
- package/dist/capabilities/sambanova.json +6 -6
- package/dist/capabilities/sandbase.json +25 -25
- package/dist/capabilities/sarvam.json +13 -13
- package/dist/capabilities/scaleway.json +20 -20
- package/dist/capabilities/scnet-token-plan.json +8 -8
- package/dist/capabilities/scx-ai.json +30 -30
- package/dist/capabilities/sensenova.json +13 -13
- package/dist/capabilities/siliconflow-cn.json +68 -68
- package/dist/capabilities/siliconflow.json +60 -60
- package/dist/capabilities/snowflake-cortex.json +20 -20
- package/dist/capabilities/sokkan.json +7 -7
- package/dist/capabilities/sparrowcodes.json +23 -23
- package/dist/capabilities/standardcompute.json +103 -103
- package/dist/capabilities/steadyrouter.json +36 -36
- package/dist/capabilities/stepfun-ai-step-plan.json +4 -4
- package/dist/capabilities/stepfun-ai.json +4 -4
- package/dist/capabilities/stepfun-step-plan.json +4 -4
- package/dist/capabilities/stepfun.json +4 -4
- package/dist/capabilities/stepping-stone.json +20 -20
- package/dist/capabilities/subconscious.json +2 -2
- package/dist/capabilities/superbot-gg.json +4 -4
- package/dist/capabilities/synthetic.json +11 -11
- package/dist/capabilities/synthorai.json +23 -23
- package/dist/capabilities/teamorouter.json +21 -21
- package/dist/capabilities/teapot-router.json +12 -12
- package/dist/capabilities/tencent-coding-plan.json +2 -2
- package/dist/capabilities/tencent-token-plan.json +24 -24
- package/dist/capabilities/tencent-tokenhub.json +6 -6
- package/dist/capabilities/tensorx.json +50 -50
- package/dist/capabilities/tenstorrent.json +5 -5
- package/dist/capabilities/the-grid-ai.json +28 -28
- package/dist/capabilities/thinkingmachines.json +60 -60
- package/dist/capabilities/tinfoil.json +14 -14
- package/dist/capabilities/toapis.json +3 -3
- package/dist/capabilities/togetherai.json +51 -51
- package/dist/capabilities/tokengo.json +16 -16
- package/dist/capabilities/tokenify.json +9 -9
- package/dist/capabilities/trustedrouter.json +7 -7
- package/dist/capabilities/trustedtokens.json +15 -15
- package/dist/capabilities/umans-ai-coding-plan.json +14 -14
- package/dist/capabilities/umans-ai.json +12 -12
- package/dist/capabilities/uncensuredai.json +5 -5
- package/dist/capabilities/unrestricted.json +8 -8
- package/dist/capabilities/uplinkswitch.json +19 -19
- package/dist/capabilities/upstage.json +4 -4
- package/dist/capabilities/vancine.json +21 -21
- package/dist/capabilities/vercel.json +551 -551
- package/dist/capabilities/vivgrid.json +85 -85
- package/dist/capabilities/volcengine-coding-plan.json +30 -30
- package/dist/capabilities/volcengine.json +36 -36
- package/dist/capabilities/vultr.json +31 -31
- package/dist/capabilities/wafer.ai.json +16 -16
- package/dist/capabilities/wallaby.json +5 -5
- package/dist/capabilities/wally.json +12 -12
- package/dist/capabilities/wandb.json +15 -15
- package/dist/capabilities/watt.json +23 -23
- 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 +3 -3
- package/dist/capabilities/xiaomi-token-plan-sgp.json +2 -2
- package/dist/capabilities/xiaomi.json +6 -6
- package/dist/capabilities/xpersona.json +13 -13
- package/dist/capabilities/xxapi.json +27 -27
- package/dist/capabilities/zai-coding-plan.json +10 -10
- package/dist/capabilities/zai.json +26 -26
- package/dist/capabilities/zenifra.json +28 -28
- package/dist/capabilities/zenmux.json +197 -197
- package/dist/capabilities/zerogpu.json +14 -14
- package/dist/capabilities/zhipuai-coding-plan.json +7 -7
- package/dist/capabilities/zhipuai.json +24 -24
- package/dist/capabilities/zro.json +7 -7
- package/dist/channels/agent-channels.d.ts +11 -0
- package/dist/channels/chat-tools.d.ts +156 -0
- package/dist/channels/index.cjs +7 -2
- package/dist/channels/index.d.ts +2 -0
- package/dist/channels/index.js +3 -3
- package/dist/{channels-C5DxhFRc.js → channels-Dx4jiXeK.js} +1 -1
- package/dist/{channels-B57qQolh.cjs → channels-q6qnuRNV.cjs} +1 -1
- package/dist/coding-agent/index.cjs +4 -4
- package/dist/coding-agent/index.js +4 -4
- package/dist/{constants-DaBkXs5H.cjs → constants-B9ZDvXZ4.cjs} +41 -0
- package/dist/{constants-BDHIyN28.js → constants-BmdTvEYN.js} +30 -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 +1289 -1284
- package/dist/docs/references/reference-agents-agent.md +1 -1
- package/dist/docs/references/reference-agents-channels.md +34 -1
- package/dist/docs/references/reference-agents-durable-agent.md +26 -2
- package/dist/evals/index.cjs +2 -2
- package/dist/evals/index.js +2 -2
- package/dist/evals/scoreTraces/index.cjs +2 -2
- package/dist/evals/scoreTraces/index.js +2 -2
- package/dist/events/index.cjs +1 -1
- package/dist/events/index.js +1 -1
- package/dist/{filesystem-CUj0vclS.cjs → filesystem-B0AZrbj8.cjs} +1 -1
- package/dist/{filesystem-BBqrAmKK.js → filesystem-B3s0WRud.js} +1 -1
- package/dist/{filesystem-B_HACoLS.js → filesystem-B5X-5G0x.js} +1 -1
- package/dist/{filesystem-pZNvxjuW.cjs → filesystem-BDSpwBke.cjs} +1 -1
- package/dist/{filesystem-5Z777gYZ.js → filesystem-BsdkC311.js} +1 -1
- package/dist/{filesystem-BNHPgtjJ.cjs → filesystem-C-cyJfi1.cjs} +1 -1
- package/dist/{filesystem-U5o28b5w.cjs → filesystem-CEbD_77-.cjs} +1 -1
- package/dist/{filesystem-yHKEz2Pr.cjs → filesystem-CUAgLugE.cjs} +1 -1
- package/dist/{filesystem-Cb8iTPM-.js → filesystem-Cv79mHRk.js} +1 -1
- package/dist/{filesystem-DhiaddZe.cjs → filesystem-DsCQiBl2.cjs} +1 -1
- package/dist/{filesystem-DSYDB3ek.js → filesystem-DzM9pcQ8.js} +1 -1
- package/dist/{filesystem-gpIfFMed.js → filesystem-DzfqVTO_.js} +1 -1
- package/dist/{filesystem-versioned-CxbiSJF-.js → filesystem-versioned-Bijb_p9l.js} +44 -44
- package/dist/harness/index.cjs +2 -2
- package/dist/harness/index.js +2 -2
- 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 +7744 -7747
- package/dist/{llm-ByskI6z3.cjs → llm-CsQuqKPc.cjs} +2 -2
- package/dist/{llm-B0VtQDgT.js → llm-DnXK3Pmw.js} +2 -2
- package/dist/loop/base-loop-builder.d.ts +60 -0
- package/dist/loop/index.cjs +2 -2
- package/dist/loop/index.js +2 -2
- package/dist/loop/loop-builder.d.ts +10 -32
- package/dist/loop/workflows/agentic-execution/index.d.ts +1 -1
- package/dist/loop/workflows/agentic-loop/index.d.ts +1 -1
- package/dist/{manager-C2RGNH68.js → manager-BsghM-UL.js} +3 -3
- package/dist/{manager-BJKx4lQf.cjs → manager-DwFnIrI6.cjs} +3 -3
- package/dist/mastra/index.cjs +1 -1
- package/dist/mastra/index.js +1 -1
- package/dist/{mastra-zUTq9ilk.js → mastra-B8i1UDZs.js} +51 -25
- package/dist/{mastra-FXCeC5rF.cjs → mastra-Cn5NC6Es.cjs} +51 -25
- package/dist/memory/index.cjs +2 -2
- package/dist/memory/index.js +2 -2
- package/dist/{model-BmTFNo62.cjs → model-CNPfry_X.cjs} +1 -1
- package/dist/{model-BTNRPDgQ.js → model-CsOcWMUt.js} +1 -1
- package/dist/{netlify-B_XdjYPY.cjs → netlify-C-83Fxus.cjs} +1 -1
- package/dist/{netlify-BCSVhO5q.js → netlify-C-OpNSGp.js} +1 -1
- package/dist/notifications/index.cjs +1 -1
- package/dist/notifications/index.js +1 -1
- package/dist/{output-helpers-RlvE2WPA.js → output-helpers-D4II19No.js} +45 -45
- 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/processors/processors/pii-detector.d.ts +1 -0
- package/dist/{provider-registry-D8O1G18A.cjs → provider-registry-9O-H9osy.cjs} +22407 -22407
- package/dist/{provider-registry-Ble43Wb4.js → provider-registry-RZ8EgSe8.js} +22407 -22407
- package/dist/provider-registry.json +22277 -22277
- package/dist/{registry-generator-BQ1noftK.cjs → registry-generator-DxCX-FiO.cjs} +1 -1
- package/dist/{registry-generator-D1Zslex6.js → registry-generator-e8sltJls.js} +1 -1
- package/dist/{rehydrate-BiA_HUJH.cjs → rehydrate-B-wrAN7C.cjs} +2 -2
- package/dist/{rehydrate-CgxEur9m.js → rehydrate-D3fPgJwp.js} +2 -2
- package/dist/relevance/index.cjs +2 -2
- package/dist/relevance/index.js +2 -2
- package/dist/{run-registry-aomba2_Z.cjs → run-registry-5_LQBGn_.cjs} +83635 -77661
- package/dist/{run-registry-BUFmc_78.js → run-registry-DC03XLeZ.js} +83435 -76843
- package/dist/{scheduler-BuivoTeD.js → scheduler-B-VZUvv_.js} +1 -1
- package/dist/{scheduler-COSuIH7R.cjs → scheduler-D00X03jQ.cjs} +1 -1
- package/dist/schedules/index.cjs +1 -1
- package/dist/schedules/index.js +1 -1
- package/dist/{schedules-Dmu9qOgc.js → schedules-DZfSx-7P.js} +94 -94
- package/dist/{signal-provider-CicwpNwY.cjs → signal-provider-BFAvh_AJ.cjs} +1 -1
- package/dist/{signal-provider-BOtSN-_0.js → signal-provider-BslnAjWG.js} +1 -1
- package/dist/signals/index.cjs +3 -3
- package/dist/signals/index.js +3 -3
- package/dist/{signals-6EBDPHQX.cjs → signals-B1JSj-Ew.cjs} +2 -2
- package/dist/{signals-BH__LS8Y.js → signals-De9VnwL2.js} +2 -2
- package/dist/skills/index.cjs +2 -2
- package/dist/skills/index.js +2 -2
- package/dist/{source-8qxr6KJv.cjs → source-DDwx-87N.cjs} +1 -1
- package/dist/{source-DRqDgbCv.js → source-Did_2XQc.js} +1 -1
- package/dist/{state-processor-BRk8t1OR.js → state-processor-B9kxpM53.js} +140 -140
- package/dist/{state-processor-Bfs9LkY8.cjs → state-processor-kRNZ38Nf.cjs} +139 -139
- 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/mcp-clients/index.cjs +1 -1
- package/dist/storage/domains/mcp-clients/index.js +1 -1
- package/dist/storage/domains/mcp-servers/index.cjs +1 -1
- package/dist/storage/domains/mcp-servers/index.js +1 -1
- package/dist/storage/domains/memory/base.d.ts +3 -1
- package/dist/storage/domains/memory/observational-memory-lifecycle.d.ts +1 -1
- package/dist/storage/domains/prompt-blocks/index.cjs +1 -1
- package/dist/storage/domains/prompt-blocks/index.js +1 -1
- package/dist/storage/domains/scorer-definitions/index.cjs +1 -1
- package/dist/storage/domains/scorer-definitions/index.js +1 -1
- package/dist/storage/domains/skills/index.cjs +1 -1
- package/dist/storage/domains/skills/index.js +1 -1
- package/dist/storage/domains/workspaces/index.cjs +1 -1
- package/dist/storage/domains/workspaces/index.js +1 -1
- package/dist/storage/index.cjs +12 -11
- package/dist/storage/index.js +12 -12
- package/dist/storage/types.d.ts +13 -0
- package/dist/stream/index.cjs +2 -2
- package/dist/stream/index.js +2 -2
- package/dist/{stream-DUrp3Fcy.cjs → stream-4aNIw_TQ.cjs} +1 -1
- package/dist/{stream-S_NC5v9e.js → stream-CJUm6EAH.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-DU0BiemT.cjs → tool-loop-agent-Dn0QCB9n.cjs} +3 -3
- package/dist/{tool-loop-agent-BhCzpGfr.js → tool-loop-agent-FEEwHfmg.js} +3 -3
- package/dist/tools/index.cjs +1 -1
- package/dist/tools/index.js +1 -1
- package/dist/{utils-DYIai19q.js → utils-Bd_y1_a-.js} +1 -1
- package/dist/{utils-CeEt4K7t.cjs → utils-DY01hxVd.cjs} +1 -1
- package/dist/utils.cjs +1 -1
- package/dist/utils.js +1 -1
- package/dist/{validate-BRikrNhF.js → validate-CX0yQo_q.js} +1 -1
- package/dist/{validate-BckgxuJ0.cjs → validate-CuB_1Zd3.cjs} +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-Du5ybt5o.js → worker-B80xkcKG.js} +3 -3
- package/dist/{worker-D9WwmcJa.cjs → worker-CbaSmip-.cjs} +3 -3
- package/dist/{worker-DcBfwJqD.js → worker-DSEfMPmq.js} +3 -3
- package/dist/{worker-BfhUD77l.cjs → worker-GsGIxPMa.cjs} +3 -3
- package/dist/{workflow-jNWVBYDJ.js → workflow-CZHY_C85.js} +4 -4
- package/dist/{workflow-BWV5m9Mx.cjs → workflow-CnBPXTpv.cjs} +4 -4
- package/dist/workflows/builder/index.cjs +1 -1
- package/dist/workflows/builder/index.js +1 -1
- package/dist/workflows/evented/index.cjs +1 -1
- package/dist/workflows/evented/index.js +1 -1
- package/dist/workflows/evented/workflow.d.ts +1 -1
- package/dist/workflows/index.cjs +6 -6
- package/dist/workflows/index.js +6 -6
- package/dist/workspace/index.cjs +2 -2
- package/dist/workspace/index.js +2 -2
- package/dist/{workspace-BQ2wZj5D.cjs → workspace-D2drutNg.cjs} +607 -607
- package/dist/{workspace-D7JRhn1Z.js → workspace-D7TIleIt.js} +609 -609
- package/dist/{workspace-skills-CGiXfKzA.js → workspace-skills-38OY32_b.js} +531 -531
- package/package.json +8 -8
- package/src/llm/model/provider-types.generated.d.ts +7744 -7747
- package/dist/agent/durable/evented-execution-engine.d.ts +0 -20
- package/dist/{filesystem-versioned-D-OCaYSl.cjs → filesystem-versioned-DZGyPbNC.cjs} +43 -43
- package/dist/{output-helpers-CncZ3y-g.cjs → output-helpers-JL-HeCbT.cjs} +44 -44
- package/dist/{schedules-qIHUKsj4.cjs → schedules-BZS8McF7.cjs} +93 -93
- package/dist/{workspace-skills-CUSjYHdi.cjs → workspace-skills-BcquhPDn.cjs} +530 -530
|
@@ -23,41 +23,41 @@
|
|
|
23
23
|
"qwen3.6-35b-a3b"
|
|
24
24
|
],
|
|
25
25
|
"reasoning": {
|
|
26
|
-
"
|
|
26
|
+
"deepseek-v4.1-flash": [
|
|
27
|
+
{
|
|
28
|
+
"type": "toggle"
|
|
29
|
+
},
|
|
27
30
|
{
|
|
28
31
|
"type": "effort",
|
|
29
32
|
"values": ["low", "high", "max"]
|
|
30
33
|
}
|
|
31
34
|
],
|
|
32
|
-
"qwen3.6-35b-a3b": [
|
|
33
|
-
{
|
|
34
|
-
"type": "toggle"
|
|
35
|
-
}
|
|
36
|
-
],
|
|
37
35
|
"gpt-5.4-nano": [
|
|
38
36
|
{
|
|
39
37
|
"type": "effort",
|
|
40
38
|
"values": ["none", "low", "medium", "high", "xhigh"]
|
|
41
39
|
}
|
|
42
40
|
],
|
|
43
|
-
"
|
|
44
|
-
{
|
|
45
|
-
"type": "toggle"
|
|
46
|
-
},
|
|
41
|
+
"glm-5.3-flash": [
|
|
47
42
|
{
|
|
48
43
|
"type": "effort",
|
|
49
44
|
"values": ["low", "high", "max"]
|
|
50
45
|
}
|
|
51
46
|
],
|
|
52
|
-
"
|
|
47
|
+
"gpt-5.6-luna": [
|
|
48
|
+
{
|
|
49
|
+
"type": "effort",
|
|
50
|
+
"values": ["none", "low", "medium", "high", "xhigh", "max"]
|
|
51
|
+
}
|
|
52
|
+
],
|
|
53
|
+
"qwen3.6-35b-a3b": [
|
|
53
54
|
{
|
|
54
55
|
"type": "toggle"
|
|
55
56
|
}
|
|
56
57
|
],
|
|
57
|
-
"
|
|
58
|
+
"qwen3-30b-a3b-fp8": [
|
|
58
59
|
{
|
|
59
|
-
"type": "
|
|
60
|
-
"values": ["none", "low", "medium", "high", "xhigh", "max"]
|
|
60
|
+
"type": "toggle"
|
|
61
61
|
}
|
|
62
62
|
]
|
|
63
63
|
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"temperature": ["glm-4.6v", "glm-5.3", "glm-5.3-flash", "glm-5.3-highspeed", "glm-5.4"],
|
|
4
4
|
"structuredOutput": ["glm-5.3", "glm-5.3-flash", "glm-5.3-highspeed", "glm-5.4"],
|
|
5
5
|
"reasoning": {
|
|
6
|
-
"glm-5.3
|
|
6
|
+
"glm-5.3": [
|
|
7
7
|
{
|
|
8
8
|
"type": "effort",
|
|
9
9
|
"values": ["low", "high", "max"]
|
|
@@ -15,22 +15,22 @@
|
|
|
15
15
|
"values": ["low", "high", "max"]
|
|
16
16
|
}
|
|
17
17
|
],
|
|
18
|
-
"glm-4.6v": [
|
|
19
|
-
{
|
|
20
|
-
"type": "toggle"
|
|
21
|
-
}
|
|
22
|
-
],
|
|
23
18
|
"glm-5.3-highspeed": [
|
|
24
19
|
{
|
|
25
20
|
"type": "effort",
|
|
26
21
|
"values": ["low", "high", "max"]
|
|
27
22
|
}
|
|
28
23
|
],
|
|
29
|
-
"glm-5.3": [
|
|
24
|
+
"glm-5.3-flash": [
|
|
30
25
|
{
|
|
31
26
|
"type": "effort",
|
|
32
27
|
"values": ["low", "high", "max"]
|
|
33
28
|
}
|
|
29
|
+
],
|
|
30
|
+
"glm-4.6v": [
|
|
31
|
+
{
|
|
32
|
+
"type": "toggle"
|
|
33
|
+
}
|
|
34
34
|
]
|
|
35
35
|
}
|
|
36
36
|
}
|
|
@@ -21,23 +21,23 @@
|
|
|
21
21
|
],
|
|
22
22
|
"structuredOutput": ["glm-5.1", "glm-5.2", "glm-5.3", "glm-5.3-flash", "glm-5.3-flashx"],
|
|
23
23
|
"reasoning": {
|
|
24
|
-
"glm-
|
|
24
|
+
"glm-5.3": [
|
|
25
25
|
{
|
|
26
|
-
"type": "
|
|
26
|
+
"type": "effort",
|
|
27
|
+
"values": ["low", "high", "max"]
|
|
27
28
|
}
|
|
28
29
|
],
|
|
29
|
-
"glm-4.5": [
|
|
30
|
+
"glm-4.5-flash": [
|
|
30
31
|
{
|
|
31
32
|
"type": "toggle"
|
|
32
33
|
}
|
|
33
34
|
],
|
|
34
|
-
"glm-
|
|
35
|
+
"glm-4.6v-flash": [
|
|
35
36
|
{
|
|
36
|
-
"type": "
|
|
37
|
-
"values": ["low", "high", "max"]
|
|
37
|
+
"type": "toggle"
|
|
38
38
|
}
|
|
39
39
|
],
|
|
40
|
-
"glm-
|
|
40
|
+
"glm-4.6": [
|
|
41
41
|
{
|
|
42
42
|
"type": "toggle"
|
|
43
43
|
}
|
|
@@ -47,37 +47,42 @@
|
|
|
47
47
|
"type": "toggle"
|
|
48
48
|
}
|
|
49
49
|
],
|
|
50
|
-
"glm-
|
|
50
|
+
"glm-5.2": [
|
|
51
51
|
{
|
|
52
52
|
"type": "toggle"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"type": "effort",
|
|
56
|
+
"values": ["high", "max"]
|
|
53
57
|
}
|
|
54
58
|
],
|
|
55
|
-
"glm-
|
|
59
|
+
"glm-5.3-flashx": [
|
|
56
60
|
{
|
|
57
|
-
"type": "
|
|
61
|
+
"type": "effort",
|
|
62
|
+
"values": ["low", "high", "max"]
|
|
58
63
|
}
|
|
59
64
|
],
|
|
60
|
-
"glm-4.5-
|
|
65
|
+
"glm-4.5-air": [
|
|
61
66
|
{
|
|
62
67
|
"type": "toggle"
|
|
63
68
|
}
|
|
64
69
|
],
|
|
65
|
-
"glm-4.
|
|
70
|
+
"glm-4.5v": [
|
|
66
71
|
{
|
|
67
72
|
"type": "toggle"
|
|
68
73
|
}
|
|
69
74
|
],
|
|
70
|
-
"glm-4.
|
|
75
|
+
"glm-4.7": [
|
|
71
76
|
{
|
|
72
77
|
"type": "toggle"
|
|
73
78
|
}
|
|
74
79
|
],
|
|
75
|
-
"glm-
|
|
80
|
+
"glm-5.1": [
|
|
76
81
|
{
|
|
77
82
|
"type": "toggle"
|
|
78
83
|
}
|
|
79
84
|
],
|
|
80
|
-
"glm-5.3-
|
|
85
|
+
"glm-5.3-flash": [
|
|
81
86
|
{
|
|
82
87
|
"type": "effort",
|
|
83
88
|
"values": ["low", "high", "max"]
|
|
@@ -88,13 +93,9 @@
|
|
|
88
93
|
"type": "toggle"
|
|
89
94
|
}
|
|
90
95
|
],
|
|
91
|
-
"glm-
|
|
96
|
+
"glm-5v-turbo": [
|
|
92
97
|
{
|
|
93
98
|
"type": "toggle"
|
|
94
|
-
},
|
|
95
|
-
{
|
|
96
|
-
"type": "effort",
|
|
97
|
-
"values": ["high", "max"]
|
|
98
99
|
}
|
|
99
100
|
],
|
|
100
101
|
"glm-5": [
|
|
@@ -102,13 +103,12 @@
|
|
|
102
103
|
"type": "toggle"
|
|
103
104
|
}
|
|
104
105
|
],
|
|
105
|
-
"glm-5
|
|
106
|
+
"glm-4.5": [
|
|
106
107
|
{
|
|
107
|
-
"type": "
|
|
108
|
-
"values": ["low", "high", "max"]
|
|
108
|
+
"type": "toggle"
|
|
109
109
|
}
|
|
110
110
|
],
|
|
111
|
-
"glm-4.
|
|
111
|
+
"glm-4.6v": [
|
|
112
112
|
{
|
|
113
113
|
"type": "toggle"
|
|
114
114
|
}
|
|
@@ -3,31 +3,31 @@
|
|
|
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
|
-
"glm-5.3
|
|
6
|
+
"glm-5.3": [
|
|
7
7
|
{
|
|
8
8
|
"type": "effort",
|
|
9
9
|
"values": ["low", "high", "max"]
|
|
10
10
|
}
|
|
11
11
|
],
|
|
12
|
-
"
|
|
12
|
+
"deepseek-v4.1-flash": [
|
|
13
13
|
{
|
|
14
14
|
"type": "effort",
|
|
15
|
-
"values": ["low", "high", "max"]
|
|
15
|
+
"values": ["none", "low", "high", "max"]
|
|
16
16
|
}
|
|
17
17
|
],
|
|
18
|
-
"
|
|
18
|
+
"glm-5.3-flash": [
|
|
19
19
|
{
|
|
20
20
|
"type": "effort",
|
|
21
|
-
"values": ["
|
|
21
|
+
"values": ["low", "high", "max"]
|
|
22
22
|
}
|
|
23
23
|
],
|
|
24
|
-
"
|
|
24
|
+
"dolly2-security": [
|
|
25
25
|
{
|
|
26
26
|
"type": "effort",
|
|
27
27
|
"values": ["low", "high", "max"]
|
|
28
28
|
}
|
|
29
29
|
],
|
|
30
|
-
"
|
|
30
|
+
"dolly1-security": [
|
|
31
31
|
{
|
|
32
32
|
"type": "effort",
|
|
33
33
|
"values": ["low", "high", "max"]
|
|
@@ -9,6 +9,7 @@ import type { StorageThreadType } from '../memory/types.js';
|
|
|
9
9
|
import type { InputProcessor, InputProcessorOrWorkflow, OutputProcessor, OutputProcessorOrWorkflow } from '../processors/index.js';
|
|
10
10
|
import { RequestContext } from '../request-context/index.js';
|
|
11
11
|
import type { ApiRoute } from '../server/types.js';
|
|
12
|
+
import type { ChannelToolScope, ChannelToolsSettings } from './chat-tools.js';
|
|
12
13
|
import type { ChatChannelRenderContext } from './output-processor.js';
|
|
13
14
|
import type { ThreadHistoryLogContext } from './thread-history.js';
|
|
14
15
|
import type { ChannelAdapterConfig, ChannelConfig, ChannelContext } from './types.js';
|
|
@@ -292,6 +293,16 @@ export declare class AgentChannels {
|
|
|
292
293
|
* channel through the output processor.
|
|
293
294
|
*/
|
|
294
295
|
getTools(): Record<string, unknown>;
|
|
296
|
+
/**
|
|
297
|
+
* The conversation a channel tool call runs in, for `createChannelTools`.
|
|
298
|
+
* @internal
|
|
299
|
+
*/
|
|
300
|
+
__resolveToolScope(context: {
|
|
301
|
+
requestContext?: RequestContext;
|
|
302
|
+
agent?: {
|
|
303
|
+
threadId?: string;
|
|
304
|
+
};
|
|
305
|
+
} | undefined, settings: ChannelToolsSettings): Promise<ChannelToolScope>;
|
|
295
306
|
/**
|
|
296
307
|
* Resolve the adapter and chat thread for the current conversation. A run
|
|
297
308
|
* started by an inbound message carries them on request context. Any other
|
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
import type { Adapter, Chat } from 'chat';
|
|
2
|
+
import type { ToolAction, ToolExecutionContext } from '../tools/types.js';
|
|
3
|
+
/** What the channel tools may reach. Every field is optional. */
|
|
4
|
+
export interface ChannelToolsOptions {
|
|
5
|
+
/**
|
|
6
|
+
* Which channels the tools may read and post in: only the conversation's
|
|
7
|
+
* own channel (`'session'`), that channel plus `channelIds` (`'selected'`),
|
|
8
|
+
* or any channel the bot is a member of (`'all'`).
|
|
9
|
+
*
|
|
10
|
+
* @default 'session'
|
|
11
|
+
*/
|
|
12
|
+
channels?: 'session' | 'selected' | 'all';
|
|
13
|
+
/**
|
|
14
|
+
* Full channel ids (e.g. `'slack:C0123ABC'`) the tools may use when
|
|
15
|
+
* `channels` is `'selected'`.
|
|
16
|
+
*
|
|
17
|
+
* @default []
|
|
18
|
+
*/
|
|
19
|
+
channelIds?: string[];
|
|
20
|
+
/**
|
|
21
|
+
* `'post'` lets the tools post wherever they can read; `'read'` lets them
|
|
22
|
+
* read those channels but post only in the conversation's own channel.
|
|
23
|
+
*
|
|
24
|
+
* @default 'post'
|
|
25
|
+
*/
|
|
26
|
+
access?: 'read' | 'post';
|
|
27
|
+
/**
|
|
28
|
+
* `'anyone'` adds a `sendDirectMessage` tool that messages any person.
|
|
29
|
+
* Other people's direct messages with the bot, including group DMs, are never
|
|
30
|
+
* readable either way.
|
|
31
|
+
*
|
|
32
|
+
* @default 'none'
|
|
33
|
+
*/
|
|
34
|
+
directMessages?: 'none' | 'anyone';
|
|
35
|
+
}
|
|
36
|
+
/** {@link ChannelToolsOptions} with every default filled in. */
|
|
37
|
+
export type ChannelToolsSettings = Required<ChannelToolsOptions>;
|
|
38
|
+
/**
|
|
39
|
+
* The conversation a channel tool runs in and the checks it must pass. The
|
|
40
|
+
* tools resolve it from the run each time they are called, unless one is
|
|
41
|
+
* passed in as `scope`.
|
|
42
|
+
*/
|
|
43
|
+
export interface ChannelToolScope {
|
|
44
|
+
chat: Chat;
|
|
45
|
+
/** The adapter of the conversation's platform. */
|
|
46
|
+
adapter: Adapter;
|
|
47
|
+
/** The conversation's platform, e.g. `'slack'`. */
|
|
48
|
+
platform: string;
|
|
49
|
+
/** The conversation's own thread id, e.g. `'slack:C123:1712345678.000100'`. */
|
|
50
|
+
threadId: string;
|
|
51
|
+
/** The conversation's own channel id, e.g. `'slack:C123'`. */
|
|
52
|
+
channelId: string;
|
|
53
|
+
settings: ChannelToolsSettings;
|
|
54
|
+
/** The channel a thread or channel id belongs to. */
|
|
55
|
+
channelOf(id: string): string;
|
|
56
|
+
/** Rejects unless the tool may read `id` (a thread or channel id). */
|
|
57
|
+
assertReadable(id: string): Promise<void>;
|
|
58
|
+
/** Rejects unless the tool may post in `id` (a thread or channel id). */
|
|
59
|
+
assertPostable(id: string): Promise<void>;
|
|
60
|
+
/** One sentence naming the channels this conversation can use. */
|
|
61
|
+
describe(): string;
|
|
62
|
+
}
|
|
63
|
+
/** Options for {@link createChannelTools} and platform tool sets built the same way. */
|
|
64
|
+
export interface CreateChannelToolsOptions extends ChannelToolsOptions {
|
|
65
|
+
/**
|
|
66
|
+
* A fixed conversation for every call, from {@link createChannelToolScope}.
|
|
67
|
+
* Its settings replace the options above. Without it, each call uses the
|
|
68
|
+
* conversation the run is in.
|
|
69
|
+
*/
|
|
70
|
+
scope?: ChannelToolScope;
|
|
71
|
+
}
|
|
72
|
+
export type ChannelTools = Record<string, ToolAction<any, any, any, any, any>>;
|
|
73
|
+
export declare const DEFAULT_CHANNEL_TOOLS_SETTINGS: ChannelToolsSettings;
|
|
74
|
+
export declare function resolveChannelToolsSettings(options?: ChannelToolsOptions): ChannelToolsSettings;
|
|
75
|
+
/**
|
|
76
|
+
* The checks every channel tool runs before it reads or posts: the
|
|
77
|
+
* conversation may use its own channel, plus whatever `settings` grant.
|
|
78
|
+
* Other people's direct messages with the bot stay off limits even when every
|
|
79
|
+
* channel is granted.
|
|
80
|
+
*/
|
|
81
|
+
export declare function createChannelToolScope({ chat, adapter, platform, threadId, settings, }: {
|
|
82
|
+
chat: Chat;
|
|
83
|
+
adapter: Adapter;
|
|
84
|
+
platform: string;
|
|
85
|
+
threadId: string;
|
|
86
|
+
settings: ChannelToolsSettings;
|
|
87
|
+
}): ChannelToolScope;
|
|
88
|
+
/**
|
|
89
|
+
* The conversation a tool call runs in: the fixed `scope` when one was given,
|
|
90
|
+
* otherwise the channel thread of the run calling the tool, found through the
|
|
91
|
+
* calling agent's channels the same way `add_reaction` finds it. For tools
|
|
92
|
+
* built like {@link createChannelTools}, e.g. a platform's own tool set.
|
|
93
|
+
*/
|
|
94
|
+
export declare function channelToolScopeResolver(options?: CreateChannelToolsOptions): {
|
|
95
|
+
settings: ChannelToolsSettings;
|
|
96
|
+
resolve(context: ToolExecutionContext | undefined): Promise<ChannelToolScope>;
|
|
97
|
+
};
|
|
98
|
+
/** Which id each tool targets, and whether it reads or posts there. */
|
|
99
|
+
declare const CHAT_TOOLS: {
|
|
100
|
+
readonly fetchMessages: {
|
|
101
|
+
readonly target: 'threadId';
|
|
102
|
+
readonly post: false;
|
|
103
|
+
};
|
|
104
|
+
readonly fetchChannelMessages: {
|
|
105
|
+
readonly target: 'channelId';
|
|
106
|
+
readonly post: false;
|
|
107
|
+
};
|
|
108
|
+
readonly fetchThread: {
|
|
109
|
+
readonly target: 'threadId';
|
|
110
|
+
readonly post: false;
|
|
111
|
+
};
|
|
112
|
+
readonly listThreads: {
|
|
113
|
+
readonly target: 'channelId';
|
|
114
|
+
readonly post: false;
|
|
115
|
+
};
|
|
116
|
+
readonly getThreadParticipants: {
|
|
117
|
+
readonly target: 'threadId';
|
|
118
|
+
readonly post: false;
|
|
119
|
+
};
|
|
120
|
+
readonly getChannelInfo: {
|
|
121
|
+
readonly target: 'channelId';
|
|
122
|
+
readonly post: false;
|
|
123
|
+
};
|
|
124
|
+
readonly postMessage: {
|
|
125
|
+
readonly target: 'threadId';
|
|
126
|
+
readonly post: true;
|
|
127
|
+
};
|
|
128
|
+
readonly postChannelMessage: {
|
|
129
|
+
readonly target: 'channelId';
|
|
130
|
+
readonly post: true;
|
|
131
|
+
};
|
|
132
|
+
};
|
|
133
|
+
export type ChannelToolName = keyof typeof CHAT_TOOLS | 'sendDirectMessage';
|
|
134
|
+
/**
|
|
135
|
+
* The Chat SDK's read and post tools, for an agent with channels:
|
|
136
|
+
* fetchMessages, fetchChannelMessages, fetchThread, listThreads,
|
|
137
|
+
* getThreadParticipants, getChannelInfo, postMessage, postChannelMessage, and
|
|
138
|
+
* sendDirectMessage when `directMessages` is `'anyone'`. Names, inputs and
|
|
139
|
+
* outputs are the SDK's; posting needs no approval.
|
|
140
|
+
*
|
|
141
|
+
* Each call works in the channel thread of the run calling it and stays
|
|
142
|
+
* inside the channels the options grant (by default, only that
|
|
143
|
+
* conversation's own channel). Nothing is added to the agent for you:
|
|
144
|
+
*
|
|
145
|
+
* ```ts
|
|
146
|
+
* const agent = new Agent({
|
|
147
|
+
* tools: { ...(await createChannelTools({ access: 'read' })) },
|
|
148
|
+
* channels: { adapters: { slack: createSlackAdapter() } },
|
|
149
|
+
* });
|
|
150
|
+
* ```
|
|
151
|
+
*
|
|
152
|
+
* Requires zod 4.2 or newer.
|
|
153
|
+
*/
|
|
154
|
+
export declare function createChannelTools(options?: CreateChannelToolsOptions): Promise<ChannelTools>;
|
|
155
|
+
export {};
|
|
156
|
+
//# sourceMappingURL=chat-tools.d.ts.map
|
package/dist/channels/index.cjs
CHANGED
|
@@ -1,14 +1,19 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_run_registry = require("../run-registry-
|
|
3
|
-
const require_channels = require("../channels-
|
|
2
|
+
const require_run_registry = require("../run-registry-5_LQBGn_.cjs");
|
|
3
|
+
const require_channels = require("../channels-q6qnuRNV.cjs");
|
|
4
4
|
exports.AgentChannels = require_run_registry.AgentChannels;
|
|
5
5
|
exports.AgentControllerChannels = require_channels.AgentControllerChannels;
|
|
6
6
|
exports.CHAT_CHANNEL_RENDER_CONTEXT_KEY = require_run_registry.CHAT_CHANNEL_RENDER_CONTEXT_KEY;
|
|
7
7
|
exports.ChannelSessionRejectedError = require_run_registry.ChannelSessionRejectedError;
|
|
8
8
|
exports.ChatChannelProcessor = require_run_registry.ChatChannelProcessor;
|
|
9
|
+
exports.DEFAULT_CHANNEL_TOOLS_SETTINGS = require_run_registry.DEFAULT_CHANNEL_TOOLS_SETTINGS;
|
|
9
10
|
exports.MastraStateAdapter = require_run_registry.MastraStateAdapter;
|
|
11
|
+
exports.channelToolScopeResolver = require_run_registry.channelToolScopeResolver;
|
|
12
|
+
exports.createChannelToolScope = require_run_registry.createChannelToolScope;
|
|
13
|
+
exports.createChannelTools = require_run_registry.createChannelTools;
|
|
10
14
|
exports.defaultTypingStatus = require_run_registry.defaultTypingStatus;
|
|
11
15
|
exports.formatToolApproval = require_run_registry.formatToolApproval;
|
|
12
16
|
exports.renderBuiltInToolEvent = require_run_registry.renderBuiltInToolEvent;
|
|
17
|
+
exports.resolveChannelToolsSettings = require_run_registry.resolveChannelToolsSettings;
|
|
13
18
|
exports.resolveWaitUntil = require_run_registry.resolveWaitUntil;
|
|
14
19
|
exports.toChatLogger = require_run_registry.toChatLogger;
|
package/dist/channels/index.d.ts
CHANGED
|
@@ -2,6 +2,8 @@ export { AgentChannels } from './agent-channels.js';
|
|
|
2
2
|
export { AgentControllerChannels } from './agent-controller-channels.js';
|
|
3
3
|
export type { AgentControllerChannelsConfig, ChannelSessionResolve, ChannelSessionResolveContext, ChannelSessionStart, ChannelSessionStartContext, ChannelStaleToolApproval, ChannelStaleToolApprovalContext, } from './agent-controller-channels.js';
|
|
4
4
|
export { toChatLogger } from './chat-logger.js';
|
|
5
|
+
export { channelToolScopeResolver, createChannelTools, createChannelToolScope, DEFAULT_CHANNEL_TOOLS_SETTINGS, resolveChannelToolsSettings, } from './chat-tools.js';
|
|
6
|
+
export type { ChannelToolName, ChannelTools, ChannelToolScope, ChannelToolsOptions, ChannelToolsSettings, CreateChannelToolsOptions, } from './chat-tools.js';
|
|
5
7
|
export type { ToChatLoggerOptions } from './chat-logger.js';
|
|
6
8
|
export { ChannelSessionRejectedError } from './errors.js';
|
|
7
9
|
export { ChatChannelProcessor } from './processor.js';
|
package/dist/channels/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as AgentControllerChannels } from "../channels-
|
|
3
|
-
export { AgentChannels, AgentControllerChannels, CHAT_CHANNEL_RENDER_CONTEXT_KEY, ChannelSessionRejectedError, ChatChannelProcessor, MastraStateAdapter, defaultTypingStatus, formatToolApproval, renderBuiltInToolEvent, resolveWaitUntil, toChatLogger };
|
|
1
|
+
import { An as ChatChannelProcessor, Bn as toChatLogger, Dn as resolveWaitUntil, En as AgentChannels, Fn as DEFAULT_CHANNEL_TOOLS_SETTINGS, In as channelToolScopeResolver, Ln as createChannelToolScope, Mn as renderBuiltInToolEvent, Nn as formatToolApproval, On as defaultTypingStatus, Pn as ChannelSessionRejectedError, Rn as createChannelTools, jn as CHAT_CHANNEL_RENDER_CONTEXT_KEY, kn as MastraStateAdapter, zn as resolveChannelToolsSettings } from "../run-registry-DC03XLeZ.js";
|
|
2
|
+
import { t as AgentControllerChannels } from "../channels-Dx4jiXeK.js";
|
|
3
|
+
export { AgentChannels, AgentControllerChannels, CHAT_CHANNEL_RENDER_CONTEXT_KEY, ChannelSessionRejectedError, ChatChannelProcessor, DEFAULT_CHANNEL_TOOLS_SETTINGS, MastraStateAdapter, channelToolScopeResolver, createChannelToolScope, createChannelTools, defaultTypingStatus, formatToolApproval, renderBuiltInToolEvent, resolveChannelToolsSettings, resolveWaitUntil, toChatLogger };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { En as AgentChannels, Pn as ChannelSessionRejectedError } from "./run-registry-DC03XLeZ.js";
|
|
2
2
|
import { i as MastraFGAPermissions } from "./ee-iTj2bRDt-By_B9ngH.js";
|
|
3
3
|
// src/channels/agent-controller-channels.ts
|
|
4
4
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_run_registry = require("../run-registry-
|
|
3
|
-
require("../state-processor-
|
|
4
|
-
const require_signals = require("../signals-
|
|
5
|
-
const require_workspace = require("../workspace-
|
|
2
|
+
const require_run_registry = require("../run-registry-5_LQBGn_.cjs");
|
|
3
|
+
require("../state-processor-kRNZ38Nf.cjs");
|
|
4
|
+
const require_signals = require("../signals-B1JSj-Ew.cjs");
|
|
5
|
+
const require_workspace = require("../workspace-D2drutNg.cjs");
|
|
6
6
|
// src/coding-agent/prompt.ts
|
|
7
7
|
function buildBasePrompt(ctx) {
|
|
8
8
|
const commonBinaries = formatCommonBinaries(ctx.commonBinaries);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "../state-processor-
|
|
3
|
-
import { t as TaskSignalProvider } from "../signals-
|
|
4
|
-
import {
|
|
1
|
+
import { P as Agent, jo as CyberRefusalHandler, us as defaultStabilityErrorProcessors } from "../run-registry-DC03XLeZ.js";
|
|
2
|
+
import "../state-processor-B9kxpM53.js";
|
|
3
|
+
import { t as TaskSignalProvider } from "../signals-De9VnwL2.js";
|
|
4
|
+
import { N as LocalSandbox, at as LocalFilesystem, o as Workspace } from "../workspace-D7TIleIt.js";
|
|
5
5
|
// src/coding-agent/prompt.ts
|
|
6
6
|
function buildBasePrompt(ctx) {
|
|
7
7
|
const commonBinaries = formatCommonBinaries(ctx.commonBinaries);
|
|
@@ -515,6 +515,35 @@ function isAppendOnlySince(storedObservations, snapshotObservations) {
|
|
|
515
515
|
const snapshot = snapshotObservations ?? "";
|
|
516
516
|
return stored === snapshot || stored.startsWith(snapshot);
|
|
517
517
|
}
|
|
518
|
+
/**
|
|
519
|
+
* Whether the stored buffered reflection and reflected line count are still the ones in
|
|
520
|
+
* `snapshot`, so a buffered-reflection swap activates exactly the buffer the caller read.
|
|
521
|
+
*
|
|
522
|
+
* Another writer can extend the buffer (`updateBufferedReflection` appends and moves the line
|
|
523
|
+
* count) after the caller's read. The activated text alone cannot tell the two apart: an
|
|
524
|
+
* extension that repeats the unreflected tail and moves the cut past it produces the same text.
|
|
525
|
+
* A snapshot without a buffered reflection (callers that never read one) is not checked.
|
|
526
|
+
*/
|
|
527
|
+
function isBufferedReflectionUnchangedSince(stored, snapshot) {
|
|
528
|
+
if (snapshot.bufferedReflection === void 0 || snapshot.bufferedReflection === null) return true;
|
|
529
|
+
if ((stored.bufferedReflection ?? "") !== snapshot.bufferedReflection) return false;
|
|
530
|
+
if (snapshot.reflectedObservationLineCount === void 0 || snapshot.reflectedObservationLineCount === null) return true;
|
|
531
|
+
return (stored.reflectedObservationLineCount ?? 0) === snapshot.reflectedObservationLineCount;
|
|
532
|
+
}
|
|
533
|
+
/**
|
|
534
|
+
* The generation a buffered-reflection swap just created, marked with
|
|
535
|
+
* `bufferedReflectionVerified: true` when the swap checked the caller's buffered reflection with
|
|
536
|
+
* `isBufferedReflectionUnchangedSince` in the same atomic step. A snapshot without a buffered
|
|
537
|
+
* reflection was not checked, so its successor is returned unmarked. Always returns a new object,
|
|
538
|
+
* so a store's own record is never handed out or mutated.
|
|
539
|
+
*/
|
|
540
|
+
function withBufferedReflectionVerified(successor, snapshot) {
|
|
541
|
+
if (snapshot.bufferedReflection === void 0 || snapshot.bufferedReflection === null) return { ...successor };
|
|
542
|
+
return {
|
|
543
|
+
...successor,
|
|
544
|
+
bufferedReflectionVerified: true
|
|
545
|
+
};
|
|
546
|
+
}
|
|
518
547
|
// src/storage/domains/observability/tracing.ts
|
|
519
548
|
/**
|
|
520
549
|
* Creates an omit key object from a Zod schema shape.
|
|
@@ -5487,6 +5516,12 @@ Object.defineProperty(exports, "isBufferedChunkCoveredByCursor", {
|
|
|
5487
5516
|
return isBufferedChunkCoveredByCursor;
|
|
5488
5517
|
}
|
|
5489
5518
|
});
|
|
5519
|
+
Object.defineProperty(exports, "isBufferedReflectionUnchangedSince", {
|
|
5520
|
+
enumerable: true,
|
|
5521
|
+
get: function() {
|
|
5522
|
+
return isBufferedReflectionUnchangedSince;
|
|
5523
|
+
}
|
|
5524
|
+
});
|
|
5490
5525
|
Object.defineProperty(exports, "isPreviewTruncated", {
|
|
5491
5526
|
enumerable: true,
|
|
5492
5527
|
get: function() {
|
|
@@ -5721,3 +5756,9 @@ Object.defineProperty(exports, "updateSpanRecordSchema", {
|
|
|
5721
5756
|
return updateSpanRecordSchema;
|
|
5722
5757
|
}
|
|
5723
5758
|
});
|
|
5759
|
+
Object.defineProperty(exports, "withBufferedReflectionVerified", {
|
|
5760
|
+
enumerable: true,
|
|
5761
|
+
get: function() {
|
|
5762
|
+
return withBufferedReflectionVerified;
|
|
5763
|
+
}
|
|
5764
|
+
});
|
|
@@ -515,6 +515,35 @@ function isAppendOnlySince(storedObservations, snapshotObservations) {
|
|
|
515
515
|
const snapshot = snapshotObservations ?? "";
|
|
516
516
|
return stored === snapshot || stored.startsWith(snapshot);
|
|
517
517
|
}
|
|
518
|
+
/**
|
|
519
|
+
* Whether the stored buffered reflection and reflected line count are still the ones in
|
|
520
|
+
* `snapshot`, so a buffered-reflection swap activates exactly the buffer the caller read.
|
|
521
|
+
*
|
|
522
|
+
* Another writer can extend the buffer (`updateBufferedReflection` appends and moves the line
|
|
523
|
+
* count) after the caller's read. The activated text alone cannot tell the two apart: an
|
|
524
|
+
* extension that repeats the unreflected tail and moves the cut past it produces the same text.
|
|
525
|
+
* A snapshot without a buffered reflection (callers that never read one) is not checked.
|
|
526
|
+
*/
|
|
527
|
+
function isBufferedReflectionUnchangedSince(stored, snapshot) {
|
|
528
|
+
if (snapshot.bufferedReflection === void 0 || snapshot.bufferedReflection === null) return true;
|
|
529
|
+
if ((stored.bufferedReflection ?? "") !== snapshot.bufferedReflection) return false;
|
|
530
|
+
if (snapshot.reflectedObservationLineCount === void 0 || snapshot.reflectedObservationLineCount === null) return true;
|
|
531
|
+
return (stored.reflectedObservationLineCount ?? 0) === snapshot.reflectedObservationLineCount;
|
|
532
|
+
}
|
|
533
|
+
/**
|
|
534
|
+
* The generation a buffered-reflection swap just created, marked with
|
|
535
|
+
* `bufferedReflectionVerified: true` when the swap checked the caller's buffered reflection with
|
|
536
|
+
* `isBufferedReflectionUnchangedSince` in the same atomic step. A snapshot without a buffered
|
|
537
|
+
* reflection was not checked, so its successor is returned unmarked. Always returns a new object,
|
|
538
|
+
* so a store's own record is never handed out or mutated.
|
|
539
|
+
*/
|
|
540
|
+
function withBufferedReflectionVerified(successor, snapshot) {
|
|
541
|
+
if (snapshot.bufferedReflection === void 0 || snapshot.bufferedReflection === null) return { ...successor };
|
|
542
|
+
return {
|
|
543
|
+
...successor,
|
|
544
|
+
bufferedReflectionVerified: true
|
|
545
|
+
};
|
|
546
|
+
}
|
|
518
547
|
// src/storage/domains/observability/tracing.ts
|
|
519
548
|
/**
|
|
520
549
|
* Creates an omit key object from a Zod schema shape.
|
|
@@ -4527,4 +4556,4 @@ const WORKFLOW_RUN_JOURNAL_TABLE_CONFIGS = {
|
|
|
4527
4556
|
]
|
|
4528
4557
|
}
|
|
4529
4558
|
};
|
|
4530
|
-
export { TABLE_CHANNEL_INSTALLATIONS as $, listTracesLightResponseSchema as $n, TABLE_WORKSPACES as $t, MCP_CLIENTS_SCHEMA as A, computeTraceStatus as An,
|
|
4559
|
+
export { TABLE_CHANNEL_INSTALLATIONS as $, listTracesLightResponseSchema as $n, TABLE_WORKSPACES as $t, MCP_CLIENTS_SCHEMA as A, computeTraceStatus as An, scoringEntityTypeSchema as Ar, TABLE_OBSERVATIONAL_MEMORY as At, PROMPT_BLOCK_VERSIONS_SCHEMA as B, getSpansArgsSchema as Bn, TABLE_SKILLS as Bt, KNOWLEDGE_SCOPE_GRANTS_SCHEMA as C, branchesFilterSchema as Cn, extractTrajectory as Cr, TABLE_MCP_CLIENTS as Ct, KNOWLEDGE_V2_MENTIONS_SCHEMA as D, buildPreview as Dn, saveScorePayloadSchema as Dr, TABLE_MEMORY_RUN_FENCES as Dt, KNOWLEDGE_V2_ACTIVITY_SCHEMA as E, buildInputPreview as En, listScoresResponseSchema as Er, TABLE_MCP_SERVER_VERSIONS as Et, NOTIFICATIONS_SCHEMA as F, getBranchResponseSchema as Fn, scoringInputWithExtractStepResultAndScoreAndReasonSchema as Fr, TABLE_SCHEDULE_TRIGGERS as Ft, SKILLS_SCHEMA as G, getTraceLightResponseSchema as Gn, TABLE_THREAD_STATE as Gt, SCORERS_SCHEMA as H, getStringAttribute as Hn, TABLE_SKILL_VERSIONS as Ht, OBSERVATIONAL_MEMORY_SCHEMA as I, getRootSpanArgsSchema as In, scoringInputWithExtractStepResultSchema as Ir, TABLE_SCHEMAS as It, SPAN_SCHEMA as J, lightSpanRecordSchema as Jn, TABLE_WORKFLOW_DEFINITIONS as Jt, SKILL_BLOBS_SCHEMA as K, getTraceResponseSchema as Kn, TABLE_TOOL_PROVIDER_CONNECTIONS as Kt, OBSERVATIONAL_MEMORY_TABLE_SCHEMA as L, getRootSpanResponseSchema as Ln, scoringPromptsSchema as Lr, TABLE_SCORERS as Lt, MCP_SERVERS_SCHEMA as M, createSpanRecordSchema as Mn, scoringHookInputSchema as Mr, TABLE_PROMPT_BLOCK_VERSIONS as Mt, MCP_SERVER_VERSIONS_SCHEMA as N, extractBranchSpans as Nn, scoringInputSchema as Nr, TABLE_RESOURCES as Nt, KNOWLEDGE_V2_NODES_SCHEMA as O, buildPreviewFromJson as On, scoreResultSchema as Or, TABLE_MESSAGES as Ot, MEMORY_RUN_FENCES_SCHEMA as P, getBranchArgsSchema as Pn, scoringInputWithExtractStepResultAndAnalyzeStepResultSchema as Pr, TABLE_SCHEDULES as Pt, TABLE_CHANNEL_CONFIG as Q, listTracesArgsSchema as Qn, TABLE_WORKFLOW_SNAPSHOT as Qt, OLD_SPAN_SCHEMA as R, getSpanArgsSchema as Rn, scoringSourceSchema as Rr, TABLE_SCORER_DEFINITIONS as Rt, KNOWLEDGE_SCOPE_ADDRESSES_SCHEMA as S, batchUpdateSpansArgsSchema as Sn, withBufferedReflectionVerified as Sr, TABLE_KNOWLEDGE_SEMANTIC_OUTBOX as St, KNOWLEDGE_TABLE_NAMES as T, branchesOrderBySchema as Tn, extractWorkflowTrajectory as Tr, TABLE_MCP_SERVERS as Tt, SCORER_DEFINITIONS_SCHEMA as U, getStructureResponseSchema as Un, TABLE_SPANS as Ut, RUN_FENCING_TABLE_SCHEMAS as V, getSpansResponseSchema as Vn, TABLE_SKILL_BLOBS as Vt, SCORER_DEFINITION_VERSIONS_SCHEMA as W, getTraceArgsSchema as Wn, TABLE_THREADS as Wt, TABLE_AGENT_VERSIONS as X, listBranchesResponseSchema as Xn, TABLE_WORKFLOW_RUN_ENTRIES as Xt, TABLE_AGENTS as Y, listBranchesArgsSchema as Yn, TABLE_WORKFLOW_RUNS as Yt, TABLE_BACKGROUND_TASKS as Z, listScoresBySpanResponseSchema as Zn, TABLE_WORKFLOW_RUN_OWNERS as Zt, KNOWLEDGE_NODE_ADDRESSES_SCHEMA as _, INPUT_PREVIEW_MAX_LENGTH as _n, isAppendOnlySince as _r, TABLE_KNOWLEDGE_PROPOSALS as _t, DATASET_VERSIONS_SCHEMA as a, WORKFLOW_RUN_ENTRIES_SCHEMA as an, spanRecordSchema as ar, TABLE_EXPERIMENT_RESULTS as at, KNOWLEDGE_RECORDS_SCHEMA as b, batchDeleteTracesArgsSchema as bn, maxObservationCursor as br, TABLE_KNOWLEDGE_SCOPE_ADDRESSES as bt, FAVORITES_SCHEMA as c, WORKSPACES_SCHEMA as cn, toTraceSpans as cr, TABLE_KNOWLEDGE_ACCESS_STATE as ct, KNOWLEDGE_ACTIVITY_SCHEMA as d, STORAGE_VISIBILITY_VALUES as dn, tracesOrderByFieldSchema as dr, TABLE_KNOWLEDGE_IMPORT_RUNS as dt, TABLE_WORKSPACE_VERSIONS as en, listTracesResponseSchema as er, TABLE_CONFIGS as et, KNOWLEDGE_CURSORS_SCHEMA as f, buildStorageSchema as fn, tracesOrderBySchema as fr, TABLE_KNOWLEDGE_IMPORT_STATE as ft, KNOWLEDGE_NODES_SCHEMA as g, BRANCH_SPAN_TYPE_SET as gn, compareObservationalMemoryHeadOrder as gr, TABLE_KNOWLEDGE_NODE_SCOPES as gt, KNOWLEDGE_MENTIONS_SCHEMA as h, BRANCH_SPAN_TYPES as hn, assertActiveObservationsApplied as hr, TABLE_KNOWLEDGE_NODE_ADDRESSES as ht, DATASET_ITEMS_SCHEMA as i, WORKFLOW_RUNS_SCHEMA as in, spanIdsSchema as ir, TABLE_EXPERIMENTS as it, MCP_CLIENT_VERSIONS_SCHEMA as j, createSpanArgsSchema as jn, scoringExtractStepResultSchema as jr, TABLE_PROMPT_BLOCKS as jt, KNOWLEDGE_V2_RECORDS_SCHEMA as k, buildStoredPreview as kn, scoreRowDataSchema as kr, TABLE_NOTIFICATIONS as kt, HARNESS_SESSIONS_SCHEMA as l, WORKSPACE_VERSIONS_SCHEMA as ln, traceSpanSchema as lr, TABLE_KNOWLEDGE_ACTIVITY as lt, KNOWLEDGE_IMPORT_STATE_SCHEMA as m, BATCH_DELETE_TRACES_MAX_IDS as mn, updateSpanRecordSchema as mr, TABLE_KNOWLEDGE_NODES as mt, AGENT_VERSIONS_SCHEMA as n, TOOL_PROVIDER_CONNECTIONS_SCHEMA as nn, scoreTracesResponseSchema as nr, TABLE_DATASET_ITEMS as nt, EXPERIMENTS_SCHEMA as o, WORKFLOW_RUN_JOURNAL_TABLE_CONFIGS as on, toLightSpanRecord as or, TABLE_FAVORITES as ot, KNOWLEDGE_IMPORT_RUNS_SCHEMA as p, matchesExpectedWorkflowStatus as pn, updateSpanArgsSchema as pr, TABLE_KNOWLEDGE_MENTIONS as pt, SKILL_VERSIONS_SCHEMA as q, isPreviewTruncated as qn, TABLE_TRACES as qt, DATASETS_SCHEMA as r, WORKFLOW_DEFINITIONS_SCHEMA as rn, spanIds as rr, TABLE_DATASET_VERSIONS as rt, EXPERIMENT_RESULTS_SCHEMA as s, WORKFLOW_RUN_OWNERS_SCHEMA as sn, toTraceSpan as sr, TABLE_HARNESS_SESSIONS as st, AGENTS_SCHEMA as t, THREAD_STATE_SCHEMA as tn, scoreTracesRequestSchema as tr, TABLE_DATASETS as tt, KNOWLEDGE_ACCESS_STATE_SCHEMA as u, STORAGE_FAVORITE_ENTITY_TYPES as un, tracesFilterSchema as ur, TABLE_KNOWLEDGE_CURSORS as ut, KNOWLEDGE_NODE_SCOPES_SCHEMA as v, TraceStatus as vn, isBufferedChunkCoveredByCursor as vr, TABLE_KNOWLEDGE_RECORDS as vt, KNOWLEDGE_SEMANTIC_OUTBOX_SCHEMA as w, branchesOrderByFieldSchema as wn, extractTrajectoryFromTrace as wr, TABLE_MCP_CLIENT_VERSIONS as wt, KNOWLEDGE_RECORD_SCOPES_SCHEMA as x, batchDeleteTracesResponseSchema as xn, planReflectionGenerationText as xr, TABLE_KNOWLEDGE_SCOPE_GRANTS as xt, KNOWLEDGE_PROPOSALS_SCHEMA as y, batchCreateSpansArgsSchema as yn, isBufferedReflectionUnchangedSince as yr, TABLE_KNOWLEDGE_RECORD_SCOPES as yt, PROMPT_BLOCKS_SCHEMA as z, getSpanResponseSchema as zn, scoringValueSchema as zr, TABLE_SCORER_DEFINITION_VERSIONS as zt };
|
package/dist/datasets/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_run_registry = require("../run-registry-
|
|
3
|
-
const require_manager = require("../manager-
|
|
2
|
+
const require_run_registry = require("../run-registry-5_LQBGn_.cjs");
|
|
3
|
+
const require_manager = require("../manager-DwFnIrI6.cjs");
|
|
4
4
|
let zod_v4 = require("zod/v4");
|
|
5
5
|
let crypto = require("crypto");
|
|
6
6
|
// src/datasets/snapshot.ts
|