@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
|
@@ -133,7 +133,7 @@ Embed Mastra in your Next.js API route and connect an OpenUI `<AgentInterface />
|
|
|
133
133
|
name: 'OpenUI Agent',
|
|
134
134
|
instructions: `You are a helpful assistant. Use tools when relevant.\n\n${systemPrompt}`,
|
|
135
135
|
model: {
|
|
136
|
-
id: 'openai/gpt-
|
|
136
|
+
id: 'openai/gpt-6.1-sol',
|
|
137
137
|
apiKey: process.env.OPENAI_API_KEY,
|
|
138
138
|
},
|
|
139
139
|
tools: { getWeather },
|
|
@@ -129,6 +129,8 @@ When auth is enabled, requests to Mastra's built-in routes require authenticatio
|
|
|
129
129
|
If your Better Auth setup uses cookies, configure the client to send credentials. For cross-origin requests (e.g. Next.js on `:3000` calling Mastra on `:4111`), enable CORS credentials on the Mastra server:
|
|
130
130
|
|
|
131
131
|
```ts
|
|
132
|
+
import { Mastra } from '@mastra/core'
|
|
133
|
+
|
|
132
134
|
export const mastra = new Mastra({
|
|
133
135
|
server: {
|
|
134
136
|
auth: mastraAuth,
|
|
@@ -205,6 +205,8 @@ When auth is enabled, requests to Mastra routes require authentication. When SSO
|
|
|
205
205
|
For cross-origin requests (for example, a frontend on `:3000` calling Mastra on `:4111`), enable CORS credentials on the Mastra server:
|
|
206
206
|
|
|
207
207
|
```typescript
|
|
208
|
+
import { Mastra } from '@mastra/core'
|
|
209
|
+
|
|
208
210
|
export const mastra = new Mastra({
|
|
209
211
|
server: {
|
|
210
212
|
auth: new MastraAuthGoogle(),
|
|
@@ -157,6 +157,8 @@ When auth is enabled, requests to Mastra routes require authentication. `MastraA
|
|
|
157
157
|
For cross-origin requests (e.g. a frontend on `:3000` calling Mastra on `:4111`), enable CORS credentials on the Mastra server:
|
|
158
158
|
|
|
159
159
|
```typescript
|
|
160
|
+
import { Mastra } from '@mastra/core'
|
|
161
|
+
|
|
160
162
|
export const mastra = new Mastra({
|
|
161
163
|
server: {
|
|
162
164
|
auth: new MastraAuthOkta(),
|
|
@@ -56,7 +56,7 @@ const browser = new AgentBrowser({
|
|
|
56
56
|
export const browserAgent = new Agent({
|
|
57
57
|
id: 'browser-agent',
|
|
58
58
|
name: 'Browser Agent',
|
|
59
|
-
model: 'openai/gpt-
|
|
59
|
+
model: 'openai/gpt-6.1-sol',
|
|
60
60
|
browser,
|
|
61
61
|
instructions: `You are a web automation assistant.
|
|
62
62
|
|
|
@@ -79,7 +79,7 @@ const workspace = new Workspace({
|
|
|
79
79
|
|
|
80
80
|
const browserAgent = new Agent({
|
|
81
81
|
id: 'browser-agent',
|
|
82
|
-
model: 'openai/gpt-
|
|
82
|
+
model: 'openai/gpt-6.1-sol',
|
|
83
83
|
workspace,
|
|
84
84
|
instructions: `You are a web automation assistant.
|
|
85
85
|
Use browser-use commands to navigate and interact with websites.`,
|
|
@@ -64,7 +64,7 @@ const browser = new FirecrawlBrowser({
|
|
|
64
64
|
export const firecrawlAgent = new Agent({
|
|
65
65
|
id: 'firecrawl-agent',
|
|
66
66
|
name: 'Firecrawl Agent',
|
|
67
|
-
model: 'openai/gpt-
|
|
67
|
+
model: 'openai/gpt-6.1-sol',
|
|
68
68
|
browser,
|
|
69
69
|
instructions: `You are a web automation assistant.
|
|
70
70
|
|
|
@@ -51,13 +51,13 @@ import { StagehandBrowser } from '@mastra/stagehand'
|
|
|
51
51
|
|
|
52
52
|
const browser = new StagehandBrowser({
|
|
53
53
|
headless: false,
|
|
54
|
-
model: 'openai/gpt-
|
|
54
|
+
model: 'openai/gpt-6.1-sol',
|
|
55
55
|
})
|
|
56
56
|
|
|
57
57
|
export const stagehandAgent = new Agent({
|
|
58
58
|
id: 'stagehand-agent',
|
|
59
59
|
name: 'Stagehand Agent',
|
|
60
|
-
model: 'openai/gpt-
|
|
60
|
+
model: 'openai/gpt-6.1-sol',
|
|
61
61
|
browser,
|
|
62
62
|
instructions: `You are a web automation assistant.
|
|
63
63
|
|
|
@@ -121,7 +121,7 @@ Use screenshots when you need to visually inspect the page, for example, evaluat
|
|
|
121
121
|
```typescript
|
|
122
122
|
const browser = new StagehandBrowser({
|
|
123
123
|
headless: false,
|
|
124
|
-
model: 'openai/gpt-
|
|
124
|
+
model: 'openai/gpt-6.1-sol',
|
|
125
125
|
})
|
|
126
126
|
```
|
|
127
127
|
|
|
@@ -130,7 +130,7 @@ To disable the screenshot tool for models that don't support vision, use `exclud
|
|
|
130
130
|
```typescript
|
|
131
131
|
const browser = new StagehandBrowser({
|
|
132
132
|
headless: false,
|
|
133
|
-
model: 'openai/gpt-
|
|
133
|
+
model: 'openai/gpt-6.1-sol',
|
|
134
134
|
excludeTools: ['stagehand_screenshot'],
|
|
135
135
|
})
|
|
136
136
|
```
|
|
@@ -144,7 +144,7 @@ const browser = new StagehandBrowser({
|
|
|
144
144
|
env: 'BROWSERBASE',
|
|
145
145
|
apiKey: process.env.BROWSERBASE_API_KEY,
|
|
146
146
|
projectId: process.env.BROWSERBASE_PROJECT_ID,
|
|
147
|
-
model: 'openai/gpt-
|
|
147
|
+
model: 'openai/gpt-6.1-sol',
|
|
148
148
|
})
|
|
149
149
|
```
|
|
150
150
|
|
|
@@ -157,7 +157,7 @@ Stagehand can opt into Beta browser recording tools:
|
|
|
157
157
|
```typescript
|
|
158
158
|
const browser = new StagehandBrowser({
|
|
159
159
|
headless: false,
|
|
160
|
-
model: 'openai/gpt-
|
|
160
|
+
model: 'openai/gpt-6.1-sol',
|
|
161
161
|
recording: {
|
|
162
162
|
outputDir: './browser-recordings',
|
|
163
163
|
},
|
|
@@ -46,7 +46,7 @@ export const discordAgent = new Agent({
|
|
|
46
46
|
id: 'discord-agent',
|
|
47
47
|
name: 'Discord Agent',
|
|
48
48
|
instructions: 'Answer questions and help with tasks in Discord.',
|
|
49
|
-
model: 'openai/gpt-
|
|
49
|
+
model: 'openai/gpt-6.1-sol',
|
|
50
50
|
channels: {
|
|
51
51
|
adapters: {
|
|
52
52
|
discord: createDiscordAdapter(),
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
# GitHub
|
|
6
6
|
|
|
7
|
-
The `@mastra/github-signals` provider lets an agent follow pull requests (PRs). It polls subscribed PRs and sends [notification signals](https://mastra.ai/docs/
|
|
7
|
+
The `@mastra/github-signals` provider lets an agent follow pull requests (PRs). It polls subscribed PRs and sends [notification signals](https://mastra.ai/docs/signals/notifications) to the agent thread when relevant activity occurs.
|
|
8
8
|
|
|
9
9
|
## Installation
|
|
10
10
|
|
|
@@ -66,7 +66,7 @@ export const devAgent = new Agent({
|
|
|
66
66
|
id: 'dev-agent',
|
|
67
67
|
name: 'Development Agent',
|
|
68
68
|
instructions: 'Triage pull request activity and help resolve issues.',
|
|
69
|
-
model: 'openai/gpt-
|
|
69
|
+
model: 'openai/gpt-6.1-sol',
|
|
70
70
|
memory: new Memory(),
|
|
71
71
|
signals: [githubSignals],
|
|
72
72
|
})
|
|
@@ -45,30 +45,6 @@ bun add @photon-ai/chat-adapter-imessage
|
|
|
45
45
|
|
|
46
46
|
**Linq**:
|
|
47
47
|
|
|
48
|
-
```bash
|
|
49
|
-
npm install @photon-ai/chat-adapter-imessage
|
|
50
|
-
```
|
|
51
|
-
|
|
52
|
-
**Tab 3**:
|
|
53
|
-
|
|
54
|
-
```bash
|
|
55
|
-
pnpm add @photon-ai/chat-adapter-imessage
|
|
56
|
-
```
|
|
57
|
-
|
|
58
|
-
**Tab 4**:
|
|
59
|
-
|
|
60
|
-
```bash
|
|
61
|
-
yarn add @photon-ai/chat-adapter-imessage
|
|
62
|
-
```
|
|
63
|
-
|
|
64
|
-
**Tab 5**:
|
|
65
|
-
|
|
66
|
-
```bash
|
|
67
|
-
bun add @photon-ai/chat-adapter-imessage
|
|
68
|
-
```
|
|
69
|
-
|
|
70
|
-
**Tab 6**:
|
|
71
|
-
|
|
72
48
|
Install the Linq Chat SDK adapter:
|
|
73
49
|
|
|
74
50
|
**npm**:
|
|
@@ -95,30 +71,6 @@ yarn add @linqapp/chat-sdk-adapter
|
|
|
95
71
|
bun add @linqapp/chat-sdk-adapter
|
|
96
72
|
```
|
|
97
73
|
|
|
98
|
-
**Tab 7**:
|
|
99
|
-
|
|
100
|
-
```bash
|
|
101
|
-
npm install @linqapp/chat-sdk-adapter
|
|
102
|
-
```
|
|
103
|
-
|
|
104
|
-
**Tab 8**:
|
|
105
|
-
|
|
106
|
-
```bash
|
|
107
|
-
pnpm add @linqapp/chat-sdk-adapter
|
|
108
|
-
```
|
|
109
|
-
|
|
110
|
-
**Tab 9**:
|
|
111
|
-
|
|
112
|
-
```bash
|
|
113
|
-
yarn add @linqapp/chat-sdk-adapter
|
|
114
|
-
```
|
|
115
|
-
|
|
116
|
-
**Tab 10**:
|
|
117
|
-
|
|
118
|
-
```bash
|
|
119
|
-
bun add @linqapp/chat-sdk-adapter
|
|
120
|
-
```
|
|
121
|
-
|
|
122
74
|
## Agent configuration
|
|
123
75
|
|
|
124
76
|
Add the adapter factory to the agent's `channels.adapters` object:
|
|
@@ -133,7 +85,7 @@ export const imessageAgent = new Agent({
|
|
|
133
85
|
id: 'imessage-agent',
|
|
134
86
|
name: 'iMessage Agent',
|
|
135
87
|
instructions: 'Answer questions and help with tasks over iMessage.',
|
|
136
|
-
model: 'openai/gpt-
|
|
88
|
+
model: 'openai/gpt-6.1-sol',
|
|
137
89
|
channels: {
|
|
138
90
|
adapters: {
|
|
139
91
|
imessage: {
|
|
@@ -158,7 +110,7 @@ export const imessageAgent = new Agent({
|
|
|
158
110
|
id: 'imessage-agent',
|
|
159
111
|
name: 'iMessage Agent',
|
|
160
112
|
instructions: 'Answer questions and help with tasks over iMessage.',
|
|
161
|
-
model: 'openai/gpt-
|
|
113
|
+
model: 'openai/gpt-6.1-sol',
|
|
162
114
|
channels: {
|
|
163
115
|
adapters: {
|
|
164
116
|
imessage: {
|
|
@@ -44,7 +44,7 @@ export const yourAgent = new Agent({
|
|
|
44
44
|
id: 'your-agent',
|
|
45
45
|
name: 'Your Agent',
|
|
46
46
|
instructions: 'Help people plan tasks, answer questions, and coordinate work in Slack.',
|
|
47
|
-
model: 'anthropic/claude-opus-
|
|
47
|
+
model: 'anthropic/claude-opus-5-5',
|
|
48
48
|
channels: {
|
|
49
49
|
adapters: {
|
|
50
50
|
slack: createSlackAdapter(),
|
|
@@ -46,7 +46,7 @@ export const teamsAgent = new Agent({
|
|
|
46
46
|
id: 'teams-agent',
|
|
47
47
|
name: 'Teams Agent',
|
|
48
48
|
instructions: 'Answer questions and help with tasks in Microsoft Teams.',
|
|
49
|
-
model: 'openai/gpt-
|
|
49
|
+
model: 'openai/gpt-6.1-sol',
|
|
50
50
|
channels: {
|
|
51
51
|
adapters: {
|
|
52
52
|
teams: createTeamsAdapter({
|
|
@@ -46,7 +46,7 @@ export const telegramAgent = new Agent({
|
|
|
46
46
|
id: 'telegram-agent',
|
|
47
47
|
name: 'Telegram Agent',
|
|
48
48
|
instructions: 'Answer questions and help with tasks in Telegram.',
|
|
49
|
-
model: 'openai/gpt-
|
|
49
|
+
model: 'openai/gpt-6.1-sol',
|
|
50
50
|
channels: {
|
|
51
51
|
adapters: {
|
|
52
52
|
telegram: createTelegramAdapter(),
|
|
@@ -46,7 +46,7 @@ export const whatsappAgent = new Agent({
|
|
|
46
46
|
id: 'whatsapp-agent',
|
|
47
47
|
name: 'WhatsApp Agent',
|
|
48
48
|
instructions: 'Answer customer questions and help with tasks in WhatsApp.',
|
|
49
|
-
model: 'openai/gpt-
|
|
49
|
+
model: 'openai/gpt-6.1-sol',
|
|
50
50
|
channels: {
|
|
51
51
|
adapters: {
|
|
52
52
|
whatsapp: createWhatsAppAdapter(),
|
|
@@ -245,7 +245,7 @@ export const dsqlAgent = new Agent({
|
|
|
245
245
|
name: 'DSQL Agent',
|
|
246
246
|
instructions:
|
|
247
247
|
'You are an AI agent with the ability to automatically recall memories from previous interactions.',
|
|
248
|
-
model: 'openai/gpt-
|
|
248
|
+
model: 'openai/gpt-6.1-sol',
|
|
249
249
|
memory: new Memory({
|
|
250
250
|
storage: new DSQLStore({
|
|
251
251
|
id: 'dsql-agent-storage',
|
|
@@ -309,7 +309,7 @@ Aurora DSQL storage provides index management capabilities to optimize query per
|
|
|
309
309
|
Aurora DSQL storage automatically creates composite indexes during initialization for common query patterns:
|
|
310
310
|
|
|
311
311
|
- `mastra_threads_resourceid_createdat_idx`: (resourceId, createdAt)
|
|
312
|
-
- `mastra_messages_thread_id_createdat_idx`: (
|
|
312
|
+
- `mastra_messages_thread_id_createdat_idx`: (thread_id, createdAt)
|
|
313
313
|
- `mastra_ai_spans_traceid_startedat_idx`: (traceId, startedAt)
|
|
314
314
|
- `mastra_ai_spans_parentspanid_startedat_idx`: (parentSpanId, startedAt)
|
|
315
315
|
- `mastra_ai_spans_name_idx`: (name)
|
|
@@ -342,7 +342,7 @@ Aurora DSQL doesn't allow `ASC`/`DESC` in `CREATE INDEX ASYNC`. If you include t
|
|
|
342
342
|
|
|
343
343
|
**name** (`string`): Unique name for the index
|
|
344
344
|
|
|
345
|
-
**table** (`string`): Table name (e.g., '
|
|
345
|
+
**table** (`string`): Table name (e.g., 'mastra_threads')
|
|
346
346
|
|
|
347
347
|
**columns** (`string[]`): Array of column names. ASC/DESC modifiers are automatically stripped for Aurora DSQL compatibility.
|
|
348
348
|
|
|
@@ -94,6 +94,10 @@ The storage implementation handles schema creation and updates automatically. It
|
|
|
94
94
|
|
|
95
95
|
Cloudflare KV is an eventually consistent store, meaning that data may not be immediately available across all regions after a write.
|
|
96
96
|
|
|
97
|
+
> **Resuming runs across Workers:** A write to KV can take up to about 60 seconds to reach other locations. If one Worker suspends a workflow or [durable agent](https://mastra.ai/docs/harness/durable-agents) run and a different Worker resumes it soon after, for example when a user approves a tool call quickly, the resume can read an older snapshot. It then fails with `AGENT_RESUME_NO_SNAPSHOT_FOUND` or `WORKFLOW_RUN_NOT_SUSPENDED`, or resumes from an earlier step.
|
|
98
|
+
>
|
|
99
|
+
> If runs can be resumed by a different Worker or process than the one that suspended them, use [Cloudflare Durable Objects storage](#cloudflare-durable-objects-storage) instead.
|
|
100
|
+
|
|
97
101
|
### Key Structure & Namespacing
|
|
98
102
|
|
|
99
103
|
Keys in Cloudflare KV are structured as a combination of a configurable prefix and a table-specific format (e.g., `threads:threadId`). For Workers deployments, `keyPrefix` is used to isolate data within a namespace; for REST API deployments, `namespacePrefix` is used to isolate entire namespaces between environments or applications.
|
|
@@ -50,7 +50,7 @@ bun add @mastra/dynamodb@latest
|
|
|
50
50
|
|
|
51
51
|
Before using this package, you **must** create a DynamoDB table with a specific structure, including primary keys and Global Secondary Indexes (GSIs). This adapter expects the DynamoDB table and its GSIs to be provisioned externally.
|
|
52
52
|
|
|
53
|
-
Detailed instructions for setting up the table using AWS CloudFormation or AWS CDK are available in [
|
|
53
|
+
Detailed instructions for setting up the table using AWS CloudFormation or AWS CDK are available in [TABLE_SETUP.md](https://github.com/mastra-ai/mastra/blob/main/stores/dynamodb/TABLE_SETUP.md). Please ensure your table is configured according to those instructions before proceeding.
|
|
54
54
|
|
|
55
55
|
## Usage
|
|
56
56
|
|
|
@@ -122,7 +122,7 @@ For local development, you can use [DynamoDB Local](https://docs.aws.amazon.com/
|
|
|
122
122
|
|
|
123
123
|
**config.credentials** (`object`): AWS credentials object with accessKeyId and secretAccessKey. If not provided, the AWS SDK will attempt to source credentials from environment variables, IAM roles (e.g., for EC2/Lambda), or the shared AWS credentials file.
|
|
124
124
|
|
|
125
|
-
**config.ttl** (`object`): TTL (Time To Live) configuration for automatic data expiration. Configure per entity type: thread, message, trace, eval,
|
|
125
|
+
**config.ttl** (`object`): TTL (Time To Live) configuration for automatic data expiration. Configure per entity type: thread, message, trace, eval, workflow_snapshot, resource, score. Each entity config includes: enabled (boolean), attributeName (string, default: 'ttl'), defaultTtlSeconds (number).
|
|
126
126
|
|
|
127
127
|
## TTL (time to live) configuration
|
|
128
128
|
|
|
@@ -254,7 +254,7 @@ The IAM role or user executing the code needs appropriate permissions to interac
|
|
|
254
254
|
|
|
255
255
|
Before diving into the architectural details, keep these key points in mind when working with the DynamoDB storage adapter:
|
|
256
256
|
|
|
257
|
-
- **External Table Provisioning:** This adapter _requires_ you to create and configure the DynamoDB table and its Global Secondary Indexes (GSIs) yourself, prior to using the adapter. Follow the guide in [
|
|
257
|
+
- **External Table Provisioning:** This adapter _requires_ you to create and configure the DynamoDB table and its Global Secondary Indexes (GSIs) yourself, prior to using the adapter. Follow the guide in [TABLE_SETUP.md](https://github.com/mastra-ai/mastra/blob/main/stores/dynamodb/TABLE_SETUP.md).
|
|
258
258
|
- **Single-Table Design:** All Mastra data (threads, messages, etc.) is stored in one DynamoDB table. This is a deliberate design choice optimized for DynamoDB, differing from relational database approaches.
|
|
259
259
|
- **Understanding GSIs:** Familiarity with how the GSIs are structured (as per `TABLE_SETUP.md`) is important for understanding data retrieval and potential query patterns.
|
|
260
260
|
- **ElectroDB:** The adapter uses ElectroDB to manage interactions with DynamoDB, providing a layer of abstraction and type safety over raw DynamoDB operations.
|
|
@@ -266,7 +266,7 @@ This storage adapter utilizes a **single-table design pattern** with [ElectroDB]
|
|
|
266
266
|
Key aspects of this approach:
|
|
267
267
|
|
|
268
268
|
- **DynamoDB Native:** The single-table design is optimized for DynamoDB's key-value and query capabilities, often leading to better performance and capacity compared to mimicking relational models.
|
|
269
|
-
- **External Table Management:** Unlike some adapters that might offer helper functions to create tables via code, this adapter **expects the DynamoDB table and its associated Global Secondary Indexes (GSIs) to be provisioned externally** before use. Please refer to [
|
|
269
|
+
- **External Table Management:** Unlike some adapters that might offer helper functions to create tables via code, this adapter **expects the DynamoDB table and its associated Global Secondary Indexes (GSIs) to be provisioned externally** before use. Please refer to [TABLE_SETUP.md](https://github.com/mastra-ai/mastra/blob/main/stores/dynamodb/TABLE_SETUP.md) for detailed instructions using tools like AWS CloudFormation or CDK. The adapter focuses solely on interacting with the pre-existing table structure.
|
|
270
270
|
- **Consistency via Interface:** While the underlying storage model differs, this adapter adheres to the same `MastraStorage` interface as other adapters, ensuring it can be used interchangeably within the Mastra `Memory` component.
|
|
271
271
|
|
|
272
272
|
### Mastra Data in the Single Table
|
|
@@ -110,7 +110,7 @@ export const elasticsearchAgent = new Agent({
|
|
|
110
110
|
name: 'Elasticsearch Agent',
|
|
111
111
|
instructions:
|
|
112
112
|
'You are an AI agent with the ability to automatically recall memories from previous interactions.',
|
|
113
|
-
model: 'openai/gpt-
|
|
113
|
+
model: 'openai/gpt-6.1-sol',
|
|
114
114
|
memory: new Memory({
|
|
115
115
|
storage: new ElasticSearchStore({
|
|
116
116
|
id: 'elasticsearch-agent-storage',
|
|
@@ -212,7 +212,7 @@ export const mongodbAgent = new Agent({
|
|
|
212
212
|
name: 'mongodb-agent',
|
|
213
213
|
instructions:
|
|
214
214
|
'You are an AI agent with the ability to automatically recall memories from previous interactions.',
|
|
215
|
-
model: 'openai/gpt-
|
|
215
|
+
model: 'openai/gpt-6.1-sol',
|
|
216
216
|
memory: new Memory({
|
|
217
217
|
storage: new MongoDBStore({
|
|
218
218
|
id: 'mongodb-storage',
|
|
@@ -228,7 +228,7 @@ export const oracleAgent = new Agent({
|
|
|
228
228
|
id: 'oracle-agent',
|
|
229
229
|
name: 'Oracle Agent',
|
|
230
230
|
instructions: 'You are an assistant with persistent OracleDB-backed memory.',
|
|
231
|
-
model: 'openai/gpt-
|
|
231
|
+
model: 'openai/gpt-6.1-sol',
|
|
232
232
|
memory: new Memory({ storage }),
|
|
233
233
|
})
|
|
234
234
|
```
|
|
@@ -365,7 +365,7 @@ export const pgAgent = new Agent({
|
|
|
365
365
|
name: 'PG Agent',
|
|
366
366
|
instructions:
|
|
367
367
|
'You are an AI agent with the ability to automatically recall memories from previous interactions.',
|
|
368
|
-
model: 'openai/gpt-
|
|
368
|
+
model: 'openai/gpt-6.1-sol',
|
|
369
369
|
memory: new Memory({
|
|
370
370
|
storage: new PostgresStore({
|
|
371
371
|
id: 'pg-agent-storage',
|
|
@@ -429,14 +429,14 @@ PostgreSQL storage provides index management to optimize query performance.
|
|
|
429
429
|
PostgreSQL storage creates composite indexes during initialization for common query patterns:
|
|
430
430
|
|
|
431
431
|
- `mastra_threads_resourceid_createdat_idx`: (resourceId, createdAt DESC)
|
|
432
|
-
- `mastra_messages_thread_id_createdat_idx`: (
|
|
432
|
+
- `mastra_messages_thread_id_createdat_idx`: (thread_id, createdAt DESC)
|
|
433
433
|
- `mastra_ai_spans_traceid_startedat_idx`: (traceId, startedAt DESC)
|
|
434
434
|
- `mastra_ai_spans_parentspanid_startedat_idx`: (parentSpanId, startedAt DESC)
|
|
435
435
|
- `mastra_ai_spans_name_startedat_idx`: (name, startedAt DESC)
|
|
436
436
|
- `mastra_ai_spans_scope_startedat_idx`: (scope, startedAt DESC)
|
|
437
437
|
- `mastra_scores_trace_id_span_id_created_at_idx`: (traceId, spanId, createdAt DESC)
|
|
438
|
-
- `mastra_workflow_snapshot_name_createdat_idx`: (
|
|
439
|
-
- `mastra_workflow_snapshot_name_status_createdat_idx`: (
|
|
438
|
+
- `mastra_workflow_snapshot_name_createdat_idx`: (workflow_name, createdAt DESC)
|
|
439
|
+
- `mastra_workflow_snapshot_name_status_createdat_idx`: (workflow_name, snapshot->>'status', createdAt DESC), created only when the `snapshot` column is `jsonb`
|
|
440
440
|
|
|
441
441
|
These indexes improve performance for filtered queries with sorting, including `dateRange` filters on message queries and Studio's workflow runs-list.
|
|
442
442
|
|
|
@@ -485,7 +485,7 @@ For advanced index types, you can specify additional options:
|
|
|
485
485
|
|
|
486
486
|
**name** (`string`): Unique name for the index
|
|
487
487
|
|
|
488
|
-
**table** (`string`): Table name (e.g., '
|
|
488
|
+
**table** (`string`): Table name (e.g., 'mastra_threads')
|
|
489
489
|
|
|
490
490
|
**columns** (`string[]`): Array of column names with optional sort order (e.g., \['id', 'createdAt DESC'])
|
|
491
491
|
|
|
@@ -165,7 +165,7 @@ export const redisAgent = new Agent({
|
|
|
165
165
|
name: 'Redis Agent',
|
|
166
166
|
instructions:
|
|
167
167
|
'You are an AI agent with the ability to automatically recall memories from previous interactions.',
|
|
168
|
-
model: 'openai/gpt-
|
|
168
|
+
model: 'openai/gpt-6.1-sol',
|
|
169
169
|
memory: new Memory({
|
|
170
170
|
storage: new RedisStore({
|
|
171
171
|
id: 'redis-agent-storage',
|
|
@@ -107,7 +107,7 @@ export const upstashAgent = new Agent({
|
|
|
107
107
|
name: 'Upstash Agent',
|
|
108
108
|
instructions:
|
|
109
109
|
'You are an AI agent with the ability to automatically recall memories from previous interactions.',
|
|
110
|
-
model: 'openai/gpt-
|
|
110
|
+
model: 'openai/gpt-6.1-sol',
|
|
111
111
|
memory: new Memory({
|
|
112
112
|
storage: new UpstashStore({
|
|
113
113
|
id: 'upstash-agent-storage',
|
|
@@ -101,7 +101,7 @@ const agent = new Agent({
|
|
|
101
101
|
id: 'assistant',
|
|
102
102
|
name: 'Assistant',
|
|
103
103
|
instructions: 'You are a helpful assistant.',
|
|
104
|
-
model: 'openai/gpt-
|
|
104
|
+
model: 'openai/gpt-6.1-sol',
|
|
105
105
|
})
|
|
106
106
|
|
|
107
107
|
export const durableAssistant = createDurableAgent({ agent })
|
|
@@ -19,7 +19,7 @@ You'll need:
|
|
|
19
19
|
- A Neon project in `aws-us-east-2`
|
|
20
20
|
- Node.js `v22.13.0` or later
|
|
21
21
|
|
|
22
|
-
Neon Functions can evict an idle isolate, so in-memory and local-file storage is lost. Use [PostgresStore with Neon](https://mastra.ai/integrations/databases/neon) instead of [LibSQLStore](https://mastra.ai/integrations/databases/libsql) with a file URL.
|
|
22
|
+
Neon Functions can evict an idle isolate, so in-memory and local-file storage is lost. Use [PostgresStore with Neon](https://mastra.ai/integrations/databases/neon) instead of [LibSQLStore](https://mastra.ai/integrations/databases/libsql) with a file URL. For workspace files, use [Neon Object Storage](https://mastra.ai/integrations/file-storage/neon) instead of [`LocalFilesystem`](https://mastra.ai/reference/workspace/local-filesystem).
|
|
23
23
|
|
|
24
24
|
## Installation
|
|
25
25
|
|
|
@@ -213,5 +213,6 @@ The Mastra server is at `http://localhost:8787/api/agents`.
|
|
|
213
213
|
- [Neon Functions](https://neon.com/docs/compute/functions/overview)
|
|
214
214
|
- [Hono adapter](https://mastra.ai/reference/server/hono-adapter)
|
|
215
215
|
- [Neon Postgres](https://mastra.ai/integrations/databases/neon)
|
|
216
|
+
- [Neon Object Storage](https://mastra.ai/integrations/file-storage/neon)
|
|
216
217
|
- [Neon AI Gateway](https://mastra.ai/models/gateways/neon)
|
|
217
218
|
- [with-mastra example](https://github.com/neondatabase/examples/tree/main/with-mastra)
|
|
@@ -115,7 +115,7 @@ import { Agent } from '@mastra/core/agent'
|
|
|
115
115
|
export const reviewerAgent = new Agent({
|
|
116
116
|
id: 'reviewer-agent',
|
|
117
117
|
name: 'Reviewer Agent',
|
|
118
|
-
model: 'openai/gpt-
|
|
118
|
+
model: 'openai/gpt-6.1-sol',
|
|
119
119
|
instructions: `
|
|
120
120
|
Review the supplied draft only from the requested perspective.
|
|
121
121
|
Identify concrete problems and recommend specific changes.
|
|
@@ -130,7 +130,7 @@ import { Agent } from '@mastra/core/agent'
|
|
|
130
130
|
export const editorAgent = new Agent({
|
|
131
131
|
id: 'editor-agent',
|
|
132
132
|
name: 'Editor Agent',
|
|
133
|
-
model: 'openai/gpt-
|
|
133
|
+
model: 'openai/gpt-6.1-sol',
|
|
134
134
|
instructions: `
|
|
135
135
|
Revise the supplied draft using the reviewers' feedback.
|
|
136
136
|
Return the complete revised draft and nothing else.
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
# Amazon S3
|
|
6
6
|
|
|
7
|
-
Stores files in Amazon S3 or S3-compatible storage services like Cloudflare R2, MinIO, DigitalOcean Spaces, and Tigris. For interface details, see [WorkspaceFilesystem Interface](https://mastra.ai/reference/workspace/filesystem).
|
|
7
|
+
Stores files in Amazon S3 or S3-compatible storage services like Cloudflare R2, Neon Object Storage, MinIO, DigitalOcean Spaces, and Tigris. For interface details, see [WorkspaceFilesystem Interface](https://mastra.ai/reference/workspace/filesystem).
|
|
8
8
|
|
|
9
9
|
## Installation
|
|
10
10
|
|
|
@@ -53,7 +53,7 @@ const workspace = new Workspace({
|
|
|
53
53
|
const agent = new Agent({
|
|
54
54
|
id: 'file-agent',
|
|
55
55
|
name: 'file-agent',
|
|
56
|
-
model: 'anthropic/claude-opus-
|
|
56
|
+
model: 'anthropic/claude-opus-5-5',
|
|
57
57
|
workspace,
|
|
58
58
|
})
|
|
59
59
|
```
|
|
@@ -133,6 +133,22 @@ const filesystem = new S3Filesystem({
|
|
|
133
133
|
})
|
|
134
134
|
```
|
|
135
135
|
|
|
136
|
+
### Neon Object Storage
|
|
137
|
+
|
|
138
|
+
```typescript
|
|
139
|
+
import { S3Filesystem } from '@mastra/s3'
|
|
140
|
+
|
|
141
|
+
const filesystem = new S3Filesystem({
|
|
142
|
+
bucket: 'agent-files',
|
|
143
|
+
region: process.env.AWS_REGION!,
|
|
144
|
+
endpoint: process.env.AWS_ENDPOINT_URL_S3,
|
|
145
|
+
accessKeyId: process.env.AWS_ACCESS_KEY_ID,
|
|
146
|
+
secretAccessKey: process.env.AWS_SECRET_ACCESS_KEY,
|
|
147
|
+
})
|
|
148
|
+
```
|
|
149
|
+
|
|
150
|
+
`neon deploy` and `neon env pull` write these variables for the current Neon branch. Keep the default path-style addressing. Each branch has its own endpoint and its own copy of the files. See [Neon Object Storage](https://mastra.ai/integrations/file-storage/neon) for bucket setup and branching.
|
|
151
|
+
|
|
136
152
|
### MinIO
|
|
137
153
|
|
|
138
154
|
```typescript
|
|
@@ -178,7 +194,7 @@ Tigris uses virtual-hosted-style addressing, so `forcePathStyle` must be set to
|
|
|
178
194
|
|
|
179
195
|
**sessionToken** (`string`): AWS session token for static temporary credentials. Use with accessKeyId/secretAccessKey only when passing a complete temporary credential set manually. For auto-refreshing SSO, AssumeRole, or container credentials, use the credentials provider parameter or the SDK default credential provider chain.
|
|
180
196
|
|
|
181
|
-
**endpoint** (`string`): Custom endpoint URL for S3-compatible storage (R2, MinIO, Tigris, etc.)
|
|
197
|
+
**endpoint** (`string`): Custom endpoint URL for S3-compatible storage (R2, Neon, MinIO, Tigris, etc.)
|
|
182
198
|
|
|
183
199
|
**forcePathStyle** (`boolean`): Force path-style URLs instead of virtual-hosted-style. Required for some S3-compatible services like MinIO. Defaults to true when a custom endpoint is provided. (Default: `true (when endpoint is set)`)
|
|
184
200
|
|
|
@@ -275,6 +291,7 @@ See [E2BSandbox reference](https://mastra.ai/integrations/sandboxes/e2b) for mor
|
|
|
275
291
|
## Related
|
|
276
292
|
|
|
277
293
|
- [WorkspaceFilesystem interface](https://mastra.ai/reference/workspace/filesystem)
|
|
294
|
+
- [Neon Object Storage](https://mastra.ai/integrations/file-storage/neon)
|
|
278
295
|
- [ArchilFilesystem reference](https://mastra.ai/integrations/file-storage/archil)
|
|
279
296
|
- [GCSFilesystem reference](https://mastra.ai/integrations/file-storage/google-cloud-storage)
|
|
280
297
|
- [AzureBlobFilesystem reference](https://mastra.ai/integrations/file-storage/azure-blob)
|
|
@@ -52,7 +52,7 @@ const workspace = new Workspace({
|
|
|
52
52
|
const agent = new Agent({
|
|
53
53
|
id: 'file-agent',
|
|
54
54
|
name: 'file-agent',
|
|
55
|
-
model: 'anthropic/claude-opus-
|
|
55
|
+
model: 'anthropic/claude-opus-5-5',
|
|
56
56
|
workspace,
|
|
57
57
|
})
|
|
58
58
|
```
|
|
@@ -99,13 +99,13 @@ const filesystem = new ArchilFilesystem({
|
|
|
99
99
|
|
|
100
100
|
**createDiskOptions** (`CreateDiskRequest`): Options for creating a new disk on init. Mutually exclusive with diskId.
|
|
101
101
|
|
|
102
|
-
**apiKey** (`string`): Archil API key. Falls back to
|
|
102
|
+
**apiKey** (`string`): Archil API key. Falls back to ARCHIL_API_KEY environment variable.
|
|
103
103
|
|
|
104
|
-
**region** (`string`): Archil region (e.g. "aws-us-east-1"). Falls back to
|
|
104
|
+
**region** (`string`): Archil region (e.g. "aws-us-east-1"). Falls back to ARCHIL_REGION environment variable.
|
|
105
105
|
|
|
106
106
|
**baseUrl** (`string`): Custom Archil control-plane URL (for testing or self-hosted deployments).
|
|
107
107
|
|
|
108
|
-
**s3BaseUrl** (`string`): Custom S3-compatible API URL. Falls back to
|
|
108
|
+
**s3BaseUrl** (`string`): Custom S3-compatible API URL. Falls back to ARCHIL_S3_BASE_URL environment variable.
|
|
109
109
|
|
|
110
110
|
**id** (`string`): Unique identifier for this filesystem instance. (Default: `Auto-generated`)
|
|
111
111
|
|
|
@@ -60,7 +60,7 @@ const workspace = new Workspace({
|
|
|
60
60
|
const agent = new Agent({
|
|
61
61
|
id: 'file-agent',
|
|
62
62
|
name: 'file-agent',
|
|
63
|
-
model: 'anthropic/claude-opus-
|
|
63
|
+
model: 'anthropic/claude-opus-5-5',
|
|
64
64
|
workspace,
|
|
65
65
|
})
|
|
66
66
|
```
|
|
@@ -69,7 +69,7 @@ const agent = new Agent({
|
|
|
69
69
|
|
|
70
70
|
## Constructor parameters
|
|
71
71
|
|
|
72
|
-
**privateKey** (`string`): Mesa private key. Falls back to
|
|
72
|
+
**privateKey** (`string`): Mesa private key. Falls back to MESA_PRIVATE_KEY when omitted.
|
|
73
73
|
|
|
74
74
|
**authors** (`[Author, ...Author[]]`): Commit authors attributed to writes made through this filesystem.
|
|
75
75
|
|