Skills Plugins MCP Prompt Model 导航 博客 资讯 我的中心
模型与提供方 #dsh-plugin

dsh-open-efforts

为 DeepSeek Harness 中的附加模型选择推理强度:支持关闭与五档标准级别。

hyp6666 @hyp6666 ⬇ 1 ★ 1 main

安装

dsh plugin --profile web add github:hyp6666/dsh-open-efforts
下载安装清单

需要可复现安装时,可在仓库后追加 #commit 固定提交。

为 DeepSeek Harness 中的附加模型选择推理强度:支持关闭与五档标准级别。

该插件未提供要点说明,请参考仓库 README。

dsh-plugin
  1. 安装并启动 DeepSeek Harness:npx @deepseek-ai/dsh web
  2. 在终端执行上面的安装命令(CLI 会解析插件并核验来源)
  3. 用 dsh plugins list 确认已安装,必要时重启 Harness 生效

插件以当前 dsh 进程的权限运行,安装时可能执行代码。请先通读仓库源码与许可证,确认无破坏性命令与越权访问;本站只做索引,不对第三方插件安全性作担保。

代码仓库github.com/hyp6666/dsh-open-efforts
许可证MIT
主要语言main
下载量1
GitHub 星标1
最近推送2026-08-18
收录日期2026-09-19
分类模型与提供方

事实信息来自公开插件目录快照(2026-10-01),介绍文案由本站再加工。

以下为插件仓库 README 全文(原始内容,由公开目录抓取整理)。

dsh-open-efforts

Choose reasoning effort for additional models in DeepSeek Harness.

中文 · English

## Overview

`dsh-open-efforts` adds official per-model `reasoningEfforts` metadata to models explicitly configured through `@deepseek-ai/dsh-llm-pi-ai`. DeepSeek Harness displays the native **Effort** control in its existing model menu and submits each selection through the standard request path.

## Screenshots

![Reasoning-effort control for a custom model](./docs/images/model-effort-selector.png)

*Figure 1: Models connected through Chat Completions, Responses, or Messages can use the same reasoning-effort selector.*

![Off and five reasoning-effort levels](./docs/images/effort-levels.png)

*Figure 2: The menu provides Off and five standard levels. Each model and provider defines the levels it actually accepts.*

## Effort levels

The plugin exposes these six choices:

| UI label | `reasoningEfforts` key | Wire value |
| --- | --- | --- |
| Off | `off` | `none` |
| Low | `low` | `low` |
| Mid | `medium` | `medium` |
| High | `high` | `high` |
| XHigh | `xhigh` | `xhigh` |
| Max | `max` | `max` |

The protocol field uses the official id `medium`, while the UI displays `Mid`. The selectable range consists of the six rows above; `minimal` sits outside that range.

> **Unofficial community plugin:** This independent project is developed and maintained by community contributors.

## Scope

The plugin handles models explicitly declared in the `llm-pi-ai` settings section:

- `providers..models[]`
- `providers..modelOverrides.`

Catalog-only routes retain their existing configuration. The official `deepseek-official` adapter also retains its existing configuration.

DSH supports three protocols for custom routes:

- `openai-completions`
- `openai-responses`
- `anthropic-messages`

For `openai-completions`, the plugin writes the official compatibility switch:

```yaml
compat:
  supportsReasoningEffort: true
```

Responses and Messages use their protocol-native reasoning fields directly.

## Model compatibility

The UI always displays all six choices. Each model and provider determines which values it accepts. A model may accept only High and Max, or it may reject every effort value. Provider compatibility errors surface through the standard DSH request path.

`Off` uses the supported `off: none` wire mapping. Generic Chat Completions routes explicitly send `reasoning_effort: "none"`. Responses and Messages translate the same logical choice into their protocol-native disable formats.

## Installation

Requirements:

- Node.js `^22.19.0` or `>=24.0.0`
- DeepSeek Harness `0.1.0-rc.7` or a newer release with per-model `reasoningEfforts`
- `@deepseek-ai/dsh-llm-pi-ai` enabled

Run these commands from the repository directory:

```sh
npm run verify:release
dsh plugin --profile web add .
```

`dsh plugin` resolves the local path from the current working directory and adds the package's `dsh.bundle` declaration to the selected profile.

Verify the profile configuration:

```sh
dsh --profile web --dump-config
```

The output should contain `open-efforts` and `dsh-open-efforts`. Restart the matching DSH Web process and refresh the page.

For another profile, replace `web` with its name. Install the plugin separately for each profile.

## Usage

Once a custom model appears in `llm-pi-ai` under `models` or `modelOverrides`:

1. Open the model menu in the composer.
2. Select the target model.
3. Open **Effort**.
4. Select `Off / Low / Mid / High / XHigh / Max`.

The plugin watches model-topology and settings updates. Reopen the model menu after adding or editing a model to load the latest metadata.

## Configuration written by the plugin

A Chat Completions model receives this capability configuration:

```yaml
models:
  - id: your-model
    reasoningEfforts:
      off: none
      low: low
      medium: medium
      high: high
      xhigh: xhigh
      max: max
    compat:
      supportsReasoningEffort: true
```

Model names, context windows, output limits, existing `compat.thinkingFormat` values, and unrelated fields remain intact. The plugin replaces each `models` array as a whole to follow DSH settings path-mutation rules for arrays.

## Data and permissions

- Runtime access is limited to `llm-pi-ai` model-capability settings and `resolveModel` metadata.
- API keys, conversations, system prompts, messages, and model output stay outside the plugin's access scope.
- Network requests generated by the plugin: zero.
- Native DSH adapters continue to handle all model traffic.

## Uninstall and full rollback

Remove the package from the profile:

```sh
dsh plugin --profile web remove dsh-open-efforts
```

Then inspect the profile and restart it:

```sh
dsh --profile web --dump-config
```

Uninstalling restores the runtime `resolveModel` method. Official declarations already stored in the settings backend remain available. For a full rollback, remove these fields from affected model entries:

- `reasoningEfforts`
- the plugin-added `compat.supportsReasoningEffort`

Keep all other `compat` fields.

## Compatibility baseline

- Last verified: `2026-08-18`
- DeepSeek Harness: `0.1.0-rc.7`
- Official repository commit checked: `99f6f02fecdb7dff40c3fbc9470f5907c29f74ca`
- Node.js: `^22.19.0` or `>=24.0.0`

The supported baseline starts with DeepSeek Harness `0.1.0-rc.7` and relies on per-model `reasoningEfforts`, `reasoningEffort` call configuration, and the native Model/Effort UI.

## Development

The package uses TypeScript source, keeps zero runtime npm dependencies, and compiles ESM plus declarations into `lib/`:

```sh
npm run lint
npm test
npm run build
npm run verify:package
npm pack --dry-run
```

## License

[MIT](./LICENSE). Report security issues through the private channel described in [SECURITY.md](./SECURITY.md). Credentials and pending vulnerabilities belong in the same private channel.

数据来源:公开的 DeepSeek Harness 插件目录与各插件 GitHub 仓库。本站为独立第三方目录,与 DeepSeek、幻方(High-Flyer)及插件作者均无隶属或背书关系。

每日精选 Skill 推荐,免费送到你邮箱

输入邮箱,每天接收一个精选 AI Agent 技能推荐。完全免费,持续更新。

提交后我们会发送一封确认邮件,点击邮件里的链接才会开始收信。

完全免费,取消任意时间。我们不会发送垃圾邮件。