@mastra/voice-speechify 0.14.0-alpha.0 → 0.14.0

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,48 @@
1
1
  # @mastra/voice-speechify
2
2
 
3
+ ## 0.14.0
4
+
5
+ ### Minor Changes
6
+
7
+ - Added support for Speechify's Simba 3.2 and Simba 3.0 text-to-speech models. Simba 3.2 is Speechify's latest streaming model with lower latency and richer expressivity, and is the recommended model for English speech. ([#19411](https://github.com/mastra-ai/mastra/pull/19411))
8
+
9
+ ```typescript
10
+ import { SpeechifyVoice } from '@mastra/voice-speechify';
11
+
12
+ // Set as the default model
13
+ const voice = new SpeechifyVoice({
14
+ speechModel: { name: 'simba-3.2' },
15
+ });
16
+
17
+ // Or override per request
18
+ const stream = await voice.speak('Hello world', { model: 'simba-3.2' });
19
+ ```
20
+
21
+ Note: `simba-3.2` and `simba-3.0` are currently English only. The default model remains `simba-english`.
22
+
23
+ ### Patch Changes
24
+
25
+ - Fixed voice selection for the Simba 3 models. Speechify's `simba-3.2` and `simba-3.0` serve a curated voice set only (`beatrice_32`, `dominic_32`, `edmund_32`, `geffen_32`, `harper_32`, `hugh_32`, `imogen_32`, `wyatt_32`), so pairing them with a classic catalog voice like `george` failed with an API error. ([#19415](https://github.com/mastra-ai/mastra/pull/19415))
26
+ - Added the curated Simba 3 voices to the voice list, so they type-check as `speaker` and appear in `getSpeakers()`
27
+ - The default speaker now follows the configured model: `harper_32` for Simba 3 models, `george` otherwise
28
+
29
+ ```typescript
30
+ import { SpeechifyVoice } from '@mastra/voice-speechify';
31
+
32
+ // Works out of the box now — defaults to the harper_32 voice
33
+ const voice = new SpeechifyVoice({
34
+ speechModel: { name: 'simba-3.2' },
35
+ });
36
+
37
+ // Or pick a curated voice explicitly
38
+ new SpeechifyVoice({
39
+ speechModel: { name: 'simba-3.2' },
40
+ speaker: 'imogen_32',
41
+ });
42
+ ```
43
+
44
+ When overriding the model per request, pass a matching speaker too: `voice.speak('Hi', { model: 'simba-3.2', speaker: 'harper_32' })`.
45
+
3
46
  ## 0.14.0-alpha.0
4
47
 
5
48
  ### Minor Changes
@@ -3,7 +3,7 @@ name: mastra-voice-speechify
3
3
  description: Documentation for @mastra/voice-speechify. Use when working with @mastra/voice-speechify APIs, configuration, or implementation.
4
4
  metadata:
5
5
  package: "@mastra/voice-speechify"
6
- version: "0.14.0-alpha.0"
6
+ version: "0.14.0"
7
7
  ---
8
8
 
9
9
  ## When to use
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.14.0-alpha.0",
2
+ "version": "0.14.0",
3
3
  "package": "@mastra/voice-speechify",
4
4
  "exports": {},
5
5
  "modules": {}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/voice-speechify",
3
- "version": "0.14.0-alpha.0",
3
+ "version": "0.14.0",
4
4
  "description": "Mastra Speechify voice integration",
5
5
  "type": "module",
6
6
  "files": [
@@ -27,7 +27,7 @@
27
27
  "@speechify/api-sdk": "^2.5.4"
28
28
  },
29
29
  "devDependencies": {
30
- "@types/node": "22.19.21",
30
+ "@types/node": "22.20.1",
31
31
  "@vitest/coverage-v8": "4.1.10",
32
32
  "@vitest/ui": "4.1.10",
33
33
  "eslint": "^10.4.1",
@@ -35,9 +35,9 @@
35
35
  "tsx": "^4.22.4",
36
36
  "typescript": "^6.0.3",
37
37
  "vitest": "4.1.10",
38
- "@internal/lint": "0.0.113",
39
- "@internal/voice": "0.0.13",
40
- "@internal/types-builder": "0.0.88"
38
+ "@internal/lint": "0.0.114",
39
+ "@internal/voice": "0.0.14",
40
+ "@internal/types-builder": "0.0.89"
41
41
  },
42
42
  "peerDependencies": {
43
43
  "zod": "^3.25.0 || ^4.0.0"