
flyemFSB/dsh-reasoning-effort-hdbzq
50Last commit Aug 14, 2026
dsh-reasoning-effort-hdbzq DSH plugin
This plugin overrides the built-in conversation input model selector with a custom UI that shows models grouped by provider and a draggable three-level slider for reasoning effort. The slider uses native range semantics but with custom pointer-driven interaction for continuous tracking, elastic overscroll, and snap-submit on release. It automatically restores the original selector when unloaded.
How to install the dsh-reasoning-effort-hdbzq DSH plugin
dsh plugin --profile web add https://github.com/flyemFSB/dsh-reasoning-effort-hdbzq/releases/download/v0.1.0/dsh-reasoning-effort-hdbzq-0.1.0.tgzCopying does not run this command. Review the repository and version before installing the dsh-reasoning-effort-hdbzq DSH plugin.
dsh-reasoning-effort-hdbzq DSH plugin data source
dsh-reasoning-effort-hdbzq DSH plugin snapshot date: Aug 16, 2026
discovered
What the dsh-reasoning-effort-hdbzq DSH plugin can do
- Displays models grouped by provider with loading, error, and empty states
- Three-level reasoning effort slider with custom drag: continuous tracking, elastic overscroll, snap-to-nearest on release, and keyboard support
- Maps effort display names to position-based images from `src/client/assets/`; falls back to host directory names if images are insufficient
- Accessible: `role="slider"`, live `aria-valuetext`, keyboard left/right, Escape to close, `prefers-reduced-motion` support
- Auto-restores the original `conversation.input.model` slot when the plugin is removed
Where the dsh-reasoning-effort-hdbzq DSH plugin fits
- Quickly switch between different reasoning effort levels (e.g., low, high, max) without leaving the input area
- Visually distinguish models by provider and see the current effort level at a glance
- Fine-tune effort during a conversation by dragging the slider, with real-time feedback and commit on release
- Use keyboard shortcuts (←/→) to change effort immediately without mouse interaction
Who the dsh-reasoning-effort-hdbzq DSH plugin is for
- DSH users who want a more visual and intuitive model selector with effort control
- Users who frequently adjust reasoning effort and need a responsive, accessible UI
dsh-reasoning-effort-hdbzq DSH plugin limitations
- Fixed shadow priority `-10`; if the host changes its built-in slot registration priority, the plugin may require an update to avoid conflicts
- Effort display names are mapped by position (image order) rather than by effort ID, so the same image may appear with different semantics across models
- Avatars are embedded as data URLs at build time; the tarball does not contain separate static assets, and the client module system does not serve static files
- Image rights of the avatar characters belong to their original owners; the MIT license in this repo does not cover those rights
dsh-reasoning-effort-hdbzq DSH plugin: from the repository README
Quoted from the flyemFSB/dsh-reasoning-effort-hdbzq README, the upstream source of the dsh-reasoning-effort-hdbzq DSH plugin. Copyright remains with the original authors.
DeepSeek Harness 前端插件:把输入框里的模型选择控件换成**模型列表 + 三档推理档位滑块**。档位名称和头像取自 `src/client/assets/` 下的三张图片,从左到右:**小难梁 · 梁子 · 梁圣**。 实现遵循官方客户端插件契约(`packages/client/AGENTS.md`、`ui-slots` 插槽系统、`tsdown.client.ts` 构建契约),没有基于既有插件二开: - 用官方 `ctx.slots.inject` + `slots.register`(`priority: -10`)覆盖内置 `conversation.input.model` 席位,卸载后自动恢复。 - 复用官方 `modelDirectories` 服务与共享目录 store,不自己实现模型调用。真实 Effort ID(如 `off` / `high` / `max`)原样交给 `session.selectModel`,「小难梁 / 梁子 / 梁圣」只在浏览器界面出现,不会写进模型请求。 - 样式只用官方 `--dsw-alias-*` 语义 token,跟随亮/暗主题。 - 文案走官方 locale 字典机制(`zh` / `en` 双词典)。 - 构建产出与官方一致的 `__ModuleLoader__` 闭包包(`lib/client.js` + source map),CSS Modules 经 lightningcss 编译并自动注入 `<style data-plugin>`。 ## 功能 - 触发按钮:当前模型名 + 当前档位名 + 档位头像。 - 弹出面板:按 provider 分组的模型列表(含加载/失败/空态),下方是可拖动的三档滑块。 - 滑块是原生 `range` 语义 + 完全自绘交互: - **连续跟手**:拖动时 thumb、填充、档位名、头像由指针直接驱动,没有往返延迟。原生 value 拖动中是步进取整,无法跟手,所以 pointerdown 直接弃用原生拖动。 - **弹性越界**:拖出轨道两端后 thumb 带 25% 阻尼跟随,松手弹簧回弹。 - **松手吸附提交**:松手吸附到最近档位并提交一次真实 Effort ID;半程松手吸附最近档;键盘 ← → 和点击轨道即时提交。 - **合并去重**:自己提交在途时输入保持可用,新档位 latest-wins 落地后续传,连续快速拖动不丢档位。提交被拒时回弹到已确认档位,错误显示在面板内。 - **面板稳定**:拖动中不响应外点关闭;面板打开期间按钮标签冻结,轨道不会位移;档位标签与轨道刻度对齐。 - 档位名称按位置映射:`efforts[i]` ↔ 第 i 张图片的文件名;图片不足或档位超过三张时回退到 hos
Read the full READMERepository license: MIT
dsh-reasoning-effort-hdbzq DSH plugin questions
How do I install dsh-reasoning-effort-hdbzq?
Run the command `dsh plugin --profile web add https://github.com/flyemFSB/dsh-reasoning-effort-hdbzq/releases/download/v0.1.0/dsh-reasoning-effort-hdbzq-0.1.0.tgz` in your terminal. Make sure you have the DSH Web profile installed and Node.js 20 or later.
How do I uninstall this plugin?
Use `dsh plugin --profile web remove dsh-reasoning-effort-hdbzq`. After removal, the built-in model selector will be automatically restored to its original state.
Why does the slider only show three levels?
The slider displays three levels because the host directory's `efforts` array is expected to have three entries. If the array has fewer than 3, only those levels are shown; if it has more than 3, the extra levels are displayed using the host's original names instead of the custom images.
Can I customize the names of the effort levels?
Yes, you can rename the image files in `src/client/assets/` (e.g., `小难梁.png`, `梁子.png`, `梁圣.png`) and update the `ASSET_ORDER` list in `build.mjs` accordingly. The display names are taken from the file names without extension, so renaming them changes the UI labels.
What are the compatibility requirements for this plugin?
The plugin requires a DSH Web profile (dsh ≥ 0.1.0-rc.6) that provides the `conversation.input.model` slot and `modelDirectories` service. It also relies on peer dependencies such as `react`, `@deepseek-ai/cordis`, and several DSH client packages, which are provided by the Web profile.