DSH Plugins Marketplace

DSH Plugins

Plugins

/

Terminal & Clients

/

dsh-zoom-viewer

d

dsh-zoom-viewer

Manifest valid

Zoom and pan image viewer for the DSH right sidebar: pointer-anchored wheel zoom, drag to pan, double-click to reset, fit / width / 1:1 toolbar controls and a fullscreen overlay.

UI (client)hasBundlePatch

dsh-zoom-viewer

A zoomable image viewer for the DSH right sidebar. It registers its own image renderer with the host's document-preview registry, so any image opened in the sidebar gets real navigation instead of a static <img>:

  • Wheel zoom anchored at the pointer — Ctrl+wheel or a trackpad pinch uses a finer step; range 5%–1600%
  • Drag to pan, with the viewport scrollbars kept in sync
  • Double-click to reset to the fitted view
  • Fullscreen overlay for the current image, closed with Esc or the 退出全屏 button
  • Toolbar: − / percentage / + / 适应 (fit) / 宽 (fit width) / 1:1 / 全屏

The viewer in the DSH sidebar: the tab, the active renderer label 缩放图片 and the viewed image

Install

# the DSH CLI — use --profile desktop for the desktop app
dsh plugin --profile web add dsh-zoom-viewer

# no dsh on PATH? run the CLI through npx
npx -p @deepseek-ai/dsh dsh plugin --profile web add dsh-zoom-viewer

# or straight from this repository instead of npm
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:1378616343/dsh-zoom-viewer

The same thing from the DSH UI: 插件 / Plugins page → the arrow menu → 安装第三方插件 / Install third-party plugin, then paste dsh-zoom-viewer, this repository's URL, or the local directory containing package.json.

Restart DSH afterwards — the plugin tree is only read at startup.

From a plugin-market index source

The Plugins page also accepts an 索引源 / index source. This repository ships one (format 1, validated against DSH's own @deepseek-ai/dsh-plugin-market-index):

https://raw.githubusercontent.com/1378616343/dsh-zoom-viewer/main/market/index.json

The entry then appears under Discover and installs with one click. Regenerate and re-validate it with:

node tool/build-market-index.mjs --repo https://github.com/1378616343/dsh-zoom-viewer

Compatibility

  • Targets the host document-preview registry (documentPreviews plus the sidebar.right.tab.document slot) of DSH desktop 0.2.1-rc.2, and registers above the built-in image renderer, so it becomes the default for png jpg jpeg gif webp bmp ico svg. A file whose extension lies about its content is still matched, by magic-number sniffing.
  • No build step and no runtime dependencies: lib/client.js is a prebuilt browser module, and react / react-dom are taken from the host's module table.
  • Declares no engines.dsh range and no @deepseek-ai/dsh* peer dependency, so the plugin manager's compatibility gate never refuses it. react is an optional peer only.

Permissions

Nothing of its own: no network requests, no filesystem access, no install scripts. The viewer renders the bytes the host hands it and keeps to its own CSS class prefix.

Uninstall

Plugins page → remove the entry → restart DSH.

Layout

FileRole
lib/client.jsBrowser half: the renderer definition and the zoom / pan implementation (single file, no build)
lib/index.jsHost half: an empty plugin, existing so the bundle is manageable from the profile
cordis.patch.ymlThe bundle's load row
locale/*.jsonRenderer name and UI strings (en / zh)
market/index.jsonPlugin-market index, format 1
tool/build-market-index.mjsGenerates and validates that index
docs/screenshot.pngThe screenshot above
NOTES.mdDesign and evidence notes (which host extension point, and why the third-party viewer API cannot be used)
DISTRIBUTION.mdInstall and publish runbook

License

MIT — see LICENSE.

中文说明

为 DSH 右侧栏里的图片加上真正的查看器:以光标为锚点的滚轮缩放(5%–1600%,Ctrl+滚轮 / 触控板双指更细)、 按住拖拽平移、双击复位,工具栏提供 − 百分比 + 适应 宽 1:1 全屏(Esc 退出)。它注册到宿主的图片预览注册表并排在内建 渲染器之前,所以 png jpg jpeg gif webp bmp ico svg 默认由它接管。

安装:dsh plugin --profile desktop add dsh-zoom-viewer(或插件页的「安装第三方插件」),装完要重启 DSH。 本插件不发网络请求、不读写文件、不带安装脚本,lib/client.js 是预构建产物,无需 npm install 之外的任何步骤。

Comments

Loading…

From the same category

dsh-TUI

by ccch1mneyyy

DSH 官方公众号收录的 TUI 补位插件:Claude Code 风,鲸鱼顶栏/实时状态/流式思考/双击 Esc 回滚/上下文进度+TPS。npm 一键装。 DSH official WeChat featured TUI plugin — Claude Code style: whale bar, live status, streaming thoughts, double-Esc rol

Terminal & ClientsManifest valid

★ 6.5k

↓ 22.4k/wk

MIT

TypeScript

Nov 2, 2026

dsh plugin --profile terminal add @deepseek-harness-tui/dsh-tui

by kingcharleslzy-ai

Community-maintained dsh-purge fork with host-policy patches, prompt and rule settings, diagnostics, separate update-check and install controls, and local backup/rollback.

Tools & CapabilitiesTerminal & ClientsManifest valid

★ 4.1k

MIT

JavaScript

Nov 1, 2026

dsh plugin --profile web add dsh-purge-community

by bowenliang123

The best DeepSeek Harness plugin for context insight and management, with context dashboard / browser / sidebar and context command, for context statistics, composition, breakdown, evolution details,

Tools & CapabilitiesUI & ExperienceTerminal & ClientsManifest valid

★ 4k

↓ 139k/wk

Apache-2.0

TypeScript

Nov 2, 2026

dsh plugin --profile web add dsh-context

by strukto-ai

The World's First Virtual Terminal for AI Agents

Terminal & ClientsManifest valid

★ 3.8k

↓ 316/wk

Apache-2.0

TypeScript

Nov 2, 2026

dsh plugin --profile agent add @struktoai/mirage-dsh

by mmparko

DeepSeek Harness 破甲 (mirror of YuJunZhiXue/dsh-purge) — 上游即将删库,此为本仓库全量镜像:含全部分支/73 个 tag/完整提交历史。原作者署名与二开要求见 README 署名章节。

Terminal & ClientsManifest valid

★ 2.9k

MIT

JavaScript

Oct 13, 2026

dsh plugin --profile web add dsh-purge

by c1overzz

DSH 插件:每天替你刷一轮 B站,读字幕挑出值得的、写一份日报,值得的 @ 你

Tools & CapabilitiesNotifications & IntegrationsTerminal & ClientsManifest valid

★ 1.1k

↓ 36.2k/wk

MIT

JavaScript

Oct 31, 2026

dsh plugin --profile web add dsh-bili-scroll