flyemFSB/dsh-reasoning-effort-hdbzq
DeepSeek Harness 前端插件:把输入框里的模型选择控件换成模型列表 + 三档推理档位滑块。档位名称和头像取自 src/client/assets/ 下的三张图片,从左到右:小难梁 · 梁子 · 梁圣。
catalog descriptioncatalog 简介 / catalog description:滑动变祖器
Project Overview项目介绍
This is a front-end plugin built exclusively for the DeepSeek Harness web profile. It replaces the default model selection control with a sorted model list grouped by provider and an interactive three-step slider for adjusting reasoning effort. To install the plugin, you can run the official DSH CLI 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 and then officially launch DSH with the web profile after installation completes. The plugin follows the official DSH plugin contract, injecting into the existing UI slot to replace the original control, and automatically correctly restores the default control after uninstallation.
When you use the plugin, a trigger button that displays your current selected model and active reasoning effort is placed in the original input area. Clicking this button opens the selection panel, which keeps your current button label frozen while the panel is open to prevent unexpected UI shifting. The slider supports smooth, pointer-following dragging, with elastic overshoot when you drag past the end of the track, and automatically snaps to the nearest reasoning step when you release your pointer or lift your finger. It also supports keyboard navigation with arrow keys and clicking directly on the track to select a step.
The plugin requires DSH version 0.1.0-rc.6 or newer, and all runtime dependencies are provided by the DSH web environment, so you don’t need to install any extra packages to run it after adding the plugin via the CLI. It is released under the open source MIT license, but note that the portrait rights for the default step avatars are held by the original copyright holder. If you want to build the plugin from source, you will need Node.js version 20 or newer, and you can run npm install followed by npm run check to complete the full build and type checking.
这是一款专为 DeepSeek Harness Web 版开发的原生前端插件,会将输入框处原有模型选择控件替换为按服务商分组的模型列表加三档推理档位滑块。插件遵循官方客户端插件契约,通过官方插槽系统覆盖内置模型选择席位,卸载后会自动恢复原有控件,复用官方模型目录服务,不自行实现模型调用逻辑。
安装完成后,用户可点击显示当前模型和当前档位的触发按钮打开选择面板,拖动滑块即可切换推理档位。滑块支持连续跟手拖动、弹性越界交互,松手后会自动吸附到最近档位并提交对应推理档位ID,还支持键盘方向键切换、点击轨道切换档位等操作,适合需要直观可视化调整推理档位的 DSH Web 版用户使用。
本插件要求 DSH 版本不低于 0.1.0-rc.6,所有运行时依赖都由 DSH Web 版环境提供,用户只需通过官方 dsh plugin 命令即可完成安装卸载。插件以 MIT 许可开源,需注意内置头像图片的肖像权归原权利人所有,已知限制包括固定插槽优先级、档位显示名按位置映射等。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-reasoning-effort-hdbzq(flyemFSB/dsh-reasoning-effort-hdbzq)
仓库:https://github.com/flyemFSB/dsh-reasoning-effort-hdbzq
本站详情页:https://www.yhbd.top/plugins/flyemfsb-dsh-reasoning-effort-hdbzq/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证 MIT · ⭐ 4 · 最近提交 2026-08-14 · 主语言 TypeScript
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【1 兼容性检查】
① 我这边:DSH 版本、Node 版本、操作系统、当前 profile(web / desktop)。
② 读它的 README、package.json、插件 manifest,列出它要求的 DSH 版本 / Node 版本 / 操作系统 / 外部依赖 / 需要另外先装的运行时。
③ 逐条比对,结论只写「满足 / 不满足 / 未知」三种;不满足的给出可行替代方案。
④ 检查是否和我已装的插件冲突:命令名重复、skill / tool 重名、端口占用、重复注册的 MCP server。
【2 安全性检查】
① 仓库可信度:和上面「本站登记」是否一致;star / fork 数、创建时间、最近提交,是否归档或长期停更。
② 安装脚本:逐行看 package.json 的 preinstall / install / postinstall,以及 install.sh、setup.ps1 之类脚本。出现 curl|bash、下载后直接执行、混淆代码、访问与插件功能无关的域名,立刻停下来告诉我,不要继续装。
③ 依赖:列出新增依赖,标出无人维护、或与知名包拼写近似的可疑包(typosquatting)。
④ 权限与副作用:它会读写哪些目录、访问哪些域名、需要哪些 DSH 权限(filesystem / network / shell / clipboard 等),以及怎么卸载和回滚。
⑤ 如果它要求 sudo / 管理员权限,或权限明显超出功能所需,先停下来问我。
【3 安装】
上面两步没有「不满足」和「高危项」时才执行;用官方推荐方式安装,不要自行提权。
【4 汇报】
用表格输出:检查项 / 结论 / 依据 / 是否需要我决策。拿不准的一律写「未知」并说明要我怎么确认——不要猜,也不要替我决定。
Send this message to DSH in your current session: it verifies compatibility and security first (answering met / not met / unknown item by item) and only installs once everything checks out — it will stop and ask you if it finds a high-risk item. The box scrolls; the copy is the full prompt. CLI install commands may not be accurate across systems, so DSH is the safer route.把上面这条消息直接发给当前会话里的 DSH:它会先核对兼容性与安全性(逐条给「满足 / 不满足 / 未知」),确认没问题再安装,有高危项会停下来问你。框内可滚动,复制到的是完整提示词;安装命令不一定准确,发给 DSH 更稳。
- Only 4 stars - very few users, little community feedback星标只有 4,几乎没人在用,遇到问题缺少社区反馈
DSH walks through these 9 checksDSH 会逐条核对这 9 项
Compatibility兼容性
- DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
- External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
- Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册
Security安全性
- Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
- Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
- curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
- Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
- Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
- Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式
Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。
Or use CLI install (for developers)或使用命令行安装(适合开发者)
CLI Install命令行安装
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
把 flyemFSB/dsh-reasoning-effort-hdbzq 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
dsh-reasoning-effort-hdbzq
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 张图片的文件名;图片不足或档位超过三张时回退到 host 目录提供的原始名称。 - 被寻址的子代理会话(
subagentAddress命中)不渲染任何内容,与内置席位契约一致。 - 无障碍:
role="slider"+ 实时aria-valuetext、键盘 ← →、Escape 关闭并还原焦点、外部点击关闭、prefers-reduced-motion。
档位映射
| 位置(从左到右) | 图片文件 | 显示名 | 提交的 Effort ID |
|---|---|---|---|
| 第 1 档 | 小难梁.png |
小难梁 | host 目录 efforts[0] 的 id |
| 第 2 档 | 梁子.png |
梁子 | host 目录 efforts[1] 的 id |
| 第 3 档 | 梁圣.png |
梁圣 | host 目录 efforts[2] 的 id |
显示名与头像按位置取自图片文件名,与真实档位语义无关。顺序由
build.mjs的ASSET_ORDER固定,重命名图片文件(并同步该列表)即可重命名档位。构建时自动缩图并内嵌。
安装
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
安装完成后启动:
dsh --profile web
卸载
dsh plugin --profile web remove dsh-reasoning-effort-hdbzq
卸载后内置模型选择席位自动恢复。
从源码构建与校验
需要 Node ≥ 20 和 npm 安装的 devDependencies:
npm install
npm run check # typecheck + 单测 + 完整构建
构建脚本(build.mjs)分三步:
gen-assets:读src/client/assets/*.png,双线性缩放到最长边 160px 后以 JPEG(q85) 内嵌为 data URL,档位名取文件名(生成src/client/assets.generated.ts,不入库)。tsc:产出lib/types声明。esbuild:node 半区(lib/index.js、lib/invariant.js)+ 浏览器半区(lib/client.js,__ModuleLoader__闭包包 + source map,平台模块 external,CSS Modules 经 lightningcss,含跨插件值导入纯度门禁)。
Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →
nexu-io/open-design
EthanYoQ/AI-Novel-Writer
fufankeji/deepseek-harness-studio
EthanYoQ/Invoice-Downloader
Clarklevis1995/dsh-mobile
ZSeven-W/dsh-ios
THU-MAIC/dsh-openmaic
988hj7tczd-oss/dsh-computer-use