dsh-ui-scale: Setting 50%-200% Zoom for DeepSeek Harness Interface

Foreword

When using the Web UI or desktop client of DeepSeek Harness (DSH) for a long time, the system or browser default font size may not be suitable: a small window can feel cramped, and on high-resolution displays the content may appear too small. The browser’s built-in page zoom can serve as a makeshift solution, but it is not necessarily consistent with DSH’s own layout and multi-profile configurations; the desktop client also lacks a unified “interface scale” entry. The dsh-ui-scale introduced below is a community plugin that provides interface scaling from 50% to 200% in the DSH settings, writes the value into the profile configuration, and keeps it effective after restart.

What Is This

dsh-ui-scale (maintained by juliankang4) is a client-side plugin in the DSH plugin directory. It targets the Web UI (dsh web) and Desktop application of DeepSeek Harness, adjusting the display ratio of interface elements across the entire window under the same set of settings, rather than only changing the CSS of a single page.

The community plugin directory is hosted on an independent site (such as the entry on SkillHub) and has no official affiliation with DeepSeek / High-Flyer. Before installation, it is recommended to review the GitHub repository source code and MIT license on your own. The plugin runs under the permissions of the current dsh process, the same as other DSH plugins; please confirm you trust this source before enabling it.

Core Features

Scaling Range and Persistence

  • The interface scale can be set between 50% and 200%; the configuration field is an integer percentage, defaulting to 100.
  • The value is saved in the profile configuration and persists after restart; the scaling is applied before the main window appears.
  • The web and desktop profiles each store their value independently; browsers logged in under the same profile will share the value.

Scaling Coverage

All visible content within the window participates in scaling: the sidebar, session area, input area, all pages, Settings and other dialogs, as well as menus, tooltips, and pop-ups attached to them. The layout behavior is similar to browser zoom: for example, at high zoom levels or in small windows, the left sidebar collapses, panels are still distributed proportionally to the window, and when dragging the separator, the pointer and layout remain consistent.

In the Desktop application, native menus and window controls keep the system default size and do not scale with the plugin.

Desktop Window Position and Size

After the plugin is enabled, Desktop will restore the window size and position from the last closing at startup (when the plugin is not enabled, the same default size is used every time). The window will not be enlarged beyond the screen; if the last position was on a secondary monitor, it will open on the primary monitor with the saved size. Full-screen state is not written into the restore logic.

Implementation Limits

The plugin uses CSS zoom and converts page measurement values (element position and size, viewport, pointer, some media queries and viewport units, etc.). The following cases are explicitly stated in the README as not fully converted or still using real window sizes:

  • Some vw/vh rules written through paths such as dynamically inserted scripts, Shadow DOM, MathML, etc. may not be converted, and individual elements may extend beyond the visual bounds of the window.
  • IntersectionObserver rectangles and touch coordinates are still based on real window sizes.
  • Inline viewport dimensions just written within the same script step may still read unconverted values during that step and only become consistent in the next step.
  • Other scripts on the page (including other plugins) generally read the converted values; the Desktop account Usage / Top up area is an exception, still positioned by window pixels.
  • Already opened PDFs may retain their clarity from before the scaling change; they need to be reloaded, reopened, or zoomed in the preview to update.

In the browser, the browser’s built-in zoom and the plugin zoom are multiplied.

Installation and Activation

Web (profile web)

Add the plugin to the web profile with the following command:

dsh plugin --profile web add dsh-ui-scale

Desktop

Open Plugins in the Desktop application, select Add plugin, enter dsh-ui-scale and install it.

Typical Usage

After installation, open Settings > General > Interface scale; the scale can be set in three ways:

  1. Drag the slider: with 5% steps, takes effect after release.
  2. Enter a percentage: type a number in the input box and press Enter or click another area; it will be rounded to the nearest integer, and values below 50 or above 200 will be clamped to the boundary.
  3. Click presets: 100, 110, 125, 150, 175, 200%.

If you need to directly modify the profile configuration, you can write it in the profile’s cordis.patch.yml (consistent with the README example):

- id: ui-scale
  name: dsh-ui-scale
  config:
    scale: 125
Field Default Description
scale 100 Interface scale percentage, an integer from 50–200

Version notes (from the README): In dsh 0.2.0, a page opened from another machine can temporarily change the scale and it only affects that page until refreshed; this version does not write such page settings back to the persistent configuration. For higher versions, behavior follows the release notes of the dsh you actually use. The upstream README records that verification has been done under dsh 0.2.1-rc.2 (Web Chrome + macOS Desktop) and dsh 0.2.0-rc.2 (Web Chrome); the plugin package version is 0.1.5.

Use Cases and Cautions

  • Suitable for: users who need to unify the interface scale within a fixed DSH environment; users who want to enlarge the sidebar and session area on high-DPI displays or small laptop windows; Desktop users who want to remember window size and position.
  • Cautions: the plugin modifies client-side display and some measurement semantics; when combined with other plugins that depend on pixel or viewport sizes, pay attention to the exceptions in the Limits section; read the source code before enabling. Metadata such as stars on the directory page is based on the community site (the current entry has 0 stars, which does not represent a conclusion about quality).

Conclusion

dsh-ui-scale brings the interface scaling of DSH Web and Desktop into Settings and profile configuration, with a range of 50%–200%, and adds Desktop window geometry memory. If you want to install or contribute code, you can visit the directory page https://www.skillhub.cn/plugins/juliankang4/dsh-ui-scale and the repository https://github.com/juliankang4/dsh-ui-scale.

羽毛球分组比赛记分
小程序二维码

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

Xiaoye