Preface¶
The DeepSeek Harness (DSH) Web interface defaults to a solid-color canvas: the sidebar, content area, and input box each fill with the theme base color. Staring at the same set of grayscale interfaces for long periods commonly causes visual fatigue. The community has long had “change background” approaches, but if you only place an image layer beneath the content area, the sidebar and title bar regions often remain opaque blocks, making the overall effect resemble a partial poster pasted on rather than a full-window wallpaper.
The following introduces the community plugin dsh-dt-bg (repository War-God0108/dsh-dt-bg, directory page SkillHub). Maintained by War-God0108, categorized as fun cosmetic customization. It is the second-generation implementation of DSH background replacement: rewritten for the official desktop client 0.2.0-rc.2, supporting image or solid-color wallpapers, and letting panels such as the sidebar, content area, and composer reveal the wallpaper via design tokens; the install script automatically mounts a Cordis patch, and after installation, simply restart the client to use it.
What Is This¶
In one sentence: Place the wallpaper on a window-level fixed layer and use panel alpha transparency, rather than using an opaque layer + DOM neutralization inside the layout.
The plugin package is named dsh-web-bg-2 within the project (npm version 2.0.0, MIT license, Node >=20). It injects into the DSH Web client (dsh web and the embedded page of the Windows official desktop client DeepSeek Harness.exe), provides a configuration option under “Settings → General → Background”, and persists to the web-bg-2 entry in <DSH_HOME>/profiles/<profile>/cordis.patch.yml.
Compared with the first version dsh-web-bg 1.x, v2 made architectural adjustments addressing three types of issues observed in testing on the official desktop client: wallpaper failing to cover the sidebar and title bar height, discontinuity between the title bar and page base color, and the whole window appearing grayish (wallpaper diluted by the theme base color). On the reproduction page, v2’s content area color gradient can be measured changing from “completely flat” to “multi-color-step reveal”—see the comparison table in the repository README.
Core Features¶
Wallpaper and Visual Effects¶
- Wallpaper type: image URL, local file (≤4MB, converted to data URL for persistence), or solid color.
- Wallpaper layer:
position: fixedfor the full window,z-index: -2, positioned beneath all panels, so the sidebar and composer naturally reveal it. - Canvas yielding: The official
bodybackground token no longer covers the wallpaper. - Panel translucency: Geometrically identifies the sidebar, content panels, popups, etc. (without hardcoding React hash classes), using
rgba(theme base color, alpha)to preserve readability;translucencycontrols the degree of transparency, with a minimum alpha floor to prevent text from sitting directly on top of photos. - Wallpaper post-processing:
opacity(the wallpaper’s own concentration),dim(darkening to ensure contrast),blur(0–48px). - Reveal scope:
scopeoptions areall(full window),content(content area only),off(no reveal).
Settings Fields (defaults from the README)¶
| Field | Default | Description |
|---|---|---|
enabled |
true | Master switch |
kind / image / color |
image / empty / #1e293b |
Image or solid color |
opacity |
1 | Wallpaper concentration (semantics differ from v1: v1 was the blending ratio with the base color) |
dim |
0.18 | Wallpaper darkening |
blur |
0 | Blur |
translucency |
1 | Panel transparency 0–100% |
scope |
all | Reveal scope |
Installation and Activation¶
Installation is based on the install.mjs provided in the repository (not the one-line dsh plugin add command). Run it in the plugin directory after cloning or downloading the source:
node install.mjs
Optional arguments:
node install.mjs --profile web
node install.mjs --dry-run
node install.mjs --uninstall
The script installs lib/ and package.json to <DSH_HOME>/profiles/node_modules/dsh-web-bg-2, and appends a web-bg-2 mount entry to the target profile’s cordis.patch.yml (skips if already present, and backs up the original file as .bak-dsh-web-bg-2).
Restart the client to enter the client module table loaded at DSH startup:
- Official desktop client: fully exit
DeepSeek Harness.exethen reopen; - Browser version: end
dsh webthen rerun.
Afterwards, if only files within lib/ are changed, client-hmr hot reload can be used without restarting each time. If mounted alongside v1, the two layers will stack; to remove v1, delete the corresponding insert for dsh-web-bg from cordis.patch.yml and restart.
Typical Usage¶
- Complete installation and restart DSH.
- Open Settings → General → Background.
- Choose an image or solid color, and adjust concentration, darkening, blur, and transparency as needed; set
scopetoallfor full-window effects. - If the effect is abnormal, use “Report Diagnostics” on the settings page, or run
node tools/final-state.mjsper the README to verify the configuration the plugin actually reads (the maintainer emphasizes: look at the diagnostics time series, not just the latest entry).
The repository also provides self-check commands for maintainers (used when modifying plugin code):
node install.mjs
node tools/verify-all.mjs
Use Cases and Notes¶
Who it’s for: Users who work long-term on the DSH official desktop client or dsh web, want a unified wallpaper style, and want the sidebar and input area to reveal it harmoniously.
Environment and versions: The README states it is rewritten for the official desktop client 0.2.0-rc.2; the page runs inside the desktop shell’s iframe, the Windows title bar is a 40px opaque Electron overlay, and this plugin reduces the seam by matching the page top to the panel color, rather than modifying the shell title bar color.
Security and trust: The plugin runs with the current DSH process privileges and modifies the Cordis patch and node_modules under the profile. Before installing, read the GitHub source code and the MIT license yourself; SkillHub is a community directory with no official affiliation with DeepSeek / High-Flyer.
Coexistence and rollback: Uninstall by running node install.mjs --uninstall; when coexisting with v1, be mindful of the layering relationship.
Conclusion¶
dsh-dt-bg advances DSH backgrounds from “an image beneath the content area” to “window-level wallpaper + panel-token transparency”, rewritten for the actual behavior of the official desktop client’s iframe and theme CSS, and comes with an install script and diagnostics pipeline, making it easy to use right after installation and easy for maintainers to verify whether changes take effect.
- Directory page: https://www.skillhub.cn/plugins/War-God0108/dsh-dt-bg
- GitHub: https://github.com/War-God0108/dsh-dt-bg