kedoupi/dsh-plugins--plugins-providers ↗★ 0
dsh-providers
设置 → 模型:登录官方订阅并选择在聊天中显示哪些厂商的模型。
AI 分析
核心用途是提供统一的模型供应商登录与 API 密钥管理页面,并允许自定义对话框中的模型列表。适合拥有多个大模型账号、需要一站式切换和管理模型准入的用户。
安装
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:kedoupi/dsh-plugins#d0a3f0abfd7341d1898d518d4c3269c28b4a909e&path:plugins/providers说明文档
阅读完整 README ↗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
| Product | Sign-in |
|---|---|
| ChatGPT Codex | OAuth (Plus / Pro) |
| Claude | OAuth (Pro / Max) |
| Grok | OAuth (X Premium) |
| Qwen Code | Device code |
| Kimi Code | Device code (official Kimi Code) |
| Zhipu GLM, Doubao, MiniMax, iFlytek Spark, Hunyuan | Listed 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.