Toukaiteio/dsh-effort-tweak

Plugin插件 Native原生 ⭐ 4 MIT Clients & Launchers客户端与启动器

一个DeepSeek Harness插件,允许你在WebUI中调整自定义模型的推理努力程度。

Project Overview项目介绍

dsh-effort-tweak is a native plugin built exclusively for DeepSeek Harness (DSH) that adds a dedicated reasoning effort settings page to the DSH Web UI. It fills a gap where the official DSH UI does not yet expose controls for editing reasoning levels of custom provider models. It supports one-click installation via platform-specific scripts: Windows users can run a PowerShell command, while macOS and Linux users use a bash script, both of which automatically download the latest release, verify SHA-256 digests, and complete the installation process. You can also install it from a locally built package after running pnpm install and pnpm build.

This plugin is designed for DSH users who need to customize available reasoning levels for DeepSeek models from custom providers. Before you can use the settings page, you must first add a model list to your custom provider, because the page intentionally does not show catalog-only providers. Once your provider is configured, you just open the new "Reasoning effort" page under Settings, select your model, and choose which effort levels you want to enable from seven available options ranging from off to max. The plugin preserves all other model fields and existing provider-specific configuration values, so you don't need to worry about accidental changes to your existing setup.

dsh-effort-tweak is released under the open-source MIT license, so you can use, modify, and distribute it freely per the license terms. If you want to develop the plugin or build it from source, you need Node.js 22.19 or newer and pnpm 10 installed on your machine. After installing or updating the plugin, you must restart DSH Web to make sure the new client bundle is loaded correctly. The project’s CI workflow automatically checks types, runs unit and integration tests, and builds release packages when new version tags are pushed to the repository.

dsh-effort-tweak 是专为 DeepSeek Harness 开发的原生插件,用于在 DSH Web UI 中添加推理强度调整设置页面,解决官方界面暂未开放自定义提供商模型推理等级配置编辑的问题。用户可以通过 PowerShell 脚本(Windows)或 Shell 脚本(macOS/Linux)一键安装,脚本会自动下载最新版本、验证 SHA-256 校验和并完成插件安装,也支持本地源码编译打包后手动安装。

该插件面向需要自定义 DeepSeek 模型推理等级的 DSH 用户,使用流程非常简单:用户先给自定义提供商添加模型列表,之后打开 DSH Web UI 设置中的「推理强度」页面,就可以逐个为已列出的模型选择可用的推理等级,从 off、minimal 到 max 共 7 个等级可选,不需要手动编辑配置文件。插件会保留模型其他字段和现有提供商特定配置,不会篡改原有设置。

该插件采用 MIT 许可证开源,开发需要 Node.js 22.19 或更高版本以及 pnpm 10 工具链,安装或更新后需要重启 DSH Web 才能加载新的客户端资源。插件不会显示仅目录级别的提供商,要求用户提前给自定义提供商配置模型列表才能使用。项目 CI 工作流会自动检查类型、运行测试并构建发布包。

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

把 Toukaiteio/dsh-effort-tweak 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

DSH Effort Tweak

English | 中文

DSH Effort Tweak adds a small settings page for choosing the reasoning levels available to each model in a DeepSeek Harness custom provider. It is designed for the case where the model capability must be edited in llm-pi-ai configuration but the official Web UI does not yet expose that control.

What it does

  • Adds Settings → Reasoning effort to the DSH Web UI.
  • Lists models explicitly configured in llm-pi-ai.providers.<provider>.models.
  • Lets you choose off, minimal, low, medium, high, xhigh, or max for one model at a time.
  • Preserves the model's other fields and existing provider-specific wire values.
  • Saves through DSH's settings service, so no manual configuration-file editing is needed.

The page intentionally does not show catalog-only providers. Add a model list to a custom provider first, then open this page to tune that model.

Install from a release

Windows PowerShell

Run PowerShell as your normal user and execute:

irm https://raw.githubusercontent.com/Toukaiteio/dsh-effort-tweak/main/scripts/Install-DshEffortTweak.ps1 | iex

To install into another Profile without starting Web UI:

$script = "$env:TEMP\Install-DshEffortTweak.ps1"
Invoke-WebRequest https://raw.githubusercontent.com/Toukaiteio/dsh-effort-tweak/main/scripts/Install-DshEffortTweak.ps1 -OutFile $script
& $script -Profile work -NoStart

macOS and Linux

curl -fsSL https://raw.githubusercontent.com/Toukaiteio/dsh-effort-tweak/main/scripts/install-dsh-effort-tweak.sh | bash

For another Profile:

curl -fsSL https://raw.githubusercontent.com/Toukaiteio/dsh-effort-tweak/main/scripts/install-dsh-effort-tweak.sh -o install-dsh-effort-tweak.sh
bash install-dsh-effort-tweak.sh --profile work --no-start

The scripts download the latest GitHub Release archive, verify the GitHub-provided SHA-256 digest when available, keep it under DSH_HOME/plugin-archives/dsh-effort-tweak/ for future dependency resolution, install it with dsh plugin, and start the default web Profile unless --no-start or -NoStart is supplied.

Install a local package

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

← 上一个 Prev niulai-pet 下一个 Next dsh-plugin-knowledge-graph →