@mastra/mcp-docs-server 1.1.28 → 1.1.29-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.
@@ -71,6 +71,7 @@ import { browser } from '../browsers'
71
71
  export const webAgent = new Agent({
72
72
  id: 'web-agent',
73
73
  name: 'Web Agent',
74
+ description: 'A web automation assistant that can navigate websites and complete tasks.',
74
75
  model: 'openai/gpt-5.4',
75
76
  browser,
76
77
  instructions:
@@ -1,6 +1,6 @@
1
1
  # Model Providers
2
2
 
3
- Mastra provides a unified interface for working with LLMs across multiple providers, giving you access to 3723 models from 104 providers through a single API.
3
+ Mastra provides a unified interface for working with LLMs across multiple providers, giving you access to 3725 models from 104 providers through a single API.
4
4
 
5
5
  ## Features
6
6
 
@@ -1,6 +1,6 @@
1
1
  # ![DeepSeek logo](https://models.dev/logos/deepseek.svg)DeepSeek
2
2
 
3
- Access 2 DeepSeek models through Mastra's model router. Authentication is handled automatically using the `DEEPSEEK_API_KEY` environment variable.
3
+ Access 4 DeepSeek models through Mastra's model router. Authentication is handled automatically using the `DEEPSEEK_API_KEY` environment variable.
4
4
 
5
5
  Learn more in the [DeepSeek documentation](https://api-docs.deepseek.com/quick_start/pricing).
6
6
 
@@ -34,6 +34,8 @@ for await (const chunk of stream) {
34
34
  | ---------------------------- | ------- | ----- | --------- | ----- | ----- | ----- | ---------- | ----------- |
35
35
  | `deepseek/deepseek-chat` | 131K | | | | | | $0.28 | $0.42 |
36
36
  | `deepseek/deepseek-reasoner` | 128K | | | | | | $0.28 | $0.42 |
37
+ | `deepseek/deepseek-v4-flash` | 1.0M | | | | | | $0.14 | $0.28 |
38
+ | `deepseek/deepseek-v4-pro` | 1.0M | | | | | | $2 | $3 |
37
39
 
38
40
  ## Advanced configuration
39
41
 
@@ -63,7 +65,7 @@ const agent = new Agent({
63
65
  model: ({ requestContext }) => {
64
66
  const useAdvanced = requestContext.task === "complex";
65
67
  return useAdvanced
66
- ? "deepseek/deepseek-reasoner"
68
+ ? "deepseek/deepseek-v4-pro"
67
69
  : "deepseek/deepseek-chat";
68
70
  }
69
71
  });
@@ -217,6 +217,26 @@ response.processDataStream({
217
217
  })
218
218
  ```
219
219
 
220
+ ### `resumeStream()`
221
+
222
+ Resume a suspended agent stream with custom data. Use this to continue execution after a suspension point, such as a workflow suspend within an agent:
223
+
224
+ ```typescript
225
+ const response = await agent.resumeStream(
226
+ { approved: true, selectedOption: 'plan-b' },
227
+ {
228
+ runId: 'run-123',
229
+ toolCallId: 'tool-call-456', // optional
230
+ },
231
+ )
232
+
233
+ await response.processDataStream({
234
+ onChunk: chunk => {
235
+ console.log(chunk)
236
+ },
237
+ })
238
+ ```
239
+
220
240
  ### `approveToolCallGenerate()`
221
241
 
222
242
  Approve a pending tool call when using `generate()` (non-streaming). Returns the complete response:
@@ -4,14 +4,15 @@ Server adapters register these routes when you call `server.init()`. All routes
4
4
 
5
5
  ## Agents
6
6
 
7
- | Method | Path | Description |
8
- | ------ | -------------------------------------------- | ----------------------------------------------- |
9
- | `GET` | `/api/agents` | List all agents |
10
- | `GET` | `/api/agents/:agentId` | Get agent by ID (supports version query params) |
11
- | `POST` | `/api/agents/:agentId/generate` | Generate agent response |
12
- | `POST` | `/api/agents/:agentId/stream` | Stream agent response |
13
- | `GET` | `/api/agents/:agentId/tools` | List agent tools |
14
- | `POST` | `/api/agents/:agentId/tools/:toolId/execute` | Execute agent tool |
7
+ | Method | Path | Description |
8
+ | ------ | -------------------------------------------- | ------------------------------------------------ |
9
+ | `GET` | `/api/agents` | List all agents |
10
+ | `GET` | `/api/agents/:agentId` | Get agent by ID (supports version query params) |
11
+ | `POST` | `/api/agents/:agentId/generate` | Generate agent response |
12
+ | `POST` | `/api/agents/:agentId/stream` | Stream agent response |
13
+ | `POST` | `/api/agents/:agentId/resume-stream` | Resume a suspended agent stream with custom data |
14
+ | `GET` | `/api/agents/:agentId/tools` | List agent tools |
15
+ | `POST` | `/api/agents/:agentId/tools/:toolId/execute` | Execute agent tool |
15
16
 
16
17
  ### Get agent query parameters
17
18
 
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # @mastra/mcp-docs-server
2
2
 
3
+ ## 1.1.29-alpha.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`b510d36`](https://github.com/mastra-ai/mastra/commit/b510d368f73dab6be2e2c2bc99035aaef1fb7d7a)]:
8
+ - @mastra/core@1.29.0-alpha.0
9
+
3
10
  ## 1.1.28
4
11
 
5
12
  ### 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.1",
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.0",
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.0"
52
52
  },
53
53
  "homepage": "https://mastra.ai",
54
54
  "repository": {