插件目录 / 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 在干净 profile 里实际执行了 dsh plugin add 并启动成功——仅此而已。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。
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 实测报告
验证通过:从 GitHub 源码完成 L1 安装 + L2 加载 + L3 运行(dsh 0.1.0-rc.6)。