@openclaw/vydra-provider 2026.11.5-beta.1 → 2026.11.5-beta.3
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 +2 -1
- package/dist/defaults.js +2 -1
- package/dist/index.js +2 -1
- package/dist/shared.js +2 -1
- package/dist/speech-provider.js +2 -1
- 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":"0f526119b1d06457b1da019d2715dcfe38aa3669f14d49c10d3149896eefc6f2","facadeSource":"extensions/vydra/capability-catalog.ts","sources":["extensions/vydra/capability-catalog.ts"]},{"output":"defaults.js","sha256":"7bfabc9c60df0ebd7036ff8ad11019e6a703a3a04683d1f8c63d6ad0554a3f8a","facadeSource":"extensions/vydra/defaults.ts","sources":["extensions/vydra/defaults.ts"]},{"output":"index.js","sha256":"8e28b554cf58217723411b7701065f8aec0cace9386a721a4ddb3e66f1633d92","facadeSource":"extensions/vydra/index.ts","sources":["extensions/vydra/index.ts"]},{"output":"shared.js","sha256":"51208924aa99c343963816ee9195457c482dd1a3c2b2cf955ef027c3d40071bf","facadeSource":"extensions/vydra/shared.ts","sources":["extensions/vydra/shared.ts"]},{"output":"speech-provider.js","sha256":"100db0a80d9e8e2b7878750a2960a36b4154916a904079c08d072245210bd6e2","facadeSource":"extensions/vydra/speech-provider.ts","sources":["extensions/vydra/speech-provider.ts"]}],"unrenderedSources":[]}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { buildVydraSpeechProvider } from "./speech-provider.js";
|
|
2
|
-
|
|
2
|
+
//#region extensions/vydra/capability-catalog.ts
|
|
3
3
|
var capability_catalog_default = { speechProviders: [buildVydraSpeechProvider()] };
|
|
4
|
+
//#endregion
|
|
4
5
|
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
|
+
//#region 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,4 +13,5 @@ function normalizeVydraBaseUrl(value) {
|
|
|
13
13
|
url.pathname = url.pathname.replace(/\/+$/u, "") || "/api/v1";
|
|
14
14
|
return url.toString().replace(/\/$/u, "");
|
|
15
15
|
}
|
|
16
|
+
//#endregion
|
|
16
17
|
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
|
+
//#region 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,4 +145,5 @@ var vydra_default = definePluginEntry({
|
|
|
145
145
|
});
|
|
146
146
|
}
|
|
147
147
|
});
|
|
148
|
+
//#endregion
|
|
148
149
|
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
|
+
//#region 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,4 +203,5 @@ async function runVydraGeneration(params) {
|
|
|
203
203
|
status: resolveVydraResponseStatus(completedPayload) ?? "completed"
|
|
204
204
|
};
|
|
205
205
|
}
|
|
206
|
+
//#endregion
|
|
206
207
|
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
|
+
//#region extensions/vydra/speech-provider.ts
|
|
6
6
|
const VYDRA_SPEECH_VOICES = [{
|
|
7
7
|
id: DEFAULT_VYDRA_VOICE_ID,
|
|
8
8
|
name: "Rachel"
|
|
@@ -95,4 +95,5 @@ function buildVydraSpeechProvider() {
|
|
|
95
95
|
}
|
|
96
96
|
};
|
|
97
97
|
}
|
|
98
|
+
//#endregion
|
|
98
99
|
export { buildVydraSpeechProvider };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/vydra-provider",
|
|
3
|
-
"version": "2026.11.5-beta.
|
|
3
|
+
"version": "2026.11.5-beta.3",
|
|
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.5-beta.
|
|
21
|
+
"pluginApi": ">=2026.11.5-beta.3"
|
|
22
22
|
},
|
|
23
23
|
"build": {
|
|
24
|
-
"openclawVersion": "2026.11.5-beta.
|
|
24
|
+
"openclawVersion": "2026.11.5-beta.3",
|
|
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.5-beta.
|
|
43
|
+
"openclaw": ">=2026.11.5-beta.3"
|
|
44
44
|
},
|
|
45
45
|
"peerDependenciesMeta": {
|
|
46
46
|
"openclaw": {
|