@openclaw/vydra-provider 2026.11.6 → 2026.11.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/.source-module-urls/ca43e6b554b0372046b2e115095f26bfd38e458e7cd5198b9a164d92f8eb752a.json +1 -1
- package/dist/capability-catalog.js +1 -2
- package/dist/defaults.js +1 -2
- package/dist/index.js +1 -2
- package/dist/shared.js +1 -2
- package/dist/speech-provider.js +2 -3
- package/package.json +4 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"entries":[{"output":"capability-catalog.js","source":"extensions/vydra/capability-catalog.ts"},{"output":"defaults.js","source":"extensions/vydra/defaults.ts"},{"output":"index.js","source":"extensions/vydra/index.ts"},{"output":"shared.js","source":"extensions/vydra/shared.ts"},{"output":"speech-provider.js","source":"extensions/vydra/speech-provider.ts"}],"chunks":[{"output":"capability-catalog.js","sha256":"
|
|
1
|
+
{"version":3,"entries":[{"output":"capability-catalog.js","source":"extensions/vydra/capability-catalog.ts"},{"output":"defaults.js","source":"extensions/vydra/defaults.ts"},{"output":"index.js","source":"extensions/vydra/index.ts"},{"output":"shared.js","source":"extensions/vydra/shared.ts"},{"output":"speech-provider.js","source":"extensions/vydra/speech-provider.ts"}],"chunks":[{"output":"capability-catalog.js","sha256":"c0c31bd1d174b72f836efe230fe07dd689d977ac52fdfb8ed0b8cb6aff38cc1d","facadeSource":"extensions/vydra/capability-catalog.ts","sources":["extensions/vydra/capability-catalog.ts"]},{"output":"defaults.js","sha256":"75a8fef3a463172d9403acdddbaa50913febcc4a2d325602950d84dbd2f52f81","facadeSource":"extensions/vydra/defaults.ts","sources":["extensions/vydra/defaults.ts"]},{"output":"index.js","sha256":"85528e5c1458586abd6bf678dfb222a8938728eab5a151b6e7dbfe8fe327c514","facadeSource":"extensions/vydra/index.ts","sources":["extensions/vydra/index.ts"]},{"output":"shared.js","sha256":"d101a7c39f03d7531f12c2a98af77052e979983f26958d6edd91b2b5b944b248","facadeSource":"extensions/vydra/shared.ts","sources":["extensions/vydra/shared.ts"]},{"output":"speech-provider.js","sha256":"7021031a7db3e4b8906055202c0ea5bddda796f0cfe363201836704f07787a18","facadeSource":"extensions/vydra/speech-provider.ts","sources":["extensions/vydra/speech-provider.ts"]}],"unrenderedSources":[]}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { buildVydraSpeechProvider } from "./speech-provider.js";
|
|
2
|
-
|
|
2
|
+
// extensions/vydra/capability-catalog.ts
|
|
3
3
|
var capability_catalog_default = { speechProviders: [buildVydraSpeechProvider()] };
|
|
4
|
-
//#endregion
|
|
5
4
|
export { capability_catalog_default as default };
|
package/dist/defaults.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
2
|
-
|
|
2
|
+
// extensions/vydra/defaults.ts
|
|
3
3
|
const DEFAULT_VYDRA_BASE_URL = "https://www.vydra.ai/api/v1";
|
|
4
4
|
const DEFAULT_VYDRA_IMAGE_MODEL = "grok-imagine";
|
|
5
5
|
const DEFAULT_VYDRA_VIDEO_MODEL = "veo3";
|
|
@@ -13,5 +13,4 @@ function normalizeVydraBaseUrl(value) {
|
|
|
13
13
|
url.pathname = url.pathname.replace(/\/+$/u, "") || "/api/v1";
|
|
14
14
|
return url.toString().replace(/\/$/u, "");
|
|
15
15
|
}
|
|
16
|
-
//#endregion
|
|
17
16
|
export { DEFAULT_VYDRA_BASE_URL, DEFAULT_VYDRA_IMAGE_MODEL, DEFAULT_VYDRA_SPEECH_MODEL, DEFAULT_VYDRA_VIDEO_MODEL, DEFAULT_VYDRA_VOICE_ID, normalizeVydraBaseUrl };
|
package/dist/index.js
CHANGED
|
@@ -5,7 +5,7 @@ import { definePluginEntry } from "openclaw/plugin-sdk/plugin-entry";
|
|
|
5
5
|
import { isProviderApiKeyConfiguredAsync } from "openclaw/plugin-sdk/provider-auth";
|
|
6
6
|
import { createProviderApiKeyAuthMethod } from "openclaw/plugin-sdk/provider-auth-api-key";
|
|
7
7
|
import { applyAgentDefaultMediaModel } from "openclaw/plugin-sdk/provider-onboard";
|
|
8
|
-
|
|
8
|
+
// extensions/vydra/index.ts
|
|
9
9
|
const PROVIDER_ID = "vydra";
|
|
10
10
|
const VYDRA_KLING_MODEL = "kling";
|
|
11
11
|
const DEFAULT_VYDRA_VIDEO_TIMEOUT_MS = 12e4;
|
|
@@ -145,5 +145,4 @@ var vydra_default = definePluginEntry({
|
|
|
145
145
|
});
|
|
146
146
|
}
|
|
147
147
|
});
|
|
148
|
-
//#endregion
|
|
149
148
|
export { vydra_default as default };
|
package/dist/shared.js
CHANGED
|
@@ -4,7 +4,7 @@ import { resolveGeneratedImageDownloadMaxBytes, resolveGeneratedMediaMaxBytes }
|
|
|
4
4
|
import { extensionForMime } from "openclaw/plugin-sdk/media-mime";
|
|
5
5
|
import { resolvePositiveTimerTimeoutMs } from "openclaw/plugin-sdk/number-runtime";
|
|
6
6
|
import { assertOkOrThrowHttpError, createProviderOperationDeadline, createProviderOperationTimeoutError, createProviderOperationTimeoutResolver, fetchWithTimeoutGuarded, pollProviderOperationJson, postJsonResponse, readProviderBinaryResponse, resolveProviderApiKeyHttpRequestConfig, resolveProviderOperationTimeoutMs, sanitizeConfiguredModelProviderRequest } from "openclaw/plugin-sdk/provider-http";
|
|
7
|
-
|
|
7
|
+
// extensions/vydra/shared.ts
|
|
8
8
|
const DEFAULT_HTTP_TIMEOUT_MS = 12e4;
|
|
9
9
|
const POLL_INTERVAL_MS = 2500;
|
|
10
10
|
const MAX_POLL_ATTEMPTS = 120;
|
|
@@ -203,5 +203,4 @@ async function runVydraGeneration(params) {
|
|
|
203
203
|
status: resolveVydraResponseStatus(completedPayload) ?? "completed"
|
|
204
204
|
};
|
|
205
205
|
}
|
|
206
|
-
//#endregion
|
|
207
206
|
export { downloadVydraAsset, extractVydraResultUrls, runVydraGeneration };
|
package/dist/speech-provider.js
CHANGED
|
@@ -2,7 +2,7 @@ import { DEFAULT_VYDRA_BASE_URL, DEFAULT_VYDRA_SPEECH_MODEL, DEFAULT_VYDRA_VOICE
|
|
|
2
2
|
import { asOptionalRecord, normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
3
3
|
import { normalizeResolvedSecretInputString } from "openclaw/plugin-sdk/secret-input";
|
|
4
4
|
import { resolveSpeechProviderApiKey } from "openclaw/plugin-sdk/speech-provider";
|
|
5
|
-
|
|
5
|
+
// extensions/vydra/speech-provider.ts
|
|
6
6
|
const VYDRA_SPEECH_VOICES = [{
|
|
7
7
|
id: DEFAULT_VYDRA_VOICE_ID,
|
|
8
8
|
name: "Rachel"
|
|
@@ -28,7 +28,7 @@ function readVydraSpeechConfig(config) {
|
|
|
28
28
|
};
|
|
29
29
|
}
|
|
30
30
|
function buildVydraSpeechProvider() {
|
|
31
|
-
const isConfigured = ({ providerConfig }) => Boolean(resolveSpeechProviderApiKey(
|
|
31
|
+
const isConfigured = ({ providerConfig }) => Boolean(resolveSpeechProviderApiKey(normalizeOptionalString(providerConfig.apiKey), process.env.VYDRA_API_KEY));
|
|
32
32
|
return {
|
|
33
33
|
id: "vydra",
|
|
34
34
|
label: "Vydra",
|
|
@@ -95,5 +95,4 @@ function buildVydraSpeechProvider() {
|
|
|
95
95
|
}
|
|
96
96
|
};
|
|
97
97
|
}
|
|
98
|
-
//#endregion
|
|
99
98
|
export { buildVydraSpeechProvider };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/vydra-provider",
|
|
3
|
-
"version": "2026.11.
|
|
3
|
+
"version": "2026.11.10-beta.1",
|
|
4
4
|
"description": "OpenClaw Vydra media 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.11.
|
|
21
|
+
"pluginApi": ">=2026.11.10-beta.1"
|
|
22
22
|
},
|
|
23
23
|
"build": {
|
|
24
|
-
"openclawVersion": "2026.11.
|
|
24
|
+
"openclawVersion": "2026.11.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.11.
|
|
43
|
+
"openclaw": ">=2026.11.10-beta.1"
|
|
44
44
|
},
|
|
45
45
|
"peerDependenciesMeta": {
|
|
46
46
|
"openclaw": {
|