插件目录 / Developer / dsh-model-vendor-badge
dsh-model-vendor-badge
未验证 Townrain
功能简介
Vendor logo seat in the DSH web composer: shows which provider serves the current model, live from the official per-session ModelDirectory.
未验证 — 尚未实测
Vendor logo seat in the DSH web composer: shows which provider serves the current model, live from the official per-session ModelDirectory. 尚未验证——请自行安装测试。
「未验证」表示我们的自动化 CI 尚未安装过该插件。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。
README
dsh-model-vendor-badge
A vendor pill for the DeepSeek Harness web composer: shows which provider
serves the current model, right next to the model selector.
[● DeepSeek] [deepseek-v4-pro · High ▾] [Send]
What it does
- Registers a small badge into
conversation.input.right— the composer tool
row seat immediately left of the model selector. - Reads the same per-session
ModelDirectorythe model seat renders from
(ctx.modelDirectories), so a selection change anywhere — the seat menu,
the/modelpopup, the host — updates the pill live. - Shows the provider's display name from the host catalog (DeepSeek, Pi AI,
OpenRouter, ...) with a brand-colored dot for known provider route ids;
unknown routes fall back to a neutral dot. - Pure client presentation: no host code, no RPC, no settings, no session
events. Uninstalling leaves nothing behind.
Install
dsh plugin --profile web add github:dsh-model-vendor-badge # or a local clone:
dsh plugin --profile web add /path/to/dsh-model-vendor-badge
Refresh the page after installation.
Build
DSH_CHECKOUT=/path/to/deepseek-harness node build.mjs
build.mjs resolves the checkout's esbuild + typescript, junctions the client
type dependencies into node_modules/, and emits lib/index.js (host,
no-op) + lib/client.js (browser bundle, __ModuleLoader__ format) +lib/types/ declarations.
License
MIT
安装
装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:
dsh plugin add dshbase-catalog 然后对 agent 说「帮我装 dsh-model-vendor-badge」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包。
该插件是 GitHub 源码(未发 npm)——直接从仓库装:
Web profile:
dsh plugin --profile web add github:Townrain/dsh-model-vendor-badge Headless(CLI)profile:
dsh plugin --profile headless add github:Townrain/dsh-model-vendor-badge 实测报告
尚未 L3 验证——若已跑过,见下方失败备注。