Townrain/dsh-model-vendor-badge

Townrain★ 1TypeScript最后同步: 2026-08-15

在 GitHub 打开

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

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. 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 Refresh the page after installation. Build 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

在 GitHub 查看完整 README →
工具/开发dsh-plugin

分类