Foreword¶
There are various CSS and JS animations in the DeepSeek Harness (dsh) Web interface, such as the gradient shimmer of the “Deepseeking…” status line, the command line sweep, and turn marks. When the operating system or browser reports prefers-reduced-motion: reduce, dsh respects this accessibility preference in its stylesheets and some rendering logic. Animations are turned off or follow static branches, making the interface look like the “glow has stopped moving.”
If you have enabled system-level “Reduce Motion” for other reasons but still wish to see the full UI animations on your dsh workstation, you can use a plugin to override this preference independently without modifying dsh source code or node_modules. Below is an introduction to the community plugin dsh-force-motion (Maintainer: maxesisnclaw, Category: Fun Cosmetics).
What is this¶
dsh-force-motion is a Cordis patch plugin designed for the dsh Web profile. It runs a small script within the index page injected by the server to prevent prefers-reduced-motion from taking effect, thereby restoring the interface animations built into dsh. It does not modify node_modules and does not rely on internal dsh hashed class names or keyframe names. The README states its design intent is to continue working even after dsh upgrades.
Why dsh disables animations¶
The README summarizes two mechanisms:
- CSS: Several selectors containing animations are guarded by
@media (prefers-reduced-motion: reduce), settinganimationtononeetc. under reduce mode; this involves approximately seven rules covering status shimmer, command line sweep, turn mark, reasoning row sweep, and retry shimmer. - JS: Some renderers follow static branches via
matchMedia("(prefers-reduced-motion: reduce)").matches.
In the environment described above, users will see a static interface even if dsh itself defines animations.
Core Functions¶
After injection, the script primarily does two things (both sourced from the official README):
- Wrap
matchMedia: Ensures the(prefers-reduced-motion: reduce)query no longer returns a match. - Clean reduced-motion rules from same-origin stylesheets: Removes rules related to
prefers-reduced-motionfrom every same-origin stylesheet; this is re-executed when new<style>or<link>nodes are added to the page, allowing base animation declarations to take effect again.
The result is that animations within the dsh Web UI play normally.
Installation and Activation¶
The plugin runs with the privileges of the current dsh process; before installation, it is recommended to review the source code and MIT license on the GitHub repository.
Install via Official Command¶
For the Web profile, use the installation command from the documentation:
dsh plugin --profile web add github:maxesisnclaw/dsh-force-motion
Manual Installation¶
Copy the plugin directory to <dsh-install>/plugins/ and append the following to $DSH_HOME/cordis.patch.yml:
- insert:
- id: force-motion
name: /absolute/path/to/dsh-force-motion/index.js
Restart dsh after completion.
Verification and Self-Testing¶
The verification methods provided in the README:
- When the model is thinking, the status line should exhibit a shimmer rather than a static gradient.
- In the browser console:
matchMedia('(prefers-reduced-motion: reduce)').matchesshould returnfalse; the plugin will output the logdsh-force-motion: reduced-motion suppression neutralised. - Run unit tests in the plugin directory:
npm test(corresponding tonode --test test/*.test.mjs).
Use Cases and Notes¶
Suitable for: Workstations used personally where the user explicitly wishes to retain dsh interface animations; when the system or browser has enabled reduced-motion for reasons unrelated to dsh usage.
Trade-offs: The plugin intentionally overrides accessibility-related reduced-motion preferences. To restore dsh default behavior, uninstall the plugin or set window.__dshForceMotion = false before application startup.
The DeepSeek Harness ecosystem emphasizes “Everything is a plugin”; the plugin directory page is hosted on the community site SkillHub, which has no official affiliation with DeepSeek/High-Flyer and is not an official app store.
Conclusion¶
dsh-force-motion allows Web UI animations to continue playing in reduced-motion environments without touching the dsh core package, achieved through frontend-level matchMedia wrapping and same-origin stylesheet rule cleanup. If needed, you can learn about its category and introduction from the directory page, and obtain installation instructions and source code from GitHub.
- Directory Page: https://www.skillhub.cn/plugins/maxesisnclaw/dsh-force-motion
- GitHub: https://github.com/maxesisnclaw/dsh-force-motion