@lingjingai/lj-awb-cli 0.5.16 → 0.5.17
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lingjingai/awb-cli-bin",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.17",
|
|
4
4
|
"description": "Standalone CLI for Lingjing AWB",
|
|
5
5
|
"private": true,
|
|
6
6
|
"license": "MIT",
|
|
@@ -13,6 +13,6 @@
|
|
|
13
13
|
"README.md"
|
|
14
14
|
],
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@lingjingai/awb-core": "0.5.
|
|
16
|
+
"@lingjingai/awb-core": "0.5.17"
|
|
17
17
|
}
|
|
18
18
|
}
|
|
@@ -4,6 +4,7 @@ import { resolveAuthContext } from './auth.js';
|
|
|
4
4
|
|
|
5
5
|
export const API_REQUEST_TIMEOUT_MS = 20_000;
|
|
6
6
|
export const API_CONNECT_TIMEOUT_MS = 20_000;
|
|
7
|
+
export const ASSET_REGISTER_TIMEOUT_MS = 60_000;
|
|
7
8
|
|
|
8
9
|
const API_DISPATCHER = new Agent({ connectTimeout: API_CONNECT_TIMEOUT_MS });
|
|
9
10
|
|
|
@@ -401,7 +402,10 @@ export async function updateAssetGroup(groupId, payload = {}) {
|
|
|
401
402
|
}
|
|
402
403
|
|
|
403
404
|
export async function registerAsset(payload = {}) {
|
|
404
|
-
return await apiFetch('/api/material/assets', {
|
|
405
|
+
return await apiFetch('/api/material/assets', {
|
|
406
|
+
body: payload,
|
|
407
|
+
timeoutMs: ASSET_REGISTER_TIMEOUT_MS,
|
|
408
|
+
});
|
|
405
409
|
}
|
|
406
410
|
|
|
407
411
|
export async function listElements(query = {}) {
|
package/skills/lj-awb/SKILL.md
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: lj-awb
|
|
3
|
-
version: 0.5.
|
|
3
|
+
version: 0.5.17
|
|
4
4
|
description: "灵境 AWB CLI skill。使用 `lj-awb` 命令调用动漫平台 / AWB 云端能力,覆盖认证、项目组、积分余额/明细/用量(含充值购买与兑换码兑换)、模型发现、上传、统一 create 创建域、任务查询、视频超分。用户说生图、生视频、生成音频、积分明细、积分流水、充值记录、消耗记录、主体、音色、素材加白、去字幕时使用。正式生成、切换项目组、清空认证、兑换码等写入或扣费动作前必须确认。"
|
|
5
5
|
metadata:
|
|
6
6
|
bootstrap:
|
|
7
7
|
package: "@lingjingai/lj-awb-cli"
|
|
8
|
-
version: "0.5.
|
|
8
|
+
version: "0.5.17"
|
|
9
9
|
bin: "lj-awb"
|
|
10
10
|
cliHelp: "lj-awb --help"
|
|
11
11
|
---
|
package/skills/lj-awb/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.5.
|
|
1
|
+
0.5.17
|