DSH HUB
首页插件商店插件包社区排行榜资源发布指南
插件源码
返回插件目录

Townrain /

Townrain/dsh-model-vendor-badge

已验证

Vendor logo seat in the DSH web composer: shows which provider serves the current model, live from the official per-session ModelDirectory.

★ 1 Stars0 Forks0 IssuesN/A 社区评分0 已确认安装
查看 GitHub
README来源: main@95d10fef

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 ModelDirectory the model seat renders from (ctx.modelDirectories), so a selection change anywhere — the seat menu, the /model popup, 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

—/ 5

暂无评分

已验证 DSH bundle

Commit 95d10fef24f0

社区评论

还没有评论,来写第一条。

DSH HUB

社区维护的 DSH 插件索引。不是 GitHub 或 DeepSeek AI 的官方产品。

社区资源API关于