Wisdoverse/dsh-inline-media-viewer-plugin ↗★ 3
@wisdoverse/dsh-inline-media-viewer
在会话中提供本地媒体文件预览及ComfyUI代理支持 适合处理多媒体内容或使用ComfyUI进行AI绘画、需要直接预览产物的用户。
安裝
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Wisdoverse/dsh-inline-media-viewer-plugin說明文件
閱讀完整 README ↗Configuration
Open Settings → 媒体预览 / Media preview.
The navigation label and all setting copy follow DSH's active UI language and switch live between English and Chinese.
| Setting | Default | Allowed values |
|---|---|---|
| Auto-render detected media | On | On / off |
| Maximum items per turn | 12 | 1–30 |
| Maximum media height | 380 px | 160–1200 px |
| ComfyUI origin (optional) | Empty | http(s)://host[:port] |
Settings are stored in the active DSH profile configuration. DSH imports the
previous inline-media section from settings.yaml when upgrading. Writes are
available only on loopback connections; remote browsers can read these four
settings through the plugin's authenticated RPC channel but cannot change them.
ComfyUI origin
- Skip this setting entirely if you do not use ComfyUI.
- Leave the field empty to use
http://127.0.0.1:8188. - Accepted forms are
http://host[:port],https://host[:port], and barehost[:port](httpis assumed). - The default port is
8188for HTTP and443for HTTPS. - Credentials, paths, query strings, and fragments are rejected.
- The origin must be reachable from the DSH host process. For a containerized host, use the address visible from inside the container.
Local aliases (127.0.0.1:8188 and localhost:8188) and the configured origin
are recognized as ComfyUI sources. A non-empty invalid address fails explicitly
instead of silently falling back to another target.