dsh-reasoning-glow: Codex-style reasoning intensity slider for DSH input area

Preface

In DeepSeek Harness (DSH), adjusting the model and reasoning level is typically done through dropdowns or list pickers. When there are many levels, you need to both see the current level and cram the model name onto the same line, making a quick glance rather costly. The community plugin dsh-reasoning-glow (repo name dsh-codexstyle-slide, maintained by WH-kt) replaces the model selection area next to the Composer input box with a Codex-style glowing pill slider: the level name is prominently centered, the model name recedes into a subtitle, and you switch levels by dragging or keyboard navigation, committing to the session only upon release. The following sections describe what it does, how to install it, and how it interoperates with DSH’s existing interactions.

What This Is

dsh-reasoning-glow is a client-side plugin for DSH Web and desktop (npm package name dsh-reasoning-glow, current version 0.1.0, MIT). Inside the DeepSeek Harness Composer, it takes over the original model selector UI through the conversation.input.model slot (priority: -1), expressing reasoning strength levels with a slider and adding a blue-purple gradient with particle effects on the highest level. SkillHub categorizes it as “model reasoning”; the GitHub repo WH-kt/dsh-codexstyle-slide had about 1 star as of the time the source material was retrieved.

Visuals and Interaction: The Codex-Style Slider

The panel references the visual language of Codex-family reasoning strength selectors while aligning with DSH’s existing behavior:

  1. The level name is the protagonist: a centered, bold level name (e.g. High / Max), with the highest level optionally using gradient text.
  2. The model name is the supporting character: a small gray label beneath it followed by ›; clicking expands the grouped model list.
  3. Thick pill track: a large circular white drag handle, with tick marks arranged along the track; while dragging, the title switches immediately to the corresponding level name.
  4. Flowing light at the highest level: the track becomes a blue-purple gradient, with about 18 white particles rising, swaying, and breathing in brightness (particles remain static when prefers-reduced-motion is set).

Items preserved from DSH include: the session is committed only after dragging and releasing; the model list is still accessed via the model name; ↺ returns to the provider’s default level in one click; after switching models, the current level is restored as much as possible. The plugin is a single-file browser-side implementation (client.js), with no build step and no third-party dependencies; dark/light themes and Chinese/English interfaces are adapted on the plugin side.

Core Capabilities (Listed in the README)

  • Pill track + circular drag handle: switch levels via dragging, clicking on the track, or ← → ↑ ↓, Home, End; the change is written only upon release.
  • Highest-level effects: gradient track and particle animation (see above).
  • ↺ restores the default level.
  • The model catalog is fetched via the slot’s inject(sessionId); it makes no additional assumptions about models or authentication methods.
  • Depends on Client capabilities: slots, modelDirectories, sessions, locale, remote, remote.session.

Installation and Activation

The official recommendation is to install via the npm package name (do not construct github:owner/repo from the repository name):

dsh plugin add dsh-reasoning-glow

If the CLI requires an explicit profile, you can use:

dsh plugin --profile desktop add dsh-reasoning-glow

You can also install it from the DSH plugin manager by searching for the package name dsh-reasoning-glow.

To install from a local directory, the README provides the approach of cloning the repository and then pointing to the directory (review the source code and license yourself):

git clone https://github.com/WH-kt/dsh-codexstyle-slide.git
dsh plugin add ./dsh-codexstyle-slide

Or in the DSH desktop app: Settings → Plugins, and use the plugin manager to install that local directory.

After installation, the plugin takes effect at the profile level; refresh the page to see the new slider.

Typical Usage

No separate configuration file is required. After enabling and refreshing, in the Composer input area:

  1. Drag the slider or click a tick mark on the track to preview the level name change; the level is written to the current session only after release.
  2. Use arrow keys or Home / End to switch levels, again committing upon release.
  3. Click the area next to the model name to expand the list and switch models; the plugin tries to preserve the current level.
  4. To restore the provider’s default level, click ↺.

For development and regression purposes, the repository’s smoke tests can be run (no browser required):

npm test

The corresponding test/smoke.mjs loads the real client.js in a simulated ModuleLoader, React, and Cordis context, and verifies the injection manifest, slot registration, load/select, slider commit, model list, and the highest-level gradient/particle branches, etc.

Compatibility and Use Cases

  • Environment: DSH 0.2.1-rc.2 (Web and desktop), Node.js >=22.
  • Suitable for: DSH users who frequently switch reasoning levels in the Composer, want an interface closer to the Codex-family slider experience, and accept a client-side UI replacement (rather than changing server-side reasoning logic).
  • Note: The plugin runs browser-side with the current DSH process’s permissions; please read the source code and license before installing; the community directory SkillHub plugin page and DeepSeek / HiThink are not officially affiliated, and it is an independent entry in the community “everything is a plugin” ecosystem.

Conclusion

dsh-reasoning-glow collapses DSH Composer’s model/level area into a draggable Codex-style slider, preserving existing habits such as committing upon release, the model list, and restoring defaults, while providing gradient and particle feedback at the highest level. The install command is dsh plugin add dsh-reasoning-glow; refresh after installation to use it.

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

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

Xiaoye