dsh-glass-effect: Applying a unified glass texture to the DSH interface

Preface

The DeepSeek Harness (DSH) interface consists of multiple regions, including the composer, pop-ups, menus, and code blocks. If you simply want to apply a semi-transparent, frosted-glass appearance with highlights without altering business logic or source code, you typically need to write custom CSS or fork a theme. The community plugin dsh-glass-effect unifies the composer, dialogs, menus, cards, code blocks, task panels, and right sidebar into a single glass material. It provides a single toggle under Settings → General → Appearance; turning it off restores the default DSH appearance without leaving residual attributes written by the plugin.

The following section covers the plugin’s positioning, capabilities, installation, usage, as well as the permissions and compatibility scope you should understand before use.

What is this

dsh-glass-effect is a “theme” style client plugin for DSH, published on GitHub by maintainer Yinhefuluoye (Yinhefuluoye/dsh-glass-effect). The community directory page is available at SkillHub. The plugin calibrates the same layer of semi-transparent material (top highlights, edge reflections, background blur) for both light and dark themes. It makes no network requests, does not collect session data, and fully releases injected styles and settings upon uninstallation.

The implementation references the MIT-licensed dsh-liquid-glass, with attribution retained in the repository’s LICENSE file.

Core Features

The capabilities verified in the README are as follows:

  1. Unified Material: The composer, dialogs, menus, code blocks, task panels, and right sidebar share a single glass effect layer.
  2. Theme-Specific Calibration: Light and dark themes have separate configurations for highlights, reflections, and blur.
  3. Single Toggle: Located under Settings → General → Appearance, below the three theme options. Enabling it applies the glass appearance; disabling it matches the state of having the plugin not installed.
  4. No Other Entry Points: No global hotkeys or additional configuration panels.
  5. Client-Side Implementation: Injects a stylesheet, marks attributes on the body, overrides a layer of tokens via the theme service, and registers a single setting. It only writes to the plugin’s own localStorage key. lib/client.js is a handwritten single-file implementation with no build step; the repository provides an offline self-check script tools/verify.mjs (containing 43 assertions, including static checks for network access and session data reading).

The current version in package.json is 0.2.2; when installing from Releases, the README example filename is dsh-glass-effect-0.2.0.tgz. Please refer to the actual files on the Releases page.

Installation and Activation

DSH features a built-in graphical plugin installer. No CLI commands not found in the documentation are required (e.g., do not manually construct dsh plugin add github:...).

  1. Open Settings → Plugins → Add plugin.
  2. Enter the following into the package name or address field:
https://github.com/Yinhefuluoye/dsh-glass-effect
  1. Click Install, then restart DSH.

The GitHub address or .tgz link is not fetched via the npm registry; the machine must be able to access the address directly or via a proxy.

Install from Release

  1. Download dsh-glass-effect-0.2.0.tgz (or copy its download URL) from the repository’s Releases.
  2. Paste the link into the Add plugin address bar and install.
  3. Restart DSH after installation.

The desktop client has no Ctrl+R reload hotkey; changes to plugins or installations require restarting the application rather than relying on hot reload.

Enable Glass Effect

After installation and restart, go to Settings → General → Appearance and turn on the glass effect toggle. The toggle state is stored by origin; desktop Electron and dsh web do not affect each other.

Typical Usage

There is no additional API beyond the toggle. According to the behavior table in the README:

Toggle State Effect
On Applies glass appearance
Off Consistent with default DSH appearance

If you only wish to temporarily restore the default style, use the toggle rather than uninstalling the plugin.

Uninstallation

Remove "dsh-glass-effect" from dsh.profile.bundles in the profile’s package.json, run pnpm remove dsh-glass-effect, and restart DSH. The README does not recommend this as a daily method for “turning off the skin.”

Applicable Scenarios & Notes

Target Audience: Developers who use the DSH desktop or Web client for extended periods, wish to unify the interface into a glassmorphism style, and accept control solely via the settings toggle.

Compatibility: Requires DSH 0.2.x (utilizing the settings.general.item slot and the Switch from ui-primitives). Desktop and Web share the same Web client implementation.

Security & Permissions: The plugin runs under the permissions of the current DSH process. Before installation, you should read lib/client.js and cordis.patch.yml, and confirm the MIT license and NOTICE. The documentation explicitly states: no network access, no reading of cookies/sessions/credentials, and no modification of the application source tree. After uninstallation, no DOM attributes written by the plugin should remain (turning off the toggle restores the default appearance).

Ecosystem Note: DSH adopts an “everything is a plugin” extension approach; community directories like SkillHub are independent sites and have no official affiliation with DeepSeek or High-Flyer. The installation steps in this article are based on the GitHub README.

Conclusion

dsh-glass-effect uses a single settings toggle to transform the main UI surfaces of DSH into a unified semi-transparent glass material, restoring the default theme when turned off. For further details and release packages, see the GitHub Repository, and for directory indexing, see the SkillHub Plugin Page.

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

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

Xiaoye