dsh-web-search-ddg
aooyoo
Zero-token DuckDuckGo search provider for the DeepSeek Harness (DSH) web seam — local headless browser, no API key, no m…
PROJECT TOPICS
PROJECT README
Thinking-strength slider — a client plugin for the DSH web UI that replaces the discrete button list for "thinking strength" (reasoning effort) in the model picker with a snap-to-step slider.
When using the DSH web UI, adjusting how "deeply" a model thinks — its thinking strength (reasoning effort) — hides behind a second-level menu in the model picker as a row of discrete buttons: Default / Off / High / Max. Clicking is straightforward, but for a concept that is inherently a continuous gradient, a button list is neither intuitive nor pleasant to operate.
thinking-slider exists exactly for this: it replaces that row of buttons with a snap-to-step slider, making thinking-strength adjustment as smooth and natural as a volume control.
-1); stop or remove the plugin and the original button-list UI returns instantly, with nothing left behind.It is not a standalone app — it is a lightweight DSH client plugin of 3 files and a few hundred lines: the host half merely marks the Loader row, while the browser half carries the entire UI and interaction, wired into DSH's plugin system through the dsh.client declaration and auto-loaded at process start.
Default / Off / High / Max (whatever levels the model actually provides)session.selectModel; the host is the single source of truthThe plugin shadows the conversation.input.model seat via shadow registration (priority -1 < original 0; the lowest renders):
@deepseek-ai/dsh-client-ui-model-selection) registers at priority 0 and renders the two-level "Model / Reasoning effort" menu-1 and renders the two-level "Model / Thinking strength" menu, whose strength panel is a sliderThe data flow reuses the original per-session ModelDirectory (the modelDirectories service): load the model catalog → subscribe to directory.store → commit via directory.select({provider, model, reasoningEffort}).
Requires the DSH web environment (
@deepseek-ai/dsh-web-appanddsh-client-ui-model-selectionmounted).
Clone this repository and put the thinking-slider directory into the DSH profile's node_modules (hoisted layout):
# assuming DSH_HOME=C:\Users\<you>\.dsh
cd %DSH_HOME%\profiles\node_modules
git clone https://github.com/Motuo24/dsh-thinking-slider.git thinking-slider
# or copy the thinking-slider directory here manually
Insert the plugin row into the DSH profile's composition patch:
# %DSH_HOME%\profiles\web\cordis.patch.yml
- insert:
- id: thinking-slider
name: thinking-slider
Restart the DSH process (client-modules scans dsh.client declarations at startup and composes the plugin into the browser boot graph). Open the web UI, go to the model picker → "Thinking strength" to see the slider.
thinking-slider/
├── package.json # dsh.client declaration (platform: web) + exports["./client"]
└── lib/
├── index.js # host half: empty apply, just so the Loader recognizes the row
└── client.js # browser half: full UI in window.__ModuleLoader__.load format
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。