@openclaw/pixverse-provider 2026.7.2-beta.7 → 2026.8.1-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/onboard.js
CHANGED
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
import { DEFAULT_PIXVERSE_REGION, PIXVERSE_BASE_URL_BY_REGION, PIXVERSE_DEFAULT_VIDEO_MODEL_REF, PIXVERSE_PROVIDER_ID } from "./constants.js";
|
|
2
|
-
import { applyAuthProfileConfig, buildApiKeyCredential, ensureApiKeyFromOptionEnvOrPrompt, normalizeApiKeyInput, normalizeOptionalSecretInput,
|
|
2
|
+
import { applyAuthProfileConfig, buildApiKeyCredential, ensureApiKeyFromOptionEnvOrPrompt, normalizeApiKeyInput, normalizeOptionalSecretInput, upsertAuthProfileWithLockOrThrow, validateApiKeyInput } from "openclaw/plugin-sdk/provider-auth-api-key";
|
|
3
3
|
import { normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
4
4
|
//#region extensions/pixverse/onboard.ts
|
|
5
5
|
const PROFILE_ID = `${PIXVERSE_PROVIDER_ID}:default`;
|
|
6
|
-
async function upsertAuthProfileWithLockOrThrow(params) {
|
|
7
|
-
if (!await upsertAuthProfileWithLock(params)) throw new Error("Failed to update auth profile store; the auth store lock may be busy. Wait a moment and retry.");
|
|
8
|
-
}
|
|
9
6
|
function normalizePixVerseRegion(value) {
|
|
10
7
|
switch (normalizeOptionalString(value)?.toLowerCase()) {
|
|
11
8
|
case "cn":
|
|
@@ -83,6 +80,7 @@ async function runPixVerseApiKeyAuth(ctx) {
|
|
|
83
80
|
secretInputMode: ctx.allowSecretRefPrompt === false ? ctx.secretInputMode ?? "plaintext" : ctx.secretInputMode,
|
|
84
81
|
config: ctx.config,
|
|
85
82
|
env: ctx.env,
|
|
83
|
+
workspaceDir: ctx.workspaceDir,
|
|
86
84
|
expectedProviders: [PIXVERSE_PROVIDER_ID],
|
|
87
85
|
provider: PIXVERSE_PROVIDER_ID,
|
|
88
86
|
envLabel: "PIXVERSE_API_KEY",
|
|
@@ -200,9 +200,9 @@ function buildPixVerseVideoGenerationProvider() {
|
|
|
200
200
|
defaultModel: "v6",
|
|
201
201
|
defaultTimeoutMs: DEFAULT_TIMEOUT_MS,
|
|
202
202
|
models: [...PIXVERSE_VIDEO_MODELS],
|
|
203
|
-
isConfigured: (
|
|
203
|
+
isConfigured: (ctx) => isProviderApiKeyConfigured({
|
|
204
204
|
provider: PIXVERSE_PROVIDER_ID,
|
|
205
|
-
|
|
205
|
+
...ctx
|
|
206
206
|
}),
|
|
207
207
|
capabilities: {
|
|
208
208
|
generate: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/pixverse-provider",
|
|
3
|
-
"version": "2026.
|
|
3
|
+
"version": "2026.8.1-beta.3",
|
|
4
4
|
"description": "OpenClaw PixVerse video generation provider plugin.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
},
|
|
9
9
|
"type": "module",
|
|
10
10
|
"peerDependencies": {
|
|
11
|
-
"openclaw": ">=2026.
|
|
11
|
+
"openclaw": ">=2026.8.1-beta.3"
|
|
12
12
|
},
|
|
13
13
|
"peerDependenciesMeta": {
|
|
14
14
|
"openclaw": {
|
|
@@ -26,10 +26,10 @@
|
|
|
26
26
|
"minHostVersion": ">=2026.5.26"
|
|
27
27
|
},
|
|
28
28
|
"compat": {
|
|
29
|
-
"pluginApi": ">=2026.
|
|
29
|
+
"pluginApi": ">=2026.8.1-beta.3"
|
|
30
30
|
},
|
|
31
31
|
"build": {
|
|
32
|
-
"openclawVersion": "2026.
|
|
32
|
+
"openclawVersion": "2026.8.1-beta.3",
|
|
33
33
|
"bundledDist": false
|
|
34
34
|
},
|
|
35
35
|
"release": {
|