Codex-style reasoning-effort slider embedded in the model selector.
Install
# from npm (prebuilt)
dsh plugin --profile web add reasoning-slider
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:qjcnmd/dsh-reasoning-slider
GitHub-sourced plugins run build scripts on your machine at install time. Only install sources you trust, and pin a commit (github:owner/repo#sha).
README
推理等级滑块,直接内嵌在 DeepSeek Harness 的模型选择器里:点开模型选择器,选中模型后下方出现滑块,拖动即可切换该模型的推理档位(off / minimal / low / medium / high / xhigh / max)。
安装
需要 pnpm(npm i -g pnpm)与 dsh(npm i -g @deepseek-ai/dsh)。
# 从 npm 安装(推荐,快且稳)
dsh plugin --profile web add reasoning-slider
# 或从 GitHub 安装
dsh plugin --profile web add github:qjcnmd/dsh-reasoning-slider
安装完成后重启 dsh web
功能
- 滑块内嵌于模型选择器弹层,选择模型后自动显示该模型支持的推理档位
- 拖动滑块实时预览,松开后生效
- 切换模型时自动携带当前档位;目标模型不支持当前档位时自动回退到其默认档位
- 单档位模型显示"支持档位: xxx",无档位模型显示提示
- 键盘:←/→ 或 ↑/↓ 切换,滚动滚轮也可切换
禁用 / 卸载
dsh plugin --profile web remove reasoning-slider
或编辑 ~/.dsh/profiles/web/cordis.patch.yml,给 insert 行加 disabled: true。
开发
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
Links
More in this category
zhu1090093659/dsh-web-ui★ 1766
Plugin and skin collection for the DSH Web UI: task board, Git graph, right-side panel, remote mobile UI, pet, live token stats, and a skin center.
ccch1mneyyy/dsh-TUI★ 829
Claude Code-style full-screen terminal UI: pixel-whale header, live status line, and streaming thought expansion.
omdsh-dev/DSH-better-sidebar★ 705
Full sidebar workbench with file rendering and editing, terminal, Git, and subagents; third-party plugins can register new tabs.
huiliyi37/dsh-tianshu-tui★ 131
A terminal UI (TUI) for DeepSeek Harness.
omdsh-dev/dsh-at-file★ 117
Codex-style `@file` mentions: search workspace files in the composer and attach their contents to prompts.
Nagi-ovo/dsh-visualize★ 79
In-conversation generative UI: the model renders interactive HTML cards into the chat stream, with streaming preview and sandboxed rendering.