@mastra/mcp-docs-server 1.1.28 → 1.1.29-alpha.11

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 (60) hide show
  1. package/.docs/docs/agents/background-tasks.md +242 -0
  2. package/.docs/docs/agents/channels.md +2 -1
  3. package/.docs/docs/agents/supervisor-agents.md +35 -4
  4. package/.docs/docs/agents/using-tools.md +1 -0
  5. package/.docs/docs/browser/overview.md +1 -0
  6. package/.docs/docs/evals/custom-scorers.md +60 -0
  7. package/.docs/docs/streaming/background-task-streaming.md +80 -0
  8. package/.docs/docs/streaming/overview.md +3 -0
  9. package/.docs/docs/workspace/filesystem.md +3 -1
  10. package/.docs/docs/workspace/overview.md +1 -1
  11. package/.docs/docs/workspace/search.md +2 -2
  12. package/.docs/docs/workspace/skills.md +16 -16
  13. package/.docs/guides/build-your-ui/ai-sdk-ui.md +5 -3
  14. package/.docs/guides/guide/code-review-bot.md +2 -2
  15. package/.docs/guides/guide/dev-assistant.md +4 -4
  16. package/.docs/guides/guide/slack-assistant.md +191 -0
  17. package/.docs/models/gateways/azure-openai.md +25 -25
  18. package/.docs/models/gateways/mastra.md +64 -0
  19. package/.docs/models/gateways/netlify.md +5 -1
  20. package/.docs/models/gateways/openrouter.md +8 -1
  21. package/.docs/models/gateways/vercel.md +7 -1
  22. package/.docs/models/gateways.md +1 -0
  23. package/.docs/models/index.md +4 -4
  24. package/.docs/models/providers/abliteration-ai.md +71 -0
  25. package/.docs/models/providers/alibaba-cn.md +4 -1
  26. package/.docs/models/providers/alibaba.md +6 -1
  27. package/.docs/models/providers/deepseek.md +6 -4
  28. package/.docs/models/providers/huggingface.md +2 -1
  29. package/.docs/models/providers/llmgateway.md +4 -1
  30. package/.docs/models/providers/novita-ai.md +4 -1
  31. package/.docs/models/providers/nvidia.md +3 -1
  32. package/.docs/models/providers/ollama-cloud.md +3 -1
  33. package/.docs/models/providers/opencode-go.md +20 -18
  34. package/.docs/models/providers/opencode.md +3 -2
  35. package/.docs/models/providers/poe.md +3 -1
  36. package/.docs/models/providers/togetherai.md +2 -1
  37. package/.docs/models/providers/xiaomi-token-plan-ams.md +9 -7
  38. package/.docs/models/providers/xiaomi-token-plan-cn.md +9 -7
  39. package/.docs/models/providers/xiaomi-token-plan-sgp.md +9 -7
  40. package/.docs/models/providers/xiaomi.md +4 -2
  41. package/.docs/models/providers/zai-coding-plan.md +11 -20
  42. package/.docs/models/providers/zhipuai-coding-plan.md +11 -21
  43. package/.docs/models/providers.md +1 -0
  44. package/.docs/reference/client-js/agents.md +44 -0
  45. package/.docs/reference/configuration.md +63 -0
  46. package/.docs/reference/evals/create-scorer.md +2 -0
  47. package/.docs/reference/evals/filter-run.md +117 -0
  48. package/.docs/reference/index.md +3 -0
  49. package/.docs/reference/memory/clone-utilities.md +4 -2
  50. package/.docs/reference/memory/cloneThread.md +4 -2
  51. package/.docs/reference/processors/skill-search-processor.md +1 -1
  52. package/.docs/reference/server/routes.md +9 -8
  53. package/.docs/reference/streaming/ChunkType.md +140 -0
  54. package/.docs/reference/streaming/agents/streamUntilIdle.md +94 -0
  55. package/.docs/reference/workspace/azure-blob-filesystem.md +219 -0
  56. package/.docs/reference/workspace/gcs-filesystem.md +1 -0
  57. package/.docs/reference/workspace/s3-filesystem.md +1 -0
  58. package/.docs/reference/workspace/workspace-class.md +1 -1
  59. package/CHANGELOG.md +42 -0
  60. package/package.json +4 -4
@@ -0,0 +1,219 @@
1
+ # AzureBlobFilesystem
2
+
3
+ Stores files in Azure Blob Storage containers.
4
+
5
+ > **Info:** For interface details, see [WorkspaceFilesystem Interface](https://mastra.ai/reference/workspace/filesystem).
6
+
7
+ ## Installation
8
+
9
+ **npm**:
10
+
11
+ ```bash
12
+ npm install @mastra/azure
13
+ ```
14
+
15
+ **pnpm**:
16
+
17
+ ```bash
18
+ pnpm add @mastra/azure
19
+ ```
20
+
21
+ **Yarn**:
22
+
23
+ ```bash
24
+ yarn add @mastra/azure
25
+ ```
26
+
27
+ **Bun**:
28
+
29
+ ```bash
30
+ bun add @mastra/azure
31
+ ```
32
+
33
+ ## Usage
34
+
35
+ Add an `AzureBlobFilesystem` to a workspace and assign it to an agent:
36
+
37
+ ```typescript
38
+ import { Agent } from '@mastra/core/agent'
39
+ import { Workspace } from '@mastra/core/workspace'
40
+ import { AzureBlobFilesystem } from '@mastra/azure/blob'
41
+
42
+ const workspace = new Workspace({
43
+ filesystem: new AzureBlobFilesystem({
44
+ container: 'my-container',
45
+ connectionString: process.env.AZURE_STORAGE_CONNECTION_STRING,
46
+ }),
47
+ })
48
+
49
+ const agent = new Agent({
50
+ name: 'file-agent',
51
+ model: 'anthropic/claude-opus-4-6',
52
+ workspace,
53
+ })
54
+ ```
55
+
56
+ ### Account key
57
+
58
+ Use an account name and account key when you do not want to pass a full connection string:
59
+
60
+ ```typescript
61
+ import { AzureBlobFilesystem } from '@mastra/azure/blob'
62
+
63
+ const filesystem = new AzureBlobFilesystem({
64
+ container: 'my-container',
65
+ accountName: process.env.AZURE_STORAGE_ACCOUNT_NAME,
66
+ accountKey: process.env.AZURE_STORAGE_ACCOUNT_KEY,
67
+ })
68
+ ```
69
+
70
+ ### Shared access signature token
71
+
72
+ Use a shared access signature (SAS) token with either `accountName` or `endpoint`:
73
+
74
+ ```typescript
75
+ import { AzureBlobFilesystem } from '@mastra/azure/blob'
76
+
77
+ const filesystem = new AzureBlobFilesystem({
78
+ container: 'my-container',
79
+ accountName: process.env.AZURE_STORAGE_ACCOUNT_NAME,
80
+ sasToken: process.env.AZURE_STORAGE_SAS_TOKEN,
81
+ })
82
+ ```
83
+
84
+ ### DefaultAzureCredential
85
+
86
+ Use `DefaultAzureCredential` when your environment provides Azure identity credentials:
87
+
88
+ ```typescript
89
+ import { AzureBlobFilesystem } from '@mastra/azure/blob'
90
+
91
+ const filesystem = new AzureBlobFilesystem({
92
+ container: 'my-container',
93
+ accountName: process.env.AZURE_STORAGE_ACCOUNT_NAME,
94
+ useDefaultCredential: true,
95
+ })
96
+ ```
97
+
98
+ Install `@azure/identity` when you use `DefaultAzureCredential`:
99
+
100
+ **npm**:
101
+
102
+ ```bash
103
+ npm install @azure/identity
104
+ ```
105
+
106
+ **pnpm**:
107
+
108
+ ```bash
109
+ pnpm add @azure/identity
110
+ ```
111
+
112
+ **Yarn**:
113
+
114
+ ```bash
115
+ yarn add @azure/identity
116
+ ```
117
+
118
+ **Bun**:
119
+
120
+ ```bash
121
+ bun add @azure/identity
122
+ ```
123
+
124
+ ## Constructor parameters
125
+
126
+ **container** (`string`): Azure Blob Storage container name
127
+
128
+ **connectionString** (`string`): Full Azure Storage connection string. Takes priority over other authentication options.
129
+
130
+ **accountName** (`string`): Azure Storage account name. Required unless you use connectionString or endpoint.
131
+
132
+ **accountKey** (`string`): Azure Storage account key.
133
+
134
+ **sasToken** (`string`): Shared access signature token. Requires accountName or endpoint.
135
+
136
+ **useDefaultCredential** (`boolean`): Use DefaultAzureCredential from @azure/identity. (Default: `false`)
137
+
138
+ **endpoint** (`string`): Custom Blob service endpoint URL. Used for local development with Azurite.
139
+
140
+ **prefix** (`string`): Optional prefix for all keys (acts like a subdirectory).
141
+
142
+ **id** (`string`): Unique identifier for this filesystem instance. (Default: `Auto-generated`)
143
+
144
+ **displayName** (`string`): Human-friendly display name for the UI.
145
+
146
+ **icon** (`FilesystemIcon`): Icon identifier for the UI.
147
+
148
+ **description** (`string`): Short description of this filesystem for the UI.
149
+
150
+ **readOnly** (`boolean`): When true, all write operations are blocked. (Default: `false`)
151
+
152
+ ## Properties
153
+
154
+ **id** (`string`): Filesystem instance identifier.
155
+
156
+ **name** (`string`): Provider name ('AzureBlobFilesystem').
157
+
158
+ **provider** (`string`): Provider identifier ('azure-blob').
159
+
160
+ **readOnly** (`boolean | undefined`): Whether the filesystem is in read-only mode.
161
+
162
+ ## Methods
163
+
164
+ AzureBlobFilesystem implements the [WorkspaceFilesystem interface](https://mastra.ai/reference/workspace/filesystem), providing all standard filesystem methods:
165
+
166
+ - `readFile(path, options?)` - Read file contents
167
+ - `writeFile(path, content, options?)` - Write content to a file
168
+ - `appendFile(path, content)` - Append content to a file
169
+ - `deleteFile(path, options?)` - Delete a file
170
+ - `copyFile(src, dest, options?)` - Copy a file
171
+ - `moveFile(src, dest, options?)` - Move or rename a file
172
+ - `mkdir(path, options?)` - Create a directory
173
+ - `rmdir(path, options?)` - Remove a directory
174
+ - `readdir(path, options?)` - List directory contents
175
+ - `exists(path)` - Check if a path exists
176
+ - `stat(path)` - Get file or directory metadata
177
+
178
+ ### `init()`
179
+
180
+ Initialize the filesystem. Verifies container access and credentials.
181
+
182
+ ```typescript
183
+ await filesystem.init()
184
+ ```
185
+
186
+ ### `getInfo()`
187
+
188
+ Returns metadata about this filesystem instance.
189
+
190
+ ```typescript
191
+ const info = filesystem.getInfo()
192
+ // { id: '...', name: 'AzureBlobFilesystem', provider: 'azure-blob', status: 'ready' }
193
+ ```
194
+
195
+ ### `getContainer()`
196
+
197
+ Returns the underlying Azure Blob Storage `ContainerClient`.
198
+
199
+ ```typescript
200
+ const container = await filesystem.getContainer()
201
+ ```
202
+
203
+ ### `getMountConfig()`
204
+
205
+ Returns the mount configuration for sandbox providers that support Azure Blob filesystem mounts.
206
+
207
+ ```typescript
208
+ const config = filesystem.getMountConfig()
209
+ // { type: 'azure-blob', container: 'my-container', ... }
210
+ ```
211
+
212
+ > **Note:** Azure Blob sandbox mounting depends on sandbox support for `azure-blob` mount configs. Use `filesystem` for direct workspace file operations when your sandbox provider does not support Azure Blob mounts.
213
+
214
+ ## Related
215
+
216
+ - [WorkspaceFilesystem interface](https://mastra.ai/reference/workspace/filesystem)
217
+ - [S3Filesystem reference](https://mastra.ai/reference/workspace/s3-filesystem)
218
+ - [GCSFilesystem reference](https://mastra.ai/reference/workspace/gcs-filesystem)
219
+ - [Workspace overview](https://mastra.ai/docs/workspace/overview)
@@ -190,5 +190,6 @@ See [E2BSandbox reference](https://mastra.ai/reference/workspace/e2b-sandbox) fo
190
190
 
191
191
  - [WorkspaceFilesystem interface](https://mastra.ai/reference/workspace/filesystem)
192
192
  - [S3Filesystem reference](https://mastra.ai/reference/workspace/s3-filesystem)
193
+ - [AzureBlobFilesystem reference](https://mastra.ai/reference/workspace/azure-blob-filesystem)
193
194
  - [E2BSandbox reference](https://mastra.ai/reference/workspace/e2b-sandbox)
194
195
  - [Workspace overview](https://mastra.ai/docs/workspace/overview)
@@ -193,5 +193,6 @@ See [E2BSandbox reference](https://mastra.ai/reference/workspace/e2b-sandbox) fo
193
193
 
194
194
  - [WorkspaceFilesystem interface](https://mastra.ai/reference/workspace/filesystem)
195
195
  - [GCSFilesystem reference](https://mastra.ai/reference/workspace/gcs-filesystem)
196
+ - [AzureBlobFilesystem reference](https://mastra.ai/reference/workspace/azure-blob-filesystem)
196
197
  - [E2BSandbox reference](https://mastra.ai/reference/workspace/e2b-sandbox)
197
198
  - [Workspace overview](https://mastra.ai/docs/workspace/overview)
@@ -19,7 +19,7 @@ const workspace = new Workspace({
19
19
  workingDirectory: './workspace',
20
20
  }),
21
21
  bm25: true,
22
- autoIndexPaths: ['/docs'],
22
+ autoIndexPaths: ['docs'],
23
23
  })
24
24
  ```
25
25
 
package/CHANGELOG.md CHANGED
@@ -1,5 +1,47 @@
1
1
  # @mastra/mcp-docs-server
2
2
 
3
+ ## 1.1.29-alpha.10
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`28caa5b`](https://github.com/mastra-ai/mastra/commit/28caa5b032358545af2589ed90636eccb4dd9d2f), [`7d056b6`](https://github.com/mastra-ai/mastra/commit/7d056b6ecf603cacaa0f663ff1df025ed885b6c1), [`26f1f94`](https://github.com/mastra-ai/mastra/commit/26f1f9490574b864ba1ecedf2c9632e0767a23bd)]:
8
+ - @mastra/core@1.29.0-alpha.5
9
+
10
+ ## 1.1.29-alpha.9
11
+
12
+ ### Patch Changes
13
+
14
+ - Updated dependencies [[`8a71261`](https://github.com/mastra-ai/mastra/commit/8a71261e3954ae617c6f8e25767b951f99438ab2), [`021a60f`](https://github.com/mastra-ai/mastra/commit/021a60f1f3e0135a70ef23c58be7a9b3aaffe6b4)]:
15
+ - @mastra/core@1.29.0-alpha.4
16
+
17
+ ## 1.1.29-alpha.7
18
+
19
+ ### Patch Changes
20
+
21
+ - Updated dependencies [[`c04417b`](https://github.com/mastra-ai/mastra/commit/c04417ba0a2e4ded66da4352331ef29cd4bd1d79), [`cf25a03`](https://github.com/mastra-ai/mastra/commit/cf25a03132164b9dc1e5dccf7394824e33007c51), [`ba6b0c5`](https://github.com/mastra-ai/mastra/commit/ba6b0c51bfce358554fd33c7f2bcd5593633f2ff)]:
22
+ - @mastra/core@1.29.0-alpha.3
23
+
24
+ ## 1.1.29-alpha.5
25
+
26
+ ### Patch Changes
27
+
28
+ - Updated dependencies [[`9e973b0`](https://github.com/mastra-ai/mastra/commit/9e973b010dacfa15ac82b0072897319f5234b90a), [`dd934a0`](https://github.com/mastra-ai/mastra/commit/dd934a0982ce0f78712fbd559e4f2410bf594b39), [`73f2809`](https://github.com/mastra-ai/mastra/commit/73f2809721db24e98cdf122539652a455211b450), [`aedeea4`](https://github.com/mastra-ai/mastra/commit/aedeea48a94f728323f040478775076b9574be50), [`8126d86`](https://github.com/mastra-ai/mastra/commit/8126d8638411eacfafdc29036ac998e8757ea66f), [`ae97520`](https://github.com/mastra-ai/mastra/commit/ae975206fdb0f6ef03c4d5bf94f7dc7c3f706c02), [`441670a`](https://github.com/mastra-ai/mastra/commit/441670a02c9dc7731c52674f55481e7848a84523)]:
29
+ - @mastra/core@1.29.0-alpha.2
30
+
31
+ ## 1.1.29-alpha.2
32
+
33
+ ### Patch Changes
34
+
35
+ - Updated dependencies [[`7a7b313`](https://github.com/mastra-ai/mastra/commit/7a7b3138fb3bcf0b0c740eaea07971e43d330ef3), [`a6dac0a`](https://github.com/mastra-ai/mastra/commit/a6dac0a40c7181161b1add4e8534f962bcbc9aa7), [`9cef83b`](https://github.com/mastra-ai/mastra/commit/9cef83b8a642b8098747772921e3523b492bafbc), [`d30e215`](https://github.com/mastra-ai/mastra/commit/d30e2156c746bc9fd791745cec1cc24377b66789), [`73b45fa`](https://github.com/mastra-ai/mastra/commit/73b45facdef4fbcb8af710c50f0646f18619dbaa), [`7a7b313`](https://github.com/mastra-ai/mastra/commit/7a7b3138fb3bcf0b0c740eaea07971e43d330ef3)]:
36
+ - @mastra/core@1.29.0-alpha.1
37
+
38
+ ## 1.1.29-alpha.0
39
+
40
+ ### Patch Changes
41
+
42
+ - Updated dependencies [[`b510d36`](https://github.com/mastra-ai/mastra/commit/b510d368f73dab6be2e2c2bc99035aaef1fb7d7a)]:
43
+ - @mastra/core@1.29.0-alpha.0
44
+
3
45
  ## 1.1.28
4
46
 
5
47
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/mcp-docs-server",
3
- "version": "1.1.28",
3
+ "version": "1.1.29-alpha.11",
4
4
  "description": "MCP server for accessing Mastra.ai documentation, changelogs, and news.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -29,8 +29,8 @@
29
29
  "jsdom": "^26.1.0",
30
30
  "local-pkg": "^1.1.2",
31
31
  "zod": "^4.3.6",
32
- "@mastra/mcp": "^1.5.2",
33
- "@mastra/core": "1.28.0"
32
+ "@mastra/core": "1.29.0-alpha.5",
33
+ "@mastra/mcp": "^1.5.2"
34
34
  },
35
35
  "devDependencies": {
36
36
  "@hono/node-server": "^1.19.11",
@@ -48,7 +48,7 @@
48
48
  "vitest": "4.1.5",
49
49
  "@internal/lint": "0.0.86",
50
50
  "@internal/types-builder": "0.0.61",
51
- "@mastra/core": "1.28.0"
51
+ "@mastra/core": "1.29.0-alpha.5"
52
52
  },
53
53
  "homepage": "https://mastra.ai",
54
54
  "repository": {