dsh-comfyui-canvas 0.1.12 → 0.1.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,17 @@
2
2
 
3
3
  本仓库变更记录(与版本号对应)。
4
4
 
5
+ ## [0.1.13] - 2026-10-01
6
+
7
+ ### Fixed
8
+ - `@deepseek-ai/dsh-tools` 与 `@deepseek-ai/schemastery` 改为必需 peer 依赖(移除 optional 标记)——修复 dsh.so 隔离沙盒安装时解析不到 DSH 运行时包导致的 L5 Web 冒烟 boot failed
9
+ - 离线/检测中启动卡片改为「嵌入面板」样式:不再用深色遮罩浮在背景上,卡片直接嵌在画布区
10
+
11
+ ### Changed
12
+ - README 顶部截图 01 替换为纵向长截图(DSH 内操作 ComfyUI 的连续画面)
13
+ - README 代码块中含 shell 高亮红色符号(`&&`、`<占位符>`)的 8 处从 `bash`/`powershell` 改标 `text`,消除 GitHub 深色主题下的异常红色
14
+ - 版本对齐 0.1.13(插件 package.json + 桥接节点 version.json / `__version__` + README 徽章)
15
+
5
16
  ## [0.1.12] - 2026-09-28
6
17
 
7
18
  ### Added
package/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
  > [中文](README.zh.md) · English
4
4
 
5
5
  [![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)
6
- [![Version](https://img.shields.io/badge/version-0.1.12-brightgreen.svg)](https://github.com/wbin0001/dsh-comfyui-canvas/releases)
6
+ [![Version](https://img.shields.io/badge/version-0.1.13-brightgreen.svg)](https://github.com/wbin0001/dsh-comfyui-canvas/releases)
7
7
  [![GitHub Stars](https://img.shields.io/github/stars/wbin0001/dsh-comfyui-canvas.svg?style=social)](https://github.com/wbin0001/dsh-comfyui-canvas)
8
8
  [![DSH](https://img.shields.io/badge/DSH-v0.1.x-blueviolet.svg)](https://github.com/DeepSeek-Harness/DSH)
9
9
  [![ComfyUI](https://img.shields.io/badge/ComfyUI-0.34+-orange.svg)](https://github.com/comfyanonymous/ComfyUI)
@@ -58,7 +58,7 @@ dsh plugin add github:wbin0001/dsh-comfyui-canvas
58
58
 
59
59
  Or from a local checkout:
60
60
 
61
- ```bash
61
+ ```text
62
62
  # in your DSH profile
63
63
  pnpm add <path-to-this-package>
64
64
  ```
@@ -78,12 +78,12 @@ Requires the **ComfyUI install directory** in **Settings → ComfyUI Canvas** (o
78
78
  Manual copy is still supported (e.g. air-gapped machines) — the bridge ships **inside this package** at `comfyui-bridge/ComfyUI-DSH-Canvas`:
79
79
 
80
80
  **Windows (PowerShell / cmd):**
81
- ```powershell
81
+ ```text
82
82
  Copy-Item -Recurse (npm root -g)\dsh-comfyui-canvas\comfyui-bridge\ComfyUI-DSH-Canvas <ComfyUI>\custom_nodes\ComfyUI-DSH-Canvas
83
83
  ```
84
84
 
85
85
  **macOS / Linux (bash):**
86
- ```bash
86
+ ```text
87
87
  cp -r $(npm root -g)/dsh-comfyui-canvas/comfyui-bridge/ComfyUI-DSH-Canvas <ComfyUI>/custom_nodes/ComfyUI-DSH-Canvas
88
88
  ```
89
89
 
@@ -94,7 +94,7 @@ Then restart ComfyUI and load the canvas page once (the injected `bridge.js` rep
94
94
  `comfyui_setup_bridge` manages a **local** install (`comfyuiDir` is a local path). For a cloud / remote ComfyUI, install the bridge on the **cloud machine** — pick one:
95
95
 
96
96
  **A. SSH / console access (self-hosted cloud GPU box)** — on the cloud machine:
97
- ```bash
97
+ ```text
98
98
  # option 1: pull the npm package and copy the bridge out of it
99
99
  npm pack dsh-comfyui-canvas && tar -xzf dsh-comfyui-canvas-*.tgz && cp -r package/comfyui-bridge/ComfyUI-DSH-Canvas <ComfyUI>/custom_nodes/
100
100
 
package/README.zh.md CHANGED
@@ -3,7 +3,7 @@
3
3
  > 中文 · [English](README.md)
4
4
 
5
5
  [![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)
6
- [![Version](https://img.shields.io/badge/version-0.1.12-brightgreen.svg)](https://github.com/wbin0001/dsh-comfyui-canvas/releases)
6
+ [![Version](https://img.shields.io/badge/version-0.1.13-brightgreen.svg)](https://github.com/wbin0001/dsh-comfyui-canvas/releases)
7
7
  [![GitHub Stars](https://img.shields.io/github/stars/wbin0001/dsh-comfyui-canvas.svg?style=social)](https://github.com/wbin0001/dsh-comfyui-canvas)
8
8
  [![DSH](https://img.shields.io/badge/DSH-v0.1.x-blueviolet.svg)](https://github.com/DeepSeek-Harness/DSH)
9
9
  [![ComfyUI](https://img.shields.io/badge/ComfyUI-0.34+-orange.svg)](https://github.com/comfyanonymous/ComfyUI)
@@ -62,7 +62,7 @@ dsh plugin add github:wbin0001/dsh-comfyui-canvas
62
62
 
63
63
  或本地安装:
64
64
 
65
- ```bash
65
+ ```text
66
66
  # 在 DSH profile 目录下
67
67
  pnpm add <本仓库路径>
68
68
  ```
@@ -82,12 +82,12 @@ Agent: comfyui_setup_bridge → { installed, version, upToDate, restartNote }
82
82
  手动复制仍然支持(如离线机器)——桥接节点**内嵌在本包** `comfyui-bridge/ComfyUI-DSH-Canvas`:
83
83
 
84
84
  **Windows(PowerShell / cmd):**
85
- ```powershell
85
+ ```text
86
86
  Copy-Item -Recurse (npm root -g)\dsh-comfyui-canvas\comfyui-bridge\ComfyUI-DSH-Canvas <ComfyUI>\custom_nodes\ComfyUI-DSH-Canvas
87
87
  ```
88
88
 
89
89
  **macOS / Linux(bash):**
90
- ```bash
90
+ ```text
91
91
  cp -r $(npm root -g)/dsh-comfyui-canvas/comfyui-bridge/ComfyUI-DSH-Canvas <ComfyUI>/custom_nodes/ComfyUI-DSH-Canvas
92
92
  ```
93
93
 
@@ -98,7 +98,7 @@ cp -r $(npm root -g)/dsh-comfyui-canvas/comfyui-bridge/ComfyUI-DSH-Canvas <Comfy
98
98
  `comfyui_setup_bridge` 管理的是**本机**安装(`comfyuiDir` 是本机路径)。云端 / 远程 ComfyUI 请在**云端机器**上装桥接节点——二选一:
99
99
 
100
100
  **A. 有 SSH / 控制台(自建云 GPU 机)**——在云机上执行:
101
- ```bash
101
+ ```text
102
102
  # 方式 1:拉取 npm 包,把其中的桥接节点解出来
103
103
  npm pack dsh-comfyui-canvas && tar -xzf dsh-comfyui-canvas-*.tgz && cp -r package/comfyui-bridge/ComfyUI-DSH-Canvas <ComfyUI>/custom_nodes/
104
104
 
@@ -9,7 +9,7 @@
9
9
 
10
10
  # Bridge release version. The DSH plugin compares this against its embedded
11
11
  # copy (see version.json) to decide whether an update is needed.
12
- __version__ = "0.1.12"
12
+ __version__ = "0.1.13"
13
13
 
14
14
  import os
15
15
  import time
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "name": "ComfyUI-DSH-Canvas",
3
- "version": "0.1.12"
3
+ "version": "0.1.13"
4
4
  }
package/lib/client.js CHANGED
@@ -328,17 +328,18 @@ function ComfyUIControl(props) {
328
328
  // 在线:状态已并入顶栏圆点,这里不再渲染任何遮挡层。
329
329
  if (online === true) return null;
330
330
 
331
- // 离线/检测中:居中启动卡片。
331
+ // 离线/检测中:启动卡片以「嵌入面板」样式呈现——不再用深色遮罩浮在
332
+ // 背景上,卡片直接嵌在画布区(露出外层同色背景),看起来是布局的一部分。
332
333
  var wrapStyle = {
333
334
  position: "absolute", left: 0, top: 0, right: 0, bottom: 0,
334
335
  zIndex: 79, display: "flex", alignItems: "center", justifyContent: "center",
335
- background: "var(--dsw-alias-bg-mask-3,rgba(0,0,0,0.48))", padding: "24px",
336
+ padding: "24px", boxSizing: "border-box",
336
337
  };
337
338
  var cardStyle = {
338
339
  width: "min(460px, 100%)", padding: "20px",
339
340
  background: "var(--dsw-alias-bg-layer-2, #1f1f23)", color: "var(--dsw-alias-label-primary, #e8e8e8)",
340
341
  border: "1px solid var(--dsw-alias-border-l1, rgba(128,128,128,.25))",
341
- borderRadius: "12px", boxShadow: "0 8px 32px rgba(0,0,0,.4)", fontFamily: "inherit",
342
+ borderRadius: "12px", fontFamily: "inherit",
342
343
  // 内容纵向排列、全部居中:标题/说明/错误/按钮都在卡片中间,按钮与画布左右距离相等。
343
344
  display: "flex", flexDirection: "column", alignItems: "center", textAlign: "center",
344
345
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-comfyui-canvas",
3
- "version": "0.1.12",
3
+ "version": "0.1.13",
4
4
  "description": "Give DeepSeek Harness agents live control of your ComfyUI canvas (local or cloud): embed it as a split-screen tab, then read/edit/run workflows, debug errors, fetch output images, and batch-sweep parameters straight from the chat. Ships the ComfyUI-side bridge node.",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
@@ -38,9 +38,7 @@
38
38
  "@deepseek-ai/schemastery": ">=3.18.0"
39
39
  },
40
40
  "peerDependenciesMeta": {
41
- "@deepseek-ai/dsh-tools": { "optional": true },
42
- "@deepseek-ai/dsh-settings": { "optional": true },
43
- "@deepseek-ai/schemastery": { "optional": true }
41
+ "@deepseek-ai/dsh-settings": { "optional": true }
44
42
  },
45
43
  "scripts": {
46
44
  "check": "node --check lib/index.js && node --check lib/client.js",