dsh-deepseek-theme-studio: Bringing DeepSeek's Official Website Visual Language to the DSH Web Client

Preface

The DeepSeek Harness (DSH) Web GUI uses the host’s built-in appearance by default. Changing backgrounds, frosted glass effects, and animations usually requires modifying CSS or forking, making it difficult to persist and align the same visual across multiple machines. The community plugin dsh-deepseek-theme-studio (maintainer tuibe) targets the web / desktop client profiles, providing grouped adjustable parameters in the settings, and supports JSON persistence and a programmatic API. It packages effects like frosted glass, fluid backgrounds, and quantization (Q1–Q4) into a toggleable and reversible workbench following DeepSeek’s official visual language.

What is this

dsh-deepseek-theme-studio is a Web client theme plugin for DSH (platform: "web", injecting the client bundle via Cordis patch). Package version 0.1.4, MIT license; the manifest declares compatibility with DSH >=0.2.0-rc.2 <0.3.0-0, and the README states it is tested on host 0.2.1-rc.2 (also compatible with 0.2.0-rc.2).

Out of the box, it defaults to a blue-white official theme (fluid background + frosted glass + whale watermark); the preset “Native” or “Restore Native with one click” returns to DSH’s native appearance—after disabling all effects, it writes no design tokens and mounts no canvas. The SkillHub category is Fun Dress-up; the repository description mentions approximately 100 adjustable parameters (the parameter table drives both the settings UI and persistence keys).

Core Features

Three types of visual effects

  1. Appearance / Background: appearance mode (system / light / dark), background mode (solid / gradient / fluid), base and accent colors, fluid palette, decoration layer opacity, gradient angle, etc.
  2. Fluidization (fluid): can be toggled; independent sliders for flow speed, noise scale, pointer disturbance radius, domain warping, curl, particles, glow, vignette, soft blur, flow field disturbance, etc.
  3. Frosted glass: can be toggled; blur radius with dark / light tint, density, etc. (full key names see repository README §4).

The README also lists quantization (Q1–Q4) related parameters (visible at the truncation point such as quantum.q1Spacing, quantum.q2Levels, etc.), consistent with the quantised effects mentioned in the SkillHub description.

Three control channels

Settings page UI: registered under the host’s settings.general.item (order: 20, right after the built-in appearance-related rows), grouped and collapsible, controls auto-generated from the parameter table, not an independent floating panel.

Programmatic API: the same object is attached to window.dshThemeStudio and ctx.provide('themeStudio', api). Common capabilities include:

Capability Description
list() / get / getAll / set / setMany Read and write parameters, types and ranges constrained by the parameter table
reset() Restore native
exportPreset() / importPreset() Export / import JSON presets
presets() / applyPreset(id) Built-in: native / official-dark / official-light
subscribe(fn) Subscribe to changes
selfCheck() / diagnostics() Token and runtime state diagnostics

Example (from README):

window.dshThemeStudio.applyPreset('official-dark')
window.dshThemeStudio.set('glass.blur', 32)
window.dshThemeStudio.formatSelfCheck()

Restoring native can also be done from the console:

window.dshThemeStudio.reset()

JSON parameter file + hot reload: default path $DSH_HOME/theme-studio.json (on Windows typically $env:USERPROFILE\.dsh\theme-studio.json). The Node half provides an HTTP route with loopback / same-origin fencing (e.g. GET /deepseek-theme-studio/api, POST method: set|replace); when the page is visible, it checks the revision every 3 seconds, and manual file edits are hot-loaded; syntax errors are displayed in the settings row, not silently swallowed.

{
  "appearance.mode": "dark",
  "appearance.backgroundMode": "fluid",
  "glass.enabled": true,
  "glass.blur": 24,
  "quantum.q1Spacing": 90,
  "quantum.q2Levels": 6
}

Installation and Activation

In the DSH ecosystem, plugins are installed via the profile’s dsh plugin add; web and desktop are two independent profiles (each with its own package.json / node_modules / settings), installing on one side does not affect the other. The README requires using an absolute path when dsh is not in PATH, and setting COREPACK_ENABLE_PROJECT_SPEC=0 before local link installation (see repository §6 pitfall 1).

First place the plugin source in a local directory (README example variable $repo points to that directory), then execute:

$env:COREPACK_ENABLE_PROJECT_SPEC = "0"
$repo = "$env:USERPROFILE\src\dsh-deepseek-theme-studio"
$dsh  = "$env:LOCALAPPDATA\Programs\DeepSeek Harness\resources\runtime\cli\bin\dsh.cmd"

& $dsh plugin --profile web add $repo

For desktop, replace --profile web with --profile desktop. Expected result: dependencies gains dsh-deepseek-theme-studio link:$repo, and dsh.profile.bundles has the bundle name appended; loader entries are provided by the package’s cordis.patch.yml, no need to manually edit the profile’s cordis.patch.yml.

Client plugins have no auto-discovery: after installation, you must restart the corresponding profile for it to enter the boot manifest.

  • web: after stopping the current instance, the README gives the method of starting via DeepSeek Harness.exe + inner bin.js, --profile web, and clearing DSH_PROFILE and other environment variables to avoid dsh.cmd mistakenly binding to desktop; open the URL with token in the browser and do a Ctrl+Shift+R hard refresh.
  • desktop: completely exit DeepSeek Harness (including tray) then reopen; new plugins have no patchReload: live, hot update is not applicable.

Upgrade: for local link, modify src/ then node scripts/build.mjs (or pnpm run build) and restart; for npm package, add dsh-deepseek-theme-studio@<new version> then restart. Uninstall:

& $dsh plugin --profile web remove dsh-deepseek-theme-studio

After uninstall, still need to restart the profile; invalid Junctions under node_modules can be manually deleted (paths see README §2.4).

Typical Usage

  1. After installing and restarting the profile, open Settings → General, find DeepSeek Official Theme Workbench, and adjust appearance, fluid, frosted glass, quantization, etc. parameters by groups.
  2. When a shareable configuration is needed, export a preset from the UI or call exportPreset(); switching machines can use importPreset or edit theme-studio.json.
  3. Batch change theme via script or console: setMany({ ... }) or applyPreset('official-light'); debug token drift with formatSelfCheck().
  4. If you temporarily don’t want to uninstall the plugin but only need the native UI: Restore Native with one click or reset().

Use Cases and Notes

Who it’s for: developers who work long-term in the DSH Web GUI (or desktop-bound Web interface), want the interface to resemble DeepSeek’s official style, need fine-grained control over effects and frosted glass, and want to store configurations in files or APIs.

Permissions and security: the plugin runs with the current DSH process permissions; the JSON API route does DNS-rebinding / cross-site protection, not authentication, other local processes can read and write, consistent with similar trade-offs in the ecosystem. Before installing, you should review the GitHub source, REUSE.md, and LICENSES/ yourself.

Environment: Node >=18; target profile mainly web (README specifies $env:USERPROFILE\.dsh\profiles\web). The community directory SkillHub plugin page and GitHub repository are maintained by the community, and have no official affiliation with DeepSeek / Hithink RoyalFlush.

Conclusion

dsh-deepseek-theme-studio packages official-style fluid, frosted glass, and quantization effects into a DSH client plugin: the settings page, JSON, and window.dshThemeStudio three channels share the same parameter table, and you can use the native preset to revert to the host default appearance with one click. For the full parameter set, acceptance instructions, and troubleshooting (§6–§7), refer to the repository README.

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

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

Xiaoye