DeepSeek Harness Plugin Hub

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

探索

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

社区

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

相关链接

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

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

Provider Badge — DeepSeek Harness 插件(DSH Plugin)
← Plugins
P

dsh-provider-badge

Provider Badge

作曲器模型选择器旁的服务提供商徽章图标:DeepSeek 鲸鱼 SVG,OpenCode Go/Zen 使用粗体 GO/ZEN 字标,其他情况使用块状首字母。仅客户端 DSH 插件。

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

npx -y @deepseek-ai/dsh plugin --profile web add github:marshfolx/dsh-provider-badge#90337a82b4991bb3edb6f9ba0d0f17a3da32bc3f
README兼容性版本

兼容性与来源证明

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

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

版本

0.1.1stable
2026/9/30

相关插件

正在加载相关插件…

最新版
0.1.1
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
未提供
文件数
未提供
Surface
web
许可证
MIT
发布源
github
GitHub
★ 0
周下载
0
最近提交
2026/9/30
查看源码 ↗
README Badge

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

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

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

认领这个 Plugin →
报告问题
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录

相关插件

继续浏览 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 配置层Ab Chartdsh-ab-chart带有绘制其调用的浏览器卡片的图表渲染工具,封装在一个可发布的插件包中Whale Widgetdsh-whale-widgetDSH Web 界面右下角的 DeepSeek 余额小鲸鱼挂件:余额/今日已用/峰谷定价、自定义泡泡点击序列(文本/余额/今日/峰谷/图片/随机语句与并列加权选择)、逐行样式与字体、悬浮快捷编辑、音效与每轮消耗、自定义角色/动图/音效、吸附与翻转自定义

README

dsh-provider-badge

image-20260819024142969

A client-only DSH plugin: shows the current model provider icon beside the composer model selector.

  • DeepSeek (provider contains deepseek) → whale SVG
  • OpenCode Go (provider contains opencode, e.g. opencode-go; or equals go) → bold merged "GO" wordmark
  • OpenCode Zen (provider exactly opencode, or contains zen) → bold merged "ZEN" wordmark
  • other providers → blocky initials

The badge subscribes to the model-selection plugin's per-session store (modelDirectories), so it updates instantly when the model changes, and scales with the composer tool-row height (DPI/zoom and row-height changes are both followed).

Requirements

Verified against DSH 0.2.0-rc.2. The package is a dsh.client bundle: the host half is empty and the browser half registers through window.__ModuleLoader__.load, so it needs no build step. It declares no npm dependencies — React arrives from the Web platform module table, and the two browser-side packages it depends on are named in dsh.client.inject:

EntryWhy
@deepseek-ai/dsh-client-ui-conversationdeclares conversation.input.right, the slot the badge occupies
@deepseek-ai/dsh-client-ui-model-selectionprovides the modelDirectories service the badge reads

Shipped DSH packages resolve from the DSH installation, so neither appears in dependencies or peerDependencies.

Install

From a local checkout, use plugin_manager with action: install_bundle and the absolute package directory as target. This writes the dependency plus the dsh.profile.bundles entry into the profile and installs it. Restart DSH afterwards.

The same package also installs by the identifier the Plugin Manager's Add plugin dialog expects — a package name, Git address, tarball, or absolute local path:

dsh plugin add github:marshfolx/dsh-provider-badge#main

Plugin metadata

DSH reads the Plugin Manager card text and artwork from the manifest without activating the plugin:

  • package.json icon → ./icon.svg (SVG/PNG/JPEG/WebP, ≤256 KiB, inside the package directory)
  • locale/en.json, locale/zh.json → meta.title and meta.description, served through the exported ./locale/*.json subpath

Missing fields fall back to package.json name and description.

Tuning (edit + reload; no live reload needed)

Permanent: edit TUNING_DEFAULTS at the top of client/client.js:

keydefaultmeaning
iconScale1.2icon height multiplier (whale 13px, letters 10px)
yOffset1vertical offset in px, positive = down
color'var(--dsw-alias-label-caption)'icon color; follows the theme's caption text color (same as the effort label Max/High). For semi-transparency use rgba(...) or color-mix(in srgb, var(--dsw-alias-label-caption) 70%, transparent)

Temporary (no file edit): in the browser console,

localStorage.setItem('dsh-provider-badge:tuning', JSON.stringify({ iconScale: 1.1, yOffset: -1 }));
location.reload();

Clear with localStorage.removeItem('dsh-provider-badge:tuning').

Updating a running install

The client half is served by the client module system and hot-reloads: when the installed client.js changes, the open page swaps the plugin in without a refresh (verified — a changed slot order became live in the page that was already open).

package.json metadata is read at activation and cached until restart, so changing dsh.client.inject, dsh.client.immediately, the icon, or the locale files needs a DSH restart.

pnpm installs a file: dependency as hard links, so writing a workspace file in place also changes the installed copy. Editors that replace the file instead (write a new file, rename it over) break that link and leave the installed copy stale — re-install, or restart, when in doubt.

Checks

npm test

Two dependency-free probes. test/manifest-probe.mjs re-checks the package against DSH's install contract for a dsh.client bundle (manifest fields, client export, bundle registration id, locale/icon metadata, dependency hygiene). test/client-probe.mjs executes the real client/client.js against stubs of the Client services it consumes and asserts what the badge renders for each provider. Both encode the 0.2.0-rc.2 contract, so re-read the DSH packages named in their headers after an upgrade before trusting a green run.

Structure

  • cordis.patch.yml — composition insert row (provider-badge)
  • package.json — bundle manifest: dsh.bundle.patch, dsh.client, icon, locale exports
  • icon.svg — Plugin Manager artwork
  • locale/en.json, locale/zh.json — Plugin Manager title and description
  • lib/index.js — host half (export function apply() {}; the client half does all the work)
  • client/client.js — browser half (window.__ModuleLoader__.load registration; zero build, zero deps)
  • test/manifest-probe.mjs, test/client-probe.mjs — the checks npm test runs