@mastra/mcp-docs-server 1.1.1 → 1.1.2

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.
Files changed (47) hide show
  1. package/.docs/docs/deployment/cloud-providers.md +1 -1
  2. package/.docs/docs/deployment/overview.md +1 -1
  3. package/.docs/docs/deployment/studio.md +234 -0
  4. package/.docs/docs/memory/observational-memory.md +86 -11
  5. package/.docs/docs/streaming/events.md +23 -0
  6. package/.docs/docs/workspace/filesystem.md +72 -1
  7. package/.docs/docs/workspace/overview.md +95 -12
  8. package/.docs/docs/workspace/sandbox.md +2 -0
  9. package/.docs/guides/agent-frameworks/ai-sdk.md +6 -2
  10. package/.docs/guides/deployment/cloudflare.md +99 -0
  11. package/.docs/models/gateways/openrouter.md +6 -3
  12. package/.docs/models/index.md +1 -1
  13. package/.docs/models/providers/baseten.md +2 -1
  14. package/.docs/models/providers/cerebras.md +2 -1
  15. package/.docs/models/providers/fireworks-ai.md +2 -1
  16. package/.docs/models/providers/friendli.md +3 -2
  17. package/.docs/models/providers/huggingface.md +3 -2
  18. package/.docs/models/providers/jiekou.md +4 -2
  19. package/.docs/models/providers/minimax-cn-coding-plan.md +3 -2
  20. package/.docs/models/providers/minimax-cn.md +3 -2
  21. package/.docs/models/providers/minimax-coding-plan.md +3 -2
  22. package/.docs/models/providers/minimax.md +3 -2
  23. package/.docs/models/providers/nano-gpt.md +12 -4
  24. package/.docs/models/providers/novita-ai.md +4 -2
  25. package/.docs/models/providers/ollama-cloud.md +3 -1
  26. package/.docs/models/providers/openai.md +15 -14
  27. package/.docs/models/providers/opencode.md +31 -32
  28. package/.docs/models/providers/stackit.md +78 -0
  29. package/.docs/models/providers/synthetic.md +1 -1
  30. package/.docs/models/providers/zai-coding-plan.md +3 -2
  31. package/.docs/models/providers/zai.md +3 -2
  32. package/.docs/models/providers/zhipuai-coding-plan.md +3 -2
  33. package/.docs/models/providers/zhipuai.md +3 -2
  34. package/.docs/models/providers.md +1 -0
  35. package/.docs/reference/ai-sdk/with-mastra.md +1 -1
  36. package/.docs/reference/cli/mastra.md +1 -1
  37. package/.docs/reference/deployer/cloudflare.md +35 -12
  38. package/.docs/reference/index.md +3 -0
  39. package/.docs/reference/memory/observational-memory.md +318 -9
  40. package/.docs/reference/streaming/workflows/stream.md +1 -0
  41. package/.docs/reference/workflows/workflow-methods/foreach.md +30 -0
  42. package/.docs/reference/workspace/e2b-sandbox.md +299 -0
  43. package/.docs/reference/workspace/gcs-filesystem.md +170 -0
  44. package/.docs/reference/workspace/s3-filesystem.md +169 -0
  45. package/CHANGELOG.md +14 -0
  46. package/package.json +6 -6
  47. package/.docs/guides/deployment/cloudflare-deployer.md +0 -102
@@ -1,102 +0,0 @@
1
- # CloudflareDeployer
2
-
3
- The `CloudflareDeployer` class handles deployment of standalone Mastra applications to Cloudflare Workers. It manages configuration, deployment, and extends the base [Deployer](https://mastra.ai/reference/deployer) class with Cloudflare specific functionality.
4
-
5
- > **Warning:** Cloudflare Workers do not support filesystem access. Remove any usage of [LibSQLStore](https://mastra.ai/reference/storage/libsql) with file URLs from your Mastra configuration. Use in-memory storage (`:memory:`) or external storage providers like Turso, PostgreSQL, or Upstash.
6
-
7
- ## Installation
8
-
9
- **npm**:
10
-
11
- ```bash
12
- npm install @mastra/deployer-cloudflare@latest
13
- ```
14
-
15
- **pnpm**:
16
-
17
- ```bash
18
- pnpm add @mastra/deployer-cloudflare@latest
19
- ```
20
-
21
- **Yarn**:
22
-
23
- ```bash
24
- yarn add @mastra/deployer-cloudflare@latest
25
- ```
26
-
27
- **Bun**:
28
-
29
- ```bash
30
- bun add @mastra/deployer-cloudflare@latest
31
- ```
32
-
33
- ## Usage example
34
-
35
- ```typescript
36
- import { Mastra } from "@mastra/core";
37
- import { CloudflareDeployer } from "@mastra/deployer-cloudflare";
38
-
39
- export const mastra = new Mastra({
40
- deployer: new CloudflareDeployer({
41
- projectName: "hello-mastra",
42
- env: {
43
- NODE_ENV: "production",
44
- },
45
- }),
46
- });
47
- ```
48
-
49
- > See the [CloudflareDeployer](https://mastra.ai/reference/deployer/cloudflare) API reference for all available configuration options.
50
-
51
- ## Manual deployment
52
-
53
- Manual deployments are also possible using the [Cloudflare Wrangler CLI](https://developers.cloudflare.com/workers/wrangler/install-and-update/). With the Wrangler CLI installed run the following from your project root to deploy your application.
54
-
55
- With the Wrangler CLI installed, login and authenticate with your Cloudflare logins:
56
-
57
- ```bash
58
- npx wrangler login
59
- ```
60
-
61
- Run the following to build and deploy your application to Cloudflare
62
-
63
- ```bash
64
- npm run build && wrangler deploy --config .mastra/output/wrangler.json
65
- ```
66
-
67
- > You can also run `wrangler dev --config .mastra/output/wrangler.json` from your project root to test your Mastra application locally.
68
-
69
- ## Build output
70
-
71
- The build output for Mastra applications using the `CloudflareDeployer` includes all agents, tools, and workflows in your project, along with Mastra specific files required to run your application on Cloudflare.
72
-
73
- ```text
74
- .mastra/
75
- └── output/
76
- ├── index.mjs
77
- └── wrangler.json
78
- package.json
79
- ```
80
-
81
- The `CloudflareDeployer` automatically generates a `wrangler.json` configuration file in `.mastra/output` with the following settings:
82
-
83
- ```json
84
- {
85
- "name": "hello-mastra",
86
- "main": "./index.mjs",
87
- "compatibility_date": "2025-04-01",
88
- "compatibility_flags": [
89
- "nodejs_compat",
90
- "nodejs_compat_populate_process_env"
91
- ],
92
- "observability": { "logs": { "enabled": true } },
93
- "vars": {
94
- "OPENAI_API_KEY": "...",
95
- "CLOUDFLARE_API_TOKEN": "..."
96
- }
97
- }
98
- ```
99
-
100
- ## Next steps
101
-
102
- - [Mastra Client SDK](https://mastra.ai/reference/client-js/mastra-client)