@openclaw/volcengine-provider 2026.10.5-beta.4 → 2026.10.10-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/models.js +1 -2
- package/dist/speech-provider.js +7 -5
- package/package.json +4 -4
package/dist/models.js
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { DOUBAO_BASE_URL, DOUBAO_CODING_BASE_URL, DOUBAO_CODING_MODEL_CATALOG, DOUBAO_MODEL_CATALOG, VOLCENGINE_PROVIDER_CATALOG };
|
|
1
|
+
export { t as DOUBAO_BASE_URL, n as DOUBAO_CODING_BASE_URL, r as DOUBAO_CODING_MODEL_CATALOG, i as DOUBAO_MODEL_CATALOG, a as VOLCENGINE_PROVIDER_CATALOG } from "./.setup/models-BWaO4fQH.mjs";
|
package/dist/speech-provider.js
CHANGED
|
@@ -100,6 +100,11 @@ function parseDirectiveToken(ctx) {
|
|
|
100
100
|
}
|
|
101
101
|
}
|
|
102
102
|
function buildVolcengineSpeechProvider() {
|
|
103
|
+
const isConfigured = ({ providerConfig }) => {
|
|
104
|
+
const cfg = readProviderConfig(providerConfig);
|
|
105
|
+
const legacy = resolveLegacyVolcengineCredentials(cfg);
|
|
106
|
+
return Boolean(resolveSeedSpeechApiKey(cfg.apiKey) || legacy.appId && legacy.token);
|
|
107
|
+
};
|
|
103
108
|
return {
|
|
104
109
|
id: "volcengine",
|
|
105
110
|
label: "Volcengine",
|
|
@@ -114,11 +119,8 @@ function buildVolcengineSpeechProvider() {
|
|
|
114
119
|
locale: v.startsWith("en_") ? "en-US" : "zh-CN",
|
|
115
120
|
gender: v.includes("_female_") ? "female" : "male"
|
|
116
121
|
})),
|
|
117
|
-
isConfigured
|
|
118
|
-
|
|
119
|
-
const legacy = resolveLegacyVolcengineCredentials(cfg);
|
|
120
|
-
return Boolean(resolveSeedSpeechApiKey(cfg.apiKey) || legacy.appId && legacy.token);
|
|
121
|
-
},
|
|
122
|
+
isConfigured,
|
|
123
|
+
isConfiguredAsync: async (ctx) => isConfigured(ctx),
|
|
122
124
|
synthesize: async (req) => {
|
|
123
125
|
const cfg = readProviderConfig(req.providerConfig);
|
|
124
126
|
const overrides = req.providerOverrides;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/volcengine-provider",
|
|
3
|
-
"version": "2026.10.
|
|
3
|
+
"version": "2026.10.10-beta.1",
|
|
4
4
|
"description": "OpenClaw Volcengine provider 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.10-beta.1"
|
|
22
22
|
},
|
|
23
23
|
"build": {
|
|
24
|
-
"openclawVersion": "2026.10.
|
|
24
|
+
"openclawVersion": "2026.10.10-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.10-beta.1"
|
|
44
44
|
},
|
|
45
45
|
"peerDependenciesMeta": {
|
|
46
46
|
"openclaw": {
|