auto-save 2026-05-14 00:25 (+6, ~5)

This commit is contained in:
2026-05-14 00:26:10 +08:00
parent 540107d505
commit abeff424f6
11 changed files with 1262 additions and 57 deletions

View File

@@ -2,7 +2,7 @@
import { type ReactNode } from "react"
import { Handle, Position } from "@xyflow/react"
import { CheckCircle2, Loader2, AlertCircle } from "lucide-react"
import { ResizeRight } from "./resize-handle"
import { ResizeRight, ResizeBR } from "./resize-handle"
export type NodeKind = "input" | "process" | "ai" | "output"
export type NodeStatus = "pending" | "running" | "done" | "failed"
@@ -50,7 +50,7 @@ export function NodeShell({
<div
className={`glass-node ${selected ? "glass-node--selected" : ""} ${status === "running" ? "glass-node--running" : ""}`}
data-type={type}
style={{ width }}
style={{ width, height: "100%" }}
>
{hasTarget && <Handle type="target" position={Position.Left} />}
@@ -76,6 +76,7 @@ export function NodeShell({
{hasSource && <Handle type="source" position={Position.Right} />}
<ResizeRight />
<ResizeBR />
</div>
)
}