@mastra/voice-google-gemini-live 0.14.3-alpha.0 → 0.14.3
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 +15 -0
- package/dist/_types/@internal_voice/dist/_types/@internal_core/dist/request-context/index.d.ts +10 -0
- package/dist/docs/SKILL.md +1 -1
- package/dist/docs/assets/SOURCE_MAP.json +1 -1
- package/dist/docs/references/docs-voice-overview.md +2 -0
- package/dist/docs/references/docs-voice-speech-to-speech.md +2 -0
- package/dist/docs/references/reference-voice-google-gemini-live.md +2 -0
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @mastra/voice-google-gemini-live
|
|
2
2
|
|
|
3
|
+
## 0.14.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated the ws dependency to ^8.21.0 to pull in fixes for an uninitialized memory disclosure (GHSA-58qx-3vcg-4xpx) and a memory exhaustion denial-of-service (GHSA-96hv-2xvq-fx4p) in the WebSocket server. ([#18789](https://github.com/mastra-ai/mastra/pull/18789))
|
|
8
|
+
|
|
9
|
+
- Updated dependencies [[`1042cb4`](https://github.com/mastra-ai/mastra/commit/1042cb4da227c0a1315a6362262be3058866c5f8)]:
|
|
10
|
+
- @mastra/schema-compat@1.3.3
|
|
11
|
+
|
|
12
|
+
## 0.14.3-alpha.1
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- Updated the ws dependency to ^8.21.0 to pull in fixes for an uninitialized memory disclosure (GHSA-58qx-3vcg-4xpx) and a memory exhaustion denial-of-service (GHSA-96hv-2xvq-fx4p) in the WebSocket server. ([#18789](https://github.com/mastra-ai/mastra/pull/18789))
|
|
17
|
+
|
|
3
18
|
## 0.14.3-alpha.0
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
package/dist/_types/@internal_voice/dist/_types/@internal_core/dist/request-context/index.d.ts
CHANGED
|
@@ -129,6 +129,16 @@ declare class RequestContext<Values extends Record<string, any> | unknown = unkn
|
|
|
129
129
|
* a clean JSON-safe dict for cross-context cycles.
|
|
130
130
|
*/
|
|
131
131
|
private isSerializable;
|
|
132
|
+
/**
|
|
133
|
+
* Custom span serialization to prevent leaking internal state (like auth
|
|
134
|
+
* tokens stored in the private `registry` Map) into observability spans.
|
|
135
|
+
*
|
|
136
|
+
* `deepClean` in `@mastra/observability` calls this method before falling
|
|
137
|
+
* back to `Object.keys()` — which would walk the runtime-enumerable
|
|
138
|
+
* `registry` field and serialize its raw Map entries (including any
|
|
139
|
+
* bearer tokens) into exported spans.
|
|
140
|
+
*/
|
|
141
|
+
serializeForSpan(): Record<string, unknown>;
|
|
132
142
|
/**
|
|
133
143
|
* Get all values as a typed object for destructuring.
|
|
134
144
|
* Returns Record<string, any> when untyped, or the Values type when typed.
|
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.3
|
|
6
|
+
version: "0.14.3"
|
|
7
7
|
---
|
|
8
8
|
|
|
9
9
|
## When to use
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
> Discover all available pages from the documentation index: https://mastra.ai/llms.txt
|
|
2
|
+
|
|
1
3
|
# Voice in Mastra
|
|
2
4
|
|
|
3
5
|
Mastra's Voice system provides a unified interface for voice interactions, enabling text-to-speech (TTS), speech-to-text (STT), and real-time speech-to-speech (STS) capabilities in your applications.
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
> Discover all available pages from the documentation index: https://mastra.ai/llms.txt
|
|
2
|
+
|
|
1
3
|
# Google Gemini Live voice
|
|
2
4
|
|
|
3
5
|
The GeminiLiveVoice class provides real-time voice interaction capabilities using Google's Gemini Live API. It supports bidirectional audio streaming, tool calling, session management, and both standard Google API and Vertex AI authentication methods.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/voice-google-gemini-live",
|
|
3
|
-
"version": "0.14.3
|
|
3
|
+
"version": "0.14.3",
|
|
4
4
|
"description": "Mastra Google Gemini Live API integration",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
@@ -26,8 +26,8 @@
|
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@google/genai": "^1.52.0",
|
|
28
28
|
"google-auth-library": "^10.6.2",
|
|
29
|
-
"ws": "^8.
|
|
30
|
-
"@mastra/schema-compat": "1.3.3
|
|
29
|
+
"ws": "^8.21.0",
|
|
30
|
+
"@mastra/schema-compat": "1.3.3"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"@types/node": "22.19.21",
|
|
@@ -40,10 +40,10 @@
|
|
|
40
40
|
"typescript": "^6.0.3",
|
|
41
41
|
"vitest": "4.1.8",
|
|
42
42
|
"zod": "^4.4.3",
|
|
43
|
-
"@internal/lint": "0.0.
|
|
44
|
-
"@internal/
|
|
45
|
-
"@internal/
|
|
46
|
-
"@internal/
|
|
43
|
+
"@internal/lint": "0.0.111",
|
|
44
|
+
"@internal/types-builder": "0.0.86",
|
|
45
|
+
"@internal/voice": "0.0.11",
|
|
46
|
+
"@internal/test-utils": "0.0.47"
|
|
47
47
|
},
|
|
48
48
|
"homepage": "https://mastra.ai",
|
|
49
49
|
"repository": {
|