@openclaw/inworld-speech 2026.9.1-beta.1 → 2026.9.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 +2 -1
- package/dist/tts.js +3 -2
- package/package.json +4 -4
package/dist/speech-provider.js
CHANGED
|
@@ -11,7 +11,8 @@ function normalizeInworldTemperature(value) {
|
|
|
11
11
|
});
|
|
12
12
|
}
|
|
13
13
|
function normalizeInworldProviderConfig(rawConfig) {
|
|
14
|
-
const
|
|
14
|
+
const providers = asOptionalRecord(rawConfig.providers);
|
|
15
|
+
const raw = asOptionalRecord(providers?.inworld) ?? asOptionalRecord(rawConfig.inworld);
|
|
15
16
|
return {
|
|
16
17
|
apiKey: normalizeResolvedSecretInputString({
|
|
17
18
|
value: raw?.apiKey,
|
package/dist/tts.js
CHANGED
|
@@ -9,7 +9,7 @@ const DEFAULT_INWORLD_MODEL_ID = "inworld-tts-1.5-max";
|
|
|
9
9
|
const INWORLD_TTS_BODY_MAX_BYTES = MAX_AUDIO_BYTES * 2;
|
|
10
10
|
const INWORLD_VOICES_BODY_MAX_BYTES = MAX_AUDIO_BYTES;
|
|
11
11
|
const INWORLD_UPSTREAM_IDLE_TIMEOUT_MS = 3e4;
|
|
12
|
-
const INWORLD_ERROR_BODY_MAX_BYTES =
|
|
12
|
+
const INWORLD_ERROR_BODY_MAX_BYTES = 8192;
|
|
13
13
|
const INWORLD_ERROR_BODY_MAX_CHARS = 400;
|
|
14
14
|
const INWORLD_ERROR_BODY_READ_IDLE_TIMEOUT_MS = 1e4;
|
|
15
15
|
var InworldErrorBodyOverflow = class extends Error {};
|
|
@@ -128,8 +128,9 @@ async function inworldTTS(params) {
|
|
|
128
128
|
}
|
|
129
129
|
async function listInworldVoices(params) {
|
|
130
130
|
const baseUrl = normalizeInworldBaseUrl(params.baseUrl);
|
|
131
|
+
const url = `${baseUrl}/voices/v1/voices${params.language ? `?languages=${encodeURIComponent(params.language)}` : ""}`;
|
|
131
132
|
const { response, release } = await fetchWithSsrFGuard({
|
|
132
|
-
url
|
|
133
|
+
url,
|
|
133
134
|
init: {
|
|
134
135
|
method: "GET",
|
|
135
136
|
headers: { Authorization: `Basic ${params.apiKey}` }
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/inworld-speech",
|
|
3
|
-
"version": "2026.9.1
|
|
3
|
+
"version": "2026.9.1",
|
|
4
4
|
"description": "OpenClaw Inworld 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.9.1
|
|
21
|
+
"pluginApi": ">=2026.9.1"
|
|
22
22
|
},
|
|
23
23
|
"build": {
|
|
24
|
-
"openclawVersion": "2026.9.1
|
|
24
|
+
"openclawVersion": "2026.9.1",
|
|
25
25
|
"bundledDist": false
|
|
26
26
|
},
|
|
27
27
|
"release": {
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"README.md"
|
|
39
39
|
],
|
|
40
40
|
"peerDependencies": {
|
|
41
|
-
"openclaw": ">=2026.9.1
|
|
41
|
+
"openclaw": ">=2026.9.1"
|
|
42
42
|
},
|
|
43
43
|
"peerDependenciesMeta": {
|
|
44
44
|
"openclaw": {
|