工具与能力
#dsh-plugin
dsh-reasoning
Configure model input capabilities and reasoning efforts for DeepSeek Harness
lanqin996
@lanqin996
⬇ 2
★ 0
main
安装
dsh plugin --profile web add github:lanqin996/dsh-reasoning
需要可复现安装时,可在仓库后追加 #commit 固定提交。
Configure model input capabilities and reasoning efforts for DeepSeek Harness
该插件未提供要点说明,请参考仓库 README。
dsh-plugin
- 安装并启动 DeepSeek Harness:
npx @deepseek-ai/dsh web - 在终端执行上面的安装命令(CLI 会解析插件并核验来源)
- 用 dsh plugins list 确认已安装,必要时重启 Harness 生效
插件以当前 dsh 进程的权限运行,安装时可能执行代码。请先通读仓库源码与许可证,确认无破坏性命令与越权访问;本站只做索引,不对第三方插件安全性作担保。
| 代码仓库 | github.com/lanqin996/dsh-reasoning |
| 许可证 | LGPL-3.0 |
| 主要语言 | main |
| 下载量 | 2 |
| GitHub 星标 | 0 |
| 最近推送 | 2026-08-19 |
| 收录日期 | 2026-09-19 |
| 分类 | 工具与能力 |
事实信息来自公开插件目录快照(2026-10-01),介绍文案由本站再加工。
以下为插件仓库 README 全文(原始内容,由公开目录抓取整理)。
# dsh-reasoning [](https://github.com/topics/dsh-plugin) [](https://github.com/LanQin996/dsh-reasoning) [](LICENSE) [English](README.md) | [简体中文](README.zh-CN.md) A community DeepSeek Harness Web plugin for configuring model capabilities. It adds a settings card for assigning input modalities and reasoning levels to one or more models and keeps model selection in the DSH conversation composer. The model popup opens side-by-side, so the Model and Reasoning rows remain visible while their options are being browsed. This is an independent community plugin. It is not an official DeepSeek product and does not imply DeepSeek endorsement. ## Highlights - **Per-model configuration** — Configure input modalities and reasoning levels independently for every model exposed by each provider. - **Image input support** — Mark models that accept image attachments through the model-level `input` field (`text` and `image`). - **Bulk editing** — Select several models at once, then apply standard levels (`Off`, `Minimal`, `Low`, `Medium`, `High`, `Extra high`, `Max`) in one step. - **Custom wire values** — Add provider-specific levels with `id` when the identifier is also the wire value, or `id=wireValue` when it differs. - **Native composer integration** — The plugin uses DSH's model directory and selection APIs instead of adding a second composer control. - **Side-opening model menu** — Browse models and reasoning levels without losing the current selection context. - **Provider-aware persistence** — Changes are written to `llm-pi-ai.providers..models[].reasoningEfforts` and `llm-pi-ai.providers..models[].input`, allowing DSH and the provider integration to validate and send the configured values. - **No fabricated defaults** — Models without configured levels show no fake reasoning menu. ## Install Install the precompiled package from npm into the DSH Web profile: ```bash dsh plugin --profile web add dsh-plugin-reasoning-effort ``` The npm package already contains the JavaScript runtime generated from the TypeScript source, so pnpm does not need to run dependency build scripts during installation. Restart the DSH Web profile after installation so the Host and Client plugin graph is rebuilt. To install a local checkout while developing: ```bash git clone https://github.com/LanQin996/dsh-reasoning.git cd dsh-reasoning npm install npm run build dsh plugin --profile web add file:. ``` To remove the plugin: ```bash dsh plugin --profile web remove dsh-plugin-reasoning-effort ``` ## Use After restarting DSH Web, open the model selector in the conversation composer. The popup keeps the current **Model** and **Reasoning** rows on the left; choose the corresponding list on the right. The Reasoning row is shown only when the selected model has configured levels. ## Settings Open: ```text Settings -> Plugins -> Plugin configuration -> Reasoning Effort ``` Expand the card and select one or more models: - **Input capabilities** — Toggle `Text` and `Image` for the selected models. Image attachments are only sent to models whose `input` includes `image`. - **Standard levels** — Toggle the reasoning levels supported by the selected models. - **Custom levels** — Enter comma-separated values such as `balanced, thorough=high_reasoning`. - **Apply** — Save both capability and reasoning drafts for all selected models. The card reads the existing `llm-pi-ai` provider settings and writes model-level `input` and `reasoningEfforts` fields. An unset `input` keeps the provider or installed catalog behavior until you explicitly configure it. ## Local patch loading For a checkout that should be loaded directly by a DSH installation, use the included `cordis.patch.yml`: ```powershell dsh web --patch C:/path/to/dsh-reasoning/cordis.patch.yml ``` The patch inserts the plugin with the id `dsh-reasoning-effort`. ## Development The repository contains the TypeScript Host entrypoint and browser-side client in `src/index.ts` and `src/client.ts`. TypeScript is compiled into the runtime files in `dist/` before the plugin is loaded: ```bash npm install npm run typecheck npm run build ``` `npm pack` and `npm publish` run the `prepack` hook, which type-checks and compiles the TypeScript source into `dist/`. Installing the published package does not execute that build hook and is compatible with pnpm v10 without an `allowBuilds` entry. The client expects the DSH Web runtime and peer packages declared in `package.json`. When testing locally, load it through the patch command above inside a DSH installation that provides those packages. ## Scope and privacy The plugin does not add a telemetry client, credential flow, or background network service. It reads the active DSH model directory and `llm-pi-ai` settings, then persists only the configured `input` and `reasoningEfforts` values through the DSH settings store. ## License Copyright (C) 2026 LanQin. This project is licensed under the [GNU Lesser General Public License v3.0](LICENSE) (`LGPL-3.0-only`).
数据来源:公开的 DeepSeek Harness 插件目录与各插件 GitHub 仓库。本站为独立第三方目录,与 DeepSeek、幻方(High-Flyer)及插件作者均无隶属或背书关系。