From 0a17aa351ac804e00d5929c6aebae54c663e8a3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?ACT=E4=B8=B6=E6=B5=81=E6=98=9F=E9=9B=A8?= <91125707+1340145680@users.noreply.github.com> Date: Mon, 13 Apr 2026 01:14:34 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E6=9B=B4=E6=96=B0arm=E6=B5=8B=E8=AF=95?= =?UTF-8?q?=E6=9E=84=E5=BB=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/debug.yml | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/.github/workflows/debug.yml b/.github/workflows/debug.yml index 9bdb5aa..6374609 100644 --- a/.github/workflows/debug.yml +++ b/.github/workflows/debug.yml @@ -16,8 +16,17 @@ env: jobs: # ==================== Windows 构建 ==================== build-Windows: + strategy: + fail-fast: false + matrix: + include: + - arch: x64 + name: x64 + - arch: arm64 + name: ARM64 + runs-on: windows-latest - name: 构建 Windows + name: 构建 Windows (${{ matrix.name }}) steps: - name: 检出代码 @@ -32,14 +41,14 @@ jobs: run: yarn install --frozen-lockfile - name: 打包 Windows 安装程序 - run: yarn dist:win + run: yarn dist:win --${{ matrix.arch }} env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: 上传构建产物 uses: actions/upload-artifact@v4 with: - name: windows + name: windows-${{ matrix.arch }} path: dist/*.exe retention-days: 7 @@ -146,7 +155,8 @@ jobs: - name: 输出构建结果 run: | echo "===== 构建测试完成 =====" - echo "Windows: ${{ needs.build-Windows.result }}" + echo "Windows x64: ${{ needs.build-Windows.result }}" + echo "Windows arm64: ${{ needs.build-Windows.result }}" echo "macOS Apple Silicon: ${{ needs.build-macOS.result }}" echo "macOS Intel: ${{ needs.build-macOS.result }}" echo "Linux x64: ${{ needs.build-Linux.result }}" From b938d6b475945979c5e485a13cabcd88bf4cf450 Mon Sep 17 00:00:00 2001 From: LoAcer <2479909899@qq.com> Date: Thu, 16 Apr 2026 17:57:02 +0800 Subject: [PATCH 2/3] Update klingai.ts MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit fix:modelTest throw `API key` error and currentMode.some is a function error --- data/vendor/klingai.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/data/vendor/klingai.ts b/data/vendor/klingai.ts index 103eb55..85bd70a 100644 --- a/data/vendor/klingai.ts +++ b/data/vendor/klingai.ts @@ -143,7 +143,7 @@ const vendor: VendorConfig = { { key: "secretKey", label: "Secret Key", type: "password", required: true, placeholder: "请输入可灵AI的Secret Key" }, { key: "baseUrl", label: "请求地址", type: "url", required: true, placeholder: "默认:https://api-beijing.klingai.com" }, ], - inputValues: { accessKey: "", secretKey: "", baseUrl: "https://api-beijing.klingai.com" }, + inputValues: { accessKey: "", secretKey: "", apiKey: "可灵接口采用AK+SK模式", baseUrl: "https://api-beijing.klingai.com" }, models: [ // kling-video-o1 (Omni) { @@ -465,7 +465,7 @@ const videoRequest = async (config: VideoConfig, model: VideoModel): Promise Array.isArray(m)); + const hasMultiRef = Array.isArray(currentMode) && currentMode.some((m) => Array.isArray(m)); // 提取不同类型的引用 const imageRefs = (config.referenceList || []).filter((r) => r.type === "image"); @@ -635,4 +635,4 @@ exports.videoRequest = videoRequest; exports.ttsRequest = ttsRequest; // 这行代码用于确保当前文件被识别为模块,避免全局变量冲突 -export {}; \ No newline at end of file +export {}; From df3c93a9a99b4ecde4adb880df2ec05ebfcd2b97 Mon Sep 17 00:00:00 2001 From: LoAcer <2479909899@qq.com> Date: Sat, 18 Apr 2026 16:46:53 +0800 Subject: [PATCH 3/3] =?UTF-8?q?remove=20=E6=97=A0=E7=94=A8=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E9=A1=B9=20apiKey?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 此配置以由(Web)项目交互校验中处理 详见 Toonflow-web/commit/f9093fe --- data/vendor/klingai.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/vendor/klingai.ts b/data/vendor/klingai.ts index 85bd70a..b2cd2ae 100644 --- a/data/vendor/klingai.ts +++ b/data/vendor/klingai.ts @@ -143,7 +143,7 @@ const vendor: VendorConfig = { { key: "secretKey", label: "Secret Key", type: "password", required: true, placeholder: "请输入可灵AI的Secret Key" }, { key: "baseUrl", label: "请求地址", type: "url", required: true, placeholder: "默认:https://api-beijing.klingai.com" }, ], - inputValues: { accessKey: "", secretKey: "", apiKey: "可灵接口采用AK+SK模式", baseUrl: "https://api-beijing.klingai.com" }, + inputValues: { accessKey: "", secretKey: "", baseUrl: "https://api-beijing.klingai.com" }, models: [ // kling-video-o1 (Omni) {