dsh-web
zhu1090093659/dsh-webDeepSeek Harness(DSH)Web 插件聚合生态包 · 一切皆插件,创意工坊分发(dsh-market.com)
[推理强度滑动调节插件]Reasoning effort slider for DeepSeek Harness — a per-session UI that lets users adjust reasoning intensity with a polished slider, shown for any model that declares reasoning efforts.
English | 中文
A DeepSeek Harness client (web) bundle that injects a reasoning-effort slider (Codex GPT-6 style) into the conversation input dock, shown when the selected model declares reasoning effort levels.
modelDirectories.directoryFor(session).select({provider,model,reasoningEffort})); other sessions are unaffected.lib/client.js is written directly in window.__ModuleLoader__.load({id, factory}) form using react/jsx-runtime jsx, for easy static audit.DSH's own model picker only carries reasoningEffort over when you re-pick the same model; switching models falls back to the target model's defaultEffort, which is undefined when the route configures no reasoning. That undefined is not "the default level": under the qwen dialect it is equivalent to enable_thinking: false, so thinking is silently turned off (verified by capturing the real request body with a mock fetch).
This plugin therefore does two things:
Remembers per model: the last level you explicitly picked for each model (provider/model → level).
Carries it over and writes it back on a model switch, clamping to the target model's ladder:
max, target tops out at xhigh → use xhigh);Since the slider never shows off, this rule cannot silently demote "thinking" to "not thinking".
If you have never picked a level (fresh state), the plugin writes nothing and shows a grey "默认" instead, honestly reflecting "unset".
dsh plugin --profile web add dsh-reasoning-effort-slider
General-purpose (any model declaring reasoningEfforts); can also be an optional dependency of dsh-bailian-models.
MIT