mrSutivu/plugin-effort-slider 预览 preview

mrSutivu/plugin-effort-slider

Plugin插件 Native原生 ⭐ 2 MIT Docs & Writing文档与写作UI & Themes界面与主题

Notched reasoning-effort slider grouped with the model picker for DeepSeek Harness — native styling, themeable, i18n

Project Overview项目介绍

plugin-effort-slider is a reasoning-effort slider plugin built specifically for DeepSeek Harness (DSH), merging the model picker and the effort slider into a single bordered pill that sits in the DSH composer of the web profile. It is installed via dsh plugin --profile web add github:mrSutivu/plugin-effort-slider or the npm name plugin-effort-slider, after which one dsh web restart plus a page refresh loads it, while subsequent client-only edits to lib/client.js hot-reload on a plain refresh. The plugin lives in a single folder and can be removed with dsh plugin --profile web remove plugin-effort-slider, leaving no trace in DSH core.

The intended workflow is to choose a reasoning-capable model inside the pill, drag the notched slider, and release to apply the new effort level; pushing it to the top notch turns the bar into a moving gradient inspired by DSH's own "Deep diving..." shimmer, which stays static when prefers-reduced-motion is set. If the active model exposes no reasoning levels, the pill hides itself and the stock DSH selector returns. The target audience is DSH users who frequently switch between low, medium, and high effort, mirroring the slider experience already shipped in Codex and Claude Code and closing that gap inside DSH.

Requirements are a DSH build with the web profile enabled and a model that advertises reasoning efforts; anything with the usual low / medium / high ladder works, and DSH 0.1.2-alpha is the only tested version. The plugin is pure client UI, so it requests no host permissions, handles no credentials, performs no network calls, and touches no external services, while its colors bind to the var(--dsw-alias-button-info-fill) accent and other DSH theme variables so custom theme plugins recolor it for free. Localization ships in English, French, and Chinese under the effort-slider namespace, and the project is MIT-licensed with optional Ko-fi and GitHub Sponsors support.

plugin-effort-slider 是面向 DeepSeek Harness(DSH)的 reasoning-effort 滑块插件,将模型选择器与 effort 滑块合成为一个带分隔线的圆角胶囊,嵌入到 DSH 的 web profile 编写器中。它通过 dsh plugin --profile web add 命令从 GitHub 或 npm 安装,安装后只需执行一次 dsh web 重启并刷新页面即可生效;客户端二次修改后普通刷新即可热加载。插件以单文件夹形式存在,删除即彻底移除,不侵入 DSH 核心。

典型使用流程是在编写器中选中支持推理强度的模型,然后拖动带刻度的滑块,松开时即生效;推到最高档会显示与 DSH "Deep diving..." 动效呼应的渐变条,并尊重 prefers-reduced-motion。该插件面向经常切换推理档位的 DSH 用户,对照 Codex 与 Claude Code 已有的同类控件补齐了 DSH 的体验缺口;同时提供英文、法文、中文国际化字符串,可通过扩展 effort-slider 命名空间添加语言。

依赖方面要求 DSH 启用 web profile 且模型必须公开 reasoning effort 档位,否则胶囊自动隐藏、回归 DSH 原生选择器;界面颜色全部来源于 var(--dsw-alias-button-info-fill) 等 DSH 主题变量,因此自定义主题无需额外配置即可联动。插件纯客户端运行,不申请宿主权限、不收集凭据、不发起网络请求,仅在 DSH 0.1.2-alpha 上做过测试。项目以 MIT 协议开源,附带 Ko-fi 与 GitHub Sponsors 赞助渠道作为可选维护支持。

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

把 mrSutivu/plugin-effort-slider 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

Effort Slider for DeepSeek Harness

version DSH license

English | 中文

A reasoning-effort slider for DeepSeek Harness (DSH) that lives in the composer. Codex and Claude Code have one. DSH didn't, so I built it. One pill holds the model picker and the slider, right where you type.

Effort slider pill live in the composer

Dark Light
Composer in dark theme Composer in light theme

Features

  • One pill for model and effort. Picker and slider share one bordered pill with a separator between them. The slider sits right of the model name.
  • The model list skips the submenu. One click shows every provider and model. Effort stays on the slider and nowhere else.
  • Notches instead of a smooth drag. Each notch is a real effort level from the model, usually two to seven. Drag it, or focus it and use the arrows, Home, End. Screen readers get a real slider role.
  • A little show at the top notch. Max effort turns the bar into a moving gradient, a nod to DSH's own "Deep diving..." shimmer. It stays still when you prefer reduced motion.
  • It follows your theme. Every color comes from DSH variables, with one accent shared with the send button. Light, dark, future theme plugins, it all carries over.
  • It speaks your language. Labels follow the DSH locale in English, French and Chinese. Model and effort names stay exactly as the model sends them.
  • The context ring gets out of the way. While the pill is up, the ring moves to the end of the stats row instead of crowding the send button.
  • A taller prompt box. About two lines, same as the DSH hero input.
  • Nothing lives in core. The plugin is one folder. Delete it and DSH forgets it was there.

Requirements

DSH with the web profile, and a model that exposes reasoning efforts. No effort levels, no slider. Anything with low / medium / high works.

Compatibility and permissions

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →

← 上一个 Prev dsh-stool-plugin 下一个 Next dsh-notify-win →