Official-style composer model trigger with a floating reasoning-effort slider popup.
Install
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:vvvspec/better-reasoning-slider
Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time. Only install sources you trust, and pin a commit (github:owner/repo#sha).
README
A DeepSeek Harness WebUI plugin that replaces the composer's model/effort dropdown with a compact, theme-aware control:
- Model picker — click the model pill to switch models.
- Reasoning effort slider — drag to adjust effort (e.g. low / high / max) with visible tick nodes on the track.
The slider writes through the same per-session ModelDirectory as the official @deepseek-ai/dsh-client-ui-model-selection plugin, so the /model popup and the composer stay consistent.
Features
- Official-style composer trigger: model name + current effort + chevron.
- Floating popup that stays inside the viewport.
- Model groups and descriptions from the existing model directory.
- Reasoning effort as a continuous slider with snap-to-node behavior.
- Nodes are rendered directly on the slider track and align with the thumb.
- Theme adaptive: uses DSH design tokens (
--dsw-specific-menu,--dsw-alias-*,--dsw-shadow-lv3), so it follows light/dark Harness themes. - No configuration file needed.
Install
From GitHub (recommended)
dsh plugin --profile web add github:vvvspec/better-reasoning-slider
Or with a full URL:
dsh plugin --profile web add https://github.com/vvvspec/better-reasoning-slider
Restart dsh web after installing.
Local development
dsh plugin --profile web add file:/absolute/path/to/better-reasoning-slider
Restart dsh web.
Usage
- Open the Harness WebUI.
- In the composer, click the model pill (e.g. the current model name).
- A popup opens with:
- The model list (grouped by provider).
- The Reasoning slider below the model list.
- Drag the slider thumb to the desired effort level.
- The thumb snaps to the nearest available node when you release.
- The selected effort is written to the current session and stays consistent with
/model.
How it works
- The plugin shadows the official
conversation.input.modelslot. - It uses the same
modelDirectoriesservice as the official model selector. - The slider maps a 0–1000 draft range to the model's available
reasoning.effortslist. - On release, it commits the nearest effort through
ModelDirectory.select().
Requirements
- DeepSeek Harness Web profile.
- A model that exposes
reasoning.effortsto see the slider. Models without reasoning efforts still show the model picker.
License
MIT
Links
More in this category
zhu1090093659/dsh-web-ui#packages/dsh-web-ui-all★ 3319
Plugin and skin collection for the DSH Web UI: task board, Git graph, right-side panel, remote mobile UI, pet, live token stats, and a skin center.
omdsh-dev/DSH-better-sidebar★ 1578
Full sidebar workbench with file rendering and editing, terminal, Git, and subagents; third-party plugins can register new tabs.
ccch1mneyyy/dsh-TUI★ 1499
Claude Code-style full-screen terminal UI: pixel-whale header, live status line, and streaming thought expansion.
omdsh-dev/dsh-at-file★ 261
Codex-style `@file` mentions: search workspace files in the composer and attach their contents to prompts.
huiliyi37/dsh-tianshu-tui★ 189
A terminal UI (TUI) for DeepSeek Harness.
Nagi-ovo/dsh-visualize★ 156
In-conversation generative UI: the model renders interactive HTML cards into the chat stream, with streaming preview and sandboxed rendering.