@mastra/voice-azure 0.10.0 → 0.10.1

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.
@@ -1,23 +1,23 @@
1
1
 
2
- > @mastra/voice-azure@0.10.0-alpha.1 build /home/runner/work/mastra/mastra/voice/azure
2
+ > @mastra/voice-azure@0.10.1-alpha.0 build /home/runner/work/mastra/mastra/voice/azure
3
3
  > tsup src/index.ts --format esm,cjs --experimental-dts --clean --treeshake=smallest --splitting
4
4
 
5
5
  CLI Building entry: src/index.ts
6
6
  CLI Using tsconfig: tsconfig.json
7
7
  CLI tsup v8.4.0
8
8
  TSC Build start
9
- TSC ⚡️ Build success in 8188ms
9
+ TSC ⚡️ Build success in 8090ms
10
10
  DTS Build start
11
11
  CLI Target: es2022
12
12
  Analysis will use the bundled TypeScript version 5.8.3
13
13
  Writing package typings: /home/runner/work/mastra/mastra/voice/azure/dist/_tsup-dts-rollup.d.ts
14
14
  Analysis will use the bundled TypeScript version 5.8.3
15
15
  Writing package typings: /home/runner/work/mastra/mastra/voice/azure/dist/_tsup-dts-rollup.d.cts
16
- DTS ⚡️ Build success in 11622ms
16
+ DTS ⚡️ Build success in 10154ms
17
17
  CLI Cleaning output folder
18
18
  ESM Build start
19
19
  CJS Build start
20
- CJS dist/index.cjs 12.79 KB
21
- CJS ⚡️ Build success in 570ms
22
- ESM dist/index.js 12.16 KB
23
- ESM ⚡️ Build success in 571ms
20
+ CJS dist/index.cjs 12.96 KB
21
+ CJS ⚡️ Build success in 590ms
22
+ ESM dist/index.js 12.33 KB
23
+ ESM ⚡️ Build success in 590ms
package/CHANGELOG.md CHANGED
@@ -1,5 +1,37 @@
1
1
  # @mastra/voice-azure
2
2
 
3
+ ## 0.10.1
4
+
5
+ ### Patch Changes
6
+
7
+ - f0d559f: Fix peerdeps for alpha channel
8
+ - Updated dependencies [ee77e78]
9
+ - Updated dependencies [592a2db]
10
+ - Updated dependencies [e5dc18d]
11
+ - Updated dependencies [ab5adbe]
12
+ - Updated dependencies [1e8bb40]
13
+ - Updated dependencies [1b5fc55]
14
+ - Updated dependencies [195c428]
15
+ - Updated dependencies [f73e11b]
16
+ - Updated dependencies [37643b8]
17
+ - Updated dependencies [99fd6cf]
18
+ - Updated dependencies [c5bf1ce]
19
+ - Updated dependencies [add596e]
20
+ - Updated dependencies [8dc94d8]
21
+ - Updated dependencies [ecebbeb]
22
+ - Updated dependencies [79d5145]
23
+ - Updated dependencies [12b7002]
24
+ - Updated dependencies [2901125]
25
+ - @mastra/core@0.10.2
26
+
27
+ ## 0.10.1-alpha.0
28
+
29
+ ### Patch Changes
30
+
31
+ - f0d559f: Fix peerdeps for alpha channel
32
+ - Updated dependencies [1e8bb40]
33
+ - @mastra/core@0.10.2-alpha.2
34
+
3
35
  ## 0.10.0
4
36
 
5
37
  ### Minor Changes
@@ -43,6 +43,14 @@ export declare class AzureVoice extends MastraVoice {
43
43
  speaker?: string;
44
44
  [key: string]: any;
45
45
  }): Promise<NodeJS.ReadableStream>;
46
+ /**
47
+ * Checks if listening capabilities are enabled.
48
+ *
49
+ * @returns {Promise<{ enabled: boolean }>}
50
+ */
51
+ getListener(): Promise<{
52
+ enabled: boolean;
53
+ }>;
46
54
  /**
47
55
  * Transcribes audio (STT) from a Node.js stream using Azure.
48
56
  *
@@ -43,6 +43,14 @@ export declare class AzureVoice extends MastraVoice {
43
43
  speaker?: string;
44
44
  [key: string]: any;
45
45
  }): Promise<NodeJS.ReadableStream>;
46
+ /**
47
+ * Checks if listening capabilities are enabled.
48
+ *
49
+ * @returns {Promise<{ enabled: boolean }>}
50
+ */
51
+ getListener(): Promise<{
52
+ enabled: boolean;
53
+ }>;
46
54
  /**
47
55
  * Transcribes audio (STT) from a Node.js stream using Azure.
48
56
  *
package/dist/index.cjs CHANGED
@@ -364,6 +364,14 @@ var AzureVoice = class extends voice.MastraVoice {
364
364
  throw error instanceof Error ? error : new Error(String(error));
365
365
  }
366
366
  }
367
+ /**
368
+ * Checks if listening capabilities are enabled.
369
+ *
370
+ * @returns {Promise<{ enabled: boolean }>}
371
+ */
372
+ async getListener() {
373
+ return { enabled: true };
374
+ }
367
375
  /**
368
376
  * Transcribes audio (STT) from a Node.js stream using Azure.
369
377
  *
package/dist/index.js CHANGED
@@ -342,6 +342,14 @@ var AzureVoice = class extends MastraVoice {
342
342
  throw error instanceof Error ? error : new Error(String(error));
343
343
  }
344
344
  }
345
+ /**
346
+ * Checks if listening capabilities are enabled.
347
+ *
348
+ * @returns {Promise<{ enabled: boolean }>}
349
+ */
350
+ async getListener() {
351
+ return { enabled: true };
352
+ }
345
353
  /**
346
354
  * Transcribes audio (STT) from a Node.js stream using Azure.
347
355
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/voice-azure",
3
- "version": "0.10.0",
3
+ "version": "0.10.1",
4
4
  "description": "Mastra Azure speech integration",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -29,11 +29,11 @@
29
29
  "tsup": "^8.4.0",
30
30
  "typescript": "^5.8.2",
31
31
  "vitest": "^2.1.9",
32
- "@internal/lint": "0.0.6",
33
- "@mastra/core": "0.10.0"
32
+ "@internal/lint": "0.0.8",
33
+ "@mastra/core": "0.10.2"
34
34
  },
35
35
  "peerDependencies": {
36
- "@mastra/core": "^0.10.0"
36
+ "@mastra/core": "^0.10.0-alpha.0"
37
37
  },
38
38
  "scripts": {
39
39
  "build": "tsup src/index.ts --format esm,cjs --experimental-dts --clean --treeshake=smallest --splitting",
package/src/index.ts CHANGED
@@ -171,6 +171,15 @@ export class AzureVoice extends MastraVoice {
171
171
  }
172
172
  }
173
173
 
174
+ /**
175
+ * Checks if listening capabilities are enabled.
176
+ *
177
+ * @returns {Promise<{ enabled: boolean }>}
178
+ */
179
+ async getListener() {
180
+ return { enabled: true };
181
+ }
182
+
174
183
  /**
175
184
  * Transcribes audio (STT) from a Node.js stream using Azure.
176
185
  *