tyql688/dsh-providers
DeepSeek Harness 的模型提供商:通过 OAuth 或 API 密钥登录,并保持每个提供商的模型目录为最新。
项目介绍Project Overview
dsh-providers 是 DeepSeek Harness 的模型供应商插件,基于 pi-ai 与 lobe-icons,提供 OAuth/API Key 登录、令牌刷新、实时模型目录和令牌用量统计,可在设置-账户页登录、更新目录并查看 OpenAI 兼容端点。适用于需接入多家模型并查看会话用量时。注意首次安装常遇 ERR_PNPM_IGNORED_BUILDS,需拒绝相关构建脚本后重试。
dsh-providers is a DeepSeek Harness plugin that adds model providers with OAuth/API-key sign-in, token refresh, live model catalogs, and token usage statistics. Use it when connecting multiple providers in DSH web and reviewing session token usage. Note that the first install may fail with ERR_PNPM_IGNORED_BUILDS; deny the prompted build scripts and rerun the add command.
请帮我了解并安装插件:【dsh-providers】【https://github.com/tyql688/dsh-providers】
把上面这条消息直接发给当前会话里的 DSH,让它帮你了解并安装。安装命令不一定准确,发给 DSH 更稳。Send this message to DSH in your current session. CLI install commands may not be accurate across systems — DSH will figure it out for you.
或使用命令行安装(适合开发者)Or use CLI install (for developers)
命令行安装CLI Install
dsh plugin --profile web add github:tyql688/dsh-providers
把 tyql688/dsh-providers 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
dsh-providers
English · 简体中文
Model providers for DeepSeek Harness: OAuth/API-key sign-in, token refresh, live model catalogs, and token usage statistics. Built on @earendil-works/pi-ai and @lobehub/icons.
Install
dsh plugin --profile web add github:tyql688/dsh-providers
The first add often exits with ERR_PNPM_IGNORED_BUILDS for @google/genai and protobufjs (pi-ai pulls them; this plugin does not run their install scripts). Deny both and repeat the same add so dsh mounts the bundle:
dsh plugin --profile web approve-builds '!@google/genai' '!protobufjs'
dsh plugin --profile web add github:tyql688/dsh-providers
Or from a local clone:
git clone https://github.com/tyql688/dsh-providers.git
cd dsh-providers
pnpm install
dsh plugin --profile web add "$PWD"
Uninstall:
dsh plugin --profile web remove dsh-providers
Usage
Run dsh web, open Settings → Accounts to sign in, update model catalogs, or read an OpenAI-compatible endpoint:

Providers (pi-ai 0.84.2):
- OAuth: Anthropic, GitHub Copilot, Kimi For Coding, OpenAI Codex, OpenRouter, Radius, xAI
- API key: Amazon Bedrock, Ant Ling, Azure OpenAI, Baseten, Cerebras, Cloudflare AI Gateway, Cloudflare Workers AI, DeepSeek, Fireworks, Google, Google Vertex AI, Groq, Hugging Face, MiniMax / MiniMax CN, Mistral, Moonshot AI / CN, NVIDIA, OpenAI, OpenCode Zen / Go, Qwen Token Plan (×3), Together, Vercel AI Gateway, Xiaomi (×4), Z.AI / Z.AI Coding CN
The sidebar gains a Tokens today card; clicking it opens the usage statistics dialog, and each session gets a 统计 tab (its headline figures cover the session itself and reconcile with the composer's meter; subagents are listed and rolled up separately):



Storage: OAuth tokens in $DSH_HOME/auth.json, API keys in .credentials.yaml, catalog cache in model-catalog.json, routes in settings.yaml. Environment keys are never stored.
Verified against @deepseek-ai/dsh@0.1.0-rc.7, Node 22+.
Development
pnpm install
pnpm build # rebuild lib/ (committed) with any source change
pnpm check # oxlint + tsc + knip
nexu-io/open-design
freestylefly/awesome-gpt-image-2
anywhere-labs/dsh-desktop
walkinglabs/learn-harness-engineering
awesome-dsh-plugin/awesome-dsh-plugin
MemTensor/MemOS