dshbase

插件目录 / Developer / dsh-providers

dsh-providers

已验证 · 实测可装 tyql688

✓ 持续维护 基于 22 个官方 DSH 包

查看 GitHub ↗ ← 返回插件目录

2Stars
0Forks
0未关闭 issue
—语言
2026-08-21最近推送
跨平台平台

功能简介

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

✅
我们的评价
可用 — 实测通过,早期项目

Model providers for DeepSeek Harness: sign in with OAuth or an API key, and keep every provider's model catalog current 实测能干净安装、正常启动。早期项目,但功能可用。

「已验证」表示我们的自动化 CI 在干净 profile 里实际执行了 dsh plugin add 并启动成功——仅此而已。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。

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

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:

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/[email protected], Node 22+.

Development

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

安装

🧩 让 Agent 自动装(推荐)

装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:

dsh plugin add dshbase-catalog

然后对 agent 说「帮我装 dsh-providers」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包。

该插件是 GitHub 源码(未发 npm)——直接从仓库装:

Web profile:

dsh plugin --profile web add github:tyql688/dsh-providers

Headless(CLI)profile:

dsh plugin --profile headless add github:tyql688/dsh-providers

实测报告

验证通过:从 GitHub 源码完成 L1 安装 + L2 加载 + L3 运行(dsh 0.1.0-rc.6)。

安全:尚未扫描——我们的每日静态扫描将很快覆盖它。

分享徽章

Developer 里更多

浏览全部 7819 个插件 →