@mastra/mcp-docs-server 1.1.35-alpha.8 → 1.1.36-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.
- package/.docs/course/03-agent-memory/18-advanced-configuration-semantic-recall.md +48 -4
- package/.docs/docs/agents/background-tasks.md +62 -2
- package/.docs/docs/agents/processors.md +9 -1
- package/.docs/docs/agents/response-caching.md +148 -0
- package/.docs/docs/agents/signals.md +151 -0
- package/.docs/docs/agents/using-tools.md +8 -0
- package/.docs/docs/browser/agent-browser.md +15 -0
- package/.docs/docs/browser/stagehand.md +25 -1
- package/.docs/docs/deployment/cloud-providers.md +1 -1
- package/.docs/docs/deployment/overview.md +6 -5
- package/.docs/docs/editor/tools.md +1 -1
- package/.docs/docs/index.md +2 -2
- package/.docs/docs/mastra-platform/configuration.md +22 -6
- package/.docs/docs/mastra-platform/observability.md +99 -0
- package/.docs/docs/mastra-platform/overview.md +12 -55
- package/.docs/{guides/deployment/mastra-platform.md → docs/mastra-platform/server.md} +30 -37
- package/.docs/docs/mastra-platform/studio.md +81 -0
- package/.docs/docs/memory/observational-memory.md +61 -13
- package/.docs/docs/memory/semantic-recall.md +68 -6
- package/.docs/docs/observability/logging.md +2 -2
- package/.docs/docs/observability/metrics/overview.md +4 -4
- package/.docs/docs/observability/overview.md +15 -10
- package/.docs/docs/observability/tracing/bridges/otel.md +25 -0
- package/.docs/docs/observability/tracing/exporters/arize.md +5 -5
- package/.docs/docs/observability/tracing/exporters/braintrust.md +37 -0
- package/.docs/docs/observability/tracing/exporters/langfuse.md +21 -0
- package/.docs/docs/observability/tracing/exporters/{cloud.md → mastra-platform.md} +35 -33
- package/.docs/docs/observability/tracing/exporters/{default.md → mastra-storage.md} +56 -19
- package/.docs/docs/observability/tracing/exporters/otel.md +79 -2
- package/.docs/docs/observability/tracing/overview.md +30 -29
- package/.docs/docs/observability/tracing/processors/sensitive-data-filter.md +6 -6
- package/.docs/docs/server/mastra-server.md +30 -19
- package/.docs/docs/studio/deployment.md +1 -37
- package/.docs/docs/studio/observability.md +31 -26
- package/.docs/docs/studio/overview.md +8 -2
- package/.docs/docs/voice/overview.md +84 -0
- package/.docs/docs/workflows/suspend-and-resume.md +28 -1
- package/.docs/guides/deployment/inngest.md +23 -0
- package/.docs/guides/getting-started/quickstart.md +4 -4
- package/.docs/guides/migrations/mastra-cloud.md +12 -12
- package/.docs/guides/migrations/upgrade-to-v1/tracing.md +19 -17
- package/.docs/models/gateways/netlify.md +2 -1
- package/.docs/models/gateways/openrouter.md +4 -1
- package/.docs/models/gateways/vercel.md +2 -1
- package/.docs/models/index.md +1 -1
- package/.docs/models/providers/alibaba-cn.md +1 -1
- package/.docs/models/providers/alibaba.md +1 -1
- package/.docs/models/providers/chutes.md +23 -54
- package/.docs/models/providers/claudinio.md +71 -0
- package/.docs/models/providers/databricks.md +96 -0
- package/.docs/models/providers/deepinfra.md +3 -1
- package/.docs/models/providers/deepseek.md +3 -1
- package/.docs/models/providers/digitalocean.md +9 -2
- package/.docs/models/providers/firepass.md +71 -0
- package/.docs/models/providers/google.md +4 -3
- package/.docs/models/providers/kilo.md +6 -4
- package/.docs/models/providers/llmgateway.md +8 -2
- package/.docs/models/providers/nebius.md +37 -55
- package/.docs/models/providers/novita-ai.md +5 -5
- package/.docs/models/providers/nvidia.md +59 -49
- package/.docs/models/providers/ollama-cloud.md +1 -1
- package/.docs/models/providers/openai.md +2 -0
- package/.docs/models/providers/opencode.md +44 -43
- package/.docs/models/providers/poe.md +4 -1
- package/.docs/models/providers/sarvam.md +72 -0
- package/.docs/models/providers/wafer.ai.md +4 -5
- package/.docs/models/providers/xiaomi-token-plan-ams.md +6 -5
- package/.docs/models/providers/xiaomi-token-plan-cn.md +6 -5
- package/.docs/models/providers/xiaomi-token-plan-sgp.md +6 -5
- package/.docs/models/providers.md +4 -1
- package/.docs/reference/agents/agent.md +85 -0
- package/.docs/reference/browser/agent-browser.md +37 -11
- package/.docs/reference/browser/stagehand-browser.md +35 -9
- package/.docs/reference/cli/create-mastra.md +6 -0
- package/.docs/reference/cli/mastra.md +63 -15
- package/.docs/reference/client-js/agents.md +115 -1
- package/.docs/reference/client-js/responses.md +4 -0
- package/.docs/reference/configuration.md +6 -6
- package/.docs/reference/editor/tool-provider.md +3 -3
- package/.docs/reference/harness/harness-class.md +22 -9
- package/.docs/reference/index.md +5 -0
- package/.docs/reference/memory/observational-memory.md +11 -1
- package/.docs/reference/observability/metrics/automatic-metrics.md +2 -4
- package/.docs/reference/observability/tracing/bridges/datadog.md +2 -2
- package/.docs/reference/observability/tracing/bridges/otel.md +26 -4
- package/.docs/reference/observability/tracing/configuration.md +6 -3
- package/.docs/reference/observability/tracing/exporters/arize.md +1 -1
- package/.docs/reference/observability/tracing/exporters/braintrust.md +2 -0
- package/.docs/reference/observability/tracing/exporters/cloud-exporter.md +5 -3
- package/.docs/reference/observability/tracing/exporters/console-exporter.md +2 -2
- package/.docs/reference/observability/tracing/exporters/default-exporter.md +7 -1
- package/.docs/reference/observability/tracing/exporters/mastra-platform-exporter.md +263 -0
- package/.docs/reference/observability/tracing/exporters/mastra-storage-exporter.md +194 -0
- package/.docs/reference/observability/tracing/exporters/otel.md +12 -8
- package/.docs/reference/observability/tracing/instances.md +2 -2
- package/.docs/reference/observability/tracing/interfaces.md +37 -2
- package/.docs/reference/observability/tracing/processors/sensitive-data-filter.md +22 -0
- package/.docs/reference/observability/tracing/span-filtering.md +2 -2
- package/.docs/reference/processors/prefill-error-handler.md +3 -3
- package/.docs/reference/processors/response-cache.md +114 -0
- package/.docs/reference/processors/tool-call-filter.md +28 -0
- package/.docs/reference/storage/clickhouse.md +8 -8
- package/.docs/reference/storage/cloudflare-d1.md +1 -1
- package/.docs/reference/storage/cloudflare.md +1 -1
- package/.docs/reference/storage/composite.md +1 -1
- package/.docs/reference/storage/convex.md +1 -1
- package/.docs/reference/storage/dsql.md +428 -0
- package/.docs/reference/storage/duckdb.md +3 -3
- package/.docs/reference/storage/dynamodb.md +1 -1
- package/.docs/reference/storage/lance.md +1 -1
- package/.docs/reference/storage/libsql.md +1 -1
- package/.docs/reference/storage/postgresql.md +1 -1
- package/.docs/reference/storage/upstash.md +1 -1
- package/.docs/reference/streaming/ChunkType.md +44 -0
- package/.docs/reference/tools/brightdata.md +167 -0
- package/.docs/reference/tools/create-tool.md +46 -0
- package/.docs/reference/voice/inworld.md +133 -0
- package/.docs/reference/workflows/workflow-state-reader.md +113 -0
- package/CHANGELOG.md +113 -0
- package/package.json +6 -6
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
# Bright Data tools
|
|
2
|
+
|
|
3
|
+
The `@mastra/brightdata` package wraps the [Bright Data SDK](https://github.com/brightdata/bright-data-sdk-node) as Mastra-compatible tools. It exposes factory functions for web search and web fetch — each returning a tool created with [`createTool()`](https://mastra.ai/reference/tools/create-tool) that includes full Zod input/output schemas.
|
|
4
|
+
|
|
5
|
+
The search tool is backed by Bright Data's [SERP API](https://brightdata.com/products/serp-api) and the fetch tool by [Web Unlocker](https://brightdata.com/products/web-unlocker). Both bypass bot detection and CAPTCHAs.
|
|
6
|
+
|
|
7
|
+
## Installation
|
|
8
|
+
|
|
9
|
+
**npm**:
|
|
10
|
+
|
|
11
|
+
```sh
|
|
12
|
+
npm install @mastra/brightdata zod
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
**pnpm**:
|
|
16
|
+
|
|
17
|
+
```sh
|
|
18
|
+
pnpm add @mastra/brightdata zod
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
**Yarn**:
|
|
22
|
+
|
|
23
|
+
```sh
|
|
24
|
+
yarn add @mastra/brightdata zod
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
**Bun**:
|
|
28
|
+
|
|
29
|
+
```sh
|
|
30
|
+
bun add @mastra/brightdata zod
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
## Quick start
|
|
34
|
+
|
|
35
|
+
Use `createBrightDataTools()` to get both tools with shared configuration:
|
|
36
|
+
|
|
37
|
+
```typescript
|
|
38
|
+
import { createBrightDataTools } from '@mastra/brightdata'
|
|
39
|
+
|
|
40
|
+
const { webSearch, webFetch } = createBrightDataTools()
|
|
41
|
+
// Or pass an explicit API key:
|
|
42
|
+
// const { webSearch, webFetch } = createBrightDataTools({ apiKey: 'brd-...' })
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
Each tool can also be created individually:
|
|
46
|
+
|
|
47
|
+
```typescript
|
|
48
|
+
import { createBrightDataSearchTool, createBrightDataFetchTool } from '@mastra/brightdata'
|
|
49
|
+
|
|
50
|
+
const searchTool = createBrightDataSearchTool()
|
|
51
|
+
const fetchTool = createBrightDataFetchTool({ apiKey: 'brd-...' })
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
By default, all tools read `BRIGHTDATA_API_TOKEN` from the environment. You can pass `{ apiKey }` explicitly to override.
|
|
55
|
+
|
|
56
|
+
## Configuration
|
|
57
|
+
|
|
58
|
+
All factory functions accept `BrightDataClientOptions` from `@brightdata/sdk`:
|
|
59
|
+
|
|
60
|
+
**apiKey** (`string`): Bright Data API token. Falls back to the \`BRIGHTDATA\_API\_TOKEN\` environment variable.
|
|
61
|
+
|
|
62
|
+
Additional fields supported by the `bdclient` constructor (such as `timeout`, `webUnlockerZone`, `serpZone`, and `rateLimit`) can be passed through the same options object.
|
|
63
|
+
|
|
64
|
+
## `createBrightDataTools()`
|
|
65
|
+
|
|
66
|
+
Returns an object containing both tools with a shared configuration.
|
|
67
|
+
|
|
68
|
+
```typescript
|
|
69
|
+
import { createBrightDataTools } from '@mastra/brightdata'
|
|
70
|
+
|
|
71
|
+
const tools = createBrightDataTools({ apiKey: 'brd-...' })
|
|
72
|
+
// tools.webSearch, tools.webFetch
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
**Returns:** `{ webSearch, webFetch }`
|
|
76
|
+
|
|
77
|
+
## `createBrightDataSearchTool()`
|
|
78
|
+
|
|
79
|
+
Creates a tool that searches Google through Bright Data's SERP API. Returns parsed organic results.
|
|
80
|
+
|
|
81
|
+
**Tool ID:** `brightdata-search`
|
|
82
|
+
|
|
83
|
+
```typescript
|
|
84
|
+
import { createBrightDataSearchTool } from '@mastra/brightdata'
|
|
85
|
+
|
|
86
|
+
const searchTool = createBrightDataSearchTool()
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
### Input
|
|
90
|
+
|
|
91
|
+
**query** (`string`): The search query.
|
|
92
|
+
|
|
93
|
+
**country** (`string`): Two-letter country code for geo-targeted results (for example, \`us\` or \`gb\`).
|
|
94
|
+
|
|
95
|
+
**start** (`number`): Result offset for pagination. For example, \`10\` returns the second page of 10 results.
|
|
96
|
+
|
|
97
|
+
### Output
|
|
98
|
+
|
|
99
|
+
**query** (`string`): The original search query.
|
|
100
|
+
|
|
101
|
+
**results** (`SearchResult[]`): Organic search results. Entries missing a link or title are filtered out.
|
|
102
|
+
|
|
103
|
+
**results.link** (`string`): Result URL.
|
|
104
|
+
|
|
105
|
+
**results.title** (`string`): Result title.
|
|
106
|
+
|
|
107
|
+
**results.description** (`string`): Result snippet.
|
|
108
|
+
|
|
109
|
+
**currentPage** (`number`): Page number returned by the SERP API. Defaults to \`1\` when the upstream response omits or returns a non-positive value.
|
|
110
|
+
|
|
111
|
+
## `createBrightDataFetchTool()`
|
|
112
|
+
|
|
113
|
+
Creates a tool that fetches a webpage through Bright Data's Web Unlocker and returns the page content as Markdown.
|
|
114
|
+
|
|
115
|
+
**Tool ID:** `brightdata-fetch`
|
|
116
|
+
|
|
117
|
+
```typescript
|
|
118
|
+
import { createBrightDataFetchTool } from '@mastra/brightdata'
|
|
119
|
+
|
|
120
|
+
const fetchTool = createBrightDataFetchTool()
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
### Input
|
|
124
|
+
|
|
125
|
+
**url** (`string`): The URL to fetch. Must be a valid HTTP or HTTPS URL.
|
|
126
|
+
|
|
127
|
+
### Output
|
|
128
|
+
|
|
129
|
+
**url** (`string`): The input URL.
|
|
130
|
+
|
|
131
|
+
**content** (`string`): Page content as Markdown.
|
|
132
|
+
|
|
133
|
+
## Agent example
|
|
134
|
+
|
|
135
|
+
The following example demonstrates a research agent that combines search and fetch:
|
|
136
|
+
|
|
137
|
+
```typescript
|
|
138
|
+
import { Agent } from '@mastra/core/agent'
|
|
139
|
+
import { createBrightDataTools } from '@mastra/brightdata'
|
|
140
|
+
|
|
141
|
+
const { webSearch, webFetch } = createBrightDataTools()
|
|
142
|
+
|
|
143
|
+
const agent = new Agent({
|
|
144
|
+
id: 'research-agent',
|
|
145
|
+
name: 'Research Agent',
|
|
146
|
+
model: 'anthropic/claude-sonnet-4-6',
|
|
147
|
+
instructions:
|
|
148
|
+
'You are a research assistant. Use the search tool to find relevant pages, then use the fetch tool to read full Markdown content from the best results.',
|
|
149
|
+
tools: {
|
|
150
|
+
webSearch,
|
|
151
|
+
webFetch,
|
|
152
|
+
},
|
|
153
|
+
})
|
|
154
|
+
```
|
|
155
|
+
|
|
156
|
+
## Environment variables
|
|
157
|
+
|
|
158
|
+
| Variable | Description |
|
|
159
|
+
| ---------------------- | -------------------------------------------------------------------------------------------------- |
|
|
160
|
+
| `BRIGHTDATA_API_TOKEN` | Your Bright Data API token. Used as the default when `apiKey` is not passed to a factory function. |
|
|
161
|
+
|
|
162
|
+
## Related
|
|
163
|
+
|
|
164
|
+
- [`createTool()`](https://mastra.ai/reference/tools/create-tool)
|
|
165
|
+
- [Bright Data SERP API](https://brightdata.com/products/serp-api)
|
|
166
|
+
- [Bright Data Web Unlocker](https://brightdata.com/products/web-unlocker)
|
|
167
|
+
- [Bright Data SDK for Node.js](https://github.com/brightdata/bright-data-sdk-node)
|
|
@@ -173,6 +173,50 @@ The tool still returns the full `execute` result to your application, while the
|
|
|
173
173
|
- `type: 'json'`
|
|
174
174
|
- `type: 'content'` with parts like `text`, `image-url`, `image-data`, `file-url`, `file-data`, `file-id`, `image-file-id`, or `custom`
|
|
175
175
|
|
|
176
|
+
## Example with `transform`
|
|
177
|
+
|
|
178
|
+
Use `transform` when the tool should keep raw inputs or outputs for runtime behavior, but display streams or transcript messages should receive a smaller or safer shape.
|
|
179
|
+
|
|
180
|
+
```typescript
|
|
181
|
+
import { createTool } from '@mastra/core/tools'
|
|
182
|
+
import { z } from 'zod'
|
|
183
|
+
|
|
184
|
+
export const customerTool = createTool({
|
|
185
|
+
id: 'lookup-customer',
|
|
186
|
+
description: 'Looks up a customer',
|
|
187
|
+
inputSchema: z.object({
|
|
188
|
+
customerId: z.string(),
|
|
189
|
+
internalPath: z.string(),
|
|
190
|
+
}),
|
|
191
|
+
outputSchema: z.object({
|
|
192
|
+
displayName: z.string(),
|
|
193
|
+
apiKey: z.string(),
|
|
194
|
+
debugScore: z.number(),
|
|
195
|
+
}),
|
|
196
|
+
execute: async () => {
|
|
197
|
+
return {
|
|
198
|
+
displayName: 'Acme',
|
|
199
|
+
apiKey: 'secret-value',
|
|
200
|
+
debugScore: 0.97,
|
|
201
|
+
}
|
|
202
|
+
},
|
|
203
|
+
transform: {
|
|
204
|
+
display: {
|
|
205
|
+
input: ({ input }) => ({ customerId: input?.customerId }),
|
|
206
|
+
output: ({ output }) => ({ displayName: output?.displayName }),
|
|
207
|
+
error: () => ({ message: 'Customer lookup failed' }),
|
|
208
|
+
},
|
|
209
|
+
transcript: {
|
|
210
|
+
input: ({ input }) => ({ customerId: input?.customerId }),
|
|
211
|
+
output: ({ output }) => ({ displayName: output?.displayName }),
|
|
212
|
+
error: () => ({ message: 'Customer lookup failed' }),
|
|
213
|
+
},
|
|
214
|
+
},
|
|
215
|
+
})
|
|
216
|
+
```
|
|
217
|
+
|
|
218
|
+
The tool still receives the raw `inputSchema` value and returns the raw `execute` result. Mastra applies `display` transforms to streamed UI payloads and `transcript` transforms to user-visible transcript messages.
|
|
219
|
+
|
|
176
220
|
## Example with MCP annotations
|
|
177
221
|
|
|
178
222
|
When exposing tools via MCP (Model Context Protocol), you can add annotations to describe tool behavior and customize how clients display the tool. These MCP-specific properties are grouped under the `mcp` property:
|
|
@@ -224,6 +268,8 @@ export const weatherTool = createTool({
|
|
|
224
268
|
|
|
225
269
|
**toModelOutput** (`(output: TSchemaOut) => unknown`): Optional function that transforms the tool's \`execute\` output before it is sent back to the model. Use this to return \`text\`, \`json\`, or \`content\`-shaped outputs (including multimodal parts like images/files) to the model while still keeping the full raw output in your application code.
|
|
226
270
|
|
|
271
|
+
**transform** (`ToolPayloadTransform`): Optional target-aware transform for tool payloads before they leave runtime for display streams or user-visible transcript messages. Configure \`display\` and \`transcript\` transforms for phases such as \`input\`, \`inputDelta\`, \`output\`, \`error\`, \`approval\`, \`suspend\`, and \`resume\`.
|
|
272
|
+
|
|
227
273
|
**suspendSchema** (`StandardJSONSchemaV1`): A Standard JSON Schema defining the structure of the payload passed to \`suspend()\`. This payload is returned to the client when the tool suspends execution.
|
|
228
274
|
|
|
229
275
|
**resumeSchema** (`StandardJSONSchemaV1`): A Standard JSON Schema defining the expected structure of \`resumeData\` when the tool is resumed. Used by the agent to extract data from user messages when \`autoResumeSuspendedTools\` is enabled.
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
# Inworld
|
|
2
|
+
|
|
3
|
+
The Inworld voice implementation in Mastra provides streaming text-to-speech (TTS) and batch speech-to-text (STT) capabilities using Inworld AI's API. It supports multiple TTS and STT models, configurable audio encodings, and progressive audio streaming.
|
|
4
|
+
|
|
5
|
+
## Usage example
|
|
6
|
+
|
|
7
|
+
```typescript
|
|
8
|
+
import { InworldVoice } from '@mastra/voice-inworld'
|
|
9
|
+
|
|
10
|
+
// Initialize with default configuration (uses INWORLD_API_KEY environment variable)
|
|
11
|
+
const voice = new InworldVoice()
|
|
12
|
+
|
|
13
|
+
// Initialize with custom configuration
|
|
14
|
+
const voice = new InworldVoice({
|
|
15
|
+
speechModel: {
|
|
16
|
+
name: 'inworld-tts-2',
|
|
17
|
+
apiKey: 'your-api-key',
|
|
18
|
+
},
|
|
19
|
+
listeningModel: {
|
|
20
|
+
name: 'groq/whisper-large-v3',
|
|
21
|
+
apiKey: 'your-api-key',
|
|
22
|
+
},
|
|
23
|
+
speaker: 'Dennis',
|
|
24
|
+
})
|
|
25
|
+
|
|
26
|
+
// Text-to-Speech (streaming)
|
|
27
|
+
const audioStream = await voice.speak('Hello, world!')
|
|
28
|
+
|
|
29
|
+
// Speech-to-Text
|
|
30
|
+
const transcript = await voice.listen(audioStream)
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
## Constructor parameters
|
|
34
|
+
|
|
35
|
+
**speechModel** (`InworldVoiceConfig`): Configuration for text-to-speech functionality. (Default: `{ name: 'inworld-tts-2' }`)
|
|
36
|
+
|
|
37
|
+
**speechModel.name** (`'inworld-tts-2' | 'inworld-tts-1.5-max' | 'inworld-tts-1.5-mini'`): The Inworld TTS model to use.
|
|
38
|
+
|
|
39
|
+
**speechModel.apiKey** (`string`): Inworld API key. Falls back to INWORLD\_API\_KEY environment variable.
|
|
40
|
+
|
|
41
|
+
**listeningModel** (`InworldListeningConfig`): Configuration for speech-to-text functionality. (Default: `{ name: 'groq/whisper-large-v3' }`)
|
|
42
|
+
|
|
43
|
+
**listeningModel.name** (`'groq/whisper-large-v3'`): The Inworld STT model to use.
|
|
44
|
+
|
|
45
|
+
**listeningModel.apiKey** (`string`): Inworld API key. Falls back to INWORLD\_API\_KEY environment variable.
|
|
46
|
+
|
|
47
|
+
**speaker** (`string`): Default voice ID to use for text-to-speech. (Default: `'Dennis'`)
|
|
48
|
+
|
|
49
|
+
**audioEncoding** (`'LINEAR16' | 'MP3' | 'OGG_OPUS' | 'ALAW' | 'MULAW' | 'FLAC' | 'PCM' | 'WAV'`): Default audio encoding for TTS output. (Default: `'MP3'`)
|
|
50
|
+
|
|
51
|
+
**sampleRateHertz** (`number`): Default sample rate for TTS output. (Default: `48000`)
|
|
52
|
+
|
|
53
|
+
**language** (`string`): Default BCP-47 language code for STT. (Default: `'en-US'`)
|
|
54
|
+
|
|
55
|
+
## Methods
|
|
56
|
+
|
|
57
|
+
### `speak(input, options?)`
|
|
58
|
+
|
|
59
|
+
Converts text to speech using Inworld's streaming TTS endpoint. Returns a readable stream that emits audio chunks progressively as they arrive.
|
|
60
|
+
|
|
61
|
+
```typescript
|
|
62
|
+
const audioStream = await voice.speak('Hello, world!', {
|
|
63
|
+
speaker: 'Olivia',
|
|
64
|
+
audioEncoding: 'WAV',
|
|
65
|
+
sampleRateHertz: 24000,
|
|
66
|
+
speakingRate: 1.2,
|
|
67
|
+
temperature: 0.8,
|
|
68
|
+
})
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
**input** (`string | NodeJS.ReadableStream`): Text to convert to speech. If a stream is provided, it will be converted to text first.
|
|
72
|
+
|
|
73
|
+
**options** (`InworldSpeakOptions`): Additional options for speech synthesis.
|
|
74
|
+
|
|
75
|
+
**options.speaker** (`string`): Override the default speaker for this request.
|
|
76
|
+
|
|
77
|
+
**options.audioEncoding** (`AudioEncoding`): Override the default audio encoding.
|
|
78
|
+
|
|
79
|
+
**options.sampleRateHertz** (`number`): Override the default sample rate.
|
|
80
|
+
|
|
81
|
+
**options.speakingRate** (`number`): Adjust the speaking rate.
|
|
82
|
+
|
|
83
|
+
**options.temperature** (`number`): Controls voice variability. Honored on \`inworld-tts-1.5-\*\` models; ignored by \`inworld-tts-2\`.
|
|
84
|
+
|
|
85
|
+
**options.deliveryMode** (`'STABLE' | 'BALANCED' | 'CREATIVE'`): Steering control for delivery style. Only honored by \`inworld-tts-2\`.
|
|
86
|
+
|
|
87
|
+
**options.language** (`string`): BCP-47 language code for this request. Auto-detected when omitted.
|
|
88
|
+
|
|
89
|
+
**Returns:** `Promise<NodeJS.ReadableStream>`
|
|
90
|
+
|
|
91
|
+
### `listen(input, options?)`
|
|
92
|
+
|
|
93
|
+
Converts speech to text using Inworld's batch STT endpoint.
|
|
94
|
+
|
|
95
|
+
```typescript
|
|
96
|
+
const transcript = await voice.listen(audioStream, {
|
|
97
|
+
audioEncoding: 'MP3',
|
|
98
|
+
sampleRateHertz: 44100,
|
|
99
|
+
language: 'ja-JP',
|
|
100
|
+
})
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
**input** (`NodeJS.ReadableStream`): Audio stream to transcribe.
|
|
104
|
+
|
|
105
|
+
**options** (`InworldListenOptions`): Additional options for transcription.
|
|
106
|
+
|
|
107
|
+
**options.audioEncoding** (`'LINEAR16' | 'MP3' | 'OGG_OPUS' | 'FLAC' | 'AUTO_DETECT'`): Audio encoding of the input stream.
|
|
108
|
+
|
|
109
|
+
**options.sampleRateHertz** (`number`): Sample rate of the input audio.
|
|
110
|
+
|
|
111
|
+
**options.language** (`string`): BCP-47 language code for transcription.
|
|
112
|
+
|
|
113
|
+
**options.numberOfChannels** (`number`): Number of audio channels in the input.
|
|
114
|
+
|
|
115
|
+
**Returns:** `Promise<string>`
|
|
116
|
+
|
|
117
|
+
### `getSpeakers()`
|
|
118
|
+
|
|
119
|
+
Returns a list of available voices from the Inworld API.
|
|
120
|
+
|
|
121
|
+
```typescript
|
|
122
|
+
const speakers = await voice.getSpeakers()
|
|
123
|
+
// [{ voiceId: 'Dennis', name: 'Dennis', language: 'en', description: '...', tags: ['friendly'], source: 'SYSTEM' }, ...]
|
|
124
|
+
```
|
|
125
|
+
|
|
126
|
+
**Returns:** `Promise<Array<{ voiceId: string; name: string; language: string; description: string; tags: string[]; source: string }>>`
|
|
127
|
+
|
|
128
|
+
## Notes
|
|
129
|
+
|
|
130
|
+
- The TTS endpoint uses progressive NDJSON streaming, so audio playback can begin before the full response is received.
|
|
131
|
+
- An API key can be provided via the `speechModel` or `listeningModel` config, or the `INWORLD_API_KEY` environment variable. TTS and STT keys are resolved independently: passing distinct `speechModel.apiKey` and `listeningModel.apiKey` values lets each service use its own credential. If only one is provided, it is reused for both services as a fallback before the env var.
|
|
132
|
+
- `inworld-tts-2` is the default flagship model. Use `deliveryMode` (`STABLE` | `BALANCED` | `CREATIVE`) to steer delivery style on this model. The `temperature` option is ignored on `inworld-tts-2`.
|
|
133
|
+
- The `inworld-tts-1.5-mini` model offers lower latency at the cost of reduced voice quality compared to `inworld-tts-1.5-max`.
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
# Workflow state reader
|
|
2
|
+
|
|
3
|
+
Workflow state reader helpers inspect the public `WorkflowState` returned by `workflow.getWorkflowRunById()`. Use them to recover suspended runs, inspect resume labels, and read step payloads or outputs without parsing raw workflow snapshots.
|
|
4
|
+
|
|
5
|
+
## Usage example
|
|
6
|
+
|
|
7
|
+
```typescript
|
|
8
|
+
import { createWorkflowStateReader } from '@mastra/core/workflows'
|
|
9
|
+
|
|
10
|
+
const state = await workflow.getWorkflowRunById('run-123')
|
|
11
|
+
|
|
12
|
+
if (state) {
|
|
13
|
+
const reader = createWorkflowStateReader(state)
|
|
14
|
+
const suspendedStep = reader.getSuspendedStep()
|
|
15
|
+
const labels = reader.getResumeLabels()
|
|
16
|
+
|
|
17
|
+
console.log(reader.getStatus())
|
|
18
|
+
console.log(reader.getStepOutput('extract-data'))
|
|
19
|
+
console.log(suspendedStep?.path)
|
|
20
|
+
console.log(labels.approve)
|
|
21
|
+
}
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
## Functions
|
|
25
|
+
|
|
26
|
+
### `createWorkflowStateReader(state)`
|
|
27
|
+
|
|
28
|
+
Creates a reader object with methods bound to one `WorkflowState`.
|
|
29
|
+
|
|
30
|
+
```typescript
|
|
31
|
+
const reader = createWorkflowStateReader(state)
|
|
32
|
+
const suspendedStep = reader.getSuspendedStep()
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
### `getWorkflowStepOutput(state, stepId)`
|
|
36
|
+
|
|
37
|
+
Returns the output for a step ID, including nested workflow dot paths such as `parent.child`. For `foreach` steps, returns one entry per iteration; suspended iterations can have `undefined` output entries.
|
|
38
|
+
|
|
39
|
+
```typescript
|
|
40
|
+
const output = getWorkflowStepOutput(state, 'extract-data')
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
### `getWorkflowStepPayload(state, stepId)`
|
|
44
|
+
|
|
45
|
+
Returns the payload that was passed to a step. For `foreach` steps, returns one entry per iteration.
|
|
46
|
+
|
|
47
|
+
```typescript
|
|
48
|
+
const payload = getWorkflowStepPayload(state, 'extract-data')
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
### `getWorkflowSuspendedStep(state)`
|
|
52
|
+
|
|
53
|
+
Returns the first suspended step from the workflow state. When multiple steps are suspended, ordering follows the order stored in `suspendedPaths`.
|
|
54
|
+
|
|
55
|
+
```typescript
|
|
56
|
+
const suspendedStep = getWorkflowSuspendedStep(state)
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
### `getWorkflowSuspendedSteps(state)`
|
|
60
|
+
|
|
61
|
+
Returns all suspended steps from the workflow state. Each result includes the top-level step ID, resume path, execution path, suspend payload, suspend output, and matching resume labels.
|
|
62
|
+
|
|
63
|
+
```typescript
|
|
64
|
+
const suspendedSteps = getWorkflowSuspendedSteps(state)
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
### `getWorkflowResumeLabel(state, label)`
|
|
68
|
+
|
|
69
|
+
Returns a resume label by name.
|
|
70
|
+
|
|
71
|
+
```typescript
|
|
72
|
+
const label = getWorkflowResumeLabel(state, 'approve')
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
### `getWorkflowResumeLabels(state)`
|
|
76
|
+
|
|
77
|
+
Returns all resume labels from the workflow state.
|
|
78
|
+
|
|
79
|
+
```typescript
|
|
80
|
+
const labels = getWorkflowResumeLabels(state)
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
## Reader methods
|
|
84
|
+
|
|
85
|
+
`createWorkflowStateReader(state)` returns the following methods:
|
|
86
|
+
|
|
87
|
+
**getStatus** (`() => WorkflowRunStatus`): Returns the workflow run status.
|
|
88
|
+
|
|
89
|
+
**getResult** (`() => WorkflowState["result"]`): Returns the terminal workflow result when it exists.
|
|
90
|
+
|
|
91
|
+
**getError** (`() => WorkflowState["error"]`): Returns the terminal workflow error when it exists.
|
|
92
|
+
|
|
93
|
+
**getStepOutput** (`(stepId: string) => any | Array<any | undefined> | undefined`): Returns the output for a step ID or nested workflow dot path.
|
|
94
|
+
|
|
95
|
+
**getStepPayload** (`(stepId: string) => any | Array<any | undefined> | undefined`): Returns the payload for a step ID or nested workflow dot path.
|
|
96
|
+
|
|
97
|
+
**getSuspendedStep** (`() => { stepId: string; path: string[]; executionPath?: number[]; step?: NonNullable<WorkflowState["steps"]>[string]; payload?: any; suspendPayload?: any; suspendOutput?: any; resumeLabels: Record<string, { stepId: string; foreachIndex?: number }> } | undefined`): Returns the first suspended step.
|
|
98
|
+
|
|
99
|
+
**getSuspendedSteps** (`() => Array<{ stepId: string; path: string[]; executionPath?: number[]; step?: NonNullable<WorkflowState["steps"]>[string]; payload?: any; suspendPayload?: any; suspendOutput?: any; resumeLabels: Record<string, { stepId: string; foreachIndex?: number }> }>`): Returns all suspended steps.
|
|
100
|
+
|
|
101
|
+
**getResumeLabel** (`(label: string) => { stepId: string; foreachIndex?: number } | undefined`): Returns a resume label by name.
|
|
102
|
+
|
|
103
|
+
**getResumeLabels** (`() => Record<string, { stepId: string; foreachIndex?: number }>`): Returns all resume labels.
|
|
104
|
+
|
|
105
|
+
## Notes
|
|
106
|
+
|
|
107
|
+
`requestContext` and `tracingContext` are only returned by `workflow.getWorkflowRunById()` when explicitly requested with `fields`.
|
|
108
|
+
|
|
109
|
+
## Related
|
|
110
|
+
|
|
111
|
+
- [Suspend & resume](https://mastra.ai/docs/workflows/suspend-and-resume)
|
|
112
|
+
- [Snapshots](https://mastra.ai/docs/workflows/snapshots)
|
|
113
|
+
- [Workflow class](https://mastra.ai/reference/workflows/workflow)
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,118 @@
|
|
|
1
1
|
# @mastra/mcp-docs-server
|
|
2
2
|
|
|
3
|
+
## 1.1.36-alpha.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`6ba46dc`](https://github.com/mastra-ai/mastra/commit/6ba46dc1ac04af635d0f59377d7384ca6af44cd1)]:
|
|
8
|
+
- @mastra/core@1.33.1-alpha.0
|
|
9
|
+
|
|
10
|
+
## 1.1.35
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies [[`9f17410`](https://github.com/mastra-ai/mastra/commit/9f1741080def23d42ee50b39887a385ae316a3c6), [`7ad5585`](https://github.com/mastra-ai/mastra/commit/7ad55856406f1de398dc713f6a9eaa78b2784bb6), [`ac47842`](https://github.com/mastra-ai/mastra/commit/ac478427aa7a5f5fdaed633a911218689b438c60), [`cc189cc`](https://github.com/mastra-ai/mastra/commit/cc189cc0128eb7af233476b5e421ec6888bffde7), [`d1fdbd0`](https://github.com/mastra-ai/mastra/commit/d1fdbd012add5623cb7e6b7f882b605ab358bbb4), [`210ea7a`](https://github.com/mastra-ai/mastra/commit/210ea7af559791b73a44fc9c12179908aaa3183f), [`7c275a8`](https://github.com/mastra-ai/mastra/commit/7c275a810595e1a6c41ccc39720531ab65734700), [`bae019e`](https://github.com/mastra-ai/mastra/commit/bae019ecb6694da96909f7ec7b9eb3a0a33aa887), [`890b24c`](https://github.com/mastra-ai/mastra/commit/890b24cc7d32ed6aa4dfe253e54dc6bf4099f690), [`f984b4d`](https://github.com/mastra-ai/mastra/commit/f984b4d6c60bf2ae2a9b156f0e8c35a66fe96c91), [`6742347`](https://github.com/mastra-ai/mastra/commit/6742347d71955d7639adc9ddf6ff8282de7ee3ba), [`b59316f`](https://github.com/mastra-ai/mastra/commit/b59316ffa0f7688165b0f9c81ccdf85da461e5b2), [`0f48ebf`](https://github.com/mastra-ai/mastra/commit/0f48ebfc7ac7897b2092a189f45751924cf56d1c), [`37c0dc5`](https://github.com/mastra-ai/mastra/commit/37c0dc5697d343db98628bf867bf71ce6deec6d7), [`087e413`](https://github.com/mastra-ai/mastra/commit/087e4133e5d6efa36619e9556c16750e4179c047), [`83218c8`](https://github.com/mastra-ai/mastra/commit/83218c88b37773c9424fbe733b37be556e55e94d), [`ef6b584`](https://github.com/mastra-ai/mastra/commit/ef6b5847ac33c0a7e80af3a86e8801e2933dd3ee), [`c6eb39e`](https://github.com/mastra-ai/mastra/commit/c6eb39ea6dca381c6563cb240237fbe608e02f93), [`7b0ad1f`](https://github.com/mastra-ai/mastra/commit/7b0ad1f5c53dc118c6da12ae82ae2587037dc2b8), [`d91ebe2`](https://github.com/mastra-ai/mastra/commit/d91ebe28ee065d8f2ed6df741c3c07f58d359529), [`62666c3`](https://github.com/mastra-ai/mastra/commit/62666c367eaeac3941ead454b1d38810cc855721), [`33f5061`](https://github.com/mastra-ai/mastra/commit/33f5061cd1c0335020c3faae61ce96de822854fa), [`4af2160`](https://github.com/mastra-ai/mastra/commit/4af2160322f4718cac421930cce85641e9512389), [`087e413`](https://github.com/mastra-ai/mastra/commit/087e4133e5d6efa36619e9556c16750e4179c047), [`265ec9f`](https://github.com/mastra-ai/mastra/commit/265ec9f887b5c81255c873a76ff7796f16e4f99b), [`ce01024`](https://github.com/mastra-ai/mastra/commit/ce010242eee9bdfc09e4c26725b9d37998679a8d), [`6ce80bf`](https://github.com/mastra-ai/mastra/commit/6ce80bf4872a891e0bddf8b80561a80584efb14b), [`f984b4d`](https://github.com/mastra-ai/mastra/commit/f984b4d6c60bf2ae2a9b156f0e8c35a66fe96c91), [`136c959`](https://github.com/mastra-ai/mastra/commit/136c9592fb0eeb0cd212f28629d8a29b7557a2fc), [`9268531`](https://github.com/mastra-ai/mastra/commit/9268531e7ec4be98beeba3b3ae8be0a7ea380662), [`13ead79`](https://github.com/mastra-ai/mastra/commit/13ead79149486b88144db7e11e6ff551caef5be1), [`dccd8f1`](https://github.com/mastra-ai/mastra/commit/dccd8f1f8b8f1ad203b77556207e5529567c616d), [`4df7cc7`](https://github.com/mastra-ai/mastra/commit/4df7cc79342fd065fe7fdeef93c094db14b12bcd), [`f180e49`](https://github.com/mastra-ai/mastra/commit/f180e4990e71b04c9a475b523584071712f0048f), [`9260e01`](https://github.com/mastra-ai/mastra/commit/9260e015276fb1b500f7878ee452b47476bf1583), [`2f6c54e`](https://github.com/mastra-ai/mastra/commit/2f6c54e17c041cac1def54baaa6b771647836414), [`aca3121`](https://github.com/mastra-ai/mastra/commit/aca31211233dac25459f140ea4fcfb3a5af64c18), [`e06a159`](https://github.com/mastra-ai/mastra/commit/e06a1598ca07a6c3778aefc2a2d288363c6294ff), [`4dd900d`](https://github.com/mastra-ai/mastra/commit/4dd900d75dfe9be89f8c15188b368a8622aa1e18), [`b560d6f`](https://github.com/mastra-ai/mastra/commit/b560d6f88b9b904b15c10f75c949eb145bc27684), [`99869ec`](https://github.com/mastra-ai/mastra/commit/99869ecb1f2aa6dfcc44fa4e843e5ee0344efa64), [`900d086`](https://github.com/mastra-ai/mastra/commit/900d086bb737b9cf2fcf68f11b0389b801a2738c), [`4c0e286`](https://github.com/mastra-ai/mastra/commit/4c0e28637c9cfb4f416549b55e97ebfa13319dfc), [`55f1e2d`](https://github.com/mastra-ai/mastra/commit/55f1e2d65425b95a49ae788053b266f256e38c96), [`4ff5bdf`](https://github.com/mastra-ai/mastra/commit/4ff5bdfe170cba6dfb5260c6af0f4ba668430772), [`9cdf38e`](https://github.com/mastra-ai/mastra/commit/9cdf38e58506e1109c8b38f97cd7770978a4218e), [`087e413`](https://github.com/mastra-ai/mastra/commit/087e4133e5d6efa36619e9556c16750e4179c047), [`db34bc6`](https://github.com/mastra-ai/mastra/commit/db34bc6fb36cf125bda0c46be4d3fdc774b70cc4), [`990851e`](https://github.com/mastra-ai/mastra/commit/990851edcb0e30be5c2c18b6532f1a876cc2d335), [`bbcd93c`](https://github.com/mastra-ai/mastra/commit/bbcd93cf7d8aa1007d6d84bfd033b8015c912087), [`8373ff4`](https://github.com/mastra-ai/mastra/commit/8373ff46745d77af79f183c4470f80fa2727a6b2), [`d48a705`](https://github.com/mastra-ai/mastra/commit/d48a705ff3dfbdc7a996e07ecd8293b5effd9a2a), [`308bd07`](https://github.com/mastra-ai/mastra/commit/308bd074f35cef0c75d82fc1eb19382fe04ecf6f), [`6068a6c`](https://github.com/mastra-ai/mastra/commit/6068a6c42950fad3ebfc92346417896ba60803d2), [`36b3bbf`](https://github.com/mastra-ai/mastra/commit/36b3bbf5a8d59f7e23d47e29340e76c681b4929c), [`d86f031`](https://github.com/mastra-ai/mastra/commit/d86f031eb6b0b2570145afafea664e59bf688962), [`b275631`](https://github.com/mastra-ai/mastra/commit/b275631dc10541a482b2e2d4a3e3cfa843bd5fa1), [`00106be`](https://github.com/mastra-ai/mastra/commit/00106bede59b81e5b0e9cd6aad8d3b5dbc336387), [`bd36d8e`](https://github.com/mastra-ai/mastra/commit/bd36d8eb6de8c9a0310352649dbd4b06703c2299), [`11c1528`](https://github.com/mastra-ai/mastra/commit/11c152848c5d0ef227184853b5040f5b41ee7b1e), [`4999667`](https://github.com/mastra-ai/mastra/commit/49996678b68356cad7f088430009690406c50fbd), [`e2a079c`](https://github.com/mastra-ai/mastra/commit/e2a079cc3755b1895f7bd5dc36e9be81b11c7c22), [`8ac9141`](https://github.com/mastra-ai/mastra/commit/8ac9141439caa8fdd674944c4d84f29b3c730296), [`25184ff`](https://github.com/mastra-ai/mastra/commit/25184ffaf1293ec95119426eb1a1f8d38831b96c), [`534a456`](https://github.com/mastra-ai/mastra/commit/534a456a25e4df1e5407e7e632f4cb3b1fa14f9d), [`105e454`](https://github.com/mastra-ai/mastra/commit/105e454c95af06a7c741c15969d8f9b0f02463a7), [`aebde9c`](https://github.com/mastra-ai/mastra/commit/aebde9cfacf56592c6b6350cae721740fe090b8a), [`36bae07`](https://github.com/mastra-ai/mastra/commit/36bae07c0e70b1b3006f2fd20830e8883dcbd066), [`5688881`](https://github.com/mastra-ai/mastra/commit/5688881669c7ed157f31ac77f6fc5f8d95ceea32)]:
|
|
15
|
+
- @mastra/core@1.33.0
|
|
16
|
+
|
|
17
|
+
## 1.1.35-alpha.30
|
|
18
|
+
|
|
19
|
+
### Patch Changes
|
|
20
|
+
|
|
21
|
+
- Updated dependencies [[`4999667`](https://github.com/mastra-ai/mastra/commit/49996678b68356cad7f088430009690406c50fbd)]:
|
|
22
|
+
- @mastra/core@1.33.0-alpha.17
|
|
23
|
+
|
|
24
|
+
## 1.1.35-alpha.29
|
|
25
|
+
|
|
26
|
+
### Patch Changes
|
|
27
|
+
|
|
28
|
+
- Updated dependencies [[`cc189cc`](https://github.com/mastra-ai/mastra/commit/cc189cc0128eb7af233476b5e421ec6888bffde7)]:
|
|
29
|
+
- @mastra/core@1.33.0-alpha.16
|
|
30
|
+
|
|
31
|
+
## 1.1.35-alpha.28
|
|
32
|
+
|
|
33
|
+
### Patch Changes
|
|
34
|
+
|
|
35
|
+
- Updated dependencies [[`105e454`](https://github.com/mastra-ai/mastra/commit/105e454c95af06a7c741c15969d8f9b0f02463a7)]:
|
|
36
|
+
- @mastra/core@1.33.0-alpha.15
|
|
37
|
+
|
|
38
|
+
## 1.1.35-alpha.27
|
|
39
|
+
|
|
40
|
+
### Patch Changes
|
|
41
|
+
|
|
42
|
+
- Updated dependencies:
|
|
43
|
+
- @mastra/core@1.33.0-alpha.14
|
|
44
|
+
|
|
45
|
+
## 1.1.35-alpha.25
|
|
46
|
+
|
|
47
|
+
### Patch Changes
|
|
48
|
+
|
|
49
|
+
- Updated dependencies [[`f984b4d`](https://github.com/mastra-ai/mastra/commit/f984b4d6c60bf2ae2a9b156f0e8c35a66fe96c91), [`ce01024`](https://github.com/mastra-ai/mastra/commit/ce010242eee9bdfc09e4c26725b9d37998679a8d), [`f984b4d`](https://github.com/mastra-ai/mastra/commit/f984b4d6c60bf2ae2a9b156f0e8c35a66fe96c91), [`8373ff4`](https://github.com/mastra-ai/mastra/commit/8373ff46745d77af79f183c4470f80fa2727a6b2), [`11c1528`](https://github.com/mastra-ai/mastra/commit/11c152848c5d0ef227184853b5040f5b41ee7b1e)]:
|
|
50
|
+
- @mastra/core@1.33.0-alpha.13
|
|
51
|
+
|
|
52
|
+
## 1.1.35-alpha.23
|
|
53
|
+
|
|
54
|
+
### Patch Changes
|
|
55
|
+
|
|
56
|
+
- Updated dependencies [[`b59316f`](https://github.com/mastra-ai/mastra/commit/b59316ffa0f7688165b0f9c81ccdf85da461e5b2), [`55f1e2d`](https://github.com/mastra-ai/mastra/commit/55f1e2d65425b95a49ae788053b266f256e38c96), [`d48a705`](https://github.com/mastra-ai/mastra/commit/d48a705ff3dfbdc7a996e07ecd8293b5effd9a2a)]:
|
|
57
|
+
- @mastra/core@1.33.0-alpha.12
|
|
58
|
+
|
|
59
|
+
## 1.1.35-alpha.22
|
|
60
|
+
|
|
61
|
+
### Patch Changes
|
|
62
|
+
|
|
63
|
+
- Updated dependencies [[`37c0dc5`](https://github.com/mastra-ai/mastra/commit/37c0dc5697d343db98628bf867bf71ce6deec6d7), [`ef6b584`](https://github.com/mastra-ai/mastra/commit/ef6b5847ac33c0a7e80af3a86e8801e2933dd3ee), [`4dd900d`](https://github.com/mastra-ai/mastra/commit/4dd900d75dfe9be89f8c15188b368a8622aa1e18), [`4ff5bdf`](https://github.com/mastra-ai/mastra/commit/4ff5bdfe170cba6dfb5260c6af0f4ba668430772), [`bbcd93c`](https://github.com/mastra-ai/mastra/commit/bbcd93cf7d8aa1007d6d84bfd033b8015c912087), [`308bd07`](https://github.com/mastra-ai/mastra/commit/308bd074f35cef0c75d82fc1eb19382fe04ecf6f)]:
|
|
64
|
+
- @mastra/core@1.33.0-alpha.11
|
|
65
|
+
|
|
66
|
+
## 1.1.35-alpha.20
|
|
67
|
+
|
|
68
|
+
### Patch Changes
|
|
69
|
+
|
|
70
|
+
- Updated dependencies [[`7ad5585`](https://github.com/mastra-ai/mastra/commit/7ad55856406f1de398dc713f6a9eaa78b2784bb6), [`210ea7a`](https://github.com/mastra-ai/mastra/commit/210ea7af559791b73a44fc9c12179908aaa3183f), [`83218c8`](https://github.com/mastra-ai/mastra/commit/83218c88b37773c9424fbe733b37be556e55e94d), [`265ec9f`](https://github.com/mastra-ai/mastra/commit/265ec9f887b5c81255c873a76ff7796f16e4f99b), [`6ce80bf`](https://github.com/mastra-ai/mastra/commit/6ce80bf4872a891e0bddf8b80561a80584efb14b), [`9268531`](https://github.com/mastra-ai/mastra/commit/9268531e7ec4be98beeba3b3ae8be0a7ea380662), [`13ead79`](https://github.com/mastra-ai/mastra/commit/13ead79149486b88144db7e11e6ff551caef5be1), [`bd36d8e`](https://github.com/mastra-ai/mastra/commit/bd36d8eb6de8c9a0310352649dbd4b06703c2299), [`8ac9141`](https://github.com/mastra-ai/mastra/commit/8ac9141439caa8fdd674944c4d84f29b3c730296)]:
|
|
71
|
+
- @mastra/core@1.33.0-alpha.10
|
|
72
|
+
|
|
73
|
+
## 1.1.35-alpha.18
|
|
74
|
+
|
|
75
|
+
### Patch Changes
|
|
76
|
+
|
|
77
|
+
- Updated dependencies [[`5688881`](https://github.com/mastra-ai/mastra/commit/5688881669c7ed157f31ac77f6fc5f8d95ceea32)]:
|
|
78
|
+
- @mastra/core@1.33.0-alpha.9
|
|
79
|
+
|
|
80
|
+
## 1.1.35-alpha.16
|
|
81
|
+
|
|
82
|
+
### Patch Changes
|
|
83
|
+
|
|
84
|
+
- Updated dependencies [[`7c275a8`](https://github.com/mastra-ai/mastra/commit/7c275a810595e1a6c41ccc39720531ab65734700), [`890b24c`](https://github.com/mastra-ai/mastra/commit/890b24cc7d32ed6aa4dfe253e54dc6bf4099f690), [`0f48ebf`](https://github.com/mastra-ai/mastra/commit/0f48ebfc7ac7897b2092a189f45751924cf56d1c), [`f180e49`](https://github.com/mastra-ai/mastra/commit/f180e4990e71b04c9a475b523584071712f0048f), [`9260e01`](https://github.com/mastra-ai/mastra/commit/9260e015276fb1b500f7878ee452b47476bf1583), [`2f6c54e`](https://github.com/mastra-ai/mastra/commit/2f6c54e17c041cac1def54baaa6b771647836414), [`e06a159`](https://github.com/mastra-ai/mastra/commit/e06a1598ca07a6c3778aefc2a2d288363c6294ff), [`db34bc6`](https://github.com/mastra-ai/mastra/commit/db34bc6fb36cf125bda0c46be4d3fdc774b70cc4)]:
|
|
85
|
+
- @mastra/core@1.33.0-alpha.8
|
|
86
|
+
- @mastra/mcp@1.7.0
|
|
87
|
+
|
|
88
|
+
## 1.1.35-alpha.14
|
|
89
|
+
|
|
90
|
+
### Patch Changes
|
|
91
|
+
|
|
92
|
+
- Updated dependencies [[`6742347`](https://github.com/mastra-ai/mastra/commit/6742347d71955d7639adc9ddf6ff8282de7ee3ba), [`7b0ad1f`](https://github.com/mastra-ai/mastra/commit/7b0ad1f5c53dc118c6da12ae82ae2587037dc2b8), [`62666c3`](https://github.com/mastra-ai/mastra/commit/62666c367eaeac3941ead454b1d38810cc855721), [`4af2160`](https://github.com/mastra-ai/mastra/commit/4af2160322f4718cac421930cce85641e9512389), [`136c959`](https://github.com/mastra-ai/mastra/commit/136c9592fb0eeb0cd212f28629d8a29b7557a2fc), [`4df7cc7`](https://github.com/mastra-ai/mastra/commit/4df7cc79342fd065fe7fdeef93c094db14b12bcd), [`aca3121`](https://github.com/mastra-ai/mastra/commit/aca31211233dac25459f140ea4fcfb3a5af64c18), [`9cdf38e`](https://github.com/mastra-ai/mastra/commit/9cdf38e58506e1109c8b38f97cd7770978a4218e), [`990851e`](https://github.com/mastra-ai/mastra/commit/990851edcb0e30be5c2c18b6532f1a876cc2d335), [`6068a6c`](https://github.com/mastra-ai/mastra/commit/6068a6c42950fad3ebfc92346417896ba60803d2), [`00106be`](https://github.com/mastra-ai/mastra/commit/00106bede59b81e5b0e9cd6aad8d3b5dbc336387), [`e2a079c`](https://github.com/mastra-ai/mastra/commit/e2a079cc3755b1895f7bd5dc36e9be81b11c7c22), [`534a456`](https://github.com/mastra-ai/mastra/commit/534a456a25e4df1e5407e7e632f4cb3b1fa14f9d), [`36bae07`](https://github.com/mastra-ai/mastra/commit/36bae07c0e70b1b3006f2fd20830e8883dcbd066)]:
|
|
93
|
+
- @mastra/core@1.33.0-alpha.7
|
|
94
|
+
|
|
95
|
+
## 1.1.35-alpha.12
|
|
96
|
+
|
|
97
|
+
### Patch Changes
|
|
98
|
+
|
|
99
|
+
- Updated dependencies [[`b560d6f`](https://github.com/mastra-ai/mastra/commit/b560d6f88b9b904b15c10f75c949eb145bc27684), [`36b3bbf`](https://github.com/mastra-ai/mastra/commit/36b3bbf5a8d59f7e23d47e29340e76c681b4929c), [`b275631`](https://github.com/mastra-ai/mastra/commit/b275631dc10541a482b2e2d4a3e3cfa843bd5fa1)]:
|
|
100
|
+
- @mastra/core@1.33.0-alpha.6
|
|
101
|
+
|
|
102
|
+
## 1.1.35-alpha.11
|
|
103
|
+
|
|
104
|
+
### Patch Changes
|
|
105
|
+
|
|
106
|
+
- Updated dependencies [[`bae019e`](https://github.com/mastra-ai/mastra/commit/bae019ecb6694da96909f7ec7b9eb3a0a33aa887), [`33f5061`](https://github.com/mastra-ai/mastra/commit/33f5061cd1c0335020c3faae61ce96de822854fa), [`99869ec`](https://github.com/mastra-ai/mastra/commit/99869ecb1f2aa6dfcc44fa4e843e5ee0344efa64), [`d86f031`](https://github.com/mastra-ai/mastra/commit/d86f031eb6b0b2570145afafea664e59bf688962)]:
|
|
107
|
+
- @mastra/core@1.33.0-alpha.5
|
|
108
|
+
|
|
109
|
+
## 1.1.35-alpha.9
|
|
110
|
+
|
|
111
|
+
### Patch Changes
|
|
112
|
+
|
|
113
|
+
- Updated dependencies [[`9f17410`](https://github.com/mastra-ai/mastra/commit/9f1741080def23d42ee50b39887a385ae316a3c6), [`c6eb39e`](https://github.com/mastra-ai/mastra/commit/c6eb39ea6dca381c6563cb240237fbe608e02f93), [`900d086`](https://github.com/mastra-ai/mastra/commit/900d086bb737b9cf2fcf68f11b0389b801a2738c), [`4c0e286`](https://github.com/mastra-ai/mastra/commit/4c0e28637c9cfb4f416549b55e97ebfa13319dfc), [`25184ff`](https://github.com/mastra-ai/mastra/commit/25184ffaf1293ec95119426eb1a1f8d38831b96c), [`aebde9c`](https://github.com/mastra-ai/mastra/commit/aebde9cfacf56592c6b6350cae721740fe090b8a)]:
|
|
114
|
+
- @mastra/core@1.33.0-alpha.4
|
|
115
|
+
|
|
3
116
|
## 1.1.35-alpha.7
|
|
4
117
|
|
|
5
118
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/mcp-docs-server",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.36-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/
|
|
33
|
-
"@mastra/
|
|
32
|
+
"@mastra/mcp": "^1.7.0",
|
|
33
|
+
"@mastra/core": "1.33.1-alpha.0"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@hono/node-server": "^1.19.11",
|
|
@@ -46,9 +46,9 @@
|
|
|
46
46
|
"tsx": "^4.21.0",
|
|
47
47
|
"typescript": "^6.0.3",
|
|
48
48
|
"vitest": "4.1.5",
|
|
49
|
-
"@internal/lint": "0.0.
|
|
50
|
-
"@internal/types-builder": "0.0.
|
|
51
|
-
"@mastra/core": "1.33.
|
|
49
|
+
"@internal/lint": "0.0.93",
|
|
50
|
+
"@internal/types-builder": "0.0.68",
|
|
51
|
+
"@mastra/core": "1.33.1-alpha.0"
|
|
52
52
|
},
|
|
53
53
|
"homepage": "https://mastra.ai",
|
|
54
54
|
"repository": {
|