@openclaw/gradium-speech 2026.9.8 → 2026.10.1-beta.2
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 +14 -16
- package/package.json +4 -4
package/dist/speech-provider.js
CHANGED
|
@@ -50,22 +50,20 @@ function isGradiumProviderConfigured(config) {
|
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
function parseDirectiveToken(ctx) {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
default: return { handled: false };
|
|
68
|
-
}
|
|
53
|
+
if (![
|
|
54
|
+
"voice",
|
|
55
|
+
"voice_id",
|
|
56
|
+
"voiceid",
|
|
57
|
+
"gradium_voice",
|
|
58
|
+
"gradiumvoice"
|
|
59
|
+
].includes(ctx.key)) return { handled: false };
|
|
60
|
+
return ctx.policy.allowVoice ? {
|
|
61
|
+
handled: true,
|
|
62
|
+
overrides: {
|
|
63
|
+
...ctx.currentOverrides,
|
|
64
|
+
voiceId: ctx.value
|
|
65
|
+
}
|
|
66
|
+
} : { handled: true };
|
|
69
67
|
}
|
|
70
68
|
function buildGradiumSpeechProvider() {
|
|
71
69
|
return {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/gradium-speech",
|
|
3
|
-
"version": "2026.
|
|
3
|
+
"version": "2026.10.1-beta.2",
|
|
4
4
|
"description": "OpenClaw Gradium speech plugin.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -18,10 +18,10 @@
|
|
|
18
18
|
"minHostVersion": ">=2026.6.8"
|
|
19
19
|
},
|
|
20
20
|
"compat": {
|
|
21
|
-
"pluginApi": ">=2026.
|
|
21
|
+
"pluginApi": ">=2026.10.1-beta.2"
|
|
22
22
|
},
|
|
23
23
|
"build": {
|
|
24
|
-
"openclawVersion": "2026.
|
|
24
|
+
"openclawVersion": "2026.10.1-beta.2",
|
|
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.
|
|
43
|
+
"openclaw": ">=2026.10.1-beta.2"
|
|
44
44
|
},
|
|
45
45
|
"peerDependenciesMeta": {
|
|
46
46
|
"openclaw": {
|