deepseek-harness
deepseek-ai
DeepSeek Harness: Everything is a Plugin.
PROJECT TOPICS
PROJECT README
将 DSH Web 聊天输入区原有的模型/推理强度选择入口替换为推理强度滑动条。滑块会调用 DSH 的 modelDirectories 服务提交当前模型的 reasoningEffort,因此设置会作用于后续请求。
0.1.0-rc.6 或兼容的 Web profile。DSH 不会扫描 ~/.dsh/plugins 目录。插件必须作为当前 profile 的本地依赖,并通过 profile 的 Cordis patch 注册。
以下命令适用于 Windows PowerShell 和当前 Web profile。
cd C:\Users\June\.dsh\profiles\web
pnpm add --save-dev "github:lemonorangeapple/dsh-effort-switcher"
C:\Users\June\.dsh\profiles\web\cordis.patch.yml,将内容设为:- insert:
- id: effort-switcher
name: dsh-effort-switcher
如果该文件已经有其他 patch 项,将上面的 insert 项追加到顶层 YAML 数组,不要覆盖现有项。
dsh web,然后刷新 http://127.0.0.1:3080。DSH 仅在 Web 进程启动时扫描 dsh.client 元数据;仅刷新旧页面或运行独立开发服务器不会加载本插件。
在 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.
package.json Package exports and dsh.client manifest.
README.md Installation and operating instructions.
.gitignore Local development exclusions.
修改 index.js 后,必须重启 dsh web 并刷新现有 Web GUI,除非当前 DSH checkout 已运行针对该客户端包的 HMR 构建监视器。
可运行基础语法检查:
npm run check
cordis.patch.yml 中存在 loader 条目,完全重启 dsh web,并在模型选择器中选用支持 reasoning effort 的模型。dsh web 进程后重新启动。CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: 无有效分类标签。