feat(canvas): 媒体转换节点 - 改进操作选择并支持完成后作为生成参考

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
ddCatandCursor committed 2026-09-09 09:46:18 +08:00
1 parent 7105b04967
commit a49bc5acf7
6 files changed
+296 -42

No files matched your search

@@ -168,7 +168,7 @@ const BUILTIN_NODE_TRAITS = {
[CanvasNodeType.MediaConversion]: {
label: "转换",
icon: <WandSparkles />,
minSize: { width: 320, height: 360 },
minSize: { width: 400, height: 360 },
showInCreateMenu: true,
resourceKind: (node: CanvasNodeData) => {
const conversion = node.metadata?.mediaConversion;