@openclaw/fish-audio-speech 2026.10.1-beta.2 → 2026.10.5-beta.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.
- package/dist/speech-provider.js +19 -27
- package/package.json +4 -4
package/dist/speech-provider.js
CHANGED
|
@@ -121,36 +121,28 @@ function parseDirectiveToken(ctx) {
|
|
|
121
121
|
};
|
|
122
122
|
}
|
|
123
123
|
case "speed":
|
|
124
|
-
case "fish_speed":
|
|
125
|
-
ctx,
|
|
126
|
-
overrideKey: "speed",
|
|
127
|
-
range: {
|
|
128
|
-
min: .5,
|
|
129
|
-
max: 2
|
|
130
|
-
},
|
|
131
|
-
warning: (value) => `invalid Fish Audio speed "${value}"`
|
|
132
|
-
});
|
|
124
|
+
case "fish_speed":
|
|
133
125
|
case "temperature":
|
|
134
|
-
case "fish_temperature":
|
|
135
|
-
ctx,
|
|
136
|
-
overrideKey: "temperature",
|
|
137
|
-
range: {
|
|
138
|
-
min: 0,
|
|
139
|
-
max: 1
|
|
140
|
-
},
|
|
141
|
-
warning: (value) => `invalid Fish Audio temperature "${value}"`
|
|
142
|
-
});
|
|
126
|
+
case "fish_temperature":
|
|
143
127
|
case "top_p":
|
|
144
128
|
case "topp":
|
|
145
|
-
case "fish_top_p":
|
|
146
|
-
ctx
|
|
147
|
-
overrideKey
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
129
|
+
case "fish_top_p": {
|
|
130
|
+
const setting = ctx.key.replace(/^fish_/, "");
|
|
131
|
+
const overrideKey = setting === "top_p" || setting === "topp" ? "topP" : setting;
|
|
132
|
+
const label = overrideKey === "topP" ? "top_p" : overrideKey;
|
|
133
|
+
return parseSpeechDirectiveNumberOverride({
|
|
134
|
+
ctx,
|
|
135
|
+
overrideKey,
|
|
136
|
+
range: overrideKey === "speed" ? {
|
|
137
|
+
min: .5,
|
|
138
|
+
max: 2
|
|
139
|
+
} : {
|
|
140
|
+
min: 0,
|
|
141
|
+
max: 1
|
|
142
|
+
},
|
|
143
|
+
warning: (value) => `invalid Fish Audio ${label} "${value}"`
|
|
144
|
+
});
|
|
145
|
+
}
|
|
154
146
|
case "latency":
|
|
155
147
|
case "fish_latency":
|
|
156
148
|
if (!ctx.policy.allowVoiceSettings) return { handled: true };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/fish-audio-speech",
|
|
3
|
-
"version": "2026.10.
|
|
3
|
+
"version": "2026.10.5-beta.1",
|
|
4
4
|
"description": "OpenClaw Fish Audio speech plugin.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -18,10 +18,10 @@
|
|
|
18
18
|
"minHostVersion": ">=2026.7.2"
|
|
19
19
|
},
|
|
20
20
|
"compat": {
|
|
21
|
-
"pluginApi": ">=2026.10.
|
|
21
|
+
"pluginApi": ">=2026.10.5-beta.1"
|
|
22
22
|
},
|
|
23
23
|
"build": {
|
|
24
|
-
"openclawVersion": "2026.10.
|
|
24
|
+
"openclawVersion": "2026.10.5-beta.1",
|
|
25
25
|
"bundledDist": false
|
|
26
26
|
},
|
|
27
27
|
"release": {
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"assets/activity.svg"
|
|
41
41
|
],
|
|
42
42
|
"peerDependencies": {
|
|
43
|
-
"openclaw": ">=2026.10.
|
|
43
|
+
"openclaw": ">=2026.10.5-beta.1"
|
|
44
44
|
},
|
|
45
45
|
"peerDependenciesMeta": {
|
|
46
46
|
"openclaw": {
|