qjcnmd/dsh-reasoning-slider 预览 preview

qjcnmd/dsh-reasoning-slider

Plugin插件 Native原生 ⭐ 7 MIT Docs & Writing文档与写作

Project Overview项目介绍

This is a native plugin built exclusively for the DeepSeek Harness (DSH) agent platform. It adds a reasoning level slider directly embedded into DSH's native model selector UI component. When you open the DSH model selector and click to select a model, the slider automatically appears under the selected model entry, letting you drag to switch the model's reasoning level among 7 available tiers: off, minimal, low, medium, high, xhigh, and max. To install this plugin, you need to have pnpm package manager and DSH pre-installed on your system, and you can run the official command dsh plugin --profile web add reasoning-slider to complete installation in one step.

The plugin follows DSH's native interaction logic to keep your workflow smooth and consistent. After you select a model, it automatically displays only the reasoning tiers that the selected model actually supports. When you drag the slider, you get a real-time preview of the new tier, and the new setting takes effect immediately once you release the mouse button. If you switch to a different model, the plugin automatically carries your current selected reasoning tier over to the new model. If the new model does not support your current tier, it automatically falls back to the new model's default tier to prevent configuration errors. This plugin is ideal for any DSH user who regularly adjusts their model's reasoning level for different tasks.

The current 0.0.6 version of the plugin supports DSH versions 0.1.2-alpha.2, 0.1.2-alpha.4, 0.1.2-alpha.5, and 0.1.2-rc.1, and it requires Node.js version 22.13.0 or higher. It also supports keyboard navigation: you can use left/right or up/down arrow keys, or scroll the mouse wheel, to switch reasoning tiers. Compatibility with DSH version 0.1.2-alpha.3 has not been tested yet. The plugin has completed full end-to-end testing covering installation, configuration, cold start, authentication, and uninstallation on both Windows with Node.js 24.19.0 and WSL2 Ubuntu with Node.js 22.23.2. It is released under the open source MIT license, so you can use, modify, and redistribute it for free. To uninstall the plugin, you can run the command dsh plugin --profile web remove reasoning-slider.

这是一款专为 DeepSeek Harness(DSH)开发的原生插件,会直接将推理等级滑块内嵌到 DSH 的原生模型选择器组件中。打开 DSH 的模型选择器并选中目标模型后,推理档位滑块会自动出现在选中模型下方,拖动即可切换该模型的推理档位,可选档位包括 off、minimal、low、medium、high、xhigh、max 共 7 档。安装该插件需要预先安装 pnpm 包管理器与 DSH 本体,可通过官方命令 dsh plugin --profile web add reasoning-slider 一键完成安装。

这款插件适配 DSH 的原生交互逻辑,选中模型后会自动展示该模型支持的推理档位,拖动滑块即可实时预览档位变化,松开拖动后新档位立即生效。切换模型时会自动携带当前选中的推理档位,如果目标模型不支持当前档位,插件会自动回退到目标模型的默认档位,避免配置错误。对于需要经常调整模型推理档位的 DSH 用户来说,这款插件能大幅简化调整档位的操作流程。

当前 0.0.6 版本的插件支持 DSH 0.1.2-alpha.2、0.1.2-alpha.4、0.1.2-alpha.5 与 0.1.2-rc.1 版本,要求 Node.js 版本不低于 22.13.0,暂未验证对 DSH 0.1.2-alpha.3 的兼容性。插件已经在 Windows 与 WSL2 Ubuntu 环境下完成安装、运行、卸载全流程验证,整体功能稳定,开源协议为 MIT 许可证,可免费使用与修改,卸载可通过 dsh plugin --profile web remove reasoning-slider 完成。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 warning1 项注意
  • Only 7 stars - very few users, little community feedback星标只有 7,几乎没人在用,遇到问题缺少社区反馈
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 reasoning-slider

把 qjcnmd/dsh-reasoning-slider 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

dsh-reasoning-slider

推理等级滑块,直接内嵌在 DeepSeek Harness 的模型选择器里:点开模型选择器,选中模型后下方出现滑块,拖动即可切换该模型的推理档位(off / minimal / low / medium / high / xhigh / max)。

安装

需要 pnpm(npm i -g pnpm)与 dsh(npm i -g @deepseek-ai/dsh)。

dsh plugin --profile web add reasoning-slider

功能

  • 滑块内嵌于模型选择器弹层,选择模型后自动显示该模型支持的推理档位
  • 拖动滑块实时预览,松开后生效
  • 切换模型时自动携带当前档位;目标模型不支持当前档位时自动回退到其默认档位
  • 单档位模型显示"支持档位: xxx",无档位模型显示提示
  • 键盘:←/→ 或 ↑/↓ 切换,滚动滚轮也可切换

卸载

dsh plugin --profile web remove reasoning-slider

兼容性

reasoning-slider@0.0.6 支持 DSH 0.1.2-alpha.2、0.1.2-alpha.4、0.1.2-alpha.5 与 0.1.2-rc.1,要求 Node.js 22.13.0 或更高版本。DSH 0.1.2-alpha.3 尚未验证。

一次性 web Profile 已在 Windows、Node.js 24.19.0、DSH 0.1.2-alpha.2 环境,以及 WSL2 Ubuntu、Node.js 22.23.2、DSH 0.1.2-alpha.4、0.1.2-alpha.5、0.1.2-rc.1 环境完成本地插件安装、配置合成、服务冷启动、认证页面响应及卸载复核。

开发

dsh-reasoning-slider/
├── lib/
│   ├── index.js   # Node half(纯 UI 插件,apply 为空)
│   └── client.js  # 浏览器 half(完整滑块 UI)
├── cordis.patch.yml
└── package.json   # dsh.bundle 声明:安装后自动成为 profile 层

客户端代码是 window.__ModuleLoader__.load({...}) 格式的普通 JavaScript,无构建步骤;React 通过 require("react") 从 dsh 运行时解析。

许可

MIT

← 上一个 Prev dsh-flash-presets 下一个 Next boardwise →