Skip to content

v0.1.4

Latest

Choose a tag to compare

@wbin0001 wbin0001 released this 04 Sep 09:56

v0.1.4 — 分屏自包含(Split-screen, fully self-contained)
中文
v0.1.4 把「画布 + 对话」分屏彻底改为插件自包含实现——不再依赖任何 DSH 核心私有补丁,官方 DSH v0.1.x 全系开箱即用,零核心改动。

新增与改进
插件自包含分屏:只使用官方插槽(conversation.session.header.utilities)与 DOM data-* 锚点渲染画布+对话并排布局,零核心修改;依赖私有核心补丁的旧 split-rail 实现已移除
新入口:会话标头新增 ComfyUI 按钮切换分屏(画布左 + 核心完整对话 rail 右);删除了独立的 ComfyUI 会话标签,不再有标签跳转困扰
rail 内 100% 核心对话:消息、Markdown、工具卡片、附件、审批弹窗与完整输入框(模型选择/计划/命令/发送)全部为核心原版渲染,无自绘组件
拖拽调宽:对话 rail 支持拖拽调整宽度(120–1200px,按会话持久化),另含折叠/展开手柄
主题跟随:画布边框、顶栏、rail 顶栏与弹窗颜色跟随 DSH 明暗主题(CSS 变量)
窄视口自动退出:视口 < 1200px 时分屏自动关闭,对话不被挤死
健壮性修复:关闭分屏可可靠隐藏画布(display:none,彻底解决 iframe 残留);左右侧边栏折叠/展开时画布自动重定位(无需刷新);分屏内隐藏核心统计条与宽度调节手柄,避免遮挡输入框
保留不变
19 个 host 工具、ComfyUI 桥接节点、画布专注模式(会话隔离)、设置页、桥接鉴权握手——全部完好可用。

验收(设计规范 §4)
9/9 通过:分屏开关、完整对话+输入框、核心审批弹窗、折叠/拖宽/会话偏好、窄视口退出、comfyui_config 会话隔离、无 HMR 残留、普通视图不受影响。

安装
复制
dsh plugin add dsh-comfyui-canvas
或将仓库克隆到 DSH plugins/ 后重装。随包附 ComfyUI-DSH-Canvas 桥接节点——解压到 ComfyUI/custom_nodes/ 并重启 ComfyUI。

English
v0.1.4 makes the canvas + chat split fully self-contained in the plugin — no private DSH core patches required. Works on any official DSH v0.1.x out of the box, zero core modifications.

What's new
Self-contained split layout — rendered via the official conversation.session.header.utilities slot and DOM data-* anchors only; the old split-rail implementation that relied on private core patches is gone
New entry point — a ComfyUI button in the session header toggles split mode (canvas left + full core chat rail right); the separate ComfyUI conversation tab was removed, no more tab-jump confusion
100% core chat in the rail — messages, markdown, tool cards, attachments, approval dialogs and the full composer (model picker / plans / commands / send) are all core-rendered, nothing hand-rolled
Drag-to-resize the chat rail (120–1200 px, persisted per session), plus fold/unfold handles
Theme-aware colors — canvas frame, top bar, rail header and dialogs follow the DSH light/dark theme (CSS variables)
Narrow-viewport auto-exit — below 1200 px the split closes automatically so the chat is never squeezed out
Robustness fixes — closing split reliably hides the canvas (display:none, no iframe bleed-through); canvas re-positions when sidebars collapse (no refresh); core stats strip and transcript width handles hidden in split mode so they can't block the composer
Preserved
All 19 host tools, the ComfyUI bridge node, canvas focus mode (session-isolated), settings page, bridge auth handshake — fully working.

Acceptance (design spec §4)
9/9 green on official core: split toggle, full chat + composer, core approval dialogs, fold / resize / session prefs, narrow-viewport exit, comfyui_config isolation, no HMR residue, normal view unaffected.

Install
复制
dsh plugin add dsh-comfyui-canvas
Or clone into DSH plugins/ and reinstall. Ships the ComfyUI-DSH-Canvas bridge node — install into ComfyUI/custom_nodes/ and restart ComfyUI.