@mastra/voice-google-gemini-live 0.14.6 → 0.14.7
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/CHANGELOG.md +14 -0
- package/dist/docs/SKILL.md +6 -6
- package/dist/docs/assets/SOURCE_MAP.json +1 -1
- package/dist/docs/references/{guides-voice-overview.md → reference-voice-overview.md} +4 -4
- package/dist/docs/references/{guides-voice-speech-to-speech.md → reference-voice-speech-to-speech.md} +2 -2
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @mastra/voice-google-gemini-live
|
|
2
2
|
|
|
3
|
+
## 0.14.7
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`cf418b6`](https://github.com/mastra-ai/mastra/commit/cf418b65efb81997e9b8dc7638eee363c5d96c96)]:
|
|
8
|
+
- @mastra/schema-compat@1.3.7
|
|
9
|
+
|
|
10
|
+
## 0.14.7-alpha.0
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies [[`cf418b6`](https://github.com/mastra-ai/mastra/commit/cf418b65efb81997e9b8dc7638eee363c5d96c96)]:
|
|
15
|
+
- @mastra/schema-compat@1.3.7-alpha.0
|
|
16
|
+
|
|
3
17
|
## 0.14.6
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
package/dist/docs/SKILL.md
CHANGED
|
@@ -3,7 +3,7 @@ name: mastra-voice-google-gemini-live
|
|
|
3
3
|
description: Documentation for @mastra/voice-google-gemini-live. Use when working with @mastra/voice-google-gemini-live APIs, configuration, or implementation.
|
|
4
4
|
metadata:
|
|
5
5
|
package: "@mastra/voice-google-gemini-live"
|
|
6
|
-
version: "0.14.
|
|
6
|
+
version: "0.14.7"
|
|
7
7
|
---
|
|
8
8
|
|
|
9
9
|
## When to use
|
|
@@ -14,14 +14,14 @@ Use this skill whenever you are working with @mastra/voice-google-gemini-live to
|
|
|
14
14
|
|
|
15
15
|
Read the individual reference documents for detailed explanations and code examples.
|
|
16
16
|
|
|
17
|
-
### Guides
|
|
18
|
-
|
|
19
|
-
- [Voice in Mastra](references/guides-voice-overview.md) - Overview of voice capabilities in Mastra, including text-to-speech, speech-to-text, and real-time speech-to-speech interactions.
|
|
20
|
-
- [Speech-to-Speech capabilities in Mastra](references/guides-voice-speech-to-speech.md) - Overview of speech-to-speech capabilities in Mastra, including real-time interactions and event-driven architecture.
|
|
21
|
-
|
|
22
17
|
### Integrations
|
|
23
18
|
|
|
24
19
|
- [Google](references/integrations-voice-google.md) - Documentation for the Google Voice implementation, providing text-to-speech and speech-to-text capabilities with support for both API key and Vertex AI authentication.
|
|
25
20
|
|
|
21
|
+
### Reference
|
|
22
|
+
|
|
23
|
+
- [Voice in Mastra](references/reference-voice-overview.md) - Overview of voice capabilities in Mastra, including text-to-speech, speech-to-text, and real-time speech-to-speech interactions.
|
|
24
|
+
- [Speech-to-Speech capabilities in Mastra](references/reference-voice-speech-to-speech.md) - Overview of speech-to-speech capabilities in Mastra, including real-time interactions and event-driven architecture.
|
|
25
|
+
|
|
26
26
|
|
|
27
27
|
Read [assets/SOURCE_MAP.json](assets/SOURCE_MAP.json) for source code references.
|
|
@@ -29,7 +29,7 @@ You can then use the following voice capabilities:
|
|
|
29
29
|
|
|
30
30
|
Turn your agent's responses into natural-sounding speech using Mastra's TTS capabilities. Choose from multiple providers like OpenAI, ElevenLabs, and more.
|
|
31
31
|
|
|
32
|
-
For detailed configuration options and advanced features, check out our [Text-to-Speech guide](https://mastra.ai/
|
|
32
|
+
For detailed configuration options and advanced features, check out our [Text-to-Speech guide](https://mastra.ai/reference/voice/text-to-speech).
|
|
33
33
|
|
|
34
34
|
**OpenAI**:
|
|
35
35
|
|
|
@@ -304,7 +304,7 @@ Visit the [Murf Voice Reference](https://mastra.ai/integrations/voice/murf) for
|
|
|
304
304
|
|
|
305
305
|
### Speech to Text (STT)
|
|
306
306
|
|
|
307
|
-
Transcribe spoken content using providers like OpenAI, ElevenLabs, and more. For detailed configuration options and more, check out [Speech to Text](https://mastra.ai/
|
|
307
|
+
Transcribe spoken content using providers like OpenAI, ElevenLabs, and more. For detailed configuration options and more, check out [Speech to Text](https://mastra.ai/reference/voice/speech-to-text).
|
|
308
308
|
|
|
309
309
|
You can download a sample audio file from [here](https://github.com/mastra-ai/realtime-voice-demo/raw/refs/heads/main/how_can_i_help_you.mp3).
|
|
310
310
|
|
|
@@ -537,7 +537,7 @@ Visit the [Sarvam Voice Reference](https://mastra.ai/integrations/voice/sarvam)
|
|
|
537
537
|
|
|
538
538
|
### Speech to Speech (STS)
|
|
539
539
|
|
|
540
|
-
Create conversational experiences with speech-to-speech capabilities. The unified API enables real-time voice interactions between users and AI agents. For detailed configuration options and advanced features, check out [Speech to Speech](https://mastra.ai/
|
|
540
|
+
Create conversational experiences with speech-to-speech capabilities. The unified API enables real-time voice interactions between users and AI agents. For detailed configuration options and advanced features, check out [Speech to Speech](https://mastra.ai/reference/voice/speech-to-speech).
|
|
541
541
|
|
|
542
542
|
**OpenAI**:
|
|
543
543
|
|
|
@@ -748,7 +748,7 @@ Visit the [xAI Realtime Voice Reference](https://mastra.ai/integrations/voice/xa
|
|
|
748
748
|
|
|
749
749
|
### Realtime voice
|
|
750
750
|
|
|
751
|
-
Run live calls a user can talk over
|
|
751
|
+
Run live calls that a user can talk over in a browser or by phone. Mastra hands the audio loop to LiveKit for voice activity and semantic turn detection, plus barge-in. Your agent generates each reply with its own model, tools, and memory. For setup and configuration options, check out [Realtime voice](https://mastra.ai/integrations/voice/livekit).
|
|
752
752
|
|
|
753
753
|
## Voice configuration
|
|
754
754
|
|
|
@@ -54,7 +54,7 @@ const micStream = getMicrophoneStream()
|
|
|
54
54
|
await agent.voice.send(micStream)
|
|
55
55
|
```
|
|
56
56
|
|
|
57
|
-
For a broader overview of voice providers on agents, see [Voice in Mastra](https://mastra.ai/
|
|
57
|
+
For a broader overview of voice providers on agents, see [Voice in Mastra](https://mastra.ai/reference/voice/overview).
|
|
58
58
|
|
|
59
59
|
## Use tools in realtime sessions
|
|
60
60
|
|
|
@@ -80,7 +80,7 @@ export const agent = new Agent({
|
|
|
80
80
|
|
|
81
81
|
## Listen for realtime events
|
|
82
82
|
|
|
83
|
-
Realtime voice providers emit events you can use to update your UI
|
|
83
|
+
Realtime voice providers emit events you can use to update your UI and play assistant audio, while logging transcriptions and handling errors:
|
|
84
84
|
|
|
85
85
|
```typescript
|
|
86
86
|
agent.voice.on('speaking', ({ audio }) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/voice-google-gemini-live",
|
|
3
|
-
"version": "0.14.
|
|
3
|
+
"version": "0.14.7",
|
|
4
4
|
"description": "Mastra Google Gemini Live API integration",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"@google/genai": "^1.52.0",
|
|
28
28
|
"google-auth-library": "^10.9.1",
|
|
29
29
|
"ws": "^8.21.0",
|
|
30
|
-
"@mastra/schema-compat": "1.3.
|
|
30
|
+
"@mastra/schema-compat": "1.3.7"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"@types/node": "22.20.1",
|
|
@@ -40,10 +40,10 @@
|
|
|
40
40
|
"typescript": "^6.0.3",
|
|
41
41
|
"vitest": "4.1.10",
|
|
42
42
|
"zod": "^4.4.3",
|
|
43
|
-
"@internal/test-utils": "0.0.
|
|
44
|
-
"@internal/
|
|
45
|
-
"@internal/types-builder": "0.0.
|
|
46
|
-
"@internal/
|
|
43
|
+
"@internal/test-utils": "0.0.59",
|
|
44
|
+
"@internal/lint": "0.0.123",
|
|
45
|
+
"@internal/types-builder": "0.0.98",
|
|
46
|
+
"@internal/voice": "0.0.21"
|
|
47
47
|
},
|
|
48
48
|
"homepage": "https://mastra.ai",
|
|
49
49
|
"repository": {
|