kedoupi/dsh-plugins--plugins-providers0

dsh-providers

Settings → Models: sign in to official subscriptions and pick which vendor models appear in chat

AI 분석

核心用途是提供统一的模型供应商登录与 API 密钥管理页面,并允许自定义对话框中的模型列表。适合拥有多个大模型账号、需要一站式切换和管理模型准入的用户。

패키지
dsh-providers
버전
0.2.0
라이선스
MIT
최근 업데이트
2026. 8. 21.

설치

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:kedoupi/dsh-plugins#d0a3f0abfd7341d1898d518d4c3269c28b4a909e&path:plugins/providers

dsh-providers

English | 中文

A DeepSeek Harness plugin. Occupies Settings → Models: official membership login and API keys on one page. The sidebar lists connected vendors; the right pane signs in or stores a key, then you check which models appear in the conversation picker.

Unconnected vendors live behind Add provider. The host Models page is unused on purpose.

Part of the dsh-plugins monorepo. User-facing copy in the Web UI is Chinese.

Auth flows take after dsh-plugin-subscriptions (MIT).

Install

dsh plugin --profile web add github:kedoupi/dsh-plugins#path:plugins/providers
dsh web

Do not add the monorepo root. After source changes: rebuild this package and restart dsh.

Subscriptions

ProductSign-in
ChatGPT CodexOAuth (Plus / Pro)
ClaudeOAuth (Pro / Max)
GrokOAuth (X Premium)
Qwen CodeDevice code
Kimi CodeDevice code (official Kimi Code)
Zhipu GLM, Doubao, MiniMax, iFlytek Spark, HunyuanListed under Add provider; official membership login is not wired yet

Authorization can finish on another device: the page shows this computer, the link, and the device code.

API keys and custom endpoints

Built-in API vendors use the host credential store. Saved keys are shown as a mask, never as plaintext.

A key that arrives from the launch environment is read-only here. The page explains that; it will not replace or unset it. Change it where you start dsh.

Custom vendors are OpenAI-compatible endpoints (name, base URL, key). Models are loaded from the endpoint, not typed in by hand.

Data

Membership tokens: $DSH_HOME/plugins/providers/auth.json (mode 0600). Files left under plugins/passport/ from the old package name are copied on first load.

API keys go through the host credentials seam ($DSH_HOME/.credentials.yaml), unless the process environment already supplies that reference.

Develop

From the monorepo root:

pnpm --filter dsh-providers test
pnpm --filter dsh-providers build
node scripts/link-plugin.mjs --profile web providers
pnpm dev

That links into the repo .dsh-home (port 3081), not the daily ~/.dsh.

Workflow: docs/workflow.md. Product notes: PRODUCT.md.