DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

Provider Info — DeepSeek Harness 插件(DSH Plugin)
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins

dsh-provider-info

Provider Info

在模型座左侧显示当前模型所属提供商(显示名称优先,回退 Provider ID)。纯运行时装饰,不改动原生页面源码。

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add dsh-provider-info@0.16.0
README兼容性版本

兼容性与来源证明

Provider Info 以 dsh-provider-info 发布,当前版本为 0.16.0。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
web
发布来源
npm
Registry 更新时间
2026/9/20

版本

0.16.0stable
2026/9/15
0.15.0stable
2026/9/15
0.12.0stable
2026/9/15
查看其余 13 个版本收起版本
0.11.0stable
2026/9/11
0.9.1stable
2026/9/11
0.9.0stable
2026/9/10
0.8.2stable
2026/9/10
0.8.1stable
2026/9/10
0.7.6stable
2026/9/9
0.7.2stable
2026/9/3
0.7.0stable
2026/8/31
0.5.1stable
2026/8/31
0.1.4stable
2026/8/26
0.1.3stable
2026/8/26
0.1.2stable
2026/8/26
0.1.1stable
2026/8/26

相关插件

正在加载相关插件…

最新版
0.16.0
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
141.1 kB
文件数
8
Surface
web
许可证
MIT
发布源
npm
周下载
134
安全扫描
✓ v0.16.0 扫描通过
查看源码 ↗项目主页 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题

相关插件

继续浏览 ui-customization 分类下经过校验的插件。

Web App@deepseek-ai/dsh-web-appdsh 浏览器界面捆绑包:位于 dsh-base 之上的 Web 补丁层,加上运行时粘合插件(提供前端 dist、Web 界面提示符、bash 运行时变量和 URL 行)Experimental Agent Team Web Profile@deepseek-ai/dsh-experimental-agent-team-web-profile用于 Agent Teams Remote 和 UI 插件的实验性 Web 配置层Remote Web Ui@linxin666/dsh-remote-web-ui通过扫码配对访问 dsh Web GUI,共享一个官方界面:设置按钮旁的二维码可将手机和 PC 配对到同一个 Web GUI(手机采用竖屏触控适配层,PC 使用完整桌面界面),通过一次性令牌和 rClient Ui Task Board@linxin666/dsh-client-ui-task-board面向 DSH Web GUI 的主机权威任务面板,支持实际会话执行、主机 cron 调度以及可选的跨平台空闲睡眠保护;以挂载方式提供,无需修改 DSH 源代码。

README

dsh-provider-info

A DeepSeek Harness plugin.

中文说明

It does exactly one thing: next to where you pick a model, it shows a small line of text saying which provider (company) is serving the currently selected model.

Move your mouse over that text and a small dark panel pops up with full details about the provider and the current model.

The problem it solves

DeepSeek Harness can be configured with several AI providers at once, and each provider has many models underneath. Just looking at a model name, it's hard to tell whose API it actually goes through. This plugin shows you at a glance: which provider is serving the model I'm using right now.

What it does

  • Adds a small label next to the model selector showing the provider's display name for the current model. If the provider has no display name, it falls back to the provider's ID.
  • Hover the label to open a small panel with two sections:
    • Provider info: display name, provider ID, API protocol (e.g. OpenAI-compatible, Anthropic, etc.), API base URL, and the environment variable name for the API key.
    • Current model info: model ID, display name, description, available reasoning efforts, the current reasoning effort, context window, max tokens, supported input modalities, and compat info.
  • Missing values are shown as 未提供; long values wrap.
  • The label updates automatically as you switch models.
  • Instant on hover: the panel renders immediately from local caches (the quota block shows a 刷新中… placeholder until data arrives, then fills in the background), so it never "ignores your hover and pops up after you leave".
  • Separate from the selector: the label is contributed to DSH's official slot conversation.input.right (the official empty slot left of the model seat), so DSH lays it out automatically and the native model selector is never modified; older DSH versions without that slot fall back to the compatible path.
  • Never touches your keys: it only shows the environment variable name for the credential — it never reads or shows the actual secret.
  • Quota section: for providers that support it, the hover panel also shows the provider's quota. Both kinds of provider follow the same presentation rules:
    • Balance type (e.g. DeepSeek): a single 余额 row with the account balance (multi-currency, e.g. ¥20.38 / $0.00).
    • Plan type (e.g. OpenCode Go, Command Code): one row per window, labelled with the window period (5小时 / 周 / 月, i.e. 5h / wk / mo in English), each showing used% · used $/total $ · reset countdown; in the hover panel these rows sit on a four-column grid (label | percent | amount | countdown — no parentheses, · between segments, right edges aligned, so 4.00% and 77.00% never shift the amounts); when the provider also exposes a subscription billing period, an 到期 (expires) row is appended (e.g. 2026-10-08 · 剩 27 天) as a plain row, outside that grid.
      • OpenCode Go: three rolling windows (5小时 / 周 / 月). Its API returns only percentages plus reset times, so the money amounts are derived from official plan-price constants; it has no dedicated subscription fields, but the monthly window's reset time is the billing-period end (weekly is anchored to Monday 00:00, monthly to the subscription start + 1 month), so it doubles as the expires row; the monthly row still shows its own reset countdown so all three window rows stay aligned (the expires row gives the date, plus “N days left” when “Show more details” is on).
      • Command Code (GOAT / Pro / Max plans, e.g. https://api.commandcode.ai/provider/v1): 5小时 / 周 windows plus the monthly pool (normalized into the 月 window; total pool derived as weekly cap × 2) and a subscription 到期 row (the same read-only internal endpoints the official CLI uses).
      • Window durations come from the provider: common periods render as 5小时 / 周 / 月, anything else renders as its real duration (e.g. 5天), with no code change needed.
    • Providers that can't be queried (including unrecognized ones) still show a quota row: 当前暂不支持查询当前提供商; a missing key shows 未配置 API Key; when a query fails the reason is named instead of a catch-all — 网络不可达 (network unreachable) / 查询超时 (timed out) / 请求过频(429) (rate limited) / 服务端错误 503 / HTTP 状态 4xx, with only as the last resort.

Screenshots

The small label next to the model selector (here showing the provider opencode-go):

Provider label next to the model selector

The detail panel that appears when you hover over it:

Hover panel with provider and model details

Installation

This plugin is loaded through the DSH profile mechanism (for example the web profile).

Option 1: Install via command

dsh plugin --profile web add dsh-provider-info

Option 2: Configure manually

Add it to your profile's dependencies:

// profile package.json
"dependencies": { "dsh-provider-info": "^0.1.0" }

Then declare the bundle in your profile config:

# profile config
dsh:
  profile:
    bundles:
      - dsh-provider-info

After installing, restart dsh web once and refresh the page.

Settings

Open 设置 → 提供商信息 to configure the quota refresh behavior:

  • 显示悬浮窗自动刷新 (default checked): when you hover the badge and the panel opens, re-query the latest quota immediately (bypassing the 5-minute cache).
  • 定时刷新 (default unchecked) + 定时刷新间隔(分钟) (default 5, minimum 1): while the hover panel is open, periodically re-query the remaining quota on the configured interval. When 定时刷新 is off, the interval input is disabled and greyed.
  • 显示更多信息 / Show more details (default checked): when on, windows also show (used/total) amounts, the hover panel shows reset countdowns, and expiry shows days left; when off, the quota shows only percentages and the expiry date (a cleaner view) — the percentage then renders as a right-aligned value flush with the panel's right edge, aligned with the expiry row and with the values of the provider/model rows above. It applies to both the hover panel and the settings table at once.
  • 界面语言 (default 跟随系统(dsh)): choose the UI language of the hover panel and this settings page — 跟随系统(dsh) follows the DSH interface language (Chinese UI → Chinese, English UI → English), 中文 forces Chinese, English forces English. Forcing a language only affects this plugin, never DSH's own language settings.

Changes are saved to $DSH_HOME/dsh-provider-info.json and apply immediately.

Usage

There's nothing to do. Open the chat interface and the small label appears next to the model selector automatically. Hover over it to see the details.

Privacy

This plugin only reads provider configuration from the running DSH instance on your machine to display it. All data is shown in your own browser and is never sent anywhere. The API key value is never read or displayed — only its environment variable name.

License

MIT

查询失败
  • All these queries are read-only: they never charge you and never burn tokens.
  • The Settings → 提供商信息 "all provider quotas" table uses the same data and the same column names as the hover panel: Provider | 5小时 | 周 | 月 | 余额 | 到期 | Action, filled per available dimension; for providers that can't be queried the status text follows the provider name instead of occupying a data column.
  • Transient failures heal themselves: a reset connection (ECONNRESET), 429 or 5xx is retried once; a failed result is cached for only 20 seconds (successes still 5 minutes), so one network blip can no longer pin “查询失败” in the settings table for five minutes; and if the first round fails when you open the settings page, it re-queries once after 1.8s. The raw error goes to the host console ([provider-badge] 余量查询失败 …).
  • The quota block has a Refresh button: click it to bypass the cache and immediately pull the latest quota (still read-only). Hovering normally uses the 5-minute cache.
  • While your mouse is over the panel/button, message-stream scrolling won't hide the panel, so you can read it comfortably; it only hides on scroll after you move away.
  • Refresh behavior is adjustable from Settings → 提供商信息: enable 显示悬浮窗自动刷新 (default on) to re-query the latest quota whenever you hover (bypassing the cache), or enable 定时刷新 (default off) with an interval in minutes (default 5, minimum 1) to periodically re-query while the panel is open. Settings persist in $DSH_HOME/dsh-provider-info.json (mode 0600).