Introduction¶
The DeepSeek Harness (dsh) Web client supports extending the interface via Cordis plugins. If you wish to add an animated background layer behind the main interface without modifying the core repository or hand-writing one-off scripts, there is a formal bundle package in the community designed for “Fun Customization” that can be installed with one click. Here we introduce dsh-whale-particles-bg, published by maintainer kviiinh: it registers two full-screen canvas layers in the framework-level shell.overlay slot, rendering a WHALE silhouette particle field and an official-style dot grid that react to the pointer and theme changes.
The community plugin directory is available at SkillHub Plugin Page; the source code and instructions are in the GitHub Repository. This directory is a community site and has no official affiliation with DeepSeek / High-Flyer.
What is this¶
dsh-whale-particles-bg is a formal plugin package (bundle form) for the dsh Web UI: it declares dsh.bundle, can be installed via dsh plugin add, and automatically inserts the plugin line (id: whale-particles-bg) via the included cordis.patch.yml, eliminating the need to manually edit profile patches.
One-sentence capability: Animated whale particle background for the DeepSeek Harness (dsh) Web UI — assembling from its scattered shell, breathing at idle, and being pushed around by the pointer (Whale silhouette particles assemble from scattered points, breathe when idle, and have pointer repulsion; includes a dot grid layer).
- Maintainer: kviiinh
- Category: Fun Customization
- License: MIT (package.json)
- Version: 1.0.0 (package.json)
- Peer Dependency:
@deepseek-ai/cordis^4.0.2
Core Features¶
Two Canvas Layers¶
| Layer | z-index | Content |
|---|---|---|
| Whale Layer | 1 | Particle field sampled from the WHALE SVG path (24×18 viewBox, 6× offscreen rasterization, sampled every 2px). Particles assemble from a scattered shell; breathe when idle; pointer generates repulsion along the rotation angle of each particle within a radius of 4.9 world units. |
| Dot Grid Layer | 0 | 90px square dot grid with neighbor connections; attracts and enlarges dots within a 140px range of the pointer. |
Both layers are fixed, full-viewport canvases with pointer-events: none, ensuring they do not block clicks.
Theme & Performance¶
- Theme: Reads
body[data-ds-dark-theme]every frame. Dark theme particle color isrgb(215,232,255), light theme isrgb(50,82,135). No separate subscription to theme events is required. - Frame Rate:
requestAnimationFrameis capped at ~30fps (FRAME_MS = 33); the browser pauses rAF when the tab is hidden. - Mount Point:
shell.overlay(a frame-level list slot declared by@deepseek-ai/dsh-client-ui-layout). - Page Background:
global.cssinjects a marked<style>during factory execution, which overrides thebodybackground (includes!important).
Bundle Behavior¶
During installation, the package is appended to the profile’s dsh.profile.bundles, and the plugin line is written via cordis.patch.yml. The repository commits the lib/ build artifacts. The browser side uses the window.__ModuleLoader__.load({ id, factory }) bundle. After installing via git, no local build is required. The Node side (src/index.ts) has an empty apply; pure UI plugins only need to appear in the Loader.
Installation and Activation¶
Prerequisites: dsh is deployed, and the dsh CLI is in your PATH (or use pnpm dsh … within a dsh source checkout).
- Add the plugin (command from the repository README):
dsh plugin --profile web add git+https://github.com/kviiinh/dsh-whale-particles-bg.git
Other sources (README comments): Local path dsh plugin --profile web add /abs/path/to/this/repo; if published to npm, use dsh plugin --profile web add dsh-whale-particles-bg.
- Restart the Harness:
dsh web
- In Settings → Plugins → Plugin list → Global plugins, you should see
whale-particles-bgrunning, and the whale particle background should appear behind the interface.
Removal (removes both dependencies and the layer):
dsh plugin --profile web remove dsh-whale-particles-bg
Alternatively, you can set disabled: true for the corresponding line in the profile patch, which is equivalent to turning it off.
Typical Usage & Maintenance¶
Daily Use¶
No additional configuration is needed after installation and restart: this package has no settings namespace and no host-side business logic; it is a pure visual overlay. For a preview, refer to the animation in the repository README (src/preview.gif, 720×360, 10fps, ~12s: assembly, breathing, pointer repulsion).
After dsh Major Version Upgrades¶
Out-of-tree plugins carry the @deepseek-ai/cordis peer; if the peer does not match after a major version upgrade, you need to rebuild this package within the dsh checkout:
scripts/build.sh /path/to/deepseek-harness
# Or: DSH_CHECKOUT=/path/to/deepseek-harness scripts/build.sh
The script stages the source code to packages/client/dsh-whale-particles-bg/ in the checkout, runs pnpm install → tsc -b → tsdown --env.DSH_BUILD_FACE client, copies lib/ back, and runs scripts/sanitize-artifacts.mjs to scrub local path information from the build artifacts.
Plugin Market Listing (Optional)¶
The community market is driven by the awesome-dsh-plugin registry; this repository already carries the dsh-plugin topic and declares dsh.bundle. If a PR is accepted into the registry’s UI Enhancements category, it can be installed from Settings → Plugin Market. Currently, git installation is the primary method.
Applicable Scenarios & Notes¶
Suitable for: Developers who want to retain the WHALE brand motion effect in the dsh Web interface without maintaining in-process dynamic Cordis snippets; those who need a full-screen background overlaid with the official dot grid style.
Notes:
- The plugin runs with the current dsh process permissions; please review the source code and the MIT license before installation.
global.cssoverrides thebodybackground globally; if you need configurability, you must extend the settings namespace yourself and provide a card on the plugin settings page (as described in the README).- There is no per-package approval requirement (no host-side behavior), but please use the CLI above or set
disabledin the patch to disable/uninstall.
Conclusion¶
dsh-whale-particles-bg registers the whale particle field and dot grid into shell.overlay. It takes one command to install and a dsh web restart to take effect, and similarly, one remove command to uninstall. If you are personalizing the DSH interface, you can view previews and build instructions from the directory page and GitHub:
- Directory Page: https://www.skillhub.cn/plugins/kviiinh/dsh-whale-particles-bg
- GitHub: https://github.com/kviiinh/dsh-whale-particles-bg