dsh-effort-mosaic: Replace the Inference Level Row with a Pixel Mosaic Slider

Introduction

DeepSeek Harness (DSH) controls reasoning.effort levels in the model menu using “Reasoning Level” (推理等级), typically appearing as discrete text or simple controls like Off / Low / High / Max. While the semantics of these levels are clear, discrete labels lack a sense of continuity for the current intensity during high-frequency switching. The community plugin dsh-effort-mosaic (maintainer xiaobaga281) replaces that line with a pixel mosaic particle slider: the right side features a solid wall closely hugging the slider, while particles to the left detach from the grid earlier, drifting leftwards and fading out, visually mapping the change from low to high levels. This article introduces its positioning, installation, and interaction, as well as how to use it without modifying the host model configuration.

What is it

dsh-effort-mosaic is a “fun cosmetic” plugin in the DSH community directory. Current version 1.0.7, license MIT, zero runtime dependencies, no build steps, targeting DSH Desktop (README requires 0.2.1-rc.3 or higher).

In short: it takes over the “Reasoning Level” line in the DSH model menu and replaces it with a continuous, responsive pixel mosaic particle track; the number of levels is not hardcoded but follows the levels declared in reasoning.efforts for the current model; if the model does not declare any, it fails open (does not take over the line).

Directory page: https://www.skillhub.cn/plugins/xiaobaga281/dsh-effort-mosaic
Source code: https://github.com/xiaobaga281/dsh-effort-mosaic

Core Features

Track and Particle Semantics

The slider is a capsule-shaped groove approximately 30px high, composed of four stacked layers: gradient fill, 6 rows × 5px particles, ticks, and the slider. The degree of particle dispersion is determined by the distance from the slider: the right side, approximately 2% of the area, acts as a “wall” strictly adhering to the grid; moving leftwards increases the amplitude, accompanied by greater drift and jitter. Higher levels result in faster animation; at the maximum level, a glow animation is triggered, and the level name inside the input capsule turns brand blue (default follows the accent color).

Interaction

Operation Behavior
Hold and Drag Continuous and responsive; counts as a drag only if horizontal movement exceeds 5px
Release Snaps to the nearest level, approximately 0.25s
Click on Track Determines the nearest level, smooths over to it (approximately 0.34s, does not pass the pointer)
← → ↑ ↓ / Home End Adjacent levels or start/end levels, using the snap animation

The drag phase only modifies the local display; on release, it writes back to the official settings (120ms throttle, auto-rollback on failure). When switching to the maximum level, the glow animation plays only after the slider has arrived.

Maximum Level and Animations

The maximum level offers four glow animations: Energy Wave, Scanline, Burst, and Breathing. By default, only four “overflow” animations (Splash, Drift, Fall, Tide) are enabled at the maximum level. The right side is approximately 1/5 dead zone, with the escape ratio increasing the further left one goes.

Customization

The plugin detail page provides a configuration panel that takes effect immediately upon modification; settings are saved in the browser’s localStorage under the key dsh-effort-mosaic:settings:v1, with a default reset option at the bottom. Main items include: track accent color (default #4A84FF), slider shape (circle / hollow / circle / square / capsule / thin bar), size (30 / 34 px), fill style, glow style and intensity/speed, particle overflow toggle and amplitude, etc. For the full table, see the “Custom Styling” section in the repository README.

Installation and Enabling

The web configuration file can use the following command (must match the original documentation):

dsh plugin --profile web add dsh-effort-mosaic

It can also be installed from GitHub (content matches the npm package, no build steps):

dsh plugin --profile web add "github:xiaobaga281/dsh-effort-mosaic"

Desktop: Settings → Plugins → Add Plugin, enter dsh-effort-mosaic, or the repository address https://github.com/xiaobaga281/dsh-effort-mosaic.

Uninstall:

dsh plugin --profile web remove dsh-effort-mosaic

Or uninstall from the desktop plugin page.

Note: The package name has been unified to dsh-effort-mosaic; during the transition period, dsh-effortmosaic was used, but this package is no longer maintained. After modifying lib/client.js inside the plugin, the entire process must be restarted for changes to take effect. Development and smoke testing require Node >=22 (for testing purposes only).

Typical Usage

  1. Install the plugin and restart the process (if the client script was modified), ensuring the DSH Desktop version requirements are met.
  2. Open the model menu on a model that has declared reasoning.efforts and confirm that the original “Reasoning Level” line has been replaced by the mosaic slider.
  3. Drag or switch levels using the keyboard, observe whether the settings write back after releasing; when switching to the maximum level, check the glow and (default) overflow animations.
  4. Adjust accent color, slider shape, etc. on the plugin detail page, preview with the top thumbnail, and click “Play” to see the glow effect if necessary.

Only one plugin can take over a “Reasoning Level” line; the README explicitly states not to enable other similar slider plugins simultaneously.

Applicable Scenarios and Notes

Suitable for desktop users who wish to adjust reasoning levels in DSH in a more continuous, visual way, especially in scenarios where frequent switching between different efforts is required and customizing the UI and accent color is desired.

The plugin runs with the current DSH process permissions and injects the UI and reads/writes official reasoning settings via the client. It is recommended to check lib/client.js, cordis.patch.yml, and the MIT license on GitHub before installing to judge the compliance matrix and requirements.

The DSH ecosystem advocates “everything is a plugin”; community directories like SkillHub are independent sites with no official affiliation with DeepSeek / Huansuan. This article is purely for technical explanation and does not represent official endorsement.

Conclusion

dsh-effort-mosaic does not alter the level definitions, only replacing the presentation and interaction of the “Reasoning Level” line in the model menu: continuous track, wall-to-scattered particles semantics, and adjustable slider and animations. For further understanding of parameters and implementation constraints, you can directly read the “Implementation Highlights” and Changelog in the repository README.

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

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

Xiaoye