@openclaw/voice-call 2026.3.7 → 2026.3.10

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,29 @@
1
1
  # Changelog
2
2
 
3
+ ## 2026.3.10
4
+
5
+ ### Changes
6
+
7
+ - Version alignment with core OpenClaw release numbers.
8
+
9
+ ## 2026.3.9
10
+
11
+ ### Changes
12
+
13
+ - Version alignment with core OpenClaw release numbers.
14
+
15
+ ## 2026.3.8-beta.1
16
+
17
+ ### Changes
18
+
19
+ - Version alignment with core OpenClaw release numbers.
20
+
21
+ ## 2026.3.8
22
+
23
+ ### Changes
24
+
25
+ - Version alignment with core OpenClaw release numbers.
26
+
3
27
  ## 2026.3.7
4
28
 
5
29
  ### Changes
@@ -522,11 +522,22 @@
522
522
  "apiKey": {
523
523
  "type": "string"
524
524
  },
525
+ "baseUrl": {
526
+ "type": "string"
527
+ },
525
528
  "model": {
526
529
  "type": "string"
527
530
  },
528
531
  "voice": {
529
532
  "type": "string"
533
+ },
534
+ "speed": {
535
+ "type": "number",
536
+ "minimum": 0.25,
537
+ "maximum": 4.0
538
+ },
539
+ "instructions": {
540
+ "type": "string"
530
541
  }
531
542
  }
532
543
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openclaw/voice-call",
3
- "version": "2026.3.7",
3
+ "version": "2026.3.10",
4
4
  "description": "OpenClaw voice-call plugin",
5
5
  "type": "module",
6
6
  "dependencies": {
@@ -1,3 +1,4 @@
1
+ import { resolveOpenAITtsInstructions } from "openclaw/plugin-sdk/voice-call";
1
2
  import { pcmToMulaw } from "../telephony-audio.js";
2
3
 
3
4
  /**
@@ -110,9 +111,11 @@ export class OpenAITTSProvider {
110
111
  speed: this.speed,
111
112
  };
112
113
 
113
- // Add instructions if using gpt-4o-mini-tts model
114
- const effectiveInstructions = trimToUndefined(instructions) ?? this.instructions;
115
- if (effectiveInstructions && this.model.includes("gpt-4o-mini-tts")) {
114
+ const effectiveInstructions = resolveOpenAITtsInstructions(
115
+ this.model,
116
+ trimToUndefined(instructions) ?? this.instructions,
117
+ );
118
+ if (effectiveInstructions) {
116
119
  body.instructions = effectiveInstructions;
117
120
  }
118
121