@mastra/voice-openai-realtime 0.0.0-message-ordering-20250415215612 → 0.0.0-vnextWorkflows-20250416071310

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,11 +1,38 @@
1
1
  # @mastra/voice-openai-realtime
2
2
 
3
- ## 0.0.0-message-ordering-20250415215612
3
+ ## 0.0.0-vnextWorkflows-20250416071310
4
+
5
+ ### Minor Changes
6
+
7
+ - 185f8e9: Emit add tools and silence warnings
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies [03f3cd0]
12
+ - Updated dependencies [8a8a73b]
13
+ - Updated dependencies [6f92295]
14
+ - @mastra/core@0.0.0-vnextWorkflows-20250416071310
15
+
16
+ ## 0.2.0-alpha.2
17
+
18
+ ### Minor Changes
19
+
20
+ - 185f8e9: Emit add tools and silence warnings
21
+
22
+ ## 0.1.5-alpha.1
23
+
24
+ ### Patch Changes
25
+
26
+ - Updated dependencies [8a8a73b]
27
+ - Updated dependencies [6f92295]
28
+ - @mastra/core@0.8.4-alpha.1
29
+
30
+ ## 0.1.5-alpha.0
4
31
 
5
32
  ### Patch Changes
6
33
 
7
- - Updated dependencies [7a69f57]
8
- - @mastra/core@0.0.0-message-ordering-20250415215612
34
+ - Updated dependencies [03f3cd0]
35
+ - @mastra/core@0.8.4-alpha.0
9
36
 
10
37
  ## 0.1.4
11
38
 
package/dist/index.cjs CHANGED
@@ -548,6 +548,12 @@ var OpenAIRealtimeVoice = class extends voice.MastraVoice {
548
548
  messages: []
549
549
  }
550
550
  );
551
+ this.emit("tool-result", {
552
+ toolCallId: output.call_id,
553
+ toolName: output.name,
554
+ args: context,
555
+ result
556
+ });
551
557
  this.sendEvent("conversation.item.create", {
552
558
  item: {
553
559
  type: "function_call_output",
package/dist/index.js CHANGED
@@ -546,6 +546,12 @@ var OpenAIRealtimeVoice = class extends MastraVoice {
546
546
  messages: []
547
547
  }
548
548
  );
549
+ this.emit("tool-result", {
550
+ toolCallId: output.call_id,
551
+ toolName: output.name,
552
+ args: context,
553
+ result
554
+ });
549
555
  this.sendEvent("conversation.item.create", {
550
556
  item: {
551
557
  type: "function_call_output",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/voice-openai-realtime",
3
- "version": "0.0.0-message-ordering-20250415215612",
3
+ "version": "0.0.0-vnextWorkflows-20250416071310",
4
4
  "description": "Mastra OpenAI Realtime API integration",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -23,7 +23,7 @@
23
23
  "openai-realtime-api": "^1.0.7",
24
24
  "ws": "^8.18.1",
25
25
  "zod-to-json-schema": "^3.24.5",
26
- "@mastra/core": "0.0.0-message-ordering-20250415215612"
26
+ "@mastra/core": "0.0.0-vnextWorkflows-20250416071310"
27
27
  },
28
28
  "devDependencies": {
29
29
  "@microsoft/api-extractor": "^7.52.2",
package/src/index.ts CHANGED
@@ -626,6 +626,12 @@ export class OpenAIRealtimeVoice extends MastraVoice {
626
626
  messages: [],
627
627
  },
628
628
  );
629
+ this.emit('tool-result', {
630
+ toolCallId: output.call_id,
631
+ toolName: output.name,
632
+ args: context,
633
+ result,
634
+ });
629
635
  this.sendEvent('conversation.item.create', {
630
636
  item: {
631
637
  type: 'function_call_output',