diff --git a/.memory/worklog.json b/.memory/worklog.json index d677786..b253c11 100644 --- a/.memory/worklog.json +++ b/.memory/worklog.json @@ -2592,6 +2592,19 @@ "message": "auto-save 2026-05-13 23:45 (~1)", "hash": "8547db9", "files_changed": 1 + }, + { + "ts": "2026-05-13T23:51:46+08:00", + "type": "commit", + "message": "auto-save 2026-05-13 23:51 (~1)", + "hash": "093c924", + "files_changed": 1 + }, + { + "ts": "2026-05-13T15:53:09Z", + "type": "session-heartbeat", + "message": "Claude 会话活跃 · 最近命令:claude · 1 项未提交变更 · 最近提交:auto-save 2026-05-13 23:51 (~1)", + "files_changed": 1 } ] } diff --git a/web/components/nodes/node-shell.tsx b/web/components/nodes/node-shell.tsx index b7976cc..24830f9 100644 --- a/web/components/nodes/node-shell.tsx +++ b/web/components/nodes/node-shell.tsx @@ -12,7 +12,7 @@ interface Props { icon?: ReactNode title: string subtitle?: string - width?: number + width?: number | string // 默认 '100%':让外层 ReactFlow node wrapper (node.style.width) 决定,配合 NodeResizeControl 用户可拖 selected?: boolean hasTarget?: boolean hasSource?: boolean @@ -39,7 +39,7 @@ export function NodeShell({ icon, title, subtitle, - width = 280, + width = "100%", selected, hasTarget = true, hasSource = true,