返回目錄

dsh-claude-provider

精選清單收錄維護狀態: 活躍

mofeng2223/dsh-claude-provider

為 DeepSeek Harness 新增自定義 Claude 模型提供商支援

前往 GitHub
$ npx @deepseek-ai/dsh plugin --profile web add @mofeng2223/dsh-claude-provider

35

星數

2

Fork

JavaScript

語言

MIT

授權條款

2026-08-14

建立於

2026-11-18

最近推送

一個 DeepSeek Harness 外掛,新增專屬的 Claude 提供方類型,支援原生 Anthropic 模型發現、依模型的推理檔位與自動 Claude 模型預設值——皆於儲存時寫入 settings.yaml。

DSH 整合

原生執行環境

作者聲明

安全稽核

未稽核

最後核實

2026-09-06

授權條款

MIT

01它能幫你完成什麼?

  • 在 DeepSeek Harness 中新增並設定 Claude(Anthropic)提供方,無須手動編輯 settings.yaml

    一個獨立的 Claude 提供方表單,儲存時寫入原生 settings.yaml 設定,支援依模型的推理檔位(五檔 / 四檔 / 開關)與自動 Claude 模型預設值

    希望透過官方 Anthropic Messages 協定、以原生預設值路由 Claude 模型的 DeepSeek Harness 使用者

  • 為提供方發現並填寫 Claude 模型

    透過原生 Anthropic 相容的 `GET /v1/models` 介面(含游標分頁)列出模型,並為已知 Claude ID 自動填寫上下文視窗、最大輸出與推理檔位集

    執行 Claude 提供方、希望免手動輸入即可取得模型清單與預設值的使用者

02如何將外掛接入 DeepSeek Harness?

安裝步驟

  1. 01

    為瀏覽器介面安裝 Web profile:`npx @deepseek-ai/dsh plugin --profile web add @mofeng2223/dsh-claude-provider`

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

  2. 02

    安裝後重啟對應的 DeepSeek Harness 程序。

  3. 03

    從原始碼建置:`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`,然後執行 `npx @deepseek-ai/dsh plugin --profile web add ./dist/mofeng2223-dsh-claude-provider-*.tgz`

    $ git clone https://github.com/MoFeng2223/dsh-claude-provider.git

驗證整合成功

作者未說明

復原

  • `npx @deepseek-ai/dsh plugin --profile web remove @mofeng2223/dsh-claude-provider`
  • 注意:解除安裝不會刪除 `~/.dsh/settings.yaml` 或已儲存的憑證。

03DSH 整合程度與能力邊界

DSH 整合原生執行環境

透過 `npx @deepseek-ai/dsh plugin --profile web add` 作為 dsh 外掛安裝;儲存時寫入原生 settings.yaml 設定

  • 專屬 Claude 提供方類型

    在「模型」設定頁輸入的 Claude(Anthropic)提供方憑證→獨立的 **Claude Provider** 表單,可在該類型下建立多個 Provider ID,而不與通用自訂提供方混淆

  • 依模型設定的推理檔位

    在 Claude 提供方下選定的每個 Claude 模型→每個模型可選三套檔位之一:五檔(Low、Medium、High、XHigh、Max)、四檔(Low、Medium、High、Max)或開關(On/Off);新模型預設五檔,Claude 提供方預設 High

  • 原生 Anthropic 模型發現

    設定了 Anthropic 相容 base URL 的 Claude 提供方→透過提供方原生的 Anthropic 相容 `GET /v1/models` 介面列出模型,含游標分頁

  • 自動填寫 Claude 模型預設值

    ID 符合已記錄 Claude 模型 ID 的被發現模型→自動填寫模型的上下文視窗、最大輸出長度與推理檔位集;手動輸入的模型保持完全可編輯,不會被覆寫

  • 僅作用於 Claude 提供方

    無→模型發現、預設值與推理控制僅適用於明確建立為 Claude 提供方的 Provider ID;其餘提供方保持原有行為

04適合誰?何時不該用?

適合

  • 希望透過官方 Anthropic Messages 協定、以原生預設值路由 Claude 模型的 DeepSeek Harness 使用者
  • 執行 Claude 提供方、希望免手動輸入即可取得模型清單與預設值的使用者

不適合

  • Claude 模型的原生 reasoning-effort 參數需要 DeepSeek Harness 0.1.1-rc.1 或更新版本。在受支援的版本中,外掛僅在儲存時寫入原生 settings.yaml 設定,不再於執行期攔截或重寫模型請求。

05相容性、維護與安全提醒

  • 模型發現、預設值與推理控制僅適用於明確建立為 Claude 提供方的 Provider ID;即使使用 anthropic-messages 或 claude-* 模型 ID,DeepSeek Harness 內建提供方與普通自訂提供方仍保持原有行為。
  • Claude 模型的原生 reasoning-effort 參數需要 DeepSeek Harness 0.1.1-rc.1 或更新版本。在受支援的版本中,外掛僅在儲存時寫入原生 settings.yaml 設定,不再於執行期攔截或重寫模型請求。
  • 解除安裝外掛不會刪除 ~/.dsh/settings.yaml 或已儲存的憑證;既有的 Claude 提供方仍保留為一般的自訂 anthropic-messages 路由,僅專屬介面、模型發現與已記錄的預設值會消失。
作者未說明作者未說明v0.4.2

readme_verified

06常見問題

如何安裝 dsh-claude-provider?

在終端機執行 `npx @deepseek-ai/dsh plugin --profile web add @mofeng2223/dsh-claude-provider`,然後重啟對應的 DeepSeek Harness 程序。也可從原始碼建置後匯入生成的 .tgz 套件。

相較 DeepSeek Harness 內建的自定义提供方,它額外提供什麼?

它在「模型」設定頁新增獨立的 Claude 提供方表單,透過 `GET /v1/models`(含游標分頁)進行原生 Anthropic 模型發現,並自動填入 Claude 模型預設值(上下文視窗、最大輸出、推理檔位集)。

我還需要手動編輯 settings.yaml 嗎?

不需要。當你透過前端表單儲存 Claude 提供方時,外掛會把對應的原生設定寫入 `settings.yaml`,因此你無須手動編輯該檔案。

解除安裝外掛會刪除我的 Claude 設定或憑證嗎?

不會。解除安裝外掛不會刪除 `~/.dsh/settings.yaml` 或已儲存的憑證;既有的 Claude 提供方仍保留為一般的自訂 `anthropic-messages` 路由,只有專屬介面、模型發現與已記錄的預設值會消失。

它會影響 DeepSeek Harness 中的其他提供方嗎?

不會。模型發現、預設值與推理控制僅套用於明確建立為 Claude 提供方的 Provider ID;DeepSeek Harness 內建提供方與一般自訂提供方維持原有行為。

08資料與來源

  • 作者聲明github.comcc173d01676d…

    it writes the corresponding native settings to `settings.yaml` when a Claude provider is saved through the front end.

此頁面根據專案公開文件、儲存庫中繼資料與 DSH Plugins 的結構化解析所產生;最後核實於 2026-09-06。發現錯誤?提交更正。

🏆

最佳 DeepSeek Harness 外掛

從全目錄挑出的 12 個值得優先安裝的外掛,涵蓋各個分類。

DSH Plugins 是獨立的 DeepSeek Harness 外掛目錄,與 DeepSeek 官方無關,也不代表官方背書。第三方外掛未經安全稽核,安裝前請審查原始碼。

每週取得最新的 DeepSeek Harness 外掛,絕不濫發。