@openclaw/voice-call 2026.2.14 → 2026.2.15

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,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 2026.2.15
4
+
5
+ ### Changes
6
+
7
+ - Version alignment with core OpenClaw release numbers.
8
+
3
9
  ## 2026.2.14
4
10
 
5
11
  ### Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openclaw/voice-call",
3
- "version": "2026.2.14",
3
+ "version": "2026.2.15",
4
4
  "description": "OpenClaw voice-call plugin",
5
5
  "type": "module",
6
6
  "dependencies": {
package/src/config.ts CHANGED
@@ -1,3 +1,9 @@
1
+ import {
2
+ TtsAutoSchema,
3
+ TtsConfigSchema,
4
+ TtsModeSchema,
5
+ TtsProviderSchema,
6
+ } from "openclaw/plugin-sdk";
1
7
  import { z } from "zod";
2
8
 
3
9
  // -----------------------------------------------------------------------------
@@ -77,81 +83,7 @@ export const SttConfigSchema = z
77
83
  .default({ provider: "openai", model: "whisper-1" });
78
84
  export type SttConfig = z.infer<typeof SttConfigSchema>;
79
85
 
80
- export const TtsProviderSchema = z.enum(["openai", "elevenlabs", "edge"]);
81
- export const TtsModeSchema = z.enum(["final", "all"]);
82
- export const TtsAutoSchema = z.enum(["off", "always", "inbound", "tagged"]);
83
-
84
- export const TtsConfigSchema = z
85
- .object({
86
- auto: TtsAutoSchema.optional(),
87
- enabled: z.boolean().optional(),
88
- mode: TtsModeSchema.optional(),
89
- provider: TtsProviderSchema.optional(),
90
- summaryModel: z.string().optional(),
91
- modelOverrides: z
92
- .object({
93
- enabled: z.boolean().optional(),
94
- allowText: z.boolean().optional(),
95
- allowProvider: z.boolean().optional(),
96
- allowVoice: z.boolean().optional(),
97
- allowModelId: z.boolean().optional(),
98
- allowVoiceSettings: z.boolean().optional(),
99
- allowNormalization: z.boolean().optional(),
100
- allowSeed: z.boolean().optional(),
101
- })
102
- .strict()
103
- .optional(),
104
- elevenlabs: z
105
- .object({
106
- apiKey: z.string().optional(),
107
- baseUrl: z.string().optional(),
108
- voiceId: z.string().optional(),
109
- modelId: z.string().optional(),
110
- seed: z.number().int().min(0).max(4294967295).optional(),
111
- applyTextNormalization: z.enum(["auto", "on", "off"]).optional(),
112
- languageCode: z.string().optional(),
113
- voiceSettings: z
114
- .object({
115
- stability: z.number().min(0).max(1).optional(),
116
- similarityBoost: z.number().min(0).max(1).optional(),
117
- style: z.number().min(0).max(1).optional(),
118
- useSpeakerBoost: z.boolean().optional(),
119
- speed: z.number().min(0.5).max(2).optional(),
120
- })
121
- .strict()
122
- .optional(),
123
- })
124
- .strict()
125
- .optional(),
126
- openai: z
127
- .object({
128
- apiKey: z.string().optional(),
129
- model: z.string().optional(),
130
- voice: z.string().optional(),
131
- })
132
- .strict()
133
- .optional(),
134
- edge: z
135
- .object({
136
- enabled: z.boolean().optional(),
137
- voice: z.string().optional(),
138
- lang: z.string().optional(),
139
- outputFormat: z.string().optional(),
140
- pitch: z.string().optional(),
141
- rate: z.string().optional(),
142
- volume: z.string().optional(),
143
- saveSubtitles: z.boolean().optional(),
144
- proxy: z.string().optional(),
145
- timeoutMs: z.number().int().min(1000).max(120000).optional(),
146
- })
147
- .strict()
148
- .optional(),
149
- prefsPath: z.string().optional(),
150
- maxTextLength: z.number().int().min(1).optional(),
151
- timeoutMs: z.number().int().min(1000).max(120000).optional(),
152
- })
153
- .strict()
154
- .optional();
86
+ export { TtsAutoSchema, TtsConfigSchema, TtsModeSchema, TtsProviderSchema };
155
87
  export type VoiceCallTtsConfig = z.infer<typeof TtsConfigSchema>;
156
88
 
157
89
  // -----------------------------------------------------------------------------