返回目录
其他 插件

dsh-claude-provider

MoFeng2223/dsh-claude-provider

Custom Claude provider support for DeepSeek Harness

Stars
33
Forks
0
Issues
0
更新
6 天前

PROJECT TOPICS

项目标签

INSTALL REFERENCE

安装参考

未验证
dsh plugin --profile web add github:MoFeng2223/dsh-claude-provider

该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。

PROJECT README

README

DSH Claude Provider

English | 简体中文

DSH Claude Provider adds a dedicated Claude configuration interface to DeepSeek Harness. You can add multiple Claude providers, choose reasoning levels for each model, and automatically fetch model lists and fill in capacity settings and reasoning presets for common Claude models, without editing configuration files manually.

Compared with the official generic custom provider form, the plugin adds a dedicated Claude entry, five-level, four-level, and on/off reasoning presets, and automatic defaults for known Claude models. DeepSeek Harness handles the saved reasoning configuration natively.

What this plugin does

  1. Adds a dedicated Claude provider type

    Open Settings → Models → Add model provider → Claude provider to use the dedicated Anthropic Messages form.

Claude provider tab and configuration form

  1. Adds model-specific reasoning modes

    Each model can use one of three configurable mode sets:

    • Five levels: Low, Medium, High, XHigh, and Max
    • Four levels: Low, Medium, High, and Max
    • Toggle: On or Off

    New models default to five levels, and Claude providers default to High.

    On save, the plugin writes each model's reasoning levels and adaptive thinking settings to DeepSeek Harness's native configuration.

Claude model capacity defaults and reasoning modes

  1. Supports paginated Anthropic model discovery

    The plugin fetches model lists through an Anthropic-compatible GET /v1/models endpoint, follows the returned cursors to retrieve subsequent pages, and deduplicates the results.

  2. Fills known Claude model defaults after discovery

    When a discovered model matches a recorded Claude model ID, the plugin automatically fills its context window, maximum output length, and reasoning-mode set. Models entered manually remain fully editable and are not overwritten by this lookup.

  3. Leaves every other provider unchanged

    Discovery, defaults, and reasoning controls are limited to Provider IDs explicitly created as Claude Providers. DeepSeek Harness's built-in providers and ordinary custom providers keep their original behavior, even when they use anthropic-messages or expose a claude-* model ID.

Install

Published package

For the browser interface, install the plugin into the Web profile:

npx @deepseek-ai/dsh plugin --profile web add @mofeng2223/dsh-claude-provider

Restart the corresponding DeepSeek Harness process after installation.

From source

Clone, build, and package the repository first:

git clone https://github.com/MoFeng2223/dsh-claude-provider.git
cd dsh-claude-provider
npm install
npm run build
mkdir -p dist
npm pack --pack-destination dist

Install the generated package into the Web profile:

npx @deepseek-ai/dsh plugin --profile web add ./dist/mofeng2223-dsh-claude-provider-*.tgz

Uninstall

npx @deepseek-ai/dsh plugin --profile web remove @mofeng2223/dsh-claude-provider

Uninstalling the plugin does not delete official model settings or stored credentials. Existing Claude providers remain ordinary custom anthropic-messages providers, and their saved reasoning levels and adaptive thinking settings remain effective. The dedicated Claude add/edit interface, paginated model discovery, and automatic defaults are no longer available; the official model discovery feature remains available.

DSH 0.1.7 upgrade and configuration migration

This version targets DSH 0.1.7-alpha.2.

1. The new DSH version is not installed yet

Stop DSH, update DSH and the Claude plugin, then start DSH. On its first launch, the new DSH version attempts to migrate the old settings.yaml into the current Profile.

2. The new DSH version is installed but has not been run

Migration has not started yet. Update the Claude plugin and any other plugins requiring compatibility updates before starting DSH. DSH attempts to migrate the old Settings configuration on its first launch.

3. The new DSH version has already been run

DSH has already attempted automatic Settings migration, and some settings may have migration issues.

For this plugin, the possible impact is limited to missing Claude provider type markers. Model configuration and operation are unaffected by the missing markers.

License

MIT

CLASSIFICATION EVIDENCE

分类依据

项目类型插件
功能分类其他
规则置信度低

系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: 无有效分类标签。