chore: commit workspace updates

This commit is contained in:
ddCat
2026-09-14 01:11:56 +08:00
parent 4eeef3cfd8
commit 4b0e9d8965
490 changed files with 12826 additions and 72249 deletions

View File

@@ -11,7 +11,7 @@ import { useConfigStore, type AiConfig, type RunningHubCapability, type Workflow
import type { ReferenceImage } from "@/types/image";
import type { ReferenceAudio, ReferenceVideo } from "@/types/media";
type WorkflowProvider = "runninghub" | "comfyui";
type WorkflowProvider = "runninghub";
type MediaKind = "image" | "video" | "audio";
type Point = { x: number; y: number };
type NodePositionMap = Record<string, Point>;
@@ -192,7 +192,7 @@ export function WorkflowTestWorkbench({ provider, workflowId, workflowKind = "wo
<div className="min-w-0">
<strong>{title || workflowId || "未选择工作流"}</strong>
<span>
{provider === "runninghub" ? "RunningHub" : "ComfyUI Bridge"} · {capabilityName(capability)}工作流 · 测试值不会覆盖保存配置
RunningHub · {capabilityName(capability)}工作流 · 测试值不会覆盖保存配置
</span>
</div>
<div className="workflow-test-toolbar-actions">
@@ -411,8 +411,6 @@ function buildTestConfig(config: AiConfig, provider: WorkflowProvider, workflowI
selectedKind: workflowKind,
workflows: config.runningHub.workflows.map((item) => (item.workflowId.trim() === workflowId.trim() && (item.kind === "app" ? "app" : "workflow") === workflowKind ? { ...item, fields: patchedFields } : item)),
};
} else {
next.comfyBridge = { ...config.comfyBridge, enabled: true, workflowId, workflows: config.comfyBridge.workflows.map((item) => (item.workflowId.trim() === workflowId.trim() ? { ...item, fields: patchedFields } : item)) };
}
return next;
}