DSH Chat Zoom Plugin: Only Zoom Message Area and Input Area

Preface

When reading long conversations in DeepSeek Harness (DSH), the code blocks, images, and input box text can feel too small. Using the browser’s page-level zoom scales the sidebar, settings, and dialogs along with the chat content, often making the layout even more cluttered. This article introduces the community-maintained client plugin Zoom (dsh-plugin-chat-zoom), which only scales the chat message area and input area, leaving the sidebar and global interface at their original size.

What Is This

Zoom is maintained by YangShen-SWE and belongs to the DSH client plugin category: it injects logic into the Web client provided by the host. It is not a Chrome / Edge extension, nor can it be run as a standalone website. The first published release on GitHub is v0.1.0 (MIT); the development version on the main branch is v0.3.2, which has not yet been packaged as a release. The “Installation” section below uses v0.1.0 as the baseline, with a separate note on capabilities documented on main but not included in the release package.

Directory page: SkillHub plugin entry. SkillHub is a community plugin directory with no official affiliation to DeepSeek / High-Flyer. The DSH ecosystem emphasizes “everything is a plugin,” so it is recommended to review the source code and license before installation.

Core Features (v0.1.0 Release Package)

The capabilities of the published package are clearly documented in the README:

  • Text, code, images, and input controls are scaled together as a whole; the sidebar, other settings sections, and global dialogs are not scaled.
  • Default 100%, range 80%–200%; shortcut keys and zoom-in / zoom-out buttons adjust by 10 percentage points each time.
  • In Settings → Zoom, select a scale, zoom in, zoom out, restore defaults, or clear the remembered scale.
  • A scale indicator appears after each adjustment and auto-hides after about 5 seconds; there is no persistent zoom toolbar in the chat area.
  • All chat panels on the same page share the same scale; the value is stored in localStorage keyed by browser origin, restored on refresh, and the current reading position is preserved as much as possible.

Runtime requirements (excerpted from the README): a DSH with the client module loader, React shared modules, and a settings.section slot, plus a browser that supports the CSS zoom property. Compatibility is based on internal chat DOM attributes from DSH 0.2.0-rc.2; compatibility with other host versions is not guaranteed. v0.1.0 is the plugin version number, not the DSH core version.

Capabilities Documented on Main but Not Released in v0.1.0

If you only install v0.1.0 from the marketplace / Releases, the following updates from main are not included; these new features currently exist only in the main source code and documentation.

  • Settings → Zoom allows configuring three sets of keyboard shortcuts for zoom in, zoom out, and reset, plus an independent wheel modifier key (Ctrl / Alt / Shift / Meta); the default wheel modifier remains Ctrl.
  • Keyboard bindings take effect only after clicking “Save Shortcuts”; the wheel modifier is attempted to be saved immediately upon selection.
  • Focus detection is narrower than in v0.1.0: for example, when buttons or links inside messages receive focus, Ctrl + plus/minus zoom is no longer intercepted; v0.1.0 uses broader focus detection, and Ctrl+Shift+wheel also works for zooming — the narrower rules on main have not been backported to the old package.

Users installing v0.1.0 should treat this section as a “version boundary” reference, to avoid mistakenly expecting a custom shortcut interface in Settings.

Installation and Activation

The release package includes runnable client files; no separate build or React installation is required. It is recommended to download dsh-plugin-chat-zoom-0.1.0.tgz from the v0.1.0 release page. Do not use the GitHub auto-generated source ZIP as an installation package.

  1. Download dsh-plugin-chat-zoom-0.1.0.tgz to your machine.
  2. Open the Plugins section in the DSH sidebar and enter the entry point for installing external plugins / bundles.
  3. Use the full absolute path as the installation source (the path must be accessible from the machine running DSH; local paths on a remote browser may not be visible to the DSH host).
  4. Confirm installation and enable dsh-plugin-chat-zoom; if HTTP(S) sources are supported, a direct link can also be provided.
  5. Refresh DSH and open Settings → Zoom; if the entry is still missing, fully exit and restart DSH, rather than just closing the web page.

Direct download link for the package:

https://github.com/YangShen-SWE/dsh-plugin-chat-zoom/releases/download/v0.1.0/dsh-plugin-chat-zoom-0.1.0.tgz

Method 2: DSH CLI

If dsh is already configured and the desktop profile is used, run:

dsh plugin --profile desktop add "dsh-plugin-chat-zoom@https://github.com/YangShen-SWE/dsh-plugin-chat-zoom/releases/download/v0.1.0/dsh-plugin-chat-zoom-0.1.0.tgz" --ignore-scripts

Example of offline installation from an already-downloaded file (replace the path and profile with actual values):

dsh plugin --profile desktop add "dsh-plugin-chat-zoom@file:C:/Downloads/dsh-plugin-chat-zoom-0.1.0.tgz" --offline --ignore-scripts

The command is executed locally by the user; the repository does not automatically modify DSH configuration. The plugin itself has no installation scripts.

Method 3: Directory Installation

Unpack the repository root directory containing package.json, and provide the absolute path of that directory in the plugin page. Do not select only the lib subdirectory.

Typical Usage

Settings Page (v0.1.0)

Go to Settings → Zoom; the top of the page states that the scope is “only chat messages and the input area.” v0.1.0 provides controls for scale selection, zoom out / zoom in, restore to 100%, and clear remembered scale; it does not include the custom keyboard / wheel sections documented on main.

Shortcut Keys (v0.1.0 Defaults)

When the input area has focus, or no other control is focused and the mouse is hovering over the chat area:

Action Effect
Ctrl + wheel up / down Zoom out / zoom in (mouse over chat messages or input area)
Ctrl + + / - Zoom out / zoom in
Ctrl + 0 Restore to 100%

The plus sign supports Ctrl + =, Ctrl + Shift + =, and the numeric keypad’s plus/minus; normal wheel scrolling and editing shortcuts such as Ctrl+C/V/Z are not intercepted by the plugin. v0.1.0 also supports Ctrl+Shift+wheel for zooming, which differs from the default wheel rules documented on main.

Scale changes take effect immediately; clearing the remembered scale restores 100% and deletes the plugin’s saved scale key, without deleting chat content or other settings.

Privacy and Local Storage

The plugin does not make network requests, upload chats, or collect telemetry at runtime. v0.1.0 only stores the scale key dsh-plugin-chat-zoom:v1:percent in the localStorage of the current browser origin. Main additionally stores keyboard and wheel configuration keys; see the repository’s PRIVACY.md. Before uninstalling, you can clear the remembered scale in Settings; do not clear the entire localStorage just to reset the scale.

Use Cases and Notes

Suitable for: users who mainly read long conversations, code blocks, or images in the DSH chat area and want the sidebar and settings to remain at their original font size.

Important to know:

  • The plugin runs with the permissions of the current DSH process / browser context. Review the source code and the MIT license before installation.
  • If the host or OS intercepts a shortcut key first, the plugin cannot guarantee it will catch it; use the scale controls in Settings as an alternative.
  • The plugin yields to input method composition, modal dialogs, embedded editors, terminals, and similar scenarios, and may not respond to zoom.
  • Some browsers report pinch-to-zoom gestures as Ctrl + wheel; the plugin cannot reliably distinguish them.
  • After upgrading DSH, if the DOM does not match, zoom may have no effect and will not fall back to full-page zoom.
  • The demo images in the README come from isolated screenshots of the v0.1.0 client on a synthetic example page; they are not screenshots of DSH itself and do not independently prove host compatibility.

Conclusion

Zoom narrows DSH’s zoom scope to the chat messages and input area, allowing reading comfort to be adjusted within 80%–200%, and remembers the scale using local storage. The currently installable release package is v0.1.0; finer keyboard and wheel configuration is documented on main and awaits a future release.

  • Directory page: https://www.skillhub.cn/plugins/YangShen-SWE/dsh-plugin-chat-zoom
  • GitHub: https://github.com/YangShen-SWE/dsh-plugin-chat-zoom
  • Issue feedback: https://github.com/YangShen-SWE/dsh-plugin-chat-zoom/issues
羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye