@mastra/mcp-docs-server 1.3.9 → 1.3.10-alpha.10
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/.docs/docs/agents/code-mode.md +2 -2
- package/.docs/docs/agents/guardrails.md +13 -5
- package/.docs/docs/agents/human-in-the-loop.md +27 -5
- package/.docs/docs/agents/networks.md +1 -1
- package/.docs/docs/agents/overview.md +7 -7
- package/.docs/docs/agents/processors.md +69 -20
- package/.docs/docs/agents/structured-output.md +6 -6
- package/.docs/docs/agents/tools.md +15 -10
- package/.docs/docs/browser.md +13 -1
- package/.docs/docs/channels.md +48 -6
- package/.docs/docs/connections/a2a.md +1 -1
- package/.docs/docs/connections/acp.md +2 -2
- package/.docs/docs/connections/mcp.md +159 -50
- package/.docs/docs/connections/overview.md +1 -1
- package/.docs/docs/connections/sdk-agents.md +8 -8
- package/.docs/docs/deployment/mastra-server.md +2 -0
- package/.docs/docs/deployment/monorepo.md +2 -0
- package/.docs/docs/develop.md +1 -1
- package/.docs/docs/evals/custom-scorers.md +5 -5
- package/.docs/docs/evals/experiments.md +2 -2
- package/.docs/docs/evals/multi-turn.md +2 -2
- package/.docs/docs/evals/overview.md +6 -4
- package/.docs/docs/evals/quick-checks.md +2 -2
- package/.docs/docs/guides/build-an-eval-loop.md +3 -3
- package/.docs/docs/guides/context-engineering.md +13 -6
- package/.docs/docs/guides/mcp-authentication-authorization.md +2 -2
- package/.docs/docs/guides/streaming.md +1 -1
- package/.docs/docs/harness/agent-controller.md +7 -7
- package/.docs/docs/harness/background-tasks.md +7 -3
- package/.docs/docs/harness/durable-agents.md +11 -6
- package/.docs/docs/harness/goals.md +7 -5
- package/.docs/docs/harness/overview.md +2 -2
- package/.docs/docs/harness/schedules.md +10 -5
- package/.docs/docs/index.md +6 -6
- package/.docs/docs/mastra-platform/connect/channels.md +1 -1
- package/.docs/docs/mastra-platform/connect/providers.md +27 -26
- package/.docs/docs/mastra-platform/connect/tools.md +4 -4
- package/.docs/docs/mastra-platform/deploy.md +2 -0
- package/.docs/docs/mastra-platform/observability.md +1 -1
- package/.docs/docs/mastra-platform/server.md +10 -6
- package/.docs/docs/mastra-platform/studio.md +1 -1
- package/.docs/docs/mastra-platform/system-environment-variables.md +3 -0
- package/.docs/docs/mastra-platform/workspaces.md +1 -1
- package/.docs/docs/memory/memory-processors.md +7 -7
- package/.docs/docs/memory/message-history.md +8 -5
- package/.docs/docs/memory/multi-user-threads.md +1 -1
- package/.docs/docs/memory/observational-memory.md +24 -14
- package/.docs/docs/memory/overview.md +6 -0
- package/.docs/docs/memory/semantic-recall.md +7 -3
- package/.docs/docs/memory/working-memory.md +2 -2
- package/.docs/docs/observability/integrations/exporters/mastra-storage.md +2 -1
- package/.docs/docs/observability/logging.md +8 -5
- package/.docs/docs/observability/tracing/overview.md +17 -0
- package/.docs/docs/sandbox/filesystem.md +1 -0
- package/.docs/docs/sandbox/overview.md +1 -1
- package/.docs/docs/sandbox/search.md +11 -0
- package/.docs/docs/server/custom-adapters.md +53 -1
- package/.docs/docs/server/custom-api-routes.md +2 -0
- package/.docs/docs/server/mastra-client.md +1 -1
- package/.docs/docs/server/middleware.md +1 -1
- package/.docs/docs/server/request-context.md +9 -3
- package/.docs/docs/server/server-adapters.md +12 -204
- package/.docs/docs/signals/notifications.md +233 -0
- package/.docs/docs/signals/overview.md +94 -0
- package/.docs/docs/signals/running-across-processes.md +132 -0
- package/.docs/docs/signals/sending-signals.md +166 -0
- package/.docs/docs/signals/signal-providers.md +278 -0
- package/.docs/docs/signals/state-signals.md +103 -0
- package/.docs/docs/signals/thread-streams.md +125 -0
- package/.docs/docs/skills.md +4 -4
- package/.docs/docs/storage.md +1 -1
- package/.docs/docs/studio/editor.md +39 -23
- package/.docs/docs/studio/overview.md +2 -0
- package/.docs/docs/subagents.md +13 -7
- package/.docs/docs/workflows/agents-and-tools.md +16 -1
- package/.docs/docs/workflows/control-flow.md +57 -0
- package/.docs/docs/workflows/human-in-the-loop.md +3 -0
- package/.docs/docs/workflows/overview.md +9 -1
- package/.docs/docs/workflows/scheduled-workflows.md +10 -2
- package/.docs/docs/workflows/suspend-and-resume.md +6 -0
- package/.docs/docs/workflows/workflow-state.md +12 -0
- package/.docs/integrations/agentic-ui/ai-sdk-ui.md +1 -1
- package/.docs/integrations/agentic-ui/copilotkit.md +3 -1
- package/.docs/integrations/agentic-ui/openui.md +1 -1
- package/.docs/integrations/auth/better-auth.md +2 -0
- package/.docs/integrations/auth/google.md +2 -0
- package/.docs/integrations/auth/okta.md +2 -0
- package/.docs/integrations/browsers/agent-browser.md +1 -1
- package/.docs/integrations/browsers/browser-viewer.md +1 -1
- package/.docs/integrations/browsers/firecrawl.md +1 -1
- package/.docs/integrations/browsers/stagehand.md +6 -6
- package/.docs/integrations/channels/discord.md +1 -1
- package/.docs/integrations/channels/github.md +2 -2
- package/.docs/integrations/channels/imessage.md +2 -50
- package/.docs/integrations/channels/slack.md +1 -1
- package/.docs/integrations/channels/teams.md +1 -1
- package/.docs/integrations/channels/telegram.md +1 -1
- package/.docs/integrations/channels/whatsapp.md +1 -1
- package/.docs/integrations/databases/aurora-dsql.md +3 -3
- package/.docs/integrations/databases/cloudflare-kv.md +4 -0
- package/.docs/integrations/databases/dynamodb.md +4 -4
- package/.docs/integrations/databases/elasticsearch.md +1 -1
- package/.docs/integrations/databases/mongodb.md +1 -1
- package/.docs/integrations/databases/oracledb.md +1 -1
- package/.docs/integrations/databases/postgresql.md +5 -5
- package/.docs/integrations/databases/redis.md +1 -1
- package/.docs/integrations/databases/upstash.md +1 -1
- package/.docs/integrations/deploy/inngest.md +1 -0
- package/.docs/integrations/deploy/kubernetes.md +1 -1
- package/.docs/integrations/deploy/neon.md +2 -1
- package/.docs/integrations/deploy/render.md +2 -2
- package/.docs/integrations/file-storage/agentfs.md +1 -1
- package/.docs/integrations/file-storage/amazon-s3.md +20 -3
- package/.docs/integrations/file-storage/archil.md +4 -4
- package/.docs/integrations/file-storage/azure-blob.md +1 -1
- package/.docs/integrations/file-storage/google-cloud-storage.md +1 -1
- package/.docs/integrations/file-storage/google-drive.md +1 -1
- package/.docs/integrations/file-storage/mesa.md +2 -2
- package/.docs/integrations/file-storage/neon.md +210 -0
- package/.docs/integrations/file-storage/vercel-files.md +5 -1
- package/.docs/integrations/frameworks/express.md +0 -64
- package/.docs/integrations/observability/datadog.md +5 -0
- package/.docs/integrations/observability/langfuse.md +1 -1
- package/.docs/integrations/observability/langsmith.md +35 -2
- package/.docs/integrations/observability/opentelemetry.md +32 -9
- package/.docs/integrations/observability/sentry.md +22 -22
- package/.docs/integrations/sandboxes/apple-container.md +1 -1
- package/.docs/integrations/sandboxes/blaxel.md +1 -1
- package/.docs/integrations/sandboxes/cloudflare-sandbox.md +1 -1
- package/.docs/integrations/sandboxes/daytona.md +4 -4
- package/.docs/integrations/sandboxes/docker.md +2 -2
- package/.docs/integrations/sandboxes/e2b-desktop.md +1 -1
- package/.docs/integrations/sandboxes/e2b.md +9 -7
- package/.docs/integrations/sandboxes/modal.md +4 -4
- package/.docs/integrations/sandboxes/railway.md +4 -4
- package/.docs/integrations/sandboxes/sprites.md +1 -1
- package/.docs/integrations/sandboxes/vercel.md +6 -6
- package/.docs/integrations/tools/brightdata.md +2 -2
- package/.docs/integrations/tools/firecrawl.md +1 -1
- package/.docs/integrations/tools/parallel.md +4 -4
- package/.docs/integrations/tools/perplexity.md +2 -2
- package/.docs/integrations/tools/tavily.md +2 -2
- package/.docs/integrations/voice/azure.md +4 -4
- package/.docs/integrations/voice/cloudflare.md +3 -3
- package/.docs/integrations/voice/deepgram.md +2 -2
- package/.docs/integrations/voice/elevenlabs.md +4 -4
- package/.docs/integrations/voice/gladia.md +10 -10
- package/.docs/integrations/voice/google.md +11 -11
- package/.docs/integrations/voice/inworld.md +23 -23
- package/.docs/integrations/voice/livekit.md +11 -8
- package/.docs/integrations/voice/mistral.md +2 -2
- package/.docs/integrations/voice/modelslab.md +1 -1
- package/.docs/integrations/voice/murf.md +1 -1
- package/.docs/integrations/voice/openai.md +5 -5
- package/.docs/integrations/voice/sarvam.md +6 -6
- package/.docs/integrations/voice/speechify.md +25 -12
- package/.docs/integrations/voice/xai.md +3 -3
- package/.docs/integrations.md +1 -0
- package/.docs/models/environment-variables.md +2 -2
- package/.docs/models/gateways/custom-gateways.md +3 -3
- package/.docs/models/gateways/merge-gateway.md +4 -14
- package/.docs/models/gateways/neon.md +2 -1
- package/.docs/models/gateways/netlify.md +3 -5
- package/.docs/models/gateways/openrouter.md +6 -6
- package/.docs/models/gateways/vercel.md +7 -9
- package/.docs/models/index.md +21 -15
- package/.docs/models/providers/302ai.md +7 -3
- package/.docs/models/providers/abacus.md +74 -110
- package/.docs/models/providers/abliteration-ai.md +4 -0
- package/.docs/models/providers/above.md +4 -0
- package/.docs/models/providers/agentrouter.md +4 -0
- package/.docs/models/providers/agnes.md +4 -0
- package/.docs/models/providers/ai-router.md +4 -0
- package/.docs/models/providers/ai21.md +4 -0
- package/.docs/models/providers/aiand.md +8 -7
- package/.docs/models/providers/aimlapi.md +172 -173
- package/.docs/models/providers/ainetcafe.md +4 -0
- package/.docs/models/providers/aixy.md +4 -0
- package/.docs/models/providers/aki-io.md +9 -6
- package/.docs/models/providers/alibaba-cn.md +6 -2
- package/.docs/models/providers/alibaba-coding-plan-cn.md +4 -0
- package/.docs/models/providers/alibaba-coding-plan.md +4 -0
- package/.docs/models/providers/alibaba-token-plan-cn.md +4 -0
- package/.docs/models/providers/alibaba-token-plan.md +4 -0
- package/.docs/models/providers/alibaba.md +6 -2
- package/.docs/models/providers/ambient.md +6 -2
- package/.docs/models/providers/amd.md +4 -0
- package/.docs/models/providers/anthropic.md +4 -0
- package/.docs/models/providers/anyapi.md +4 -0
- package/.docs/models/providers/arcee.md +4 -0
- package/.docs/models/providers/atomic-chat.md +4 -0
- package/.docs/models/providers/auriko.md +6 -2
- package/.docs/models/providers/bailing.md +4 -0
- package/.docs/models/providers/baseten.md +8 -4
- package/.docs/models/providers/bee.md +4 -0
- package/.docs/models/providers/berget.md +7 -4
- package/.docs/models/providers/blueclaw.md +4 -0
- package/.docs/models/providers/bothub.md +8 -4
- package/.docs/models/providers/boundless.md +4 -4
- package/.docs/models/providers/cerebras.md +4 -0
- package/.docs/models/providers/chutes.md +18 -11
- package/.docs/models/providers/clarifai.md +4 -0
- package/.docs/models/providers/claudinio.md +4 -0
- package/.docs/models/providers/cline-pass.md +6 -6
- package/.docs/models/providers/cloudferro-sherlock.md +4 -0
- package/.docs/models/providers/cloudflare-workers-ai.md +4 -0
- package/.docs/models/providers/commandcode.md +6 -2
- package/.docs/models/providers/coralbricks.md +5 -1
- package/.docs/models/providers/cortecs.md +9 -4
- package/.docs/models/providers/crof.md +4 -0
- package/.docs/models/providers/crossmodel.md +5 -3
- package/.docs/models/providers/crusoe.md +5 -7
- package/.docs/models/providers/daoxe.md +5 -1
- package/.docs/models/providers/databricks.md +4 -0
- package/.docs/models/providers/deepinfra.md +6 -2
- package/.docs/models/providers/deepseek.md +4 -0
- package/.docs/models/providers/digitalocean.md +11 -10
- package/.docs/models/providers/dinference.md +4 -3
- package/.docs/models/providers/drun.md +4 -0
- package/.docs/models/providers/ebcloud.md +4 -0
- package/.docs/models/providers/echo.md +4 -0
- package/.docs/models/providers/edenai.md +33 -9
- package/.docs/models/providers/empiriolabs.md +8 -5
- package/.docs/models/providers/engy.md +6 -2
- package/.docs/models/providers/evroc.md +6 -2
- package/.docs/models/providers/fastrouter.md +45 -50
- package/.docs/models/providers/firepass.md +4 -0
- package/.docs/models/providers/fireworks-ai.md +32 -23
- package/.docs/models/providers/firmware.md +4 -0
- package/.docs/models/providers/freemodel.md +4 -0
- package/.docs/models/providers/friendli.md +15 -13
- package/.docs/models/providers/frogbot.md +6 -7
- package/.docs/models/providers/github-models.md +4 -0
- package/.docs/models/providers/gmicloud.md +4 -0
- package/.docs/models/providers/google.md +6 -5
- package/.docs/models/providers/greenpt.md +18 -20
- package/.docs/models/providers/groq.md +5 -1
- package/.docs/models/providers/helicone.md +4 -0
- package/.docs/models/providers/hetzner.md +4 -0
- package/.docs/models/providers/hpc-ai.md +4 -0
- package/.docs/models/providers/huggingface.md +7 -0
- package/.docs/models/providers/hyper.md +4 -0
- package/.docs/models/providers/iflowcn.md +6 -18
- package/.docs/models/providers/impossibl.md +6 -9
- package/.docs/models/providers/inception.md +4 -0
- package/.docs/models/providers/inceptron.md +12 -6
- package/.docs/models/providers/inco.md +5 -1
- package/.docs/models/providers/infer.md +4 -0
- package/.docs/models/providers/inference.md +9 -11
- package/.docs/models/providers/inferx.md +4 -0
- package/.docs/models/providers/infomaniak.md +14 -12
- package/.docs/models/providers/io-net.md +15 -17
- package/.docs/models/providers/iteracompute.md +7 -3
- package/.docs/models/providers/jalapeno.md +18 -19
- package/.docs/models/providers/jiekou.md +57 -63
- package/.docs/models/providers/kenari.md +38 -53
- package/.docs/models/providers/kilo.md +31 -27
- package/.docs/models/providers/kimi-code-plan-cn.md +7 -1
- package/.docs/models/providers/kimi-code-plan-global.md +7 -1
- package/.docs/models/providers/kimi-for-coding.md +4 -0
- package/.docs/models/providers/kiro.md +4 -0
- package/.docs/models/providers/klokintegration.md +4 -0
- package/.docs/models/providers/kosmik.md +4 -0
- package/.docs/models/providers/kuae-cloud-coding-plan.md +4 -0
- package/.docs/models/providers/lilac.md +6 -8
- package/.docs/models/providers/liquid.md +4 -0
- package/.docs/models/providers/llama.md +6 -11
- package/.docs/models/providers/llmgateway-providers.md +25 -23
- package/.docs/models/providers/llmgateway.md +20 -13
- package/.docs/models/providers/llmtech.md +4 -0
- package/.docs/models/providers/llmtr.md +5 -6
- package/.docs/models/providers/lmstudio.md +4 -0
- package/.docs/models/providers/longcat.md +4 -0
- package/.docs/models/providers/lowrouter.md +7 -2
- package/.docs/models/providers/lucidquery.md +6 -2
- package/.docs/models/providers/lynkr.md +4 -0
- package/.docs/models/providers/meganova.md +10 -7
- package/.docs/models/providers/melious.md +6 -7
- package/.docs/models/providers/meta.md +4 -0
- package/.docs/models/providers/minimax-cn-coding-plan.md +4 -0
- package/.docs/models/providers/minimax-cn.md +4 -0
- package/.docs/models/providers/minimax-coding-plan.md +4 -0
- package/.docs/models/providers/minimax.md +4 -0
- package/.docs/models/providers/mistral.md +8 -3
- package/.docs/models/providers/mixlayer.md +4 -0
- package/.docs/models/providers/moark.md +4 -2
- package/.docs/models/providers/modal.md +4 -0
- package/.docs/models/providers/model-oracle-ai.md +4 -0
- package/.docs/models/providers/modelis.md +4 -0
- package/.docs/models/providers/modelscope.md +4 -0
- package/.docs/models/providers/moonshotai-cn.md +8 -2
- package/.docs/models/providers/moonshotai.md +8 -2
- package/.docs/models/providers/morph.md +18 -6
- package/.docs/models/providers/munito-eu.md +84 -0
- package/.docs/models/providers/munito.md +85 -0
- package/.docs/models/providers/nan.md +5 -1
- package/.docs/models/providers/nano-gpt.md +651 -613
- package/.docs/models/providers/nearai.md +7 -2
- package/.docs/models/providers/nebius.md +33 -27
- package/.docs/models/providers/neosmith.md +4 -0
- package/.docs/models/providers/neuralwatt.md +5 -4
- package/.docs/models/providers/nova.md +4 -0
- package/.docs/models/providers/novita-ai.md +8 -1
- package/.docs/models/providers/nvidia.md +19 -35
- package/.docs/models/providers/oci.md +4 -1
- package/.docs/models/providers/ofox.md +5 -1
- package/.docs/models/providers/ollama-cloud.md +6 -2
- package/.docs/models/providers/openai.md +6 -1
- package/.docs/models/providers/opencode-go.md +9 -4
- package/.docs/models/providers/opencode.md +88 -88
- package/.docs/models/providers/openreason.md +4 -0
- package/.docs/models/providers/opper.md +5 -4
- package/.docs/models/providers/orcarouter.md +18 -16
- package/.docs/models/providers/ovhcloud.md +4 -0
- package/.docs/models/providers/pareto.md +5 -1
- package/.docs/models/providers/pendra.md +4 -0
- package/.docs/models/providers/perplexity-agent.md +6 -12
- package/.docs/models/providers/perplexity.md +4 -0
- package/.docs/models/providers/pioneer.md +11 -7
- package/.docs/models/providers/poe.md +20 -70
- package/.docs/models/providers/poolside.md +4 -0
- package/.docs/models/providers/prime.md +8 -2
- package/.docs/models/providers/privatemode-ai.md +4 -0
- package/.docs/models/providers/qihang-ai.md +11 -11
- package/.docs/models/providers/qiniu-ai.md +13 -94
- package/.docs/models/providers/reflection.md +4 -0
- package/.docs/models/providers/regolo-ai.md +9 -7
- package/.docs/models/providers/requesty.md +10 -1
- package/.docs/models/providers/routing-run.md +4 -0
- package/.docs/models/providers/runinfra.md +5 -4
- package/.docs/models/providers/sakana.md +4 -0
- package/.docs/models/providers/sambanova.md +4 -0
- package/.docs/models/providers/sarvam.md +5 -2
- package/.docs/models/providers/scaleway.md +16 -11
- package/.docs/models/providers/scnet-token-plan.md +4 -0
- package/.docs/models/providers/scx-ai.md +4 -0
- package/.docs/models/providers/scx.md +4 -0
- package/.docs/models/providers/sensenova.md +4 -0
- package/.docs/models/providers/siliconflow-cn.md +39 -41
- package/.docs/models/providers/siliconflow.md +7 -6
- package/.docs/models/providers/snowflake-cortex.md +4 -0
- package/.docs/models/providers/stackit.md +6 -4
- package/.docs/models/providers/standardcompute.md +4 -0
- package/.docs/models/providers/stepfun-ai-step-plan.md +4 -0
- package/.docs/models/providers/stepfun-ai.md +8 -4
- package/.docs/models/providers/stepfun-step-plan.md +4 -0
- package/.docs/models/providers/stepfun.md +8 -4
- package/.docs/models/providers/subconscious.md +4 -0
- package/.docs/models/providers/submodel.md +5 -1
- package/.docs/models/providers/synthetic.md +4 -4
- package/.docs/models/providers/tempr.md +5 -4
- package/.docs/models/providers/tencent-coding-plan.md +7 -10
- package/.docs/models/providers/tencent-token-plan.md +4 -0
- package/.docs/models/providers/tencent-tokenhub.md +4 -0
- package/.docs/models/providers/tensorx.md +4 -13
- package/.docs/models/providers/the-grid-ai.md +6 -1
- package/.docs/models/providers/thinkingmachines.md +4 -0
- package/.docs/models/providers/tinfoil.md +4 -0
- package/.docs/models/providers/togetherai.md +4 -0
- package/.docs/models/providers/tokengo.md +5 -1
- package/.docs/models/providers/tokenrouter.md +4 -0
- package/.docs/models/providers/trustedrouter.md +4 -0
- package/.docs/models/providers/umans-ai-coding-plan.md +16 -11
- package/.docs/models/providers/umans-ai.md +15 -10
- package/.docs/models/providers/unorouter.md +4 -13
- package/.docs/models/providers/upstage.md +4 -0
- package/.docs/models/providers/vancine.md +4 -1
- package/.docs/models/providers/vispark.md +4 -0
- package/.docs/models/providers/vivgrid.md +30 -39
- package/.docs/models/providers/volcengine-coding-plan.md +12 -12
- package/.docs/models/providers/volcengine.md +16 -18
- package/.docs/models/providers/vultr.md +4 -2
- package/.docs/models/providers/wafer.ai.md +7 -7
- package/.docs/models/providers/wallaby.md +4 -0
- package/.docs/models/providers/wandb.md +9 -5
- package/.docs/models/providers/xai.md +23 -3
- package/.docs/models/providers/xiaomi-token-plan-ams.md +8 -4
- package/.docs/models/providers/xiaomi-token-plan-cn.md +8 -4
- package/.docs/models/providers/xiaomi-token-plan-sgp.md +8 -4
- package/.docs/models/providers/xiaomi.md +8 -4
- package/.docs/models/providers/xpersona.md +4 -1
- package/.docs/models/providers/zai-coding-plan.md +4 -0
- package/.docs/models/providers/zai.md +4 -0
- package/.docs/models/providers/zeldoc.md +4 -0
- package/.docs/models/providers/zenifra.md +4 -0
- package/.docs/models/providers/zenmux.md +109 -125
- package/.docs/models/providers/zhipuai-coding-plan.md +4 -0
- package/.docs/models/providers/zhipuai.md +4 -0
- package/.docs/models/providers.md +2 -2
- package/.docs/reference/acp/acp-agent.md +5 -5
- package/.docs/reference/acp/create-acp-tool.md +2 -2
- package/.docs/reference/agent-controller/agent-controller-class.md +3 -3
- package/.docs/reference/agent-controller/session.md +10 -10
- package/.docs/reference/agents/agent.md +28 -48
- package/.docs/reference/agents/channels.md +35 -14
- package/.docs/reference/agents/createSkill.md +1 -1
- package/.docs/reference/agents/durable-agent.md +31 -23
- package/.docs/reference/agents/generate.md +61 -4
- package/.docs/reference/agents/generateLegacy.md +4 -4
- package/.docs/reference/agents/getLLM.md +2 -2
- package/.docs/reference/agents/getMetadata.md +2 -2
- package/.docs/reference/agents/inngest-agent.md +3 -1
- package/.docs/reference/agents/network.md +1 -1
- package/.docs/reference/ai-sdk/to-ai-sdk-v4-messages.md +1 -1
- package/.docs/reference/auth/auth0.md +2 -2
- package/.docs/reference/auth/better-auth.md +7 -3
- package/.docs/reference/auth/clerk.md +1 -1
- package/.docs/reference/auth/firebase.md +4 -4
- package/.docs/reference/auth/google.md +6 -6
- package/.docs/reference/auth/jwt.md +1 -1
- package/.docs/reference/auth/neon.md +6 -6
- package/.docs/reference/auth/okta.md +9 -8
- package/.docs/reference/auth/workos.md +3 -3
- package/.docs/reference/browser/agent-browser.md +2 -2
- package/.docs/reference/browser/browser-viewer.md +1 -1
- package/.docs/reference/browser/firecrawl-browser.md +2 -2
- package/.docs/reference/browser/mastra-browser.md +1 -1
- package/.docs/reference/browser/stagehand-browser.md +5 -5
- package/.docs/reference/channels/slack-provider.md +7 -2
- package/.docs/reference/channels/teams-provider.md +2 -2
- package/.docs/reference/channels/telegram-provider.md +2 -2
- package/.docs/reference/cli/mastra.md +26 -0
- package/.docs/reference/client-js/agent-controller.md +5 -2
- package/.docs/reference/client-js/agents.md +22 -2
- package/.docs/reference/client-js/conversations.md +3 -3
- package/.docs/reference/client-js/datasets.md +1 -1
- package/.docs/reference/client-js/observability.md +39 -15
- package/.docs/reference/client-js/responses.md +4 -4
- package/.docs/reference/client-js/workflows.md +2 -0
- package/.docs/reference/code-sdk/mount-agent-controller.md +2 -2
- package/.docs/reference/coding-agent/build-base-prompt.md +1 -1
- package/.docs/reference/coding-agent/create-coding-agent.md +9 -9
- package/.docs/reference/configuration.md +4 -4
- package/.docs/reference/connect/channels.md +2 -2
- package/.docs/reference/connect/credential.md +1 -1
- package/.docs/reference/connect/providers.md +166 -112
- package/.docs/reference/connect/tools.md +17 -19
- package/.docs/reference/core/getAgentById.md +1 -1
- package/.docs/reference/core/mastra-class.md +7 -5
- package/.docs/reference/core/mastra-model-gateway.md +7 -2
- package/.docs/reference/datasets/startExperiment.md +17 -2
- package/.docs/reference/deployer.md +6 -3
- package/.docs/reference/editor/blob-store-provider.md +2 -2
- package/.docs/reference/editor/mastra-editor.md +2 -2
- package/.docs/reference/editor/tool-provider.md +1 -1
- package/.docs/reference/evals/answer-relevancy.md +3 -3
- package/.docs/reference/evals/answer-similarity.md +5 -3
- package/.docs/reference/evals/bias.md +3 -3
- package/.docs/reference/evals/checks.md +1 -1
- package/.docs/reference/evals/content-similarity.md +2 -2
- package/.docs/reference/evals/context-precision.md +3 -3
- package/.docs/reference/evals/context-recall.md +3 -3
- package/.docs/reference/evals/context-relevance.md +11 -11
- package/.docs/reference/evals/faithfulness.md +1 -1
- package/.docs/reference/evals/hallucination.md +8 -8
- package/.docs/reference/evals/multi-turn-judge.md +2 -2
- package/.docs/reference/evals/noise-sensitivity.md +13 -13
- package/.docs/reference/evals/not-scorable.md +1 -1
- package/.docs/reference/evals/prompt-alignment.md +26 -25
- package/.docs/reference/evals/rubric.md +6 -6
- package/.docs/reference/evals/run-evals.md +1 -1
- package/.docs/reference/evals/scorer-utils.md +6 -4
- package/.docs/reference/evals/summarization.md +4 -4
- package/.docs/reference/evals/tone-consistency.md +5 -5
- package/.docs/reference/evals/tool-call-accuracy.md +8 -8
- package/.docs/reference/evals/toxicity.md +1 -1
- package/.docs/reference/evals/trajectory-accuracy.md +1 -1
- package/.docs/reference/file-based-agents/config.md +3 -3
- package/.docs/reference/file-based-agents/schedules.md +2 -2
- package/.docs/reference/file-based-agents/subagents.md +4 -4
- package/.docs/reference/file-based-agents/workspace.md +1 -1
- package/.docs/reference/index.md +2 -1
- package/.docs/reference/logging/pino-logger.md +1 -1
- package/.docs/reference/manual-install.md +2 -2
- package/.docs/reference/memory/memory-class.md +5 -5
- package/.docs/reference/memory/observational-memory.md +25 -25
- package/.docs/reference/memory/summarizeConversation.md +3 -3
- package/.docs/reference/memory/summarizeThread.md +3 -3
- package/.docs/reference/migrations/agentnetwork.md +4 -4
- package/.docs/reference/migrations/mcp-v2.md +1 -1
- package/.docs/reference/migrations/upgrade-to-v1/agent.md +1 -1
- package/.docs/reference/migrations/upgrade-to-v1/storage.md +1 -1
- package/.docs/reference/migrations/upgrade-to-v1/tools.md +7 -1
- package/.docs/reference/migrations/vnext-to-standard-apis.md +3 -3
- package/.docs/reference/observability/metrics/automatic-metrics.md +10 -8
- package/.docs/reference/observability/tracing/advanced-queries.md +92 -11
- package/.docs/reference/observability/tracing/bridges/otel.md +1 -1
- package/.docs/reference/observability/tracing/exporters/confident-ai.md +2 -2
- package/.docs/reference/observability/tracing/exporters/console-exporter.md +3 -3
- package/.docs/reference/observability/tracing/exporters/default-exporter.md +1 -1
- package/.docs/reference/observability/tracing/exporters/langfuse.md +1 -1
- package/.docs/reference/observability/tracing/exporters/langsmith.md +8 -0
- package/.docs/reference/observability/tracing/exporters/mastra-platform-exporter.md +4 -0
- package/.docs/reference/observability/tracing/exporters/mastra-storage-exporter.md +5 -1
- package/.docs/reference/observability/tracing/exporters/sentry.md +5 -5
- package/.docs/reference/observability/tracing/interfaces.md +23 -1
- package/.docs/reference/processors/batch-parts-processor.md +2 -2
- package/.docs/reference/processors/classifier-processor.md +3 -3
- package/.docs/reference/processors/cyber-refusal-handler.md +1 -1
- package/.docs/reference/processors/file-upload-processor.md +9 -9
- package/.docs/reference/processors/language-detector.md +1 -1
- package/.docs/reference/processors/message-history-processor.md +2 -2
- package/.docs/reference/processors/model-selection-processor.md +7 -7
- package/.docs/reference/processors/moderation-processor.md +3 -3
- package/.docs/reference/processors/pii-detector.md +2 -2
- package/.docs/reference/processors/prefill-error-handler.md +2 -2
- package/.docs/reference/processors/processor-interface.md +71 -15
- package/.docs/reference/processors/prompt-injection-detector.md +1 -1
- package/.docs/reference/processors/provider-history-compat.md +13 -12
- package/.docs/reference/processors/regex-filter-processor.md +1 -1
- package/.docs/reference/processors/response-cache.md +2 -2
- package/.docs/reference/processors/semantic-recall-processor.md +2 -2
- package/.docs/reference/processors/skill-search-processor.md +1 -1
- package/.docs/reference/processors/stream-error-retry-processor.md +12 -8
- package/.docs/reference/processors/system-prompt-scrubber.md +2 -2
- package/.docs/reference/processors/token-cost-control.md +1 -1
- package/.docs/reference/processors/token-limiter-processor.md +4 -4
- package/.docs/reference/processors/tool-call-filter.md +3 -3
- package/.docs/reference/processors/tool-search-processor.md +6 -6
- package/.docs/reference/processors/unicode-normalizer.md +2 -2
- package/.docs/reference/processors/working-memory-processor.md +2 -2
- package/.docs/reference/pubsub/lease-provider.md +2 -2
- package/.docs/reference/pubsub/redis-streams.md +11 -1
- package/.docs/reference/pubsub/unix-socket-pubsub.md +1 -1
- package/.docs/reference/rag/chunking-and-embedding.md +2 -2
- package/.docs/reference/rag/database-config.md +20 -15
- package/.docs/reference/rag/extract-params.md +2 -2
- package/.docs/reference/rag/graph-rag-guide.md +2 -2
- package/.docs/reference/rag/metadata-filters.md +1 -1
- package/.docs/reference/rag/rerank.md +1 -1
- package/.docs/reference/rag/retrieval.md +24 -13
- package/.docs/reference/schedules/overview.md +17 -1
- package/.docs/reference/server/koa-adapter.md +2 -0
- package/.docs/reference/server/nestjs-adapter.md +1 -1
- package/.docs/reference/signals/create-notification-inbox-tool.md +4 -4
- package/.docs/reference/signals/notifications.md +249 -0
- package/.docs/reference/signals/task-signal-provider.md +2 -2
- package/.docs/reference/signals/thread-events.md +69 -0
- package/.docs/reference/storage/overview.md +30 -13
- package/.docs/reference/storage/retention.md +1 -1
- package/.docs/reference/streaming/ChunkType.md +86 -0
- package/.docs/reference/streaming/agents/MastraModelOutput.md +3 -3
- package/.docs/reference/streaming/agents/stream.md +6 -6
- package/.docs/reference/streaming/agents/streamLegacy.md +2 -2
- package/.docs/reference/streaming/workflows/resumeStream.md +1 -1
- package/.docs/reference/tools/ask-user-tool.md +1 -1
- package/.docs/reference/tools/bedrock-kb-tool.md +2 -2
- package/.docs/reference/tools/create-code-mode.md +2 -2
- package/.docs/reference/tools/create-tool.md +19 -2
- package/.docs/reference/tools/document-chunker-tool.md +1 -1
- package/.docs/reference/tools/mcp-client.md +207 -16
- package/.docs/reference/tools/mcp-server.md +9 -7
- package/.docs/reference/tools/task-tools.md +4 -2
- package/.docs/reference/tools/vector-query-tool.md +2 -1
- package/.docs/reference/vectors/astra.md +3 -1
- package/.docs/reference/vectors/azure-ai-search.md +2 -2
- package/.docs/reference/vectors/chroma.md +2 -2
- package/.docs/reference/vectors/convex.md +1 -1
- package/.docs/reference/vectors/couchbase.md +12 -5
- package/.docs/reference/vectors/duckdb.md +5 -5
- package/.docs/reference/vectors/libsql.md +1 -1
- package/.docs/reference/vectors/mongodb.md +8 -8
- package/.docs/reference/vectors/oracledb.md +2 -2
- package/.docs/reference/vectors/pg.md +2 -2
- package/.docs/reference/vectors/pinecone.md +1 -1
- package/.docs/reference/vectors/qdrant.md +1 -1
- package/.docs/reference/vectors/s3vectors.md +3 -0
- package/.docs/reference/vectors/turbopuffer.md +1 -1
- package/.docs/reference/vectors/upstash.md +9 -5
- package/.docs/reference/vectors/vectorize.md +4 -2
- package/.docs/reference/vectors/weaviate.md +1 -1
- package/.docs/reference/voice/overview.md +24 -24
- package/.docs/reference/voice/speech-to-speech.md +6 -6
- package/.docs/reference/voice/speech-to-text.md +1 -1
- package/.docs/reference/voice/text-to-speech.md +1 -1
- package/.docs/reference/voice/voice.addInstructions.md +1 -1
- package/.docs/reference/voice/voice.send.md +1 -1
- package/.docs/reference/voice/voice.speak.md +1 -1
- package/.docs/reference/voice/voice.updateConfig.md +1 -1
- package/.docs/reference/workflows/run-methods/restart.md +1 -1
- package/.docs/reference/workflows/run-methods/resume.md +1 -1
- package/.docs/reference/workflows/run-methods/start.md +1 -1
- package/.docs/reference/workflows/run-methods/timeTravel.md +1 -1
- package/.docs/reference/workflows/run.md +2 -2
- package/.docs/reference/workflows/step.md +4 -0
- package/.docs/reference/workflows/workflow-methods/agent.md +2 -0
- package/.docs/reference/workflows/workflow-methods/classifier.md +5 -0
- package/.docs/reference/workflows/workflow-methods/dountil.md +1 -1
- package/.docs/reference/workflows/workflow-methods/map.md +2 -0
- package/.docs/reference/workflows/workflow.md +2 -2
- package/.docs/reference/workspace/factory-sandbox.md +11 -2
- package/.docs/reference/workspace/filesystem.md +2 -2
- package/.docs/reference/workspace/local-filesystem.md +1 -1
- package/.docs/reference/workspace/local-sandbox.md +4 -4
- package/.docs/reference/workspace/platform-filesystem.md +4 -4
- package/.docs/reference/workspace/platform-sandbox.md +31 -10
- package/.docs/reference/workspace/process-manager.md +13 -2
- package/.docs/reference/workspace/sandbox.md +1 -1
- package/.docs/reference/workspace/workspace-class.md +13 -13
- package/dist/index.js +1 -1
- package/dist/{src-DnH_jHt9.js → src-Cv7bX2-6.js} +10 -19
- package/dist/{src-DnH_jHt9.js.map → src-Cv7bX2-6.js.map} +1 -1
- package/dist/stdio.js +2 -3
- package/package.json +15 -15
- package/.docs/docs/guides/mcp-events.md +0 -306
- package/.docs/docs/harness/signal-providers.md +0 -212
- package/.docs/docs/harness/signals.md +0 -546
- package/.docs/docs/mastra-platform/connect/end-user-connections.md +0 -116
- package/.docs/reference/connect/user-connect-routes.md +0 -68
|
@@ -64,6 +64,8 @@ Model availability, capabilities, context windows, and pricing are sourced from
|
|
|
64
64
|
### Custom headers
|
|
65
65
|
|
|
66
66
|
```typescript
|
|
67
|
+
import { Agent } from "@mastra/core/agent";
|
|
68
|
+
|
|
67
69
|
const agent = new Agent({
|
|
68
70
|
id: "custom-agent",
|
|
69
71
|
name: "custom-agent",
|
|
@@ -81,6 +83,8 @@ const agent = new Agent({
|
|
|
81
83
|
### Dynamic model selection
|
|
82
84
|
|
|
83
85
|
```typescript
|
|
86
|
+
import { Agent } from "@mastra/core/agent";
|
|
87
|
+
|
|
84
88
|
const agent = new Agent({
|
|
85
89
|
id: "dynamic-agent",
|
|
86
90
|
name: "Dynamic Agent",
|
|
@@ -47,6 +47,8 @@ Model availability, capabilities, context windows, and pricing are sourced from
|
|
|
47
47
|
### Custom headers
|
|
48
48
|
|
|
49
49
|
```typescript
|
|
50
|
+
import { Agent } from "@mastra/core/agent";
|
|
51
|
+
|
|
50
52
|
const agent = new Agent({
|
|
51
53
|
id: "custom-agent",
|
|
52
54
|
name: "custom-agent",
|
|
@@ -64,6 +66,8 @@ const agent = new Agent({
|
|
|
64
66
|
### Dynamic model selection
|
|
65
67
|
|
|
66
68
|
```typescript
|
|
69
|
+
import { Agent } from "@mastra/core/agent";
|
|
70
|
+
|
|
67
71
|
const agent = new Agent({
|
|
68
72
|
id: "dynamic-agent",
|
|
69
73
|
name: "Dynamic Agent",
|
|
@@ -47,6 +47,8 @@ Model availability, capabilities, context windows, and pricing are sourced from
|
|
|
47
47
|
### Custom headers
|
|
48
48
|
|
|
49
49
|
```typescript
|
|
50
|
+
import { Agent } from "@mastra/core/agent";
|
|
51
|
+
|
|
50
52
|
const agent = new Agent({
|
|
51
53
|
id: "custom-agent",
|
|
52
54
|
name: "custom-agent",
|
|
@@ -64,6 +66,8 @@ const agent = new Agent({
|
|
|
64
66
|
### Dynamic model selection
|
|
65
67
|
|
|
66
68
|
```typescript
|
|
69
|
+
import { Agent } from "@mastra/core/agent";
|
|
70
|
+
|
|
67
71
|
const agent = new Agent({
|
|
68
72
|
id: "dynamic-agent",
|
|
69
73
|
name: "Dynamic Agent",
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
# ZenMux
|
|
6
6
|
|
|
7
|
-
Access
|
|
7
|
+
Access 110 ZenMux models through Mastra's model router. Authentication is handled automatically using the `ZENMUX_API_KEY` environment variable.
|
|
8
8
|
|
|
9
9
|
Learn more in the [ZenMux documentation](https://docs.zenmux.ai).
|
|
10
10
|
|
|
@@ -19,7 +19,7 @@ const agent = new Agent({
|
|
|
19
19
|
id: "my-agent",
|
|
20
20
|
name: "My Agent",
|
|
21
21
|
instructions: "You are a helpful assistant",
|
|
22
|
-
model: "zenmux/anthropic/claude-
|
|
22
|
+
model: "zenmux/anthropic/claude-fable-5"
|
|
23
23
|
});
|
|
24
24
|
|
|
25
25
|
// Generate a response
|
|
@@ -36,127 +36,107 @@ for await (const chunk of stream) {
|
|
|
36
36
|
|
|
37
37
|
## Models
|
|
38
38
|
|
|
39
|
-
| Model
|
|
40
|
-
|
|
|
41
|
-
| `zenmux/anthropic/claude-fable-5`
|
|
42
|
-
| `zenmux/anthropic/claude-fable-5.1`
|
|
43
|
-
| `zenmux/anthropic/claude-haiku-4.5`
|
|
44
|
-
| `zenmux/anthropic/claude-opus-4`
|
|
45
|
-
| `zenmux/anthropic/claude-opus-4.
|
|
46
|
-
| `zenmux/anthropic/claude-opus-4.
|
|
47
|
-
| `zenmux/anthropic/claude-opus-4.
|
|
48
|
-
| `zenmux/anthropic/claude-opus-4.
|
|
49
|
-
| `zenmux/anthropic/claude-opus-
|
|
50
|
-
| `zenmux/anthropic/claude-
|
|
51
|
-
| `zenmux/anthropic/claude-sonnet-4`
|
|
52
|
-
| `zenmux/anthropic/claude-sonnet-
|
|
53
|
-
| `zenmux/
|
|
54
|
-
| `zenmux/
|
|
55
|
-
| `zenmux/
|
|
56
|
-
| `zenmux/
|
|
57
|
-
| `zenmux/
|
|
58
|
-
| `zenmux/
|
|
59
|
-
| `zenmux/
|
|
60
|
-
| `zenmux/deepseek/deepseek-
|
|
61
|
-
| `zenmux/deepseek/deepseek-v4
|
|
62
|
-
| `zenmux/
|
|
63
|
-
| `zenmux/
|
|
64
|
-
| `zenmux/google/gemini-2.5-
|
|
65
|
-
| `zenmux/google/gemini-
|
|
66
|
-
| `zenmux/google/gemini-
|
|
67
|
-
| `zenmux/google/gemini-3
|
|
68
|
-
| `zenmux/google/gemini-3.1-
|
|
69
|
-
| `zenmux/google/gemini-3.
|
|
70
|
-
| `zenmux/
|
|
71
|
-
| `zenmux/
|
|
72
|
-
| `zenmux/minimax/minimax-m2`
|
|
73
|
-
| `zenmux/minimax/minimax-m2.1`
|
|
74
|
-
| `zenmux/minimax/minimax-m2.5`
|
|
75
|
-
| `zenmux/minimax/minimax-m2.5-lightning`
|
|
76
|
-
| `zenmux/minimax/minimax-m2.7`
|
|
77
|
-
| `zenmux/minimax/minimax-m2.7-highspeed`
|
|
78
|
-
| `zenmux/minimax/minimax-m3`
|
|
79
|
-
| `zenmux/minimax/minimax-m3.1-flash`
|
|
80
|
-
| `zenmux/moonshotai/kimi-k2.
|
|
81
|
-
| `zenmux/moonshotai/kimi-k2.
|
|
82
|
-
| `zenmux/moonshotai/kimi-k2.7-code`
|
|
83
|
-
| `zenmux/moonshotai/kimi-
|
|
84
|
-
| `zenmux/
|
|
85
|
-
| `zenmux/
|
|
86
|
-
| `zenmux/
|
|
87
|
-
| `zenmux/openai/gpt-5`
|
|
88
|
-
| `zenmux/openai/gpt-5-codex`
|
|
89
|
-
| `zenmux/openai/gpt-5.1`
|
|
90
|
-
| `zenmux/openai/gpt-5.
|
|
91
|
-
| `zenmux/openai/gpt-5.
|
|
92
|
-
| `zenmux/openai/gpt-5.2`
|
|
93
|
-
| `zenmux/openai/gpt-5.
|
|
94
|
-
| `zenmux/openai/gpt-5.
|
|
95
|
-
| `zenmux/openai/gpt-5.
|
|
96
|
-
| `zenmux/openai/gpt-5.
|
|
97
|
-
| `zenmux/openai/gpt-5.4`
|
|
98
|
-
| `zenmux/openai/gpt-5.
|
|
99
|
-
| `zenmux/openai/gpt-5.
|
|
100
|
-
| `zenmux/openai/gpt-5.
|
|
101
|
-
| `zenmux/openai/gpt-5.
|
|
102
|
-
| `zenmux/openai/gpt-5.
|
|
103
|
-
| `zenmux/openai/gpt-
|
|
104
|
-
| `zenmux/openai/gpt-
|
|
105
|
-
| `zenmux/
|
|
106
|
-
| `zenmux/
|
|
107
|
-
| `zenmux/
|
|
108
|
-
| `zenmux/
|
|
109
|
-
| `zenmux/qwen/qwen3-
|
|
110
|
-
| `zenmux/
|
|
111
|
-
| `zenmux/
|
|
112
|
-
| `zenmux/
|
|
113
|
-
| `zenmux/
|
|
114
|
-
| `zenmux/
|
|
115
|
-
| `zenmux/
|
|
116
|
-
| `zenmux/
|
|
117
|
-
| `zenmux/
|
|
118
|
-
| `zenmux/
|
|
119
|
-
| `zenmux/
|
|
120
|
-
| `zenmux/
|
|
121
|
-
| `zenmux/
|
|
122
|
-
| `zenmux/
|
|
123
|
-
| `zenmux/
|
|
124
|
-
| `zenmux/
|
|
125
|
-
| `zenmux/
|
|
126
|
-
| `zenmux/
|
|
127
|
-
| `zenmux/
|
|
128
|
-
| `zenmux/
|
|
129
|
-
| `zenmux/
|
|
130
|
-
| `zenmux/
|
|
131
|
-
| `zenmux/
|
|
132
|
-
| `zenmux/
|
|
133
|
-
| `zenmux/
|
|
134
|
-
| `zenmux/
|
|
135
|
-
| `zenmux/
|
|
136
|
-
| `zenmux/
|
|
137
|
-
| `zenmux/
|
|
138
|
-
| `zenmux/
|
|
139
|
-
| `zenmux/
|
|
140
|
-
| `zenmux/xiaomi/mimo-v2.5-pro` | 1.0M | | | | | | $1 | $3 |
|
|
141
|
-
| `zenmux/xiaomi/mimo-v2.6-pro` | 1.0M | | | | | | $0.43 | $0.87 |
|
|
142
|
-
| `zenmux/z-ai/glm-4.5` | 128K | | | | | | $0.29 | $1 |
|
|
143
|
-
| `zenmux/z-ai/glm-4.5-air` | 128K | | | | | | $0.12 | $0.29 |
|
|
144
|
-
| `zenmux/z-ai/glm-4.6` | 200K | | | | | | $0.29 | $1 |
|
|
145
|
-
| `zenmux/z-ai/glm-4.6v` | 200K | | | | | | $0.15 | $0.44 |
|
|
146
|
-
| `zenmux/z-ai/glm-4.6v-flash` | 200K | | | | | | $0.02 | $0.22 |
|
|
147
|
-
| `zenmux/z-ai/glm-4.6v-flash-free` | 200K | | | | | | — | — |
|
|
148
|
-
| `zenmux/z-ai/glm-4.7` | 200K | | | | | | $0.29 | $1 |
|
|
149
|
-
| `zenmux/z-ai/glm-4.7-flash-free` | 200K | | | | | | — | — |
|
|
150
|
-
| `zenmux/z-ai/glm-4.7-flashx` | 200K | | | | | | $0.07 | $0.44 |
|
|
151
|
-
| `zenmux/z-ai/glm-5` | 200K | | | | | | $0.58 | $3 |
|
|
152
|
-
| `zenmux/z-ai/glm-5-turbo` | 200K | | | | | | $0.73 | $3 |
|
|
153
|
-
| `zenmux/z-ai/glm-5.1` | 200K | | | | | | $0.88 | $4 |
|
|
154
|
-
| `zenmux/z-ai/glm-5.2` | 1.0M | | | | | | $0.98 | $3 |
|
|
155
|
-
| `zenmux/z-ai/glm-5.3` | 1.0M | | | | | | $1 | $4 |
|
|
156
|
-
| `zenmux/z-ai/glm-5.3-flash` | 1.0M | | | | | | $0.15 | $0.50 |
|
|
157
|
-
| `zenmux/z-ai/glm-5.3-flashx` | 1.0M | | | | | | $0.38 | $1 |
|
|
158
|
-
| `zenmux/z-ai/glm-5v-turbo` | 200K | | | | | | $0.73 | $3 |
|
|
159
|
-
| `zenmux/z-ai/glm-image` | 10K | | | | | | — | — |
|
|
39
|
+
| Model | Context | Tools | Reasoning | Image | Audio | Video | Input $/1M | Output $/1M |
|
|
40
|
+
| -------------------------------------------- | ------- | ----- | --------- | ----- | ----- | ----- | ---------- | ----------- |
|
|
41
|
+
| `zenmux/anthropic/claude-fable-5` | 1.0M | | | | | | $10 | $50 |
|
|
42
|
+
| `zenmux/anthropic/claude-fable-5.1` | 1.0M | | | | | | $10 | $50 |
|
|
43
|
+
| `zenmux/anthropic/claude-haiku-4.5` | 200K | | | | | | $1 | $5 |
|
|
44
|
+
| `zenmux/anthropic/claude-opus-4.1` | 200K | | | | | | $15 | $75 |
|
|
45
|
+
| `zenmux/anthropic/claude-opus-4.5` | 200K | | | | | | $5 | $25 |
|
|
46
|
+
| `zenmux/anthropic/claude-opus-4.6` | 1.0M | | | | | | $5 | $25 |
|
|
47
|
+
| `zenmux/anthropic/claude-opus-4.7` | 1.0M | | | | | | $5 | $25 |
|
|
48
|
+
| `zenmux/anthropic/claude-opus-4.8` | 1.0M | | | | | | $5 | $25 |
|
|
49
|
+
| `zenmux/anthropic/claude-opus-5.5` | 1.0M | | | | | | $4 | $20 |
|
|
50
|
+
| `zenmux/anthropic/claude-sonnet-4.5` | 1.0M | | | | | | $3 | $15 |
|
|
51
|
+
| `zenmux/anthropic/claude-sonnet-4.6` | 1.0M | | | | | | $3 | $15 |
|
|
52
|
+
| `zenmux/anthropic/claude-sonnet-5` | 1.0M | | | | | | $2 | $10 |
|
|
53
|
+
| `zenmux/baidu/ernie-5.0-thinking-preview` | 128K | | | | | | $0.84 | $3 |
|
|
54
|
+
| `zenmux/bytedance/doubao-seed-1.8` | 256K | | | | | | $0.11 | $0.28 |
|
|
55
|
+
| `zenmux/bytedance/doubao-seed-2.0-code` | 256K | | | | | | $0.45 | $2 |
|
|
56
|
+
| `zenmux/bytedance/doubao-seed-2.0-lite` | 256K | | | | | | $0.09 | $0.51 |
|
|
57
|
+
| `zenmux/bytedance/doubao-seed-2.0-mini` | 256K | | | | | | $0.03 | $0.28 |
|
|
58
|
+
| `zenmux/bytedance/doubao-seed-2.0-pro` | 256K | | | | | | $0.45 | $2 |
|
|
59
|
+
| `zenmux/bytedance/doubao-seed-code` | 256K | | | | | | $0.17 | $1 |
|
|
60
|
+
| `zenmux/deepseek/deepseek-v3.2` | 128K | | | | | | $0.29 | $0.44 |
|
|
61
|
+
| `zenmux/deepseek/deepseek-v4-flash` | 1.0M | | | | | | $0.22 | $0.66 |
|
|
62
|
+
| `zenmux/deepseek/deepseek-v4-pro` | 1.0M | | | | | | $0.66 | $2 |
|
|
63
|
+
| `zenmux/deepseek/deepseek-v4.1-flash` | 1.0M | | | | | | $0.07 | $0.30 |
|
|
64
|
+
| `zenmux/google/gemini-2.5-flash` | 1.0M | | | | | | $0.30 | $3 |
|
|
65
|
+
| `zenmux/google/gemini-2.5-flash-lite` | 1.0M | | | | | | $0.10 | $0.40 |
|
|
66
|
+
| `zenmux/google/gemini-2.5-pro` | 1.0M | | | | | | $1 | $10 |
|
|
67
|
+
| `zenmux/google/gemini-3-flash-preview` | 1.0M | | | | | | $0.50 | $3 |
|
|
68
|
+
| `zenmux/google/gemini-3.1-flash-lite` | 1.0M | | | | | | $0.25 | $2 |
|
|
69
|
+
| `zenmux/google/gemini-3.1-pro-preview` | 1.0M | | | | | | $2 | $12 |
|
|
70
|
+
| `zenmux/google/gemini-3.5-flash` | 1.0M | | | | | | $2 | $9 |
|
|
71
|
+
| `zenmux/inclusionai/ring-2.6-1t` | 262K | | | | | | $0.13 | $1 |
|
|
72
|
+
| `zenmux/minimax/minimax-m2` | 204K | | | | | | $0.30 | $1 |
|
|
73
|
+
| `zenmux/minimax/minimax-m2.1` | 204K | | | | | | $0.30 | $1 |
|
|
74
|
+
| `zenmux/minimax/minimax-m2.5` | 205K | | | | | | $0.30 | $1 |
|
|
75
|
+
| `zenmux/minimax/minimax-m2.5-lightning` | 205K | | | | | | $0.60 | $2 |
|
|
76
|
+
| `zenmux/minimax/minimax-m2.7` | 205K | | | | | | $0.30 | $1 |
|
|
77
|
+
| `zenmux/minimax/minimax-m2.7-highspeed` | 205K | | | | | | $0.61 | $2 |
|
|
78
|
+
| `zenmux/minimax/minimax-m3` | 1.0M | | | | | | $0.30 | $1 |
|
|
79
|
+
| `zenmux/minimax/minimax-m3.1-flash` | 1.0M | | | | | | $0.15 | $0.60 |
|
|
80
|
+
| `zenmux/moonshotai/kimi-k2.6` | 262K | | | | | | $0.95 | $4 |
|
|
81
|
+
| `zenmux/moonshotai/kimi-k2.7-code` | 262K | | | | | | $0.95 | $4 |
|
|
82
|
+
| `zenmux/moonshotai/kimi-k2.7-code-highspeed` | 262K | | | | | | $2 | $8 |
|
|
83
|
+
| `zenmux/moonshotai/kimi-k3` | 1.0M | | | | | | $3 | $15 |
|
|
84
|
+
| `zenmux/openai/chat-latest` | 400K | | | | | | $5 | $30 |
|
|
85
|
+
| `zenmux/openai/gpt-5` | 400K | | | | | | $1 | $10 |
|
|
86
|
+
| `zenmux/openai/gpt-5-codex` | 400K | | | | | | $1 | $10 |
|
|
87
|
+
| `zenmux/openai/gpt-5.1` | 400K | | | | | | $1 | $10 |
|
|
88
|
+
| `zenmux/openai/gpt-5.1-codex` | 400K | | | | | | $1 | $10 |
|
|
89
|
+
| `zenmux/openai/gpt-5.1-codex-mini` | 400K | | | | | | $0.25 | $2 |
|
|
90
|
+
| `zenmux/openai/gpt-5.2` | 400K | | | | | | $2 | $14 |
|
|
91
|
+
| `zenmux/openai/gpt-5.2-codex` | 400K | | | | | | $2 | $14 |
|
|
92
|
+
| `zenmux/openai/gpt-5.2-pro` | 400K | | | | | | $21 | $168 |
|
|
93
|
+
| `zenmux/openai/gpt-5.3-codex` | 400K | | | | | | $2 | $14 |
|
|
94
|
+
| `zenmux/openai/gpt-5.4` | 1.1M | | | | | | $3 | $15 |
|
|
95
|
+
| `zenmux/openai/gpt-5.4-mini` | 400K | | | | | | $0.75 | $5 |
|
|
96
|
+
| `zenmux/openai/gpt-5.4-nano` | 400K | | | | | | $0.20 | $1 |
|
|
97
|
+
| `zenmux/openai/gpt-5.4-pro` | 1.1M | | | | | | $30 | $180 |
|
|
98
|
+
| `zenmux/openai/gpt-5.5` | 1.1M | | | | | | $5 | $30 |
|
|
99
|
+
| `zenmux/openai/gpt-5.5-pro` | 1.1M | | | | | | $30 | $180 |
|
|
100
|
+
| `zenmux/openai/gpt-5.6-luna` | 1.1M | | | | | | $0.20 | $1 |
|
|
101
|
+
| `zenmux/openai/gpt-5.6-sol` | 1.1M | | | | | | $4 | $20 |
|
|
102
|
+
| `zenmux/openai/gpt-5.6-terra` | 1.1M | | | | | | $2 | $12 |
|
|
103
|
+
| `zenmux/openai/gpt-6-astra` | 1.1M | | | | | | $10 | $50 |
|
|
104
|
+
| `zenmux/openai/gpt-6-sol` | 1.1M | | | | | | $2 | $10 |
|
|
105
|
+
| `zenmux/qwen/qwen3.5-flash` | 1.0M | | | | | | $0.10 | $0.40 |
|
|
106
|
+
| `zenmux/qwen/qwen3.5-plus` | 1.0M | | | | | | $0.40 | $2 |
|
|
107
|
+
| `zenmux/qwen/qwen3.6-plus` | 1.0M | | | | | | $0.50 | $3 |
|
|
108
|
+
| `zenmux/qwen/qwen3.7-max` | 1.0M | | | | | | $1 | $4 |
|
|
109
|
+
| `zenmux/qwen/qwen3.7-plus` | 1.0M | | | | | | $0.40 | $2 |
|
|
110
|
+
| `zenmux/stepfun/step-3.5-flash` | 256K | | | | | | $0.10 | $0.30 |
|
|
111
|
+
| `zenmux/stepfun/step-3.7-flash` | 256K | | | | | | $0.20 | $1 |
|
|
112
|
+
| `zenmux/x-ai/grok-4.2-fast` | 2.0M | | | | | | $2 | $6 |
|
|
113
|
+
| `zenmux/x-ai/grok-4.2-fast-non-reasoning` | 2.0M | | | | | | $2 | $6 |
|
|
114
|
+
| `zenmux/x-ai/grok-4.3` | 1.0M | | | | | | $1 | $3 |
|
|
115
|
+
| `zenmux/x-ai/grok-4.5` | 500K | | | | | | $2 | $6 |
|
|
116
|
+
| `zenmux/x-ai/grok-4.6` | 500K | | | | | | $2 | $6 |
|
|
117
|
+
| `zenmux/x-ai/grok-build-0.1` | 256K | | | | | | $1 | $2 |
|
|
118
|
+
| `zenmux/x-ai/grok-imagine-image-2.0` | 66K | | | | | | — | — |
|
|
119
|
+
| `zenmux/x-ai/grok-voice-stt-1.0` | 15K | | | | | | — | — |
|
|
120
|
+
| `zenmux/x-ai/grok-voice-tts-1.0` | 15K | | | | | | — | — |
|
|
121
|
+
| `zenmux/xiaomi/mimo-v2.6-pro` | 1.0M | | | | | | $0.43 | $0.87 |
|
|
122
|
+
| `zenmux/z-ai/glm-4.5` | 128K | | | | | | $0.29 | $1 |
|
|
123
|
+
| `zenmux/z-ai/glm-4.5-air` | 128K | | | | | | $0.12 | $0.29 |
|
|
124
|
+
| `zenmux/z-ai/glm-4.6` | 200K | | | | | | $0.29 | $1 |
|
|
125
|
+
| `zenmux/z-ai/glm-4.6v` | 200K | | | | | | $0.15 | $0.44 |
|
|
126
|
+
| `zenmux/z-ai/glm-4.6v-flash` | 200K | | | | | | $0.02 | $0.22 |
|
|
127
|
+
| `zenmux/z-ai/glm-4.6v-flash-free` | 200K | | | | | | — | — |
|
|
128
|
+
| `zenmux/z-ai/glm-4.7` | 200K | | | | | | $0.29 | $1 |
|
|
129
|
+
| `zenmux/z-ai/glm-4.7-flash-free` | 200K | | | | | | — | — |
|
|
130
|
+
| `zenmux/z-ai/glm-4.7-flashx` | 200K | | | | | | $0.07 | $0.44 |
|
|
131
|
+
| `zenmux/z-ai/glm-5` | 200K | | | | | | $0.58 | $3 |
|
|
132
|
+
| `zenmux/z-ai/glm-5-turbo` | 200K | | | | | | $0.73 | $3 |
|
|
133
|
+
| `zenmux/z-ai/glm-5.1` | 200K | | | | | | $0.88 | $4 |
|
|
134
|
+
| `zenmux/z-ai/glm-5.2` | 1.0M | | | | | | $1 | $4 |
|
|
135
|
+
| `zenmux/z-ai/glm-5.3` | 1.0M | | | | | | $1 | $4 |
|
|
136
|
+
| `zenmux/z-ai/glm-5.3-flash` | 1.0M | | | | | | $0.07 | $0.25 |
|
|
137
|
+
| `zenmux/z-ai/glm-5.3-flashx` | 1.0M | | | | | | $0.38 | $1 |
|
|
138
|
+
| `zenmux/z-ai/glm-5v-turbo` | 200K | | | | | | $0.73 | $3 |
|
|
139
|
+
| `zenmux/z-ai/glm-image` | 10K | | | | | | — | — |
|
|
160
140
|
|
|
161
141
|
Model availability, capabilities, context windows, and pricing are sourced from [models.dev](https://models.dev) and may change.
|
|
162
142
|
|
|
@@ -165,12 +145,14 @@ Model availability, capabilities, context windows, and pricing are sourced from
|
|
|
165
145
|
### Custom headers
|
|
166
146
|
|
|
167
147
|
```typescript
|
|
148
|
+
import { Agent } from "@mastra/core/agent";
|
|
149
|
+
|
|
168
150
|
const agent = new Agent({
|
|
169
151
|
id: "custom-agent",
|
|
170
152
|
name: "custom-agent",
|
|
171
153
|
model: {
|
|
172
154
|
url: "https://zenmux.ai/api/v1",
|
|
173
|
-
id: "zenmux/anthropic/claude-
|
|
155
|
+
id: "zenmux/anthropic/claude-fable-5",
|
|
174
156
|
apiKey: process.env.ZENMUX_API_KEY,
|
|
175
157
|
headers: {
|
|
176
158
|
"X-Custom-Header": "value"
|
|
@@ -182,6 +164,8 @@ const agent = new Agent({
|
|
|
182
164
|
### Dynamic model selection
|
|
183
165
|
|
|
184
166
|
```typescript
|
|
167
|
+
import { Agent } from "@mastra/core/agent";
|
|
168
|
+
|
|
185
169
|
const agent = new Agent({
|
|
186
170
|
id: "dynamic-agent",
|
|
187
171
|
name: "Dynamic Agent",
|
|
@@ -189,7 +173,7 @@ const agent = new Agent({
|
|
|
189
173
|
const useAdvanced = requestContext.task === "complex";
|
|
190
174
|
return useAdvanced
|
|
191
175
|
? "zenmux/z-ai/glm-image"
|
|
192
|
-
: "zenmux/anthropic/claude-
|
|
176
|
+
: "zenmux/anthropic/claude-fable-5";
|
|
193
177
|
}
|
|
194
178
|
});
|
|
195
179
|
```
|
|
@@ -49,6 +49,8 @@ Model availability, capabilities, context windows, and pricing are sourced from
|
|
|
49
49
|
### Custom headers
|
|
50
50
|
|
|
51
51
|
```typescript
|
|
52
|
+
import { Agent } from "@mastra/core/agent";
|
|
53
|
+
|
|
52
54
|
const agent = new Agent({
|
|
53
55
|
id: "custom-agent",
|
|
54
56
|
name: "custom-agent",
|
|
@@ -66,6 +68,8 @@ const agent = new Agent({
|
|
|
66
68
|
### Dynamic model selection
|
|
67
69
|
|
|
68
70
|
```typescript
|
|
71
|
+
import { Agent } from "@mastra/core/agent";
|
|
72
|
+
|
|
69
73
|
const agent = new Agent({
|
|
70
74
|
id: "dynamic-agent",
|
|
71
75
|
name: "Dynamic Agent",
|
|
@@ -63,6 +63,8 @@ Model availability, capabilities, context windows, and pricing are sourced from
|
|
|
63
63
|
### Custom headers
|
|
64
64
|
|
|
65
65
|
```typescript
|
|
66
|
+
import { Agent } from "@mastra/core/agent";
|
|
67
|
+
|
|
66
68
|
const agent = new Agent({
|
|
67
69
|
id: "custom-agent",
|
|
68
70
|
name: "custom-agent",
|
|
@@ -80,6 +82,8 @@ const agent = new Agent({
|
|
|
80
82
|
### Dynamic model selection
|
|
81
83
|
|
|
82
84
|
```typescript
|
|
85
|
+
import { Agent } from "@mastra/core/agent";
|
|
86
|
+
|
|
83
87
|
const agent = new Agent({
|
|
84
88
|
id: "dynamic-agent",
|
|
85
89
|
name: "Dynamic Agent",
|
|
@@ -83,7 +83,6 @@ Direct access to individual AI model providers. Each provider offers unique mode
|
|
|
83
83
|
- [Hetzner](https://mastra.ai/models/providers/hetzner)
|
|
84
84
|
- [HPC-AI](https://mastra.ai/models/providers/hpc-ai)
|
|
85
85
|
- [Hugging Face](https://mastra.ai/models/providers/huggingface)
|
|
86
|
-
- [iFlow](https://mastra.ai/models/providers/iflowcn)
|
|
87
86
|
- [Impossibl](https://mastra.ai/models/providers/impossibl)
|
|
88
87
|
- [Inception](https://mastra.ai/models/providers/inception)
|
|
89
88
|
- [Inceptron](https://mastra.ai/models/providers/inceptron)
|
|
@@ -105,7 +104,6 @@ Direct access to individual AI model providers. Each provider offers unique mode
|
|
|
105
104
|
- [KUAE Cloud Coding Plan](https://mastra.ai/models/providers/kuae-cloud-coding-plan)
|
|
106
105
|
- [Lilac](https://mastra.ai/models/providers/lilac)
|
|
107
106
|
- [Liquid Inference](https://mastra.ai/models/providers/liquid)
|
|
108
|
-
- [Llama](https://mastra.ai/models/providers/llama)
|
|
109
107
|
- [LLM Gateway](https://mastra.ai/models/providers/llmgateway-providers)
|
|
110
108
|
- [LLM Tech](https://mastra.ai/models/providers/llmtech)
|
|
111
109
|
- [LLMTR](https://mastra.ai/models/providers/llmtr)
|
|
@@ -130,6 +128,8 @@ Direct access to individual AI model providers. Each provider offers unique mode
|
|
|
130
128
|
- [Moonshot AI](https://mastra.ai/models/providers/moonshotai)
|
|
131
129
|
- [Moonshot AI (China)](https://mastra.ai/models/providers/moonshotai-cn)
|
|
132
130
|
- [Morph](https://mastra.ai/models/providers/morph)
|
|
131
|
+
- [Munito AI](https://mastra.ai/models/providers/munito)
|
|
132
|
+
- [Munito AI (EU)](https://mastra.ai/models/providers/munito-eu)
|
|
133
133
|
- [NaN](https://mastra.ai/models/providers/nan)
|
|
134
134
|
- [NanoGPT](https://mastra.ai/models/providers/nano-gpt)
|
|
135
135
|
- [NEAR AI Cloud](https://mastra.ai/models/providers/nearai)
|
|
@@ -29,7 +29,7 @@ export const codeSupervisor = new Agent({
|
|
|
29
29
|
id: 'code-supervisor',
|
|
30
30
|
name: 'Code Supervisor',
|
|
31
31
|
instructions: 'Delegate code editing tasks to the code-agent subagent.',
|
|
32
|
-
model: 'openai/gpt-
|
|
32
|
+
model: 'openai/gpt-6.1-sol',
|
|
33
33
|
agents: {
|
|
34
34
|
codeAgent,
|
|
35
35
|
},
|
|
@@ -48,7 +48,7 @@ export const claudeCodeAgent = new AcpAgent({
|
|
|
48
48
|
command: 'npx',
|
|
49
49
|
args: ['@agentclientprotocol/claude-agent-acp'],
|
|
50
50
|
cwd: process.cwd(),
|
|
51
|
-
model: 'claude-sonnet-
|
|
51
|
+
model: 'claude-sonnet-5-5',
|
|
52
52
|
})
|
|
53
53
|
```
|
|
54
54
|
|
|
@@ -82,7 +82,7 @@ export const claudeCodeAgent = new AcpAgent({
|
|
|
82
82
|
|
|
83
83
|
**workspace** (`Workspace`): Workspace used for ACP file read and write requests. Defaults to a Workspace backed by LocalFilesystem at cwd or process.cwd().
|
|
84
84
|
|
|
85
|
-
**model** (`ModelId`): Model ID to select after ACP session creation using the ACP session/
|
|
85
|
+
**model** (`ModelId`): Model ID to select after ACP session creation using the ACP session/set_model method.
|
|
86
86
|
|
|
87
87
|
## Properties
|
|
88
88
|
|
|
@@ -132,7 +132,7 @@ Starts the ACP process if needed and returns the model list advertised by the AC
|
|
|
132
132
|
|
|
133
133
|
```typescript
|
|
134
134
|
const models = await codeAgent.getAvailableModels()
|
|
135
|
-
// [{ modelId: 'claude-sonnet-
|
|
135
|
+
// [{ modelId: 'claude-sonnet-5-5', name: 'Claude Sonnet' }, ...]
|
|
136
136
|
```
|
|
137
137
|
|
|
138
138
|
#### `setModel(modelId)`
|
|
@@ -140,7 +140,7 @@ const models = await codeAgent.getAvailableModels()
|
|
|
140
140
|
Selects a model for the active ACP session. If the ACP agent advertises available models, the model ID must match one of them.
|
|
141
141
|
|
|
142
142
|
```typescript
|
|
143
|
-
await codeAgent.setModel('claude-sonnet-
|
|
143
|
+
await codeAgent.setModel('claude-sonnet-5-5')
|
|
144
144
|
```
|
|
145
145
|
|
|
146
146
|
## Session lifecycle
|
|
@@ -28,7 +28,7 @@ export const codeSupervisor = new Agent({
|
|
|
28
28
|
id: 'code-supervisor',
|
|
29
29
|
name: 'Code Supervisor',
|
|
30
30
|
instructions: 'Use the code-agent tool when a task requires repository inspection or code edits.',
|
|
31
|
-
model: 'openai/gpt-
|
|
31
|
+
model: 'openai/gpt-6.1-sol',
|
|
32
32
|
tools: {
|
|
33
33
|
codeAgentTool,
|
|
34
34
|
},
|
|
@@ -63,7 +63,7 @@ export const codeSupervisor = new Agent({
|
|
|
63
63
|
|
|
64
64
|
**workspace** (`Workspace`): Workspace option from the shared ACP connection options. During tool execution, createACPTool() passes the current Mastra workspace from the execution context when one is available; otherwise the ACP connection falls back to a local filesystem workspace. Use AcpAgent when you need to provide an explicit workspace instance.
|
|
65
65
|
|
|
66
|
-
**model** (`ModelId`): Model ID to select after ACP session creation using the ACP session/
|
|
66
|
+
**model** (`ModelId`): Model ID to select after ACP session creation using the ACP session/set_model method.
|
|
67
67
|
|
|
68
68
|
## Input schema
|
|
69
69
|
|
|
@@ -21,7 +21,7 @@ const agent = new Agent({
|
|
|
21
21
|
id: 'coding-agent',
|
|
22
22
|
name: 'Coding agent',
|
|
23
23
|
instructions: 'Help with software engineering tasks.',
|
|
24
|
-
model: 'anthropic/claude-sonnet-
|
|
24
|
+
model: 'anthropic/claude-sonnet-5-5',
|
|
25
25
|
})
|
|
26
26
|
|
|
27
27
|
const controller = new AgentController({
|
|
@@ -62,7 +62,7 @@ A message lifecycle starts with the initial message in `message_start`. Compact
|
|
|
62
62
|
|
|
63
63
|
**modes.instructions** (`string`): Instructions layered above the backing agent instructions for this mode.
|
|
64
64
|
|
|
65
|
-
**modes.transitionsTo** (`string`): Mode entered after an approved
|
|
65
|
+
**modes.transitionsTo** (`string`): Mode entered after an approved submit_plan suspension.
|
|
66
66
|
|
|
67
67
|
**modes.availableTools** (`string[]`): Allowlist of exposed tool names. An empty array hides every tool in this mode.
|
|
68
68
|
|
|
@@ -348,7 +348,7 @@ Returns: `Promise<StorageListMessagesOutput>` with controller-format messages.
|
|
|
348
348
|
|
|
349
349
|
#### `generateThreadTitle(options)`
|
|
350
350
|
|
|
351
|
-
Generate and store a title from a thread's conversation without creating a Session. `threadId` is required. `sessionId`, `model`, and `requestContext
|
|
351
|
+
Generate and store a title from a thread's conversation without creating a Session. `threadId` is required. Optional fields include `sessionId`, `model`, and `requestContext`. Passing `sessionId` borrows a live session's agent and request context. The method throws when the thread doesn't exist and returns `undefined` when the model produces no title.
|
|
352
352
|
|
|
353
353
|
```typescript
|
|
354
354
|
const title = await controller.generateThreadTitle({
|