@mastra/voice-openai-realtime 0.13.7-alpha.0 → 0.13.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 CHANGED
@@ -1,5 +1,12 @@
1
1
  # @mastra/voice-openai-realtime
2
2
 
3
+ ## 0.13.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
+
3
10
  ## 0.13.7-alpha.0
4
11
 
5
12
  ### Patch Changes
@@ -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.13.7-alpha.0"
6
+ version: "0.13.7"
7
7
  ---
8
8
 
9
9
  ## When to use
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.13.7-alpha.0",
2
+ "version": "0.13.7",
3
3
  "package": "@mastra/voice-openai-realtime",
4
4
  "exports": {},
5
5
  "modules": {}
@@ -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, in the browser or over the phone. Mastra hands the audio loop to LiveKit, which covers voice activity detection, semantic turn detection, and barge-in, while 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).
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
 
@@ -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, play assistant audio, log transcriptions, and handle errors:
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 }) => {
@@ -2,7 +2,7 @@
2
2
 
3
3
  # voice.on()
4
4
 
5
- The `on()` method registers event listeners for voice events. This is particularly important for real-time voice providers, where events are used to communicate transcribed text, audio responses, and other state changes.
5
+ The `on()` method registers event listeners for voice events. This is particularly important for real-time voice providers, where events are used to communicate transcribed text and audio responses, as well as other state changes.
6
6
 
7
7
  ## Usage example
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  # voice.updateConfig()
4
4
 
5
- The `updateConfig()` method allows you to update the configuration of a voice provider at runtime. This is useful for changing voice settings, API keys, or other provider-specific options without creating a new instance.
5
+ The `updateConfig()` method allows you to update the configuration of a voice provider at runtime. This is useful for changing voice settings and API keys, along with other provider-specific options without creating a new instance.
6
6
 
7
7
  ## Usage example
8
8
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/voice-openai-realtime",
3
- "version": "0.13.7-alpha.0",
3
+ "version": "0.13.7",
4
4
  "description": "Mastra OpenAI Realtime API integration",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -26,7 +26,7 @@
26
26
  "dependencies": {
27
27
  "openai-realtime-api": "^1.0.8",
28
28
  "ws": "^8.21.0",
29
- "@mastra/schema-compat": "1.3.7-alpha.0"
29
+ "@mastra/schema-compat": "1.3.7"
30
30
  },
31
31
  "devDependencies": {
32
32
  "@types/node": "22.20.1",
@@ -39,9 +39,9 @@
39
39
  "typescript": "^6.0.3",
40
40
  "vitest": "4.1.10",
41
41
  "zod": "^4.4.3",
42
- "@internal/voice": "0.0.20",
43
- "@internal/lint": "0.0.122",
44
- "@internal/types-builder": "0.0.97"
42
+ "@internal/lint": "0.0.123",
43
+ "@internal/types-builder": "0.0.98",
44
+ "@internal/voice": "0.0.21"
45
45
  },
46
46
  "peerDependencies": {
47
47
  "zod": "^3.25.0 || ^4.0.0"