lemonorangeapple/dsh-effort-switcher
一个用于DeepseekHarness的推理强度滑块。
Project Overview项目介绍
This is a native plugin built exclusively for DeepSeek Harness (DSH), designed to modify the chat input area of the DSH Web client. It replaces the original model and reasoning effort selection entry with a draggable slider that lets users adjust reasoning intensity directly in the input bar. When you adjust the slider, the plugin calls DSH’s built-in modelDirectories service to submit the new reasoningEffort value for the active model, and the change applies to all subsequent chat requests. To install, run the official DSH plugin command from your terminal.
This plugin is built for DSH Web users who regularly adjust the reasoning effort level of their large language models. After installation completes, you must fully stop and restart the dsh web service, then refresh the local web interface at http://127.0.0.1:3080 for the plugin to load correctly. The slider will only appear when you select a model that supports multiple reasoning effort levels. For regular non-reasoning models that do not support this adjustable feature, the plugin automatically hides the slider to avoid confusion from unused UI elements.
This plugin requires DSH version 0.1.0-rc.6 or newer, and only works with standalone DSH Web profiles, so it will not function on other standalone DSH clients. If you previously manually added an older version of this plugin to your cordis configuration, you must delete the old entry first to avoid conflicts from duplicate loading. To uninstall, use the official DSH plugin remove command, and you will need to restart the dsh web service after uninstall for the change to take full effect.
这是专为 DSH 开发的原生插件,它会将 DSH Web 版聊天输入区原有的模型和推理强度选择入口,替换为一个可拖动的推理强度滑动条。滑动调整后,插件会调用 DSH 的 modelDirectories 服务提交当前模型的 reasoningEffort 参数,设置会对后续所有聊天请求生效。用户可以通过 DSH 官方插件命令一键安装,无需手动修改配置文件。
这个插件适合经常调整大语言模型推理强度的 DSH Web 用户使用。安装完成后需要完全停止并重启 dsh web 服务,再刷新本地 127.0.0.1:3080 的 Web 界面才能加载插件。使用时,只有选中支持多档位推理强度的模型才会显示滑动条,普通非推理模型会自动隐藏这个控件,避免无效操作。
本插件要求用户使用 DSH 0.1.0-rc.6 或更高版本,仅适配 DSH Web 配置文件,不支持其他客户端。如果之前手动挂载过旧版插件,需要先删除配置文件中旧的挂载条目,避免重复加载出现冲突。卸载也需要使用 DSH 官方插件命令,卸载后同样需要重启 dsh web 服务生效。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-effort-switcher(lemonorangeapple/dsh-effort-switcher)
仓库:https://github.com/lemonorangeapple/dsh-effort-switcher
本站详情页:https://www.yhbd.top/plugins/lemonorangeapple-dsh-effort-switcher/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证未声明 · ⭐ 3 · 最近提交 2026-10-02 · 主语言 JavaScript
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【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 更稳。
- No license declared - all rights reserved by default; ask the author before commercial use or redistribution未声明开源许可证 —— 默认「保留所有权利」,商用或再分发前先问作者
- Only 3 stars - very few users, little community feedback星标只有 3,几乎没人在用,遇到问题缺少社区反馈
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 github:lemonorangeapple/dsh-effort-switcher
把 lemonorangeapple/dsh-effort-switcher 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
DSH Effort Switcher
将 DSH Web 聊天输入区原有的模型/推理强度选择入口替换为推理强度滑动条。滑块会调用 DSH 的 modelDirectories 服务提交当前模型的 reasoningEffort,因此设置会作用于后续请求。
屏幕截图


要求
- DSH
0.1.0-rc.6或兼容的 Web profile。 - 当前模型必须暴露至少一个 reasoning effort 级别。普通非推理模型不会显示滑块。
安装
dsh plugin --profile web add github:lemonorangeapple/dsh-effort-switcher
命令会把本包装进当前 Web profile,并因 dsh.bundle 声明自动写入 dsh.profile.bundles。不必再编辑 profile 的 cordis.patch.yml。
完全停止并重新启动 dsh web,然后刷新 http://127.0.0.1:3080。DSH 仅在 Web 进程启动时扫描 dsh.client 元数据;仅刷新旧页面或运行独立开发服务器不会加载本插件。
如果 profile 的 cordis.patch.yml 里还留着旧的手工挂载(id: effort-switcher),先删掉,避免双重挂载。
卸载
dsh plugin --profile web remove dsh-effort-switcher
卸载后同样需要重启 dsh web。
验证安装
在 profile 目录中运行:
node --input-type=module -e "const plugin=await import('dsh-effort-switcher'); console.log(plugin.name)"
预期输出:
effort-switcher
启动 DSH Web 后,选择一个支持 reasoning effort 的模型。聊天输入区模型控件的位置应显示“推理强度”滑块;拖动滑块后,DSH 会重新提交当前模型及新的 reasoningEffort。
项目结构
index.js Browser client module and slider UI.
host.js Minimal Cordis host entry used by DSH loader discovery.
cordis.patch.yml Bundle patch that inserts the host plugin row.
package.json Package exports, dsh.bundle, and dsh.client manifest.
README.md Installation and operating instructions.
.gitignore Local development exclusions.
开发
从本仓库目录把本地 checkout 链进 Web profile:
dsh plugin --profile web add .
修改 index.js 后,必须重启 dsh web 并刷新现有 Web GUI,除非当前 DSH checkout 已运行针对该客户端包的 HMR 构建监视器。
可运行基础语法检查:
npm run check
排障
- 滑块没有显示:确认
dsh.profile.bundles中存在dsh-effort-switcher,完全重启dsh web,并在模型选择器中选用支持 reasoning effort 的模型。 - 安装后页面未更新:Web 启动图已经生成;停止旧
dsh web进程后重新启动。 - 双重控件或重复挂载:删掉 profile
cordis.patch.yml里旧的effort-switcherinsert,只保留 bundle 层。 - 拖动后未生效:检查模型是否支持多个 reasoning effort 级别。对于仅有默认强度或不支持 reasoning 的模型,插件会隐藏控件。
reactive-resume/reactive-resume
ningbainb/deepseek-harness-desktop
elysia395/dsh-wallpaper-engine
ChisaAlter/Deepseek-Harness-Desktop
Nwflower/dsh-claude-style
rison114514/dsh-endfield-ui
Links2008/DeepSeek-Harness-Desktop
XCNXNXNX/dsh-portable-tavern