插件目录 / Developer / dsh-resoning-effort
dsh-resoning-effort
已验证 · 实测可装 Asowerp
功能简介
Developer 类别的 DeepSeek Harness 插件。
可用 — 实测通过,早期项目
Developer 类别的 DeepSeek Harness 插件。 实测能干净安装、正常启动。早期项目,但功能可用。
「已验证」表示我们的自动化 CI 在干净 profile 里实际执行了 dsh plugin add 并启动成功——仅此而已。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。
README
dsh-reasoning-effort
Adds configurable thinking-strength (reasoning-effort) levels to custom providers in DeepSeek Harness (hand-declared llm-pi-ai routes).
Built-in deepseek-official already offers Off/High/Max, but custom providers only expose levels when each model explicitly declares reasoningEfforts. This plugin adds a settings page that writes those declarations straight into llm-pi-ai — the composer's model picker and the request path pick them up immediately.
Highlights
- Custom (hand-declared) routes only; built-in/catalog routes are never touched.
- Explicit opt-in: only models you tick are written.
- Changes auto-save (600 ms debounce).
- Apply known model: search and apply the reasoning levels of ~420 known reasoning models (embedded catalog, regenerable via
scripts/dump-catalog.mjs && scripts/embed-known.mjs). - Provider cards collapsed by default.
Install
dsh plugin --profile web add "link:<path>/dsh-reasoning-effort"
(Or copy the package into <DSH_HOME>/profiles/node_modules/dsh-reasoning-effort and add "dsh-reasoning-effort" to the profile's dsh.profile.bundles.)
Restart the web profile afterwards.
Use
Settings → Thinking strength: expand a custom provider, tick the levels each model should offer (off / minimal / low / medium / high / xhigh / max; off omits the reasoning parameter), optionally set the provider default level and thinking format, or search an input field to apply a known model's levels. Changes write directly to llm-pi-ai's reasoningEfforts.
How it works
Settings page → settings.mutate("llm-pi-ai")
→ providers.<route>.models[].reasoningEfforts (persisted in settings.yaml)
→ dsh-llm-pi-ai hot-reload
→ resolveModelInfo().reasoning → picker shows levels, request path validates/dispatches
Limitations
- Hand-declared (
declared === true) routes only; catalogmodelOverridesinjection is out of scope for v1. - Requires
@deepseek-ai/dsh-llm-pi-aito be mounted. scripts/holds the catalog regeneration tools and is not published with the npm package.
安装
装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:
dsh plugin add dshbase-catalog 然后对 agent 说「帮我装 dsh-resoning-effort」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包。
该插件是 GitHub 源码(未发 npm)——直接从仓库装:
Web profile:
dsh plugin --profile web add github:Asowerp/dsh-resoning-effort Headless(CLI)profile:
dsh plugin --profile headless add github:Asowerp/dsh-resoning-effort 实测报告
验证通过:从 GitHub 源码完成 L1 安装 + L2 加载 + L3 运行(dsh 0.1.0-rc.6)。