@openclaw/gradium-speech 2026.10.10-beta.4 → 2026.10.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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"entries":[{"output":"capability-catalog.js","source":"extensions/gradium/capability-catalog.ts"},{"output":"index.js","source":"extensions/gradium/index.ts"},{"output":"shared.js","source":"extensions/gradium/shared.ts"},{"output":"speech-provider.js","source":"extensions/gradium/speech-provider.ts"},{"output":"tts.js","source":"extensions/gradium/tts.ts"}],"chunks":[{"output":"capability-catalog.js","sha256":"
|
|
1
|
+
{"version":3,"entries":[{"output":"capability-catalog.js","source":"extensions/gradium/capability-catalog.ts"},{"output":"index.js","source":"extensions/gradium/index.ts"},{"output":"shared.js","source":"extensions/gradium/shared.ts"},{"output":"speech-provider.js","source":"extensions/gradium/speech-provider.ts"},{"output":"tts.js","source":"extensions/gradium/tts.ts"}],"chunks":[{"output":"capability-catalog.js","sha256":"5ddc1747cdde80f557e1ce5d273c88c2668a141b290eb9a43d1d06c8e206eb88","facadeSource":"extensions/gradium/capability-catalog.ts","sources":["extensions/gradium/capability-catalog.ts"]},{"output":"index.js","sha256":"716ea84c7bf4116260078f849ef1d9b9a6bc3195143c7d546f1910269377fd83","facadeSource":"extensions/gradium/index.ts","sources":["extensions/gradium/index.ts"]},{"output":"shared.js","sha256":"ae79796b5997262559e6cc66b5f28ae8b1234c9c0b11375d2d4791e5c47ee932","facadeSource":"extensions/gradium/shared.ts","sources":["extensions/gradium/shared.ts"]},{"output":"speech-provider.js","sha256":"4056fdaed6e311916ded412b0a12cda02c0c381d612b05989b2c7d68cb9bfbf1","facadeSource":"extensions/gradium/speech-provider.ts","sources":["extensions/gradium/speech-provider.ts"]},{"output":"tts.js","sha256":"4ac8dfce1d00d13ef4d79e80b78e79205b2d17f1018288e640feccbc7e4f43b7","facadeSource":"extensions/gradium/tts.ts","sources":["extensions/gradium/tts.ts"]}],"unrenderedSources":[]}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { buildGradiumSpeechProvider } from "./speech-provider.js";
|
|
2
|
-
|
|
2
|
+
// extensions/gradium/capability-catalog.ts
|
|
3
3
|
var capability_catalog_default = { speechProviders: [buildGradiumSpeechProvider()] };
|
|
4
|
-
//#endregion
|
|
5
4
|
export { capability_catalog_default as default };
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { buildGradiumSpeechProvider } from "./speech-provider.js";
|
|
2
2
|
import { definePluginEntry } from "openclaw/plugin-sdk/plugin-entry";
|
|
3
|
-
|
|
3
|
+
// extensions/gradium/index.ts
|
|
4
4
|
var gradium_default = definePluginEntry({
|
|
5
5
|
id: "gradium",
|
|
6
6
|
name: "Gradium Speech",
|
|
@@ -9,5 +9,4 @@ var gradium_default = definePluginEntry({
|
|
|
9
9
|
api.registerSpeechProvider(buildGradiumSpeechProvider());
|
|
10
10
|
}
|
|
11
11
|
});
|
|
12
|
-
//#endregion
|
|
13
12
|
export { gradium_default as default };
|
package/dist/shared.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// extensions/gradium/shared.ts
|
|
2
2
|
const DEFAULT_GRADIUM_BASE_URL = "https://api.gradium.ai";
|
|
3
3
|
const GRADIUM_API_HOSTNAME = "api.gradium.ai";
|
|
4
4
|
const DEFAULT_GRADIUM_VOICE_ID = "YTpq7expH9539ERJ";
|
|
@@ -44,5 +44,4 @@ function normalizeGradiumBaseUrl(baseUrl) {
|
|
|
44
44
|
if (url.hostname.toLowerCase() !== "api.gradium.ai") throw new Error("Gradium baseUrl must target api.gradium.ai");
|
|
45
45
|
return url.toString().replace(/\/+$/, "");
|
|
46
46
|
}
|
|
47
|
-
//#endregion
|
|
48
47
|
export { DEFAULT_GRADIUM_VOICE_ID, GRADIUM_API_HOSTNAME, GRADIUM_VOICES, normalizeGradiumBaseUrl };
|
package/dist/speech-provider.js
CHANGED
|
@@ -3,7 +3,7 @@ import { gradiumTTS } from "./tts.js";
|
|
|
3
3
|
import { normalizeResolvedSecretInputString } from "openclaw/plugin-sdk/secret-input";
|
|
4
4
|
import { resolveSpeechProviderApiKey } from "openclaw/plugin-sdk/speech-provider";
|
|
5
5
|
import { asOptionalRecord, normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
6
|
-
|
|
6
|
+
// extensions/gradium/speech-provider.ts
|
|
7
7
|
function normalizeGradiumProviderConfig(rawConfig) {
|
|
8
8
|
const providers = asOptionalRecord(rawConfig.providers);
|
|
9
9
|
const raw = asOptionalRecord(providers?.gradium) ?? asOptionalRecord(rawConfig.gradium);
|
|
@@ -97,5 +97,4 @@ function buildGradiumSpeechProvider() {
|
|
|
97
97
|
})
|
|
98
98
|
};
|
|
99
99
|
}
|
|
100
|
-
//#endregion
|
|
101
100
|
export { buildGradiumSpeechProvider };
|
package/dist/tts.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { GRADIUM_API_HOSTNAME, normalizeGradiumBaseUrl } from "./shared.js";
|
|
2
|
-
|
|
2
|
+
// extensions/gradium/tts.ts
|
|
3
3
|
const DEFAULT_TTS_MAX_BYTES = 16777216;
|
|
4
4
|
async function gradiumTTS(params) {
|
|
5
5
|
const { text, apiKey, baseUrl, voiceId, outputFormat, timeoutMs, maxBytes = DEFAULT_TTS_MAX_BYTES } = params;
|
|
@@ -37,5 +37,4 @@ async function gradiumTTS(params) {
|
|
|
37
37
|
await release();
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
|
-
//#endregion
|
|
41
40
|
export { gradiumTTS };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/gradium-speech",
|
|
3
|
-
"version": "2026.10.10
|
|
3
|
+
"version": "2026.10.10",
|
|
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.10.10
|
|
21
|
+
"pluginApi": ">=2026.10.10"
|
|
22
22
|
},
|
|
23
23
|
"build": {
|
|
24
|
-
"openclawVersion": "2026.10.10
|
|
24
|
+
"openclawVersion": "2026.10.10",
|
|
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.10
|
|
43
|
+
"openclaw": ">=2026.10.10"
|
|
44
44
|
},
|
|
45
45
|
"peerDependenciesMeta": {
|
|
46
46
|
"openclaw": {
|