@mastra/mcp-docs-server 1.2.0 → 1.2.1-alpha.1

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 (102) hide show
  1. package/.docs/docs/agents/goals.md +2 -2
  2. package/.docs/docs/harness/modes.md +2 -2
  3. package/.docs/docs/harness/overview.md +23 -25
  4. package/.docs/docs/harness/session.md +2 -2
  5. package/.docs/docs/harness/subagents.md +3 -3
  6. package/.docs/docs/harness/tool-approvals.md +2 -2
  7. package/.docs/guides/build-your-ui/openui.md +297 -0
  8. package/.docs/models/gateways/custom-gateways.md +12 -0
  9. package/.docs/models/gateways/netlify.md +4 -7
  10. package/.docs/models/gateways/openrouter.md +20 -40
  11. package/.docs/models/gateways/vercel.md +281 -246
  12. package/.docs/models/index.md +1 -1
  13. package/.docs/models/providers/alibaba-cn.md +5 -2
  14. package/.docs/models/providers/alibaba-coding-plan-cn.md +5 -2
  15. package/.docs/models/providers/alibaba-coding-plan.md +5 -2
  16. package/.docs/models/providers/alibaba-token-plan-cn.md +88 -0
  17. package/.docs/models/providers/alibaba-token-plan.md +88 -0
  18. package/.docs/models/providers/alibaba.md +3 -1
  19. package/.docs/models/providers/ambient.md +6 -5
  20. package/.docs/models/providers/anthropic.md +8 -11
  21. package/.docs/models/providers/anyapi.md +99 -0
  22. package/.docs/models/providers/baseten.md +19 -19
  23. package/.docs/models/providers/cerebras.md +5 -7
  24. package/.docs/models/providers/claudinio.md +3 -2
  25. package/.docs/models/providers/cloudflare-workers-ai.md +4 -9
  26. package/.docs/models/providers/cortecs.md +9 -2
  27. package/.docs/models/providers/crof.md +12 -10
  28. package/.docs/models/providers/deepinfra.md +18 -31
  29. package/.docs/models/providers/deepseek.md +1 -1
  30. package/.docs/models/providers/digitalocean.md +5 -1
  31. package/.docs/models/providers/fastrouter.md +34 -2
  32. package/.docs/models/providers/fireworks-ai.md +22 -27
  33. package/.docs/models/providers/freemodel.md +108 -0
  34. package/.docs/models/providers/google.md +7 -9
  35. package/.docs/models/providers/groq.md +7 -9
  36. package/.docs/models/providers/helicone.md +1 -1
  37. package/.docs/models/providers/hpc-ai.md +3 -3
  38. package/.docs/models/providers/huggingface.md +1 -1
  39. package/.docs/models/providers/kilo.md +9 -8
  40. package/.docs/models/providers/kimi-for-coding.md +4 -3
  41. package/.docs/models/providers/llmgateway.md +38 -29
  42. package/.docs/models/providers/llmtr.md +76 -0
  43. package/.docs/models/providers/lucidquery.md +11 -9
  44. package/.docs/models/providers/minimax-cn-coding-plan.md +3 -2
  45. package/.docs/models/providers/minimax-cn.md +3 -2
  46. package/.docs/models/providers/minimax-coding-plan.md +3 -2
  47. package/.docs/models/providers/minimax.md +3 -2
  48. package/.docs/models/providers/mistral.md +25 -31
  49. package/.docs/models/providers/moonshotai-cn.md +13 -11
  50. package/.docs/models/providers/moonshotai.md +13 -11
  51. package/.docs/models/providers/nano-gpt.md +621 -529
  52. package/.docs/models/providers/nearai.md +5 -1
  53. package/.docs/models/providers/nebius.md +2 -15
  54. package/.docs/models/providers/neon.md +96 -0
  55. package/.docs/models/providers/neuralwatt.md +19 -20
  56. package/.docs/models/providers/novita-ai.md +7 -2
  57. package/.docs/models/providers/nvidia.md +5 -14
  58. package/.docs/models/providers/ollama-cloud.md +8 -12
  59. package/.docs/models/providers/openai.md +2 -3
  60. package/.docs/models/providers/opencode-go.md +10 -9
  61. package/.docs/models/providers/opencode.md +7 -2
  62. package/.docs/models/providers/ovhcloud.md +7 -3
  63. package/.docs/models/providers/poe.md +2 -1
  64. package/.docs/models/providers/poolside.md +72 -0
  65. package/.docs/models/providers/routing-run.md +5 -3
  66. package/.docs/models/providers/scaleway.md +3 -5
  67. package/.docs/models/providers/siliconflow-cn.md +4 -11
  68. package/.docs/models/providers/siliconflow.md +7 -13
  69. package/.docs/models/providers/snowflake-cortex.md +89 -0
  70. package/.docs/models/providers/stepfun-ai.md +5 -5
  71. package/.docs/models/providers/stepfun.md +1 -1
  72. package/.docs/models/providers/synthetic.md +2 -1
  73. package/.docs/models/providers/togetherai.md +30 -24
  74. package/.docs/models/providers/umans-ai-coding-plan.md +3 -2
  75. package/.docs/models/providers/umans-ai.md +75 -0
  76. package/.docs/models/providers/vivgrid.md +1 -1
  77. package/.docs/models/providers/vultr.md +14 -12
  78. package/.docs/models/providers/wafer.ai.md +9 -4
  79. package/.docs/models/providers/xai.md +3 -3
  80. package/.docs/models/providers/xiaomi-token-plan-ams.md +15 -13
  81. package/.docs/models/providers/xiaomi-token-plan-cn.md +15 -13
  82. package/.docs/models/providers/xiaomi-token-plan-sgp.md +15 -13
  83. package/.docs/models/providers/xiaomi.md +10 -9
  84. package/.docs/models/providers/xpersona.md +4 -3
  85. package/.docs/models/providers/zai-coding-plan.md +2 -1
  86. package/.docs/models/providers/zai.md +2 -1
  87. package/.docs/models/providers/zeldoc.md +71 -0
  88. package/.docs/models/providers/zenmux.md +19 -3
  89. package/.docs/models/providers/zhipuai-coding-plan.md +3 -1
  90. package/.docs/models/providers/zhipuai.md +2 -1
  91. package/.docs/models/providers.md +12 -3
  92. package/.docs/reference/agents/agent.md +18 -5
  93. package/.docs/reference/harness/harness-class.md +3 -137
  94. package/.docs/reference/harness/session.md +128 -2
  95. package/.docs/reference/index.md +1 -0
  96. package/.docs/reference/tools/mcp-client.md +11 -0
  97. package/.docs/reference/voice/google-gemini-live.md +22 -0
  98. package/.docs/reference/workspace/archil-filesystem.md +203 -0
  99. package/.docs/reference/workspace/gcs-filesystem.md +1 -0
  100. package/.docs/reference/workspace/s3-filesystem.md +1 -0
  101. package/CHANGELOG.md +15 -0
  102. package/package.json +5 -5
@@ -0,0 +1,203 @@
1
+ # ArchilFilesystem
2
+
3
+ Stores files on [Archil](https://docs.archil.com) elastic, serverless disks. Combines an S3-compatible object API for fast reads/writes with `exec()` for POSIX shell operations and `grep()` for parallel server-side search.
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/archil
13
+ ```
14
+
15
+ **pnpm**:
16
+
17
+ ```bash
18
+ pnpm add @mastra/archil
19
+ ```
20
+
21
+ **Yarn**:
22
+
23
+ ```bash
24
+ yarn add @mastra/archil
25
+ ```
26
+
27
+ **Bun**:
28
+
29
+ ```bash
30
+ bun add @mastra/archil
31
+ ```
32
+
33
+ ## Usage
34
+
35
+ Add an `ArchilFilesystem` 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 { ArchilFilesystem } from '@mastra/archil'
41
+
42
+ const workspace = new Workspace({
43
+ filesystem: new ArchilFilesystem({
44
+ diskId: 'dsk-0123456789abcdef',
45
+ apiKey: process.env.ARCHIL_API_KEY,
46
+ region: 'aws-us-east-1',
47
+ }),
48
+ })
49
+
50
+ const agent = new Agent({
51
+ name: 'file-agent',
52
+ model: 'anthropic/claude-opus-4-7',
53
+ workspace,
54
+ })
55
+ ```
56
+
57
+ ### Creating a new disk on init
58
+
59
+ If you don't have an existing disk, provide `createDiskOptions` to create one automatically:
60
+
61
+ ```typescript
62
+ import { ArchilFilesystem } from '@mastra/archil'
63
+
64
+ const filesystem = new ArchilFilesystem({
65
+ apiKey: process.env.ARCHIL_API_KEY,
66
+ region: 'aws-us-east-1',
67
+ createDiskOptions: {
68
+ name: 'my-agent-workspace',
69
+ },
70
+ })
71
+
72
+ await filesystem.init()
73
+ // filesystem.diskId now contains the newly created disk ID
74
+ ```
75
+
76
+ ### Environment variable fallbacks
77
+
78
+ When `apiKey` and `region` are omitted, the provider reads from environment variables:
79
+
80
+ - `ARCHIL_API_KEY` - API key
81
+ - `ARCHIL_REGION` - Region (e.g. `aws-us-east-1`)
82
+ - `ARCHIL_S3_BASE_URL` - Custom S3 endpoint (optional)
83
+
84
+ ```typescript
85
+ import { ArchilFilesystem } from '@mastra/archil'
86
+
87
+ // Uses ARCHIL_API_KEY and ARCHIL_REGION from environment
88
+ const filesystem = new ArchilFilesystem({
89
+ diskId: 'dsk-0123456789abcdef',
90
+ })
91
+ ```
92
+
93
+ ## Constructor parameters
94
+
95
+ **diskId** (`string`): Existing Archil disk ID (e.g. "dsk-0123456789abcdef"). Mutually exclusive with \`createDiskOptions\`.
96
+
97
+ **createDiskOptions** (`CreateDiskRequest`): Options for creating a new disk on init. Mutually exclusive with \`diskId\`.
98
+
99
+ **apiKey** (`string`): Archil API key. Falls back to \`ARCHIL\_API\_KEY\` environment variable.
100
+
101
+ **region** (`string`): Archil region (e.g. "aws-us-east-1"). Falls back to \`ARCHIL\_REGION\` environment variable.
102
+
103
+ **baseUrl** (`string`): Custom Archil control-plane URL (for testing or self-hosted deployments).
104
+
105
+ **s3BaseUrl** (`string`): Custom S3-compatible API URL. Falls back to \`ARCHIL\_S3\_BASE\_URL\` environment variable.
106
+
107
+ **id** (`string`): Unique identifier for this filesystem instance. (Default: `Auto-generated`)
108
+
109
+ **displayName** (`string`): Human-friendly display name for the UI.
110
+
111
+ **icon** (`FilesystemIcon`): Icon identifier for the UI.
112
+
113
+ **description** (`string`): Short description of this filesystem for the UI.
114
+
115
+ **readOnly** (`boolean`): When true, all write operations are blocked. (Default: `false`)
116
+
117
+ ## Properties
118
+
119
+ **id** (`string`): Filesystem instance identifier.
120
+
121
+ **name** (`string`): Provider name ('ArchilFilesystem').
122
+
123
+ **provider** (`string`): Provider identifier ('archil').
124
+
125
+ **diskId** (`string | undefined`): The Archil disk ID (available after init).
126
+
127
+ **readOnly** (`boolean | undefined`): Whether the filesystem is in read-only mode.
128
+
129
+ ## Methods
130
+
131
+ ArchilFilesystem implements the [WorkspaceFilesystem interface](https://mastra.ai/reference/workspace/filesystem), providing all standard filesystem methods:
132
+
133
+ - `readFile(path, options?)` - Read file contents
134
+ - `writeFile(path, content, options?)` - Write content to a file
135
+ - `appendFile(path, content)` - Append content to a file
136
+ - `deleteFile(path, options?)` - Delete a file
137
+ - `copyFile(src, dest, options?)` - Copy a file
138
+ - `moveFile(src, dest, options?)` - Move or rename a file
139
+ - `mkdir(path, options?)` - Create a directory
140
+ - `rmdir(path, options?)` - Remove a directory
141
+ - `readdir(path, options?)` - List directory contents
142
+ - `exists(path)` - Check if a path exists
143
+ - `stat(path)` - Get file or directory metadata
144
+
145
+ ### `init()`
146
+
147
+ Initialize the filesystem. Connects to the existing disk or creates a new one.
148
+
149
+ ```typescript
150
+ await filesystem.init()
151
+ ```
152
+
153
+ ### `getInfo()`
154
+
155
+ Returns metadata about this filesystem instance.
156
+
157
+ ```typescript
158
+ const info = filesystem.getInfo()
159
+ // { id: '...', name: 'ArchilFilesystem', provider: 'archil', status: 'ready' }
160
+ ```
161
+
162
+ ### Archil-specific methods
163
+
164
+ #### `exec(command)`
165
+
166
+ Run a shell command on the disk. Returns exit code, stdout, and stderr.
167
+
168
+ ```typescript
169
+ const result = await filesystem.exec('ls -la /data')
170
+ // { exitCode: 0, stdout: '...', stderr: '' }
171
+ ```
172
+
173
+ #### `grep(options)`
174
+
175
+ Run a parallel server-side search across files on the disk.
176
+
177
+ ```typescript
178
+ const results = await filesystem.grep({
179
+ directory: '/logs',
180
+ pattern: 'ERROR',
181
+ recursive: true,
182
+ glob: '*.log',
183
+ })
184
+ // { matches: [...], stoppedReason: null }
185
+ ```
186
+
187
+ #### `share(path, options?)`
188
+
189
+ Generate a signed URL for sharing a file.
190
+
191
+ ```typescript
192
+ const { url } = await filesystem.share('/reports/output.pdf', {
193
+ expiresIn: 3600,
194
+ })
195
+ ```
196
+
197
+ ## Related
198
+
199
+ - [WorkspaceFilesystem interface](https://mastra.ai/reference/workspace/filesystem)
200
+ - [S3Filesystem reference](https://mastra.ai/reference/workspace/s3-filesystem)
201
+ - [GCSFilesystem reference](https://mastra.ai/reference/workspace/gcs-filesystem)
202
+ - [AzureBlobFilesystem reference](https://mastra.ai/reference/workspace/azure-blob-filesystem)
203
+ - [Archil documentation](https://docs.archil.com)
@@ -189,6 +189,7 @@ See [E2BSandbox reference](https://mastra.ai/reference/workspace/e2b-sandbox) fo
189
189
  ## Related
190
190
 
191
191
  - [WorkspaceFilesystem interface](https://mastra.ai/reference/workspace/filesystem)
192
+ - [ArchilFilesystem reference](https://mastra.ai/reference/workspace/archil-filesystem)
192
193
  - [S3Filesystem reference](https://mastra.ai/reference/workspace/s3-filesystem)
193
194
  - [AzureBlobFilesystem reference](https://mastra.ai/reference/workspace/azure-blob-filesystem)
194
195
  - [E2BSandbox reference](https://mastra.ai/reference/workspace/e2b-sandbox)
@@ -266,6 +266,7 @@ See [E2BSandbox reference](https://mastra.ai/reference/workspace/e2b-sandbox) fo
266
266
  ## Related
267
267
 
268
268
  - [WorkspaceFilesystem interface](https://mastra.ai/reference/workspace/filesystem)
269
+ - [ArchilFilesystem reference](https://mastra.ai/reference/workspace/archil-filesystem)
269
270
  - [GCSFilesystem reference](https://mastra.ai/reference/workspace/gcs-filesystem)
270
271
  - [AzureBlobFilesystem reference](https://mastra.ai/reference/workspace/azure-blob-filesystem)
271
272
  - [E2BSandbox reference](https://mastra.ai/reference/workspace/e2b-sandbox)
package/CHANGELOG.md CHANGED
@@ -1,5 +1,20 @@
1
1
  # @mastra/mcp-docs-server
2
2
 
3
+ ## 1.2.1-alpha.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`7794d71`](https://github.com/mastra-ai/mastra/commit/7794d71872c68733a30e028dfb7b1705daf6c5d2)]:
8
+ - @mastra/core@1.46.0-alpha.1
9
+
10
+ ## 1.2.1-alpha.0
11
+
12
+ ### Patch Changes
13
+
14
+ - Updated dependencies [[`5bd72d2`](https://github.com/mastra-ai/mastra/commit/5bd72d255f45b5ea8ab342643bd463814a980a24), [`1cc9ee1`](https://github.com/mastra-ai/mastra/commit/1cc9ee1ba51db53020a735626d33017a60b4b5b3), [`417baae`](https://github.com/mastra-ai/mastra/commit/417baae40b995db5819c845036947f0c27dc1c00), [`74955f9`](https://github.com/mastra-ai/mastra/commit/74955f9120cde8b1d8ce4399232b4033236be858), [`30ebaf0`](https://github.com/mastra-ai/mastra/commit/30ebaf07bed5f4d30f2f257836c15d1bf7e40aae), [`5704634`](https://github.com/mastra-ai/mastra/commit/5704634b22133167dea337a942a34f57aaa3fa14), [`417baae`](https://github.com/mastra-ai/mastra/commit/417baae40b995db5819c845036947f0c27dc1c00), [`74955f9`](https://github.com/mastra-ai/mastra/commit/74955f9120cde8b1d8ce4399232b4033236be858), [`74955f9`](https://github.com/mastra-ai/mastra/commit/74955f9120cde8b1d8ce4399232b4033236be858), [`c0eda2b`](https://github.com/mastra-ai/mastra/commit/c0eda2bcd91a228427314b12c91d8b147f3a739f), [`c0eda2b`](https://github.com/mastra-ai/mastra/commit/c0eda2bcd91a228427314b12c91d8b147f3a739f), [`b13925b`](https://github.com/mastra-ai/mastra/commit/b13925bfa91aa8700f56fa54a9ce707ee7e4ba62), [`bf94ec6`](https://github.com/mastra-ai/mastra/commit/bf94ec68192d9f16e46ef7e5ac36370aeeddf35d), [`a29f371`](https://github.com/mastra-ai/mastra/commit/a29f371aef629ac8562661524a497127e93b5131), [`74955f9`](https://github.com/mastra-ai/mastra/commit/74955f9120cde8b1d8ce4399232b4033236be858), [`073f910`](https://github.com/mastra-ai/mastra/commit/073f910481e7d94b95ba3830f96531774ae95d33), [`ebbe1d3`](https://github.com/mastra-ai/mastra/commit/ebbe1d31a965a3adb0e728758f326b8122b4b55f), [`1f97ce5`](https://github.com/mastra-ai/mastra/commit/1f97ce5695463bebb4eaacf501da6fb403e20885), [`74955f9`](https://github.com/mastra-ai/mastra/commit/74955f9120cde8b1d8ce4399232b4033236be858), [`64f58c0`](https://github.com/mastra-ai/mastra/commit/64f58c04e78b40137497d47f781e897e416f22a5), [`74955f9`](https://github.com/mastra-ai/mastra/commit/74955f9120cde8b1d8ce4399232b4033236be858), [`ebbe1d3`](https://github.com/mastra-ai/mastra/commit/ebbe1d31a965a3adb0e728758f326b8122b4b55f), [`417baae`](https://github.com/mastra-ai/mastra/commit/417baae40b995db5819c845036947f0c27dc1c00), [`b89fbd1`](https://github.com/mastra-ai/mastra/commit/b89fbd15bfdceeee469651c81133f70cc22a6fb9), [`8e25a78`](https://github.com/mastra-ai/mastra/commit/8e25a78e0597575f0b0729bae8c5e190c84869b5), [`417baae`](https://github.com/mastra-ai/mastra/commit/417baae40b995db5819c845036947f0c27dc1c00), [`a5b22d3`](https://github.com/mastra-ai/mastra/commit/a5b22d314d62a68d801886a8d3d0eb6c089473db), [`417baae`](https://github.com/mastra-ai/mastra/commit/417baae40b995db5819c845036947f0c27dc1c00), [`74955f9`](https://github.com/mastra-ai/mastra/commit/74955f9120cde8b1d8ce4399232b4033236be858), [`74955f9`](https://github.com/mastra-ai/mastra/commit/74955f9120cde8b1d8ce4399232b4033236be858)]:
15
+ - @mastra/core@1.46.0-alpha.0
16
+ - @mastra/mcp@1.12.0-alpha.0
17
+
3
18
  ## 1.2.0
4
19
 
5
20
  ### Minor Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/mcp-docs-server",
3
- "version": "1.2.0",
3
+ "version": "1.2.1-alpha.1",
4
4
  "description": "MCP server for accessing Mastra.ai documentation, changelogs, and news.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -28,8 +28,8 @@
28
28
  "jsdom": "^26.1.0",
29
29
  "local-pkg": "^1.1.2",
30
30
  "zod": "^4.4.3",
31
- "@mastra/mcp": "^1.11.0",
32
- "@mastra/core": "1.45.0"
31
+ "@mastra/core": "1.46.0-alpha.1",
32
+ "@mastra/mcp": "^1.12.0-alpha.0"
33
33
  },
34
34
  "devDependencies": {
35
35
  "@hono/node-server": "^1.19.11",
@@ -45,9 +45,9 @@
45
45
  "tsx": "^4.22.4",
46
46
  "typescript": "^6.0.3",
47
47
  "vitest": "4.1.8",
48
- "@mastra/core": "1.45.0",
49
48
  "@internal/types-builder": "0.0.82",
50
- "@internal/lint": "0.0.107"
49
+ "@internal/lint": "0.0.107",
50
+ "@mastra/core": "1.46.0-alpha.1"
51
51
  },
52
52
  "homepage": "https://mastra.ai",
53
53
  "repository": {