dsh-native-reasoning-slider
开发工具 活跃维护

dsh-native-reasoning-slider

WSL043/dsh-native-reasoning-slider

支持模型感知的推理力度灵活调节,适配不同模型的推理特性,内置Claude风格WebGL能量场动效,提供多套原生主题自由切换,附带在线演示可直接上手体验。

1
Stars 标星
0
Forks 分支
1
Watchers 关注
0
Open Issues
JavaScript
主要语言
MIT
开源协议
4.8 MB
仓库大小
1 个月前
最后推送
一键安装扩展 / 插件指令
dsh plugin --profile web add github:WSL043/dsh-native-reasoning-slider
git clone https://github.com/WSL043/dsh-native-reasoning-slider.git
git clone git@github.com:WSL043/dsh-native-reasoning-slider.git
README.md main
# DSH Native Effort Slider **A compact, model-aware effort control for DeepSeek Harness** [![CI](https://cdnimage-cache.doubi.ren/?url=https://github.com/WSL043/dsh-native-reasoning-slider/actions/workflows/ci.yml/badge.svg)](https://github.com/WSL043/dsh-native-reasoning-slider/actions/workflows/ci.yml) [![npm](https://cdnimage-cache.doubi.ren/?url=https://img.shields.io/npm/v/dsh-native-reasoning-slider?logo=npm&label=npm)](https://www.npmjs.com/package/dsh-native-reasoning-slider) [![total npm downloads](https://cdnimage-cache.doubi.ren/?url=https://img.shields.io/npm/dt/dsh-native-reasoning-slider?logo=npm&label=total%20downloads)](https://www.npmjs.com/package/dsh-native-reasoning-slider) [![MIT](https://cdnimage-cache.doubi.ren/?url=https://img.shields.io/badge/license-MIT-111111.svg)](https://raw.githubusercontent.com/WSL043/dsh-native-reasoning-slider/main/LICENSE) [Live demo](https://wsl043.github.io/dsh-native-reasoning-slider/) · [Install](#install) · [Modes](#three-modes-one-plugin) · [简体中文](https://github.com/WSL043/dsh-native-reasoning-slider/blob/main/README.zh-CN.md)

Dark DeepSeek Harness composer with the Energy effort slider enlarged

Why this plugin

DSH models can advertise different reasoning-effort levels. This plugin keeps
the composer to two small pills—model and effort—and opens the exact advertised
levels in a compact slider only when you need it. It does not invent unsupported
capabilities or change provider routing.

  • Model-aware: uses only the levels reported by the selected model.
  • Efficient: dragging is local preview; DSH receives one selection on release.
  • Native: separates model selection from a 28 px effort pill and follows DSH tokens and contracts.
  • Personal: one light/dark palette for every model, or a separate palette for each model.
  • Deliberate: keyboard input works; Native stays still, while choosing Energy explicitly enables motion.
  • Private: no credentials, account access, telemetry, or plugin-owned network calls.

Three modes, one plugin

Choose the presentation in Settings -> General -> Reasoning control:

Mode Behavior
Official Restores DSH's unmodified model selector
Native Adds a quiet effort pill with a compact popover slider
Energy Adds a brief, independently implemented WebGL cell-and-bloom effect while dragging and settling

The plugin market remains the place to install, update, disable, or remove the
plugin. The setting changes presentation without installing duplicate plugins.

Energy mode offers three renderers: Continuous animates every advertised
effort level and is the default; Reference reproduces the published
Max-only timing and cell-spread behavior through an independent implementation;
Compact (Beta) is the lower-motion alternative. It starts with restrained
blue in light appearance and violet in dark appearance. Both colors are editable
from DSH Settings. Choose All models
for one palette, or Per model and select each model's light and dark colors
in the settings page. The composer popover stays focused on effort control.
The motion is Claude-inspired, but the implementation and model contract are
provider-neutral.

High-resolution animation of the effort slider moving from Off through Max

Try the same production renderer on the interactive experience page. It supports dragging, keyboard input, light/dark appearance, and live color adjustment without connecting to an account.

Official, Native, and Energy presentation modes in DSH Settings

Install

Beginner-friendly PowerShell helper (it still installs through DSH's official
plugin command):

irm 'https://github.com/WSL043/dsh-native-reasoning-slider/releases/latest/download/install.ps1' | iex

Or use the official DSH command directly:

dsh plugin --profile web add dsh-native-reasoning-slider

Then restart DSH. The same official command works with DSH distributions that
provide dsh. This plugin is tested against the latest DSH release shown in
the package metadata.

Update or uninstall:

dsh plugin --profile web update dsh-native-reasoning-slider
dsh plugin --profile web remove dsh-native-reasoning-slider

Behavior and limits

  • The selected effort applies through DSH's normal model-selection contract.
  • Models with fewer than two advertised effort levels keep the standard model
    selector and show no artificial slider choices.
  • Energy rendering runs only while its compact popover is open. Continuous and
    Compact respond above Off; Reference deliberately animates only at Max.
    Closing the popover unloads it; choose Native for a still control.
  • This plugin does not show DeepSeek balance or quota. Account-specific balance
    access belongs in a separate plugin with explicit permissions and failure UI.

This community project is not affiliated with or endorsed by DeepSeek.

Report a bug · Security · MIT