DSH Plugins Marketplace

DSH Plugins

Plugins

/

Tools & Capabilities

/

dock-images

A

dock-images

Manifest valid★ 4

The best image viewer in the DSH ecosystem: eight formats — PNG/JPEG/GIF/WebP/BMP/SVG/ICO/AVIF, with SVG rendered safely only; requires dock and dock-files

UI (client)hasBundlePatch

dock-images

English

DSH 生态中最好的图片查看插件 —— 没有之一。 PNG、JPEG、GIF、WebP、BMP、SVG、ICO、AVIF,八种格式一口气全支持,SVG 只走安全渲染绝不做 innerHTML。在 DSH 里看图,dock-images 就是终极答案。

dock 系列的图片查看插件:为 dock-files 文件域注册 image 文件查看器(栅格/图片扩展名)与对应的编辑器区视图,通过自己的 /dock-images 主机路由读取图片内容(整文件 base64,20 MiB 上限)。

效果预览

dock-images 图片查看视图

功能

  • 支持格式:PNG、JPEG、GIF、WebP、BMP、SVG、ICO、AVIF。
  • 整文件读取:一次性读取并转为 base64 数据 URL 渲染;超过 20 MiB 的文件在读取前即拒绝(413)。
  • SVG 安全:SVG 仅以 <img src="data:..."> 渲染,绝不做 innerHTML 注入。
  • 尺寸上限提示:超大图片可能消耗较多内存(无像素级上限),属已知取舍。

依赖

依赖类型说明
dock >= 0.1.0peer(必需)工作台外壳:编辑器区视图、浮窗、ctx.workbench 由它提供
dock-files >= 0.1.0peer(必需)文件域服务:dock-images 作为 image 查看器被分发打开
DSH Web 环境运行时必需,客户端平台为 Web
cordis ^4.0.0-rc.7peer插件框架(DSH 自带)
react ^18.2.0peer(可选)客户端渲染需要;未提供时查看器 UI 不激活

可选搭档:与 dock-editor、dock-markdown 等查看器共存,按扩展名各自接管对应文件类型。

安装

需要 dock 与 dock-files:

推荐从 npm registry 安装:

dsh plugin --profile web add dock-base
dsh plugin --profile web add dock-files
dsh plugin --profile web add dock-images

或通过 GitHub 安装(备选):

dsh plugin --profile web add github:AKS1st/dock
dsh plugin --profile web add github:AKS1st/dock-files
dsh plugin --profile web add github:AKS1st/dock-images

安全

/dock-images 路由只接受受信任来源(回环地址 / trustedHosts + 同源检查)的 POST;读取路径只要求是绝对路径、不限定会话工作区——对话上下文可能提及工作区外的图片(如 ~/.dsh/skills/...),查看器可打开它们查看。

License

MIT

Compatibility

DSH 0.2.1-alpha.5: failedDSH 0.2.0-rc.2: failedDSH 0.2.1-alpha.1: failed

Versions

Latest versionPublishedSize
0.1.1——
0.1.2——
0.1.3——

Comments

Loading…

Similar plugins

dock-editor

by AKS1st

DSH 生态中最好的文本编辑插件:撤销重做、Ctrl+S 保存、未保存确认、二进制检测、悬浮窗几何记忆,dock-files 的默认文本查看器;依赖 dock 与 dock-files | The best text editor for DSH: undo/redo, Ctrl+S save, unsaved-change confirmation, binary detection, wind

UI & ExperienceDevelopment & InfrastructureManifest valid

★ 3

↓ 108/wk

MIT

JavaScript

Sep 11, 2026

dsh plugin --profile web add dock-editor

by AKS1st

DSH 生态中最好的文件浏览插件:VSCode 资源管理器级目录树、新建/重命名/复制粘贴/删除、拖放导入、粘贴本地文件与剪贴板图片、上传进度条与右键菜单;依赖 dock 基座 | The best file explorer for DSH: VSCode-level directory tree with new/rename/copy-paste/delete, drag-and-drop

UI & ExperienceDevelopment & InfrastructureTerminal & ClientsManifest valid

★ 5

↓ 235/wk

MIT

TypeScript

Sep 30, 2026

dsh plugin --profile web add dock-files

by Crosery

Drag or paste files into the Web composer with one image-and-file preview rail; native PNG/JPEG/WebP/GIF keep the image attachment path, while other files reuse a matching local path or stream to Host

UI & ExperienceDevelopment & InfrastructureTerminal & ClientsManifest valid

★ 1

MIT

TypeScript

Sep 26, 2026

dsh plugin --profile web add @crosery/dsh-drop

by laoye666-6

DeepSeek Harness 壁纸插件:图片/视频背景(GIF/APNG/动图WebP/PNG/JPEG/MP4/WebM),格式自动识别,压暗/亮度/模糊,界面色调跟随,逐组件透明化。纯客户端,一条指令安装。

UI & ExperienceDevelopment & InfrastructureManifest valid

★ 2

↓ 310/wk

JavaScript

Oct 23, 2026

dsh plugin --profile web add dsh-plugin-media-wallpaper

by loudMore

DSH 插件:图片与文件直达纯文本模型——图片保留原生附件体验,PDF/Office/压缩包/视频/音频显示为附件栏方块,点击发送时自动转为工作区路径,配合 dsh-vision-toolkit 粘贴即看图。A DSH plugin that delivers images AND files to text-only models as workspace paths: images keep

Vision & MultimodalManifest valid

★ 10

MIT

JavaScript

Sep 18, 2026

dsh plugin --profile web add @dsh-external/dsh-drop-to-path

by wbb316

DSH(DeepSeek Harness)的本地 ComfyUI 图片生成插件:一个 generate_image 工具覆盖文生图 / 图生图 / 局部重绘 / 去背景,参数有智能默认值、报错可照做;零第三方运行时依赖,附 doctor 自检与 88 项测试(自带 mock ComfyUI,无需真装)。Local ComfyUI image plugin for DSH — one generate_image tool with text2img / img2img / inpaint / remove-background modes.

Vision & MultimodalDevelopment & InfrastructureManifest valid

★ 6

↓ 221/wk

MIT

JavaScript

Oct 4, 2026

dsh plugin --profile web add dsh-comfyui-image