@mastra/mcp-docs-server 1.0.0-beta.3 → 1.0.0-beta.4
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/organized/changelogs/%40mastra%2Fai-sdk.md +30 -30
- package/.docs/organized/changelogs/%40mastra%2Fauth.md +6 -0
- package/.docs/organized/changelogs/%40mastra%2Fclient-js.md +12 -12
- package/.docs/organized/changelogs/%40mastra%2Fcore.md +45 -45
- package/.docs/organized/changelogs/%40mastra%2Fdeployer-cloud.md +9 -9
- package/.docs/organized/changelogs/%40mastra%2Fdeployer.md +9 -9
- package/.docs/organized/changelogs/%40mastra%2Fmcp-docs-server.md +8 -8
- package/.docs/organized/changelogs/%40mastra%2Fplayground-ui.md +12 -12
- package/.docs/organized/changelogs/%40mastra%2Freact.md +8 -8
- package/.docs/organized/changelogs/%40mastra%2Fserver.md +10 -10
- package/.docs/organized/changelogs/%40mastra%2Fvoice-google-gemini-live.md +10 -10
- package/.docs/organized/changelogs/create-mastra.md +7 -7
- package/.docs/organized/changelogs/mastra.md +11 -11
- package/.docs/raw/agents/adding-voice.mdx +49 -0
- package/.docs/raw/reference/agents/generate.mdx +11 -92
- package/.docs/raw/reference/agents/network.mdx +3 -85
- package/.docs/raw/reference/streaming/agents/stream.mdx +3 -92
- package/.docs/raw/reference/voice/composite-voice.mdx +71 -28
- package/.docs/raw/reference/voice/voice.listen.mdx +86 -52
- package/.docs/raw/reference/voice/voice.speak.mdx +75 -40
- package/.docs/raw/voice/overview.mdx +67 -0
- package/.docs/raw/workflows/overview.mdx +1 -1
- package/CHANGELOG.md +7 -0
- package/package.json +3 -3
|
@@ -1,5 +1,34 @@
|
|
|
1
1
|
# @mastra/ai-sdk
|
|
2
2
|
|
|
3
|
+
## 1.0.0-beta.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Added support for tripwire data chunks in streaming responses. ([#10269](https://github.com/mastra-ai/mastra/pull/10269))
|
|
8
|
+
|
|
9
|
+
Tripwire chunks allow the AI SDK to emit special data events when certain conditions are triggered during stream processing. These chunks include a `tripwireReason` field explaining why the tripwire was activated.
|
|
10
|
+
|
|
11
|
+
#### Usage
|
|
12
|
+
|
|
13
|
+
When converting Mastra chunks to AI SDK v5 format, tripwire chunks are now automatically handled:
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
// Tripwire chunks are converted to data-tripwire format
|
|
17
|
+
const chunk = {
|
|
18
|
+
type: 'tripwire',
|
|
19
|
+
payload: { tripwireReason: 'Rate limit approaching' }
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
// Converts to:
|
|
23
|
+
{
|
|
24
|
+
type: 'data-tripwire',
|
|
25
|
+
data: { tripwireReason: 'Rate limit approaching' }
|
|
26
|
+
}
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
- Updated dependencies [[`352a5d6`](https://github.com/mastra-ai/mastra/commit/352a5d625cfe09849b21e8f52a24c9f0366759d5), [`a0a5b4b`](https://github.com/mastra-ai/mastra/commit/a0a5b4bbebe6c701ebbadf744873aa0d5ca01371), [`69ea758`](https://github.com/mastra-ai/mastra/commit/69ea758358edd7117f191c2e69c8bb5fc79e7a1a), [`993ad98`](https://github.com/mastra-ai/mastra/commit/993ad98d7ad3bebda9ecef5fec5c94349a0d04bc), [`3ff2c17`](https://github.com/mastra-ai/mastra/commit/3ff2c17a58e312fad5ea37377262c12d92ca0908)]:
|
|
30
|
+
- @mastra/core@1.0.0-beta.4
|
|
31
|
+
|
|
3
32
|
## 1.0.0-beta.2
|
|
4
33
|
|
|
5
34
|
### Major Changes
|
|
@@ -269,34 +298,5 @@
|
|
|
269
298
|
|
|
270
299
|
- Breaking change to move the agent.streamVNext/generateVNext implementation to the default stream/generate. The old stream/generate have now been moved to streamLegacy and generateLegacy ([#8097](https://github.com/mastra-ai/mastra/pull/8097))
|
|
271
300
|
|
|
272
|
-
### Patch Changes
|
|
273
|
-
|
|
274
|
-
- Updated dependencies [[`00cb6bd`](https://github.com/mastra-ai/mastra/commit/00cb6bdf78737c0fac14a5a0c7b532a11e38558a), [`869ba22`](https://github.com/mastra-ai/mastra/commit/869ba222e1d6b58fc1b65e7c9fd55ca4e01b8c2f), [`1b73665`](https://github.com/mastra-ai/mastra/commit/1b73665e8e23f5c09d49fcf3e7d709c75259259e), [`f7d7475`](https://github.com/mastra-ai/mastra/commit/f7d747507341aef60ed39e4b49318db1f86034a6), [`084b77b`](https://github.com/mastra-ai/mastra/commit/084b77b2955960e0190af8db3f77138aa83ed65c), [`a93ff84`](https://github.com/mastra-ai/mastra/commit/a93ff84b5e1af07ee236ac8873dac9b49aa5d501), [`bc5aacb`](https://github.com/mastra-ai/mastra/commit/bc5aacb646d468d325327e36117129f28cd13bf6), [`6b5af12`](https://github.com/mastra-ai/mastra/commit/6b5af12ce9e09066e0c32e821c203a6954498bea), [`bf60e4a`](https://github.com/mastra-ai/mastra/commit/bf60e4a89c515afd9570b7b79f33b95e7d07c397), [`d41aee5`](https://github.com/mastra-ai/mastra/commit/d41aee526d124e35f42720a08e64043229193679), [`e8fe13c`](https://github.com/mastra-ai/mastra/commit/e8fe13c4b4c255a42520127797ec394310f7c919), [`3ca833d`](https://github.com/mastra-ai/mastra/commit/3ca833dc994c38e3c9b4f9b4478a61cd8e07b32a), [`1edb8d1`](https://github.com/mastra-ai/mastra/commit/1edb8d1cfb963e72a12412990fb9170936c9904c), [`fbf6e32`](https://github.com/mastra-ai/mastra/commit/fbf6e324946332d0f5ed8930bf9d4d4479cefd7a), [`4753027`](https://github.com/mastra-ai/mastra/commit/4753027ee889288775c6958bdfeda03ff909af67)]:
|
|
275
|
-
- @mastra/core@0.20.0-alpha.0
|
|
276
|
-
|
|
277
|
-
## 0.0.5
|
|
278
|
-
|
|
279
|
-
### Patch Changes
|
|
280
|
-
|
|
281
|
-
- Update peer deps ([#8154](https://github.com/mastra-ai/mastra/pull/8154))
|
|
282
|
-
|
|
283
|
-
- Add transformer to support workflows in useChat ([#7829](https://github.com/mastra-ai/mastra/pull/7829))
|
|
284
|
-
|
|
285
|
-
- Updated dependencies [[`dc099b4`](https://github.com/mastra-ai/mastra/commit/dc099b40fb31147ba3f362f98d991892033c4c67), [`504438b`](https://github.com/mastra-ai/mastra/commit/504438b961bde211071186bba63a842c4e3db879), [`b342a68`](https://github.com/mastra-ai/mastra/commit/b342a68e1399cf1ece9ba11bda112db89d21118c), [`a7243e2`](https://github.com/mastra-ai/mastra/commit/a7243e2e58762667a6e3921e755e89d6bb0a3282), [`7fceb0a`](https://github.com/mastra-ai/mastra/commit/7fceb0a327d678e812f90f5387c5bc4f38bd039e), [`303a9c0`](https://github.com/mastra-ai/mastra/commit/303a9c0d7dd58795915979f06a0512359e4532fb), [`df64f9e`](https://github.com/mastra-ai/mastra/commit/df64f9ef814916fff9baedd861c988084e7c41de), [`370f8a6`](https://github.com/mastra-ai/mastra/commit/370f8a6480faec70fef18d72e5f7538f27004301), [`809eea0`](https://github.com/mastra-ai/mastra/commit/809eea092fa80c3f69b9eaf078d843b57fd2a88e), [`683e5a1`](https://github.com/mastra-ai/mastra/commit/683e5a1466e48b686825b2c11f84680f296138e4), [`3679378`](https://github.com/mastra-ai/mastra/commit/3679378673350aa314741dc826f837b1984149bc), [`7775bc2`](https://github.com/mastra-ai/mastra/commit/7775bc20bb1ad1ab24797fb420e4f96c65b0d8ec), [`623ffaf`](https://github.com/mastra-ai/mastra/commit/623ffaf2d969e11e99a0224633cf7b5a0815c857), [`9fc1613`](https://github.com/mastra-ai/mastra/commit/9fc16136400186648880fd990119ac15f7c02ee4), [`61f62aa`](https://github.com/mastra-ai/mastra/commit/61f62aa31bc88fe4ddf8da6240dbcfbeb07358bd), [`db1891a`](https://github.com/mastra-ai/mastra/commit/db1891a4707443720b7cd8a260dc7e1d49b3609c), [`e8f379d`](https://github.com/mastra-ai/mastra/commit/e8f379d390efa264c4e0874f9ac0cf8839b07777), [`652066b`](https://github.com/mastra-ai/mastra/commit/652066bd1efc6bb6813ba950ed1d7573e8b7d9d4), [`3e292ba`](https://github.com/mastra-ai/mastra/commit/3e292ba00837886d5d68a34cbc0d9b703c991883), [`418c136`](https://github.com/mastra-ai/mastra/commit/418c1366843d88e491bca3f87763899ce855ca29), [`ea8d386`](https://github.com/mastra-ai/mastra/commit/ea8d386cd8c5593664515fd5770c06bf2aa980ef), [`67b0f00`](https://github.com/mastra-ai/mastra/commit/67b0f005b520335c71fb85cbaa25df4ce8484a81), [`c2a4919`](https://github.com/mastra-ai/mastra/commit/c2a4919ba6797d8bdb1509e02287496eef69303e), [`c84b7d0`](https://github.com/mastra-ai/mastra/commit/c84b7d093c4657772140cbfd2b15ef72f3315ed5), [`0130986`](https://github.com/mastra-ai/mastra/commit/0130986fc62d0edcc626dd593282661dbb9af141)]:
|
|
286
|
-
- @mastra/core@0.19.0
|
|
287
|
-
|
|
288
|
-
## 0.0.5-alpha.0
|
|
289
|
-
|
|
290
|
-
### Patch Changes
|
|
291
|
-
|
|
292
|
-
- Update peer deps ([#8154](https://github.com/mastra-ai/mastra/pull/8154))
|
|
293
|
-
|
|
294
|
-
- Add transformer to support workflows in useChat ([#7829](https://github.com/mastra-ai/mastra/pull/7829))
|
|
295
|
-
|
|
296
|
-
- Updated dependencies [[`504438b`](https://github.com/mastra-ai/mastra/commit/504438b961bde211071186bba63a842c4e3db879), [`a7243e2`](https://github.com/mastra-ai/mastra/commit/a7243e2e58762667a6e3921e755e89d6bb0a3282), [`7fceb0a`](https://github.com/mastra-ai/mastra/commit/7fceb0a327d678e812f90f5387c5bc4f38bd039e), [`df64f9e`](https://github.com/mastra-ai/mastra/commit/df64f9ef814916fff9baedd861c988084e7c41de), [`809eea0`](https://github.com/mastra-ai/mastra/commit/809eea092fa80c3f69b9eaf078d843b57fd2a88e), [`683e5a1`](https://github.com/mastra-ai/mastra/commit/683e5a1466e48b686825b2c11f84680f296138e4), [`3679378`](https://github.com/mastra-ai/mastra/commit/3679378673350aa314741dc826f837b1984149bc), [`7775bc2`](https://github.com/mastra-ai/mastra/commit/7775bc20bb1ad1ab24797fb420e4f96c65b0d8ec), [`db1891a`](https://github.com/mastra-ai/mastra/commit/db1891a4707443720b7cd8a260dc7e1d49b3609c), [`e8f379d`](https://github.com/mastra-ai/mastra/commit/e8f379d390efa264c4e0874f9ac0cf8839b07777), [`652066b`](https://github.com/mastra-ai/mastra/commit/652066bd1efc6bb6813ba950ed1d7573e8b7d9d4), [`ea8d386`](https://github.com/mastra-ai/mastra/commit/ea8d386cd8c5593664515fd5770c06bf2aa980ef), [`c2a4919`](https://github.com/mastra-ai/mastra/commit/c2a4919ba6797d8bdb1509e02287496eef69303e), [`0130986`](https://github.com/mastra-ai/mastra/commit/0130986fc62d0edcc626dd593282661dbb9af141)]:
|
|
297
|
-
- @mastra/core@0.19.0-alpha.1
|
|
298
|
-
|
|
299
|
-
## 0.0.4
|
|
300
|
-
|
|
301
301
|
|
|
302
|
-
...
|
|
302
|
+
... 166 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# @mastra/client-js
|
|
2
2
|
|
|
3
|
+
## 1.0.0-beta.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Include agentId parameter in listMessages API call ([#10270](https://github.com/mastra-ai/mastra/pull/10270))
|
|
8
|
+
|
|
9
|
+
- Added optional `description` field to `GetAgentResponse` to support richer agent metadata ([#10300](https://github.com/mastra-ai/mastra/pull/10300))
|
|
10
|
+
|
|
11
|
+
- Updated dependencies [[`352a5d6`](https://github.com/mastra-ai/mastra/commit/352a5d625cfe09849b21e8f52a24c9f0366759d5), [`a0a5b4b`](https://github.com/mastra-ai/mastra/commit/a0a5b4bbebe6c701ebbadf744873aa0d5ca01371), [`69ea758`](https://github.com/mastra-ai/mastra/commit/69ea758358edd7117f191c2e69c8bb5fc79e7a1a), [`993ad98`](https://github.com/mastra-ai/mastra/commit/993ad98d7ad3bebda9ecef5fec5c94349a0d04bc), [`3ff2c17`](https://github.com/mastra-ai/mastra/commit/3ff2c17a58e312fad5ea37377262c12d92ca0908)]:
|
|
12
|
+
- @mastra/core@1.0.0-beta.4
|
|
13
|
+
|
|
3
14
|
## 1.0.0-beta.3
|
|
4
15
|
|
|
5
16
|
### Patch Changes
|
|
@@ -288,15 +299,4 @@
|
|
|
288
299
|
tool.execute(data, context);
|
|
289
300
|
```
|
|
290
301
|
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
```typescript
|
|
294
|
-
inputSchema: z.object({ something: z.string() }),
|
|
295
|
-
execute: async ({ context, tracingContext, runId, ... }) => {
|
|
296
|
-
return doSomething(context.string);
|
|
297
|
-
}
|
|
298
|
-
```
|
|
299
|
-
|
|
300
|
-
**After:**
|
|
301
|
-
|
|
302
|
-
... 3309 more lines hidden. See full changelog in package directory.
|
|
302
|
+
... 3320 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,49 @@
|
|
|
1
1
|
# @mastra/core
|
|
2
2
|
|
|
3
|
+
## 1.0.0-beta.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Fix message list provider metadata handling and reasoning text optimization ([#10281](https://github.com/mastra-ai/mastra/pull/10281))
|
|
8
|
+
- Improved provider metadata preservation across message transformations
|
|
9
|
+
- Optimized reasoning text storage to avoid duplication (using `details` instead of `reasoning` field)
|
|
10
|
+
- Fixed test snapshots for timestamp precision and metadata handling
|
|
11
|
+
|
|
12
|
+
- Allow provider to pass through options to the auth config ([#10284](https://github.com/mastra-ai/mastra/pull/10284))
|
|
13
|
+
|
|
14
|
+
- Fix deprecation warning when agent network executes workflows by using `.fullStream` instead of iterating `WorkflowRunOutput` directly ([#10285](https://github.com/mastra-ai/mastra/pull/10285))
|
|
15
|
+
|
|
16
|
+
- Fix generate toolResults and mismatch in provider tool names ([#10282](https://github.com/mastra-ai/mastra/pull/10282))
|
|
17
|
+
|
|
18
|
+
- Support AI SDK voice models ([#10304](https://github.com/mastra-ai/mastra/pull/10304))
|
|
19
|
+
|
|
20
|
+
Mastra now supports AI SDK's transcription and speech models directly in `CompositeVoice`, enabling seamless integration with a wide range of voice providers through the AI SDK ecosystem. This allows you to use models from OpenAI, ElevenLabs, Groq, Deepgram, LMNT, Hume, and many more for both speech-to-text (transcription) and text-to-speech capabilities.
|
|
21
|
+
|
|
22
|
+
AI SDK models are automatically wrapped when passed to `CompositeVoice`, so you can mix and match AI SDK models with existing Mastra voice providers for maximum flexibility.
|
|
23
|
+
|
|
24
|
+
## Usage Example
|
|
25
|
+
|
|
26
|
+
```typescript
|
|
27
|
+
import { CompositeVoice } from '@mastra/core/voice';
|
|
28
|
+
import { openai } from '@ai-sdk/openai';
|
|
29
|
+
import { elevenlabs } from '@ai-sdk/elevenlabs';
|
|
30
|
+
|
|
31
|
+
// Use AI SDK models directly with CompositeVoice
|
|
32
|
+
const voice = new CompositeVoice({
|
|
33
|
+
input: openai.transcription('whisper-1'), // AI SDK transcription model
|
|
34
|
+
output: elevenlabs.speech('eleven_turbo_v2'), // AI SDK speech model
|
|
35
|
+
});
|
|
36
|
+
|
|
37
|
+
// Convert text to speech
|
|
38
|
+
const audioStream = await voice.speak('Hello from AI SDK!');
|
|
39
|
+
|
|
40
|
+
// Convert speech to text
|
|
41
|
+
const transcript = await voice.listen(audioStream);
|
|
42
|
+
console.log(transcript);
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
Fixes #9947
|
|
46
|
+
|
|
3
47
|
## 1.0.0-beta.3
|
|
4
48
|
|
|
5
49
|
### Major Changes
|
|
@@ -254,49 +298,5 @@
|
|
|
254
298
|
page: 0,
|
|
255
299
|
perPage: 50,
|
|
256
300
|
});
|
|
257
|
-
const messages = result.messages; // Access messages array
|
|
258
|
-
console.log(result.total); // Total count
|
|
259
|
-
console.log(result.hasMore); // Whether more pages exist
|
|
260
|
-
```
|
|
261
|
-
|
|
262
|
-
### Message ordering default
|
|
263
|
-
|
|
264
|
-
`listMessages()` defaults to ASC (oldest first) ordering by `createdAt`, matching the previous `getMessages()` behavior.
|
|
265
|
-
|
|
266
|
-
**To use DESC ordering (newest first):**
|
|
267
|
-
|
|
268
|
-
```typescript
|
|
269
|
-
const result = await storage.listMessages({
|
|
270
|
-
threadId: 'thread-1',
|
|
271
|
-
orderBy: { field: 'createdAt', direction: 'DESC' },
|
|
272
|
-
});
|
|
273
|
-
```
|
|
274
|
-
|
|
275
|
-
## Client SDK
|
|
276
|
-
|
|
277
|
-
### BREAKING: Renamed `client.getThreadMessages()` → `client.listThreadMessages()`
|
|
278
|
-
|
|
279
|
-
**Migration:**
|
|
280
|
-
|
|
281
|
-
```typescript
|
|
282
|
-
// Before
|
|
283
|
-
const response = await client.getThreadMessages(threadId, { agentId });
|
|
284
|
-
|
|
285
|
-
// After
|
|
286
|
-
const response = await client.listThreadMessages(threadId, { agentId });
|
|
287
|
-
```
|
|
288
|
-
|
|
289
|
-
The response format remains the same.
|
|
290
|
-
|
|
291
|
-
## Type Changes
|
|
292
|
-
|
|
293
|
-
### BREAKING: Removed `StorageGetMessagesArg` type
|
|
294
|
-
|
|
295
|
-
Use `StorageListMessagesInput` instead:
|
|
296
|
-
|
|
297
|
-
```typescript
|
|
298
|
-
// Before
|
|
299
|
-
import type { StorageGetMessagesArg } from '@mastra/core';
|
|
300
|
-
|
|
301
301
|
|
|
302
|
-
...
|
|
302
|
+
... 5343 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @mastra/deployer-cloud
|
|
2
2
|
|
|
3
|
+
## 1.0.0-beta.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`352a5d6`](https://github.com/mastra-ai/mastra/commit/352a5d625cfe09849b21e8f52a24c9f0366759d5), [`a0a5b4b`](https://github.com/mastra-ai/mastra/commit/a0a5b4bbebe6c701ebbadf744873aa0d5ca01371), [`69ea758`](https://github.com/mastra-ai/mastra/commit/69ea758358edd7117f191c2e69c8bb5fc79e7a1a), [`993ad98`](https://github.com/mastra-ai/mastra/commit/993ad98d7ad3bebda9ecef5fec5c94349a0d04bc), [`3ff2c17`](https://github.com/mastra-ai/mastra/commit/3ff2c17a58e312fad5ea37377262c12d92ca0908)]:
|
|
8
|
+
- @mastra/core@1.0.0-beta.4
|
|
9
|
+
- @mastra/deployer@1.0.0-beta.4
|
|
10
|
+
|
|
3
11
|
## 1.0.0-beta.3
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -290,13 +298,5 @@
|
|
|
290
298
|
### Patch Changes
|
|
291
299
|
|
|
292
300
|
- Updated dependencies [[`10e633a`](https://github.com/mastra-ai/mastra/commit/10e633a07d333466d9734c97acfc3dbf757ad2d0)]:
|
|
293
|
-
- @mastra/core@0.20.1-alpha.0
|
|
294
|
-
- @mastra/deployer@0.20.1-alpha.0
|
|
295
|
-
|
|
296
|
-
## 0.20.0
|
|
297
|
-
|
|
298
|
-
### Patch Changes
|
|
299
|
-
|
|
300
|
-
- Creates a playground specific auth token ([#8420](https://github.com/mastra-ai/mastra/pull/8420))
|
|
301
301
|
|
|
302
|
-
...
|
|
302
|
+
... 631 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @mastra/deployer
|
|
2
2
|
|
|
3
|
+
## 1.0.0-beta.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`352a5d6`](https://github.com/mastra-ai/mastra/commit/352a5d625cfe09849b21e8f52a24c9f0366759d5), [`a0a5b4b`](https://github.com/mastra-ai/mastra/commit/a0a5b4bbebe6c701ebbadf744873aa0d5ca01371), [`69ea758`](https://github.com/mastra-ai/mastra/commit/69ea758358edd7117f191c2e69c8bb5fc79e7a1a), [`993ad98`](https://github.com/mastra-ai/mastra/commit/993ad98d7ad3bebda9ecef5fec5c94349a0d04bc), [`3ff2c17`](https://github.com/mastra-ai/mastra/commit/3ff2c17a58e312fad5ea37377262c12d92ca0908), [`5d7e4dd`](https://github.com/mastra-ai/mastra/commit/5d7e4dd802adcc57d3ac666c2eee044f50c7cee0)]:
|
|
8
|
+
- @mastra/core@1.0.0-beta.4
|
|
9
|
+
- @mastra/server@1.0.0-beta.4
|
|
10
|
+
|
|
3
11
|
## 1.0.0-beta.3
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -290,13 +298,5 @@
|
|
|
290
298
|
- Add observeStream support for agent-builder template installation ([#9372](https://github.com/mastra-ai/mastra/pull/9372))
|
|
291
299
|
- Add observeStream, observeStreamVNext, observeStreamLegacy, and resumeStream methods to agent-builder client SDK
|
|
292
300
|
- Add corresponding server handlers and deployer routes for observe streaming
|
|
293
|
-
- Add tracingOptions parameter to existing agent-builder handlers for parity with workflows
|
|
294
|
-
- Update template installation processor to support both legacy and VNext streaming event formats
|
|
295
|
-
|
|
296
|
-
- Added /health endpoint for service monitoring ([#9142](https://github.com/mastra-ai/mastra/pull/9142))
|
|
297
|
-
|
|
298
|
-
- Update peer dependencies to match core package version bump (0.22.3) ([#9144](https://github.com/mastra-ai/mastra/pull/9144))
|
|
299
|
-
|
|
300
|
-
### Patch Changes
|
|
301
301
|
|
|
302
|
-
...
|
|
302
|
+
... 5189 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# @mastra/mcp-docs-server
|
|
2
2
|
|
|
3
|
+
## 1.0.0-beta.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`352a5d6`](https://github.com/mastra-ai/mastra/commit/352a5d625cfe09849b21e8f52a24c9f0366759d5), [`a0a5b4b`](https://github.com/mastra-ai/mastra/commit/a0a5b4bbebe6c701ebbadf744873aa0d5ca01371), [`69ea758`](https://github.com/mastra-ai/mastra/commit/69ea758358edd7117f191c2e69c8bb5fc79e7a1a), [`993ad98`](https://github.com/mastra-ai/mastra/commit/993ad98d7ad3bebda9ecef5fec5c94349a0d04bc), [`3ff2c17`](https://github.com/mastra-ai/mastra/commit/3ff2c17a58e312fad5ea37377262c12d92ca0908)]:
|
|
8
|
+
- @mastra/core@1.0.0-beta.4
|
|
9
|
+
|
|
3
10
|
## 1.0.0-beta.3
|
|
4
11
|
|
|
5
12
|
### Patch Changes
|
|
@@ -291,12 +298,5 @@
|
|
|
291
298
|
|
|
292
299
|
- Updated dependencies [[`00cb6bd`](https://github.com/mastra-ai/mastra/commit/00cb6bdf78737c0fac14a5a0c7b532a11e38558a), [`869ba22`](https://github.com/mastra-ai/mastra/commit/869ba222e1d6b58fc1b65e7c9fd55ca4e01b8c2f), [`1b73665`](https://github.com/mastra-ai/mastra/commit/1b73665e8e23f5c09d49fcf3e7d709c75259259e), [`f7d7475`](https://github.com/mastra-ai/mastra/commit/f7d747507341aef60ed39e4b49318db1f86034a6), [`084b77b`](https://github.com/mastra-ai/mastra/commit/084b77b2955960e0190af8db3f77138aa83ed65c), [`a93ff84`](https://github.com/mastra-ai/mastra/commit/a93ff84b5e1af07ee236ac8873dac9b49aa5d501), [`bc5aacb`](https://github.com/mastra-ai/mastra/commit/bc5aacb646d468d325327e36117129f28cd13bf6), [`03622f8`](https://github.com/mastra-ai/mastra/commit/03622f86e9d7342197f80f95333ea3ff65c783ae), [`6b5af12`](https://github.com/mastra-ai/mastra/commit/6b5af12ce9e09066e0c32e821c203a6954498bea), [`bf60e4a`](https://github.com/mastra-ai/mastra/commit/bf60e4a89c515afd9570b7b79f33b95e7d07c397), [`d41aee5`](https://github.com/mastra-ai/mastra/commit/d41aee526d124e35f42720a08e64043229193679), [`e8fe13c`](https://github.com/mastra-ai/mastra/commit/e8fe13c4b4c255a42520127797ec394310f7c919), [`3ca833d`](https://github.com/mastra-ai/mastra/commit/3ca833dc994c38e3c9b4f9b4478a61cd8e07b32a), [`1edb8d1`](https://github.com/mastra-ai/mastra/commit/1edb8d1cfb963e72a12412990fb9170936c9904c), [`fbf6e32`](https://github.com/mastra-ai/mastra/commit/fbf6e324946332d0f5ed8930bf9d4d4479cefd7a), [`4753027`](https://github.com/mastra-ai/mastra/commit/4753027ee889288775c6958bdfeda03ff909af67)]:
|
|
293
300
|
- @mastra/core@0.20.0
|
|
294
|
-
- @mastra/mcp@0.13.3
|
|
295
|
-
|
|
296
|
-
## 0.13.27-alpha.0
|
|
297
|
-
|
|
298
|
-
### Patch Changes
|
|
299
|
-
|
|
300
|
-
- Updated dependencies [[`00cb6bd`](https://github.com/mastra-ai/mastra/commit/00cb6bdf78737c0fac14a5a0c7b532a11e38558a), [`869ba22`](https://github.com/mastra-ai/mastra/commit/869ba222e1d6b58fc1b65e7c9fd55ca4e01b8c2f), [`1b73665`](https://github.com/mastra-ai/mastra/commit/1b73665e8e23f5c09d49fcf3e7d709c75259259e), [`f7d7475`](https://github.com/mastra-ai/mastra/commit/f7d747507341aef60ed39e4b49318db1f86034a6), [`084b77b`](https://github.com/mastra-ai/mastra/commit/084b77b2955960e0190af8db3f77138aa83ed65c), [`a93ff84`](https://github.com/mastra-ai/mastra/commit/a93ff84b5e1af07ee236ac8873dac9b49aa5d501), [`bc5aacb`](https://github.com/mastra-ai/mastra/commit/bc5aacb646d468d325327e36117129f28cd13bf6), [`03622f8`](https://github.com/mastra-ai/mastra/commit/03622f86e9d7342197f80f95333ea3ff65c783ae), [`6b5af12`](https://github.com/mastra-ai/mastra/commit/6b5af12ce9e09066e0c32e821c203a6954498bea), [`bf60e4a`](https://github.com/mastra-ai/mastra/commit/bf60e4a89c515afd9570b7b79f33b95e7d07c397), [`d41aee5`](https://github.com/mastra-ai/mastra/commit/d41aee526d124e35f42720a08e64043229193679), [`e8fe13c`](https://github.com/mastra-ai/mastra/commit/e8fe13c4b4c255a42520127797ec394310f7c919), [`3ca833d`](https://github.com/mastra-ai/mastra/commit/3ca833dc994c38e3c9b4f9b4478a61cd8e07b32a), [`1edb8d1`](https://github.com/mastra-ai/mastra/commit/1edb8d1cfb963e72a12412990fb9170936c9904c), [`fbf6e32`](https://github.com/mastra-ai/mastra/commit/fbf6e324946332d0f5ed8930bf9d4d4479cefd7a), [`4753027`](https://github.com/mastra-ai/mastra/commit/4753027ee889288775c6958bdfeda03ff909af67)]:
|
|
301
301
|
|
|
302
|
-
...
|
|
302
|
+
... 2212 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# @mastra/playground-ui
|
|
2
2
|
|
|
3
|
+
## 7.0.0-beta.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`47c34d8`](https://github.com/mastra-ai/mastra/commit/47c34d8e8c3e8aae5c00efc6085c064f2404b346), [`6a86fe5`](https://github.com/mastra-ai/mastra/commit/6a86fe56b8ff53ca2eb3ed87ffc0748749ebadce), [`352a5d6`](https://github.com/mastra-ai/mastra/commit/352a5d625cfe09849b21e8f52a24c9f0366759d5), [`595a3b8`](https://github.com/mastra-ai/mastra/commit/595a3b8727c901f44e333909c09843c711224440), [`a0a5b4b`](https://github.com/mastra-ai/mastra/commit/a0a5b4bbebe6c701ebbadf744873aa0d5ca01371), [`69ea758`](https://github.com/mastra-ai/mastra/commit/69ea758358edd7117f191c2e69c8bb5fc79e7a1a), [`993ad98`](https://github.com/mastra-ai/mastra/commit/993ad98d7ad3bebda9ecef5fec5c94349a0d04bc), [`3ff2c17`](https://github.com/mastra-ai/mastra/commit/3ff2c17a58e312fad5ea37377262c12d92ca0908)]:
|
|
8
|
+
- @mastra/ai-sdk@1.0.0-beta.3
|
|
9
|
+
- @mastra/client-js@1.0.0-beta.4
|
|
10
|
+
- @mastra/core@1.0.0-beta.4
|
|
11
|
+
- @mastra/react@0.1.0-beta.4
|
|
12
|
+
|
|
3
13
|
## 7.0.0-beta.3
|
|
4
14
|
|
|
5
15
|
### Patch Changes
|
|
@@ -288,15 +298,5 @@
|
|
|
288
298
|
|
|
289
299
|
Example agent code
|
|
290
300
|
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
name: 'Chef Agent V2 Model',
|
|
294
|
-
description: 'A chef agent that can help you cook great meals with whatever ingredients you have available.',
|
|
295
|
-
instructions: {
|
|
296
|
-
content: `
|
|
297
|
-
You are Michel, a practical and experienced home chef who helps people cook great meals with whatever
|
|
298
|
-
ingredients they have available. Your first priority is understanding what ingredients and equipment the user has access to, then suggesting achievable recipes.
|
|
299
|
-
You explain cooking steps clearly and offer substitutions when needed, maintaining a friendly and encouraging tone throughout.
|
|
300
|
-
`,
|
|
301
|
-
|
|
302
|
-
... 4201 more lines hidden. See full changelog in package directory.
|
|
301
|
+
|
|
302
|
+
... 4211 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# @mastra/react-hooks
|
|
2
2
|
|
|
3
|
+
## 0.1.0-beta.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`6a86fe5`](https://github.com/mastra-ai/mastra/commit/6a86fe56b8ff53ca2eb3ed87ffc0748749ebadce), [`595a3b8`](https://github.com/mastra-ai/mastra/commit/595a3b8727c901f44e333909c09843c711224440)]:
|
|
8
|
+
- @mastra/client-js@1.0.0-beta.4
|
|
9
|
+
|
|
3
10
|
## 0.1.0-beta.3
|
|
4
11
|
|
|
5
12
|
### Patch Changes
|
|
@@ -292,11 +299,4 @@
|
|
|
292
299
|
|
|
293
300
|
- distinguish between legacy and regular messages in agent chat for useChat usage ([#8409](https://github.com/mastra-ai/mastra/pull/8409))
|
|
294
301
|
|
|
295
|
-
|
|
296
|
-
- @mastra/client-js@0.15.0-alpha.0
|
|
297
|
-
|
|
298
|
-
## 0.0.2
|
|
299
|
-
|
|
300
|
-
### Patch Changes
|
|
301
|
-
|
|
302
|
-
... 43 more lines hidden. See full changelog in package directory.
|
|
302
|
+
... 50 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @mastra/server
|
|
2
2
|
|
|
3
|
+
## 1.0.0-beta.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Network handler now accesses thread and resource parameters from the nested memory object instead of directly from request body. ([#10294](https://github.com/mastra-ai/mastra/pull/10294))
|
|
8
|
+
|
|
9
|
+
- Updated dependencies [[`352a5d6`](https://github.com/mastra-ai/mastra/commit/352a5d625cfe09849b21e8f52a24c9f0366759d5), [`a0a5b4b`](https://github.com/mastra-ai/mastra/commit/a0a5b4bbebe6c701ebbadf744873aa0d5ca01371), [`69ea758`](https://github.com/mastra-ai/mastra/commit/69ea758358edd7117f191c2e69c8bb5fc79e7a1a), [`993ad98`](https://github.com/mastra-ai/mastra/commit/993ad98d7ad3bebda9ecef5fec5c94349a0d04bc), [`3ff2c17`](https://github.com/mastra-ai/mastra/commit/3ff2c17a58e312fad5ea37377262c12d92ca0908)]:
|
|
10
|
+
- @mastra/core@1.0.0-beta.4
|
|
11
|
+
|
|
3
12
|
## 1.0.0-beta.3
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
|
@@ -290,13 +299,4 @@
|
|
|
290
299
|
|
|
291
300
|
- Update peer dependencies to match core package version bump (1.0.0) ([#9495](https://github.com/mastra-ai/mastra/pull/9495))
|
|
292
301
|
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
- Add observeStream support for agent-builder template installation ([#9372](https://github.com/mastra-ai/mastra/pull/9372))
|
|
296
|
-
- Add observeStream, observeStreamVNext, observeStreamLegacy, and resumeStream methods to agent-builder client SDK
|
|
297
|
-
- Add corresponding server handlers and deployer routes for observe streaming
|
|
298
|
-
- Add tracingOptions parameter to existing agent-builder handlers for parity with workflows
|
|
299
|
-
- Update template installation processor to support both legacy and VNext streaming event formats
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
... 4232 more lines hidden. See full changelog in package directory.
|
|
302
|
+
... 4241 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @mastra/voice-google-gemini-live
|
|
2
2
|
|
|
3
|
+
## 0.11.0-beta.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- fix(voice): Fix Vertex AI WebSocket connection failures in GeminiLiveVoice ([#10243](https://github.com/mastra-ai/mastra/pull/10243))
|
|
8
|
+
|
|
9
|
+
- Updated dependencies [[`352a5d6`](https://github.com/mastra-ai/mastra/commit/352a5d625cfe09849b21e8f52a24c9f0366759d5), [`a0a5b4b`](https://github.com/mastra-ai/mastra/commit/a0a5b4bbebe6c701ebbadf744873aa0d5ca01371), [`69ea758`](https://github.com/mastra-ai/mastra/commit/69ea758358edd7117f191c2e69c8bb5fc79e7a1a), [`993ad98`](https://github.com/mastra-ai/mastra/commit/993ad98d7ad3bebda9ecef5fec5c94349a0d04bc), [`3ff2c17`](https://github.com/mastra-ai/mastra/commit/3ff2c17a58e312fad5ea37377262c12d92ca0908)]:
|
|
10
|
+
- @mastra/core@1.0.0-beta.4
|
|
11
|
+
|
|
3
12
|
## 0.11.0-beta.1
|
|
4
13
|
|
|
5
14
|
### Minor Changes
|
|
@@ -290,13 +299,4 @@
|
|
|
290
299
|
|
|
291
300
|
- [#7394](https://github.com/mastra-ai/mastra/pull/7394) [`f0dfcac`](https://github.com/mastra-ai/mastra/commit/f0dfcac4458bdf789b975e2d63e984f5d1e7c4d3) Thanks [@NikAiyer](https://github.com/NikAiyer)! - updated core peerdep
|
|
292
301
|
|
|
293
|
-
|
|
294
|
-
- @mastra/core@0.15.3-alpha.7
|
|
295
|
-
|
|
296
|
-
## 0.10.9-alpha.1
|
|
297
|
-
|
|
298
|
-
### Patch Changes
|
|
299
|
-
|
|
300
|
-
- [#7343](https://github.com/mastra-ai/mastra/pull/7343) [`de3cbc6`](https://github.com/mastra-ai/mastra/commit/de3cbc61079211431bd30487982ea3653517278e) Thanks [@LekoArts](https://github.com/LekoArts)! - Update the `package.json` file to include additional fields like `repository`, `homepage` or `files`.
|
|
301
|
-
|
|
302
|
-
... 60 more lines hidden. See full changelog in package directory.
|
|
302
|
+
... 69 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# create-mastra
|
|
2
2
|
|
|
3
|
+
## 1.0.0-beta.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- fix: detect bun runtime and cleanup on failure ([#10242](https://github.com/mastra-ai/mastra/pull/10242))
|
|
8
|
+
|
|
3
9
|
## 1.0.0-beta.2
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
|
@@ -292,11 +298,5 @@
|
|
|
292
298
|
|
|
293
299
|
### Patch Changes
|
|
294
300
|
|
|
295
|
-
- disable network label when memory is not enabled OR the agent has no subagents ([#8341](https://github.com/mastra-ai/mastra/pull/8341))
|
|
296
|
-
|
|
297
|
-
- Added Mastra model router to Playground UI ([#8332](https://github.com/mastra-ai/mastra/pull/8332))
|
|
298
|
-
|
|
299
|
-
## 0.13.4-alpha.1
|
|
300
|
-
|
|
301
301
|
|
|
302
|
-
...
|
|
302
|
+
... 1816 more lines hidden. See full changelog in package directory.
|
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# mastra
|
|
2
2
|
|
|
3
|
+
## 1.0.0-beta.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- fix: detect bun runtime and cleanup on failure ([#10242](https://github.com/mastra-ai/mastra/pull/10242))
|
|
8
|
+
|
|
9
|
+
- Updated dependencies [[`352a5d6`](https://github.com/mastra-ai/mastra/commit/352a5d625cfe09849b21e8f52a24c9f0366759d5), [`a0a5b4b`](https://github.com/mastra-ai/mastra/commit/a0a5b4bbebe6c701ebbadf744873aa0d5ca01371), [`69ea758`](https://github.com/mastra-ai/mastra/commit/69ea758358edd7117f191c2e69c8bb5fc79e7a1a), [`993ad98`](https://github.com/mastra-ai/mastra/commit/993ad98d7ad3bebda9ecef5fec5c94349a0d04bc), [`3ff2c17`](https://github.com/mastra-ai/mastra/commit/3ff2c17a58e312fad5ea37377262c12d92ca0908)]:
|
|
10
|
+
- @mastra/core@1.0.0-beta.4
|
|
11
|
+
- @mastra/deployer@1.0.0-beta.4
|
|
12
|
+
|
|
3
13
|
## 1.0.0-beta.2
|
|
4
14
|
|
|
5
15
|
### Minor Changes
|
|
@@ -289,14 +299,4 @@
|
|
|
289
299
|
|
|
290
300
|
- Use model-router in create-mastra starter template ([#8631](https://github.com/mastra-ai/mastra/pull/8631))
|
|
291
301
|
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
- Update peer dependencies to match core package version bump (0.21.0) ([#8619](https://github.com/mastra-ai/mastra/pull/8619))
|
|
295
|
-
|
|
296
|
-
- Create unified Sidebar component to use on Playground and Cloud ([#8655](https://github.com/mastra-ai/mastra/pull/8655))
|
|
297
|
-
|
|
298
|
-
- Use only zod validation in dynamic form ([#8802](https://github.com/mastra-ai/mastra/pull/8802))
|
|
299
|
-
|
|
300
|
-
- Add support for --debug options to build/dev commands to add more logging ([#8792](https://github.com/mastra-ai/mastra/pull/8792))
|
|
301
|
-
|
|
302
|
-
... 6467 more lines hidden. See full changelog in package directory.
|
|
302
|
+
... 6477 more lines hidden. See full changelog in package directory.
|
|
@@ -285,6 +285,55 @@ export const agent = new Agent({
|
|
|
285
285
|
});
|
|
286
286
|
```
|
|
287
287
|
|
|
288
|
+
### Using AI SDK
|
|
289
|
+
|
|
290
|
+
Mastra supports using AI SDK's transcription and speech models directly in `CompositeVoice`, giving you access to a wide range of providers through the AI SDK ecosystem:
|
|
291
|
+
|
|
292
|
+
```typescript
|
|
293
|
+
import { Agent } from "@mastra/core/agent";
|
|
294
|
+
import { CompositeVoice } from "@mastra/core/voice";
|
|
295
|
+
import { openai } from "@ai-sdk/openai";
|
|
296
|
+
import { elevenlabs } from "@ai-sdk/elevenlabs";
|
|
297
|
+
import { groq } from "@ai-sdk/groq";
|
|
298
|
+
|
|
299
|
+
export const agent = new Agent({
|
|
300
|
+
id: "aisdk-voice-agent",
|
|
301
|
+
name: "AI SDK Voice Agent",
|
|
302
|
+
instructions: `You are a helpful assistant with voice capabilities.`,
|
|
303
|
+
model: openai("gpt-4o"),
|
|
304
|
+
|
|
305
|
+
// Pass AI SDK models directly to CompositeVoice
|
|
306
|
+
voice: new CompositeVoice({
|
|
307
|
+
input: openai.transcription('whisper-1'), // AI SDK transcription model
|
|
308
|
+
output: elevenlabs.speech('eleven_turbo_v2'), // AI SDK speech model
|
|
309
|
+
}),
|
|
310
|
+
});
|
|
311
|
+
|
|
312
|
+
// Use voice capabilities as usual
|
|
313
|
+
const audioStream = await agent.voice.speak("Hello!");
|
|
314
|
+
const transcribedText = await agent.voice.listen(audioStream);
|
|
315
|
+
```
|
|
316
|
+
|
|
317
|
+
#### Mix and Match Providers
|
|
318
|
+
|
|
319
|
+
You can mix AI SDK models with Mastra voice providers:
|
|
320
|
+
|
|
321
|
+
```typescript
|
|
322
|
+
import { CompositeVoice } from "@mastra/core/voice";
|
|
323
|
+
import { PlayAIVoice } from "@mastra/voice-playai";
|
|
324
|
+
import { openai } from "@ai-sdk/openai";
|
|
325
|
+
|
|
326
|
+
// Use AI SDK for transcription and Mastra provider for speech
|
|
327
|
+
const voice = new CompositeVoice({
|
|
328
|
+
input: openai.transcription('whisper-1'), // AI SDK
|
|
329
|
+
output: new PlayAIVoice(), // Mastra provider
|
|
330
|
+
});
|
|
331
|
+
```
|
|
332
|
+
|
|
333
|
+
For the complete list of supported AI SDK providers and their capabilities:
|
|
334
|
+
* [Transcription](https://ai-sdk.dev/docs/providers/openai/transcription)
|
|
335
|
+
* [Speech](https://ai-sdk.dev/docs/providers/elevenlabs/speech)
|
|
336
|
+
|
|
288
337
|
## Supported Voice Providers
|
|
289
338
|
|
|
290
339
|
Mastra supports multiple voice providers for text-to-speech (TTS) and speech-to-text (STT) capabilities:
|