@mastra/voice-openai-realtime 0.14.8-alpha.0 → 0.14.8
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/dist/docs/SKILL.md
CHANGED
|
@@ -3,7 +3,7 @@ name: mastra-voice-openai-realtime
|
|
|
3
3
|
description: Documentation for @mastra/voice-openai-realtime. Use when working with @mastra/voice-openai-realtime APIs, configuration, or implementation.
|
|
4
4
|
metadata:
|
|
5
5
|
package: "@mastra/voice-openai-realtime"
|
|
6
|
-
version: "0.14.8
|
|
6
|
+
version: "0.14.8"
|
|
7
7
|
---
|
|
8
8
|
|
|
9
9
|
## When to use
|
|
@@ -61,7 +61,7 @@ Returns a `Promise<void>`. For providers that support real-time audio, it resolv
|
|
|
61
61
|
## Notes
|
|
62
62
|
|
|
63
63
|
- This method is only implemented by real-time voice providers that support speech-to-speech capabilities
|
|
64
|
-
- If called on a voice provider that doesn't support this functionality,
|
|
64
|
+
- If called on a voice provider that doesn't support this functionality, the default implementation logs a debug message and resolves immediately. `CompositeVoice` instead throws a `MastraError` (`VOICE_COMPOSITE_NO_REALTIME_PROVIDER_SEND`) when no `realtimeProvider` is configured
|
|
65
65
|
- You must call `connect()` before using `send()` to establish the WebSocket connection
|
|
66
66
|
- The audio format requirements depend on the specific voice provider
|
|
67
67
|
- For continuous conversation, you typically call `send()` to transmit user audio, then `answer()` to trigger the AI response
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/voice-openai-realtime",
|
|
3
|
-
"version": "0.14.8
|
|
3
|
+
"version": "0.14.8",
|
|
4
4
|
"description": "Mastra OpenAI Realtime API integration",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"openai-realtime-api": "^1.0.8",
|
|
27
27
|
"ws": "^8.22.0",
|
|
28
|
-
"@mastra/schema-compat": "1.3.17
|
|
28
|
+
"@mastra/schema-compat": "1.3.17"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@types/node": "22.19.15",
|
|
@@ -37,9 +37,9 @@
|
|
|
37
37
|
"typescript": "^7.0.2",
|
|
38
38
|
"vitest": "4.1.12",
|
|
39
39
|
"zod": "^4.6.7",
|
|
40
|
-
"@internal/lint": "0.0.
|
|
41
|
-
"@internal/
|
|
42
|
-
"@internal/
|
|
40
|
+
"@internal/lint": "0.0.146",
|
|
41
|
+
"@internal/types-builder": "0.0.121",
|
|
42
|
+
"@internal/voice": "0.0.43"
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|
|
45
45
|
"zod": "^3.25.0 || ^4.0.0"
|