返回目录
模型与 MCP 插件

dsh-providers

tyql688/dsh-providers

Model providers for DeepSeek Harness: sign in with OAuth or an API key, and keep every provider's model catalog current

Stars
2
Forks
0
Issues
0
更新
1 天前

PROJECT TOPICS

项目标签

INSTALL REFERENCE

安装参考

未验证
dsh plugin --profile web add github:tyql688/dsh-providers

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

PROJECT README

README

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

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:

Accounts page

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):

Tokens today card

Usage statistics dialog

Session stats view

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.6, Node 22+.

Development

pnpm install
pnpm build     # rebuild lib/ (committed) with any source change
pnpm check     # oxlint + tsc + knip

CLASSIFICATION EVIDENCE

分类依据

项目类型插件
功能分类模型与 MCP
规则置信度

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