DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

Sidebar Image Zoom — DeepSeek Harness 插件(DSH Plugin)
← Plugins
S

dsh-sidebar-image-zoom

Sidebar Image Zoom

DSH 插件:为右侧边栏文档窗格提供可缩放、可平移的图片预览。为 dsh 已显示的图片添加滚轮缩放(以光标位置为锚点)、拖动平移、适应窗口、适应宽度、1:1 和缩放读数。/ dsh 右侧边栏图片预览缩放插件。

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add github:Meowrium/dsh-sidebar-image-zoom#b30bf25459b1924af163e11c0df76466476172f7
README兼容性版本

兼容性与来源证明

Sidebar Image Zoom 以 dsh-sidebar-image-zoom 发布,当前版本为 0.1.0。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
web
发布来源
github
Registry 更新时间
2026/9/10

版本

0.1.0stable
2026/9/10

相关插件

正在加载相关插件…

最新版
0.1.0
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
未提供
文件数
未提供
Surface
web
许可证
MIT
发布源
github
GitHub
★ 0
周下载
0
最近提交
2026/9/10
查看源码 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录

相关插件

继续浏览 ui-customization 分类下经过校验的插件。

Web App@deepseek-ai/dsh-web-appdsh 浏览器界面捆绑包:位于 dsh-base 之上的 Web 补丁层,加上运行时粘合插件(提供前端 dist、Web 界面提示符、bash 运行时变量和 URL 行)Experimental Agent Team Web Profile@deepseek-ai/dsh-experimental-agent-team-web-profile用于 Agent Teams Remote 和 UI 插件的实验性 Web 配置层Client Ui Task Board@linxin666/dsh-client-ui-task-board面向 DSH Web GUI 的主机权威任务面板,支持实际会话执行、主机 cron 调度以及可选的跨平台空闲睡眠保护;以挂载方式提供,无需修改 DSH 源代码。Pet@linxin666/dsh-pet适用于 dsh Web GUI 的多宠物伴侣插件:由注册表驱动的浮动宠物,可响应模型活动,支持为每只宠物命名、抚摸/喂食互动以及亲密度评分

README

dsh-sidebar-image-zoom

A DeepSeek Harness (dsh) plugin that makes the images in the right-sidebar document pane zoomable.

dsh's built-in image preview is deliberately static — its own source says the image is rendered "without fitting or scaling them to the pane", at intrinsic size, with the surrounding body providing scrolling only. That is fine for icons and painful for big screenshots, diagrams, and charts. This plugin replaces that renderer with one you can actually navigate.

中文说明 / Chinese README

Install

dsh plugin --profile web add github:Meowrium/dsh-sidebar-image-zoom

Restart dsh web, then open any image in the right sidebar (new tab → 工作区文件 / workspace files → pick an image).

Requires the dsh 0.1.5 line (this was developed and verified against 0.1.5-rc.1). The right-sidebar document preview this plugin extends does not exist before 0.1.5.

Usage

ActionResult
Mouse wheelZoom in/out, anchored at the cursor — the pixel under the pointer stays put
DragPan (once the scaled image is larger than the pane)
Double-clickToggle 适应窗口 ↔ 1:1
适应窗口Fit the whole image in the pane
适应宽度Fit to pane width only
1:1Original size, one image pixel per screen pixel
+ / −Step zoom
+ / - / 0 / 1Same, from the keyboard (0 = fit, 1 = 1:1)

The image opens at 1:1 by default, matching the built-in feel; a percentage readout sits in the toolbar. Zoom range is 10 % – 1200 %. When the image is smaller than the pane it is centred; when larger, panning is clamped so you cannot drag it out of view.

How it works

It uses only official extension points — no monkey-patching, no private DOM attributes:

  • ctx.documentPreviews.register({ id, extensions, priority: 'extension', loading: 'bytes-complete' }) — the registry's own docs say "External implementations win over product implementations", so the extension band takes over the eight image suffixes (png jpg jpeg gif webp bmp ico svg).
  • ctx.slots.register({ name: 'sidebar.right.tab.document', key: <id> }, Body) — the keyed document-body seat, under the same id.

The body receives the file as complete bytes (content.kind === 'bytes'), turns them into a Blob URL (always revoked on unmount), and renders its own zoom/pan viewport.

Package layout

package.json       dsh.bundle.patch → cordis.patch.yml ; dsh.client → lib/client.js
cordis.patch.yml   inserts the bundle entry
lib/index.js       host half (no-op — this plugin is browser-only)
lib/client.js      browser half — the renderer and the zoom body

Notes

  • The plugin only adds interaction; it does not change how images are loaded or where they come from.
  • Uninstalling it restores dsh's built-in behaviour, because the built-in definition is still registered underneath — this one just outranks it.
  • All listeners, styles, observers and object URLs are released on unmount; there is no residue after closing the tab.

License

MIT