Wisdoverse/dsh-inline-media-viewer-plugin ↗★ 0
dsh-inline-media-viewer
DSH Web 会话媒体预览插件:支持在对话中持久内联预览图像、视频和音频,限制在工作区内读取,并支持配置 ComfyUI 代理。
AI 分析
核心用途是增强多媒体内容的展示。适合需要在 DSH 网页端直接预览本地音视频、图片,或配合 ComfyUI 进行生图预览的用户。
安裝
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Wisdoverse/dsh-inline-media-viewer-plugin說明文件
閱讀完整 README ↗Configuration
Open Settings → 媒体预览 / Media preview.
| 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 | Empty | http(s)://host[:port] |
Settings are stored in the DSH settings document. Writes are available only on loopback connections; remote browsers can read settings but cannot persist changes.
ComfyUI origin
- 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.