dsh-effort-slider

DSH PLUGINUI 与外观

仓库 SailingBoat-ovo/dsh-effort-slider

UI 与外观 L5 · 运行验证通过 安全审查:低风险 可信度:金 可安装插件
安装这个插件

DSH 插件:Codex 风格彩色思考强度滑条,始终显示当前模型

一句话选型结论

按资料字段整理

dsh-effort-slider 是UI 与外观类的 DSH 可安装插件,验证等级 L5 · 运行验证通过,安全审查为低风险,有可直接复制的安装命令。验证通过不等于安全:插件会读写文件、执行命令或联网,装前先到仓库确认它做了什么;涉及密钥或系统权限的,建议先在隔离环境试装。

分类UI 与外观 收录类型可安装插件 验证等级L5 · 运行验证通过 安全审查低风险
验证等级 L5 L5 · 运行验证通过
GitHub 星标 1 复刻 0 · 未关闭 issue 0
最近更新 2026-10-18 创建于 2026-10-18
README 9.2 KB 正文体量,越大说明说明书写得越细

安装

可安装插件
在 DSH 里执行,装完用 dsh plugin list 确认已挂上;标了 L4 / L5 的命令已在沙盒里真实跑通
dsh plugin --profile web add github:SailingBoat-ovo/dsh-effort-slider#v0.2.0
  1. 1
    确认版本与运行环境

    仓库没有标注兼容版本与 Node.js 要求,先确认你的 DSH 版本能装,再继续。

  2. 2
    执行安装命令

    在 DSH 里执行上面的命令;多包仓库要注意区分具体子包名,别装错包。

  3. 3
    确认已挂载

    用 dsh plugin list 查看列表里是否出现这个插件,出现即挂载成功。

  4. 4
    试跑并检查权限

    加载后跑一个最小用例,确认它能正常工作;同时看它申请了哪些文件、命令或网络权限。

兼容 DSH 版本未标注版本不匹配时安装会报错
Node.js 要求未标注来自仓库 package.json 的 engines 字段
前置依赖无需要同时安装的同级依赖
npm 包名未发布到 npm可用 npm view 查看包信息

能做什么

UI 与外观
字段来自项目仓库与公开索引,中文说明由本站标注

适用场景

皮肤主题

上游标签

codexdeepseek-harnessdshdsh-pluginui

验证等级与安全审查

L5 · 运行验证通过
自动化流程结论,不是人工审核
验证等级L5 · 运行验证通过在 dsh 沙盒中完成安装与运行冒烟——装得上、跑得起来
安全审查低风险静态分析结论,未标注不代表已通过审查
仓库健康度活跃按仓库活跃度与最近更新时间给出
可信度金综合仓库活跃度与验证结果

选择建议

装之前先看这几条
按条目字段给出的判断,不替你决定用不用

值得选的地方

  • 验证等级 L5:安装和运行都在沙盒里跑通过,装完能直接用的概率高。
  • 静态安全审查为低风险,没有发现明显可疑行为。
  • 有可直接复制的安装命令,不用自己翻文档找入口。

先想清楚的地方

  • 没有声明 Node.js 版本要求,版本不匹配可能装不上。
  • 验证通过不等于安全:插件会读写文件、执行命令或联网,装前先到仓库确认它做了什么。

更适合

  • 需要在UI 与外观场景里给 DSH 补能力的人。
  • 想装完就能用、不想自己排依赖的人。
  • 能接受在本地装依赖、愿意自己确认权限的人。

不太适合

  • 只使用 DSH 官方内置能力、不接受第三方插件的人。

同类对比

6 个同类
同分类里挑最接近的几条,字段以各自详情页为准
插件验证等级安全审查星标兼容版本安装命令
dsh-effort-slider当前 L5 · 运行验证通过 低风险 1 未标注 有
nuwa-skill 未做沙盒验证 未标注 3.8 万 未标注 有
awesome-dsh-plugin L4 · 沙盒安装通过 低风险 1.8 万 0.1.1-rc.2 有
deepseek-balance-whale-widget L4 · 沙盒安装通过 低风险 4,492 0.1.7-rc.2 等 2 个 有
dsh-better-sidebar L4 · 沙盒安装通过 低风险 4,112 0.1.7-rc.2 等 10 个 有
dsh-deep-whale L4 · 沙盒安装通过 低风险 2,470 未标注 有

仓库档案

UI 与外观
字段来自项目仓库与公开索引,中文说明由本站标注
作者 / 维护方SailingBoat-ovo仓库 dsh-effort-slider · 默认分支 main
分类UI 与外观skin
收录类型可安装插件声明了 dsh.bundle、可用 dsh plugin add 安装的条目
开发语言未标注仓库主语言
许可证MIT商用或二次分发前请确认条款原文
星标 / 复刻 / issue1 / 0 / 0收录时的数值,非实时
创建 / 更新2026-10-18 · 2026-10-18最后推送 2026-10-18
本站收录2026-10-30首次进入本站目录的时间

README 全文

9.2 KB
作者原文,中文版优先;只做安全转义,不改内容

dsh-effort-slider

English · 中文

A Codex-style reasoning-effort slider for DeepSeek Harness (DSH): it replaces the composer's discrete effort picker with one continuous, colour-shifting track — blue at the cool end, violet in the middle, bright lavender at the top. The model the slider is attached to is always on screen: DeepSeek V4 · High in the trigger, the live name in the menu, and a model pill above the track.


English

The colours

Dragging does not merely lengthen a bar; the fill heats up as the effort rises:

Position Fill's right end Feel
low (≤ 1/3) #4D93F8 blue cool
middle (1/3 – 2/3) blue → #9333EA violet warming
high (≥ 2/3) violet → #C084FC lavender hot
  • The fill always starts blue on the left and blends toward the current accent, producing one continuous gradient.
  • A glossy sheen layer rides on top of the gradient.
  • The track is a 10 px pill; the knob is a white circle with a same-colour ring.
  • Tick marks and the current-level label tint with the same ramp (blue → indigo → lavender).
  • The top stop is deliberately a bright lavender rather than a deep purple: deep purple is nearly invisible against the dark composer panel.

The palette follows the colour scheme of OpenAI Codex's reasoning-effort slider (#4d93f8 / #9333ea / #c084fc, mixing across thirds of the track). Colour values only — no Codex code is included.

Model display

The model you are driving is always visible, in three places:

  • Trigger — DeepSeek V4 · High: model name first, current effort label after it, so you never open the menu to remember which model the slider is attached to.
  • Menu root — a Model row whose value is the live model name, above the Effort row.
  • Effort pane — a pill at the top carrying the model name, with the provider name beside it, so the slider reads as "effort for this model" rather than a detached control. The live level label in that pane is tinted with the same blue → violet ramp as the track.

The name comes straight from the shared modelDirectories snapshot (state.current → matching model entry), so switching models anywhere in the UI updates the slider immediately — no extra fetch, no cached copy.

Interaction

  • 1:1 pointer dragging; on release the knob snaps to the nearest level and saves.
  • Keyboard: ← / → step one level, Home / End jump to the ends.
  • The menu stays open so you can fine-tune; a failed save springs the knob back.
  • Registered as a priority: -1 shadow of conversation.input.model, so the stock model seat stays as a fallback.

Install

# web surface
dsh plugin --profile web add github:SailingBoat-ovo/dsh-effort-slider

# desktop app
dsh plugin --profile desktop add github:SailingBoat-ovo/dsh-effort-slider

Or clone and install by path:

git clone https://github.com/SailingBoat-ovo/dsh-effort-slider
dsh plugin --profile web add ./dsh-effort-slider

Restart DSH afterwards (restart the app on desktop).

Screenshot

preview.png is generated, not hand-drawn — it is a headless-browser screenshot of a page built from this plugin's own CSS and palette:

node tests/build-preview.mjs          # writes .preview/preview.html
node tests/measure-preview.mjs        # optional: prints geometry, fails on ragged layout
# then screenshot .preview/preview.html at 1180x760, device scale 2

So if a colour or spacing value changes, the README image can be regenerated rather than silently going stale.

Compatibility

Works on DSH 0.1.x (web) and 0.2.1+ (desktop).

On 0.2.x, a traced service method rebinds this.ctx to the caller, and the modelDirectories resolver resolves remote.session through that context. Without declaring remote / remote.session in inject, the composer seat crashes with:

cannot get property "remote.session" without inject
slot entry crashed in 'conversation.input.model'

Both are declared here, and the registration uses the 0.2.x form (ctx.slots.inject(...) directly).

Tests

npm install
npm test

Asserts the registration surface, the remote.session declaration, that the inject face resolves, that the component renders, that the trigger surfaces the selected model name and effort, and that the three fill colours really progress with position (#4D93F8 → #7063F1 → #BF82FB).

tests/ui-render.mjs goes further: it mounts the seat with react-test-renderer, clicks the trigger, opens the Model and Effort rows, and asserts the model name reaches the trigger, the menu row, and the effort pane's model pill (plus the provider hint, the status dot, and its position above the level header).

License

GPL-3.0-or-later — see LICENSE for the full text. Third-party notes in NOTICE.md.


中文

DeepSeek Harness(DSH)的 Codex 风格思考强度滑条:把输入框旁那个一档一档点的强度选择,换成一条连续、会变色的轨道——冷端蓝、中段紫罗兰、顶端亮紫。滑条正在调哪个模型始终可见:触发按钮上的 DeepSeek V4 · High、菜单里的实时模型名,以及轨道上方的模型药丸。

配色

拖动时颜色会随档位"升温",不是单纯的进度条变长:

位置 填充右端颜色 观感
低段(≤ 1/3) #4D93F8 蓝 冷
中段(1/3 ~ 2/3) 蓝 → #9333EA 紫罗兰 过渡
高段(≥ 2/3) 紫罗兰 → #C084FC 亮紫 热
  • 填充始终以蓝为左端、向当前档位颜色过渡,形成一条连续渐变;
  • 渐变之上叠一层高光 sheen;
  • 轨道是 10px 药丸形,滑块是白色圆钮并带同色描边;
  • 刻度点与当前档位文字同样跟色(蓝 → 靛紫 → 亮紫);
  • 最高档刻意用亮紫而非深紫:深紫在深色面板上几乎看不见。

配色参考了 OpenAI Codex 推理强度滑条(#4d93f8 / #9333ea / #c084fc,按轨道前中后三段混合),仅取色值,不含 Codex 代码。

模型显示

当前正在调的模型始终可见,共三处:

  • 触发按钮 —— DeepSeek V4 · High:模型名在前、当前档位在后,不用展开菜单就知道滑条挂在哪个模型上;
  • 菜单首页 —— 模型 一行的值就是实时模型名,位于 思考强度 之上;
  • 强度面板 —— 顶部一枚药丸标签显示模型名,旁边是 provider 名称,让这根滑条读起来是"这个模型的思考强度",而不是一个脱离上下文的控件;面板里的档位文字同样跟着蓝 → 紫的渐变取色。

模型名直接取自共享的 modelDirectories 快照(state.current → 匹配的模型项),所以在界面任何地方切换模型,滑条都会立即跟着变——不额外请求、不缓存副本。

交互

  • 指针 1:1 跟手拖动;松手吸附到最近档位并保存;
  • 键盘 ← / → 逐档,Home / End 跳到两端;
  • 菜单保持打开便于连续微调;保存失败会回弹;
  • 以 priority: -1 影子注册 conversation.input.model,原模型座位作为兜底。

安装

# Web 版
dsh plugin --profile web add github:SailingBoat-ovo/dsh-effort-slider

# 桌面应用版
dsh plugin --profile desktop add github:SailingBoat-ovo/dsh-effort-slider

或克隆后按路径安装:

git clone https://github.com/SailingBoat-ovo/dsh-effort-slider
dsh plugin --profile web add ./dsh-effort-slider

装完重启 DSH(桌面版重启应用)。

配图

preview.png 不是手画的,而是用插件自己的 CSS 与配色生成页面后,用无头浏览器截的图:

node tests/build-preview.mjs          # 生成 .preview/preview.html
node tests/measure-preview.mjs        # 可选:打印几何信息,布局参差时报错
# 再以 1180x760、device scale 2 截图

所以改了颜色或间距,可以直接重生成配图,而不是让它悄悄过期。

兼容性

同时适配 DSH 0.1.x(Web)与 0.2.1+(桌面版)。

在 0.2.x 上,traced 服务方法会把 this.ctx 重绑到调用方,而 modelDirectories 会经由该上下文解析 remote.session。若 inject 未声明 remote / remote.session,模型座位会直接崩溃:

cannot get property "remote.session" without inject
slot entry crashed in 'conversation.input.model'

本插件已声明这两项,并使用 0.2.x 写法(ctx.slots.inject(...) 直接注册)。

测试

npm install
npm test

覆盖注册面、remote.session 声明、注入面可解析、组件渲染、触发按钮显示所选模型名与档位,以及三档填充颜色确实随位置递进(#4D93F8 → #7063F1 → #BF82FB)。

tests/ui-render.mjs 更进一步:用 react-test-renderer 真实挂载座位,点开触发按钮、进入 模型 与 思考强度,断言模型名确实出现在触发按钮、菜单行以及强度面板的模型药丸上(另含 provider 提示、状态圆点及其位于档位标题之上的顺序)。

许可

GPL-3.0-or-later,完整文本见 LICENSE;第三方说明见 NOTICE.md。

常见问题

6 问
答案由本站依据条目字段整理,不引用上游原文
dsh-effort-slider 怎么安装?

在 DSH 里执行 `dsh plugin --profile web add github:SailingBoat-ovo/dsh-effort-slider#v0.2.0` 即可。

dsh-effort-slider 的验证等级是什么意思?

L5 · 运行验证通过。在 dsh 沙盒中完成安装与运行冒烟——装得上、跑得起来

dsh-effort-slider 安全吗?

低风险。

dsh-effort-slider 装之前要先确认什么?

先看它会读写哪些文件、执行哪些命令、连接哪些网络地址;验证等级只说明装得上、跑得起来,不等于安全。涉及密钥或系统权限的,建议先在隔离环境试装。

dsh-effort-slider 用的是什么许可证?

上游标注为 MIT。商用或二次分发前请到仓库确认许可证原文。

这条记录的数据可靠吗?

本站按仓库名去重后合并整理,字段以作者仓库与 npm 元数据为准;安装命令、仓库地址与 README 保持原文,带 L4 / L5 标记的安装命令已在隔离沙盒里真实跑通。

同名或近似条目

7 条
不同作者的仓库分开列,请确认你要装的是哪一个
UI 与外观
按星标排序,可作替代方案

nuwa-skill

nuwa-skill

女娲 DSH plugin 只需输入一个名字,就自动调研、提炼并验证任何人的心智模型、决策启发式与表达 DNA,生成可直接调用的思维视角 S

未标注验证等级 3.8 万 星

awesome-dsh-plugin

awesome-dsh-plugin

A curated list of plugins for DeepSeek Harness (dsh) · DeepSeek Harnes

L4 · 沙盒安装通过 1.8 万 星

deepseek-balance-whale-widget

DeepSeek-Balance-Whale-Widget

DSH 界面右下角的常驻小鲸鱼余额挂件,实时显示 DeepSeek 账户余额、今日已用与每轮对话消耗,支持拖拽吸附、Q 弹动画与音效,开箱即

L4 · 沙盒安装通过 4,492 星

dsh-better-sidebar

DSH-better-sidebar

面向 DeepSeek Harness 的服务化侧边栏工作台插件,把文件编辑、终端、Git 变更、子代理任务与侧边对话整合进右侧栏与底部面板

L4 · 沙盒安装通过 4,112 星

dsh-deep-whale

dsh-deep-whale

DSH Web 鲸鱼娘皮肤系列(深海女仆工坊 maid-atelier)。

L4 · 沙盒安装通过 2,470 星

deepseek-design

deepseek-design

可视化设计工作室,支持网站、App 原型、海报、信息卡、报告和杂志的模板创建、元素编辑、选区级 AI 草稿衔接与导出。

L4 · 沙盒安装通过 1,438 星

SailingBoat-ovo 的其它插件

1 个

插件的元信息来自作者仓库;分类、验证等级与安全结论的中文说明为中文整理,最近核验 —。