DSH Plugins Marketplace

DSH Plugins

Plugins

/

dsh-provider-badge

m

dsh-provider-badge

Manifest valid

add a badge to show your seleted model provider

UI (client)hasBundlePatch

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).

Install

Install from GitHub (requires DSH):

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

This adds the plugin to the profile's package.json (dependencies + dsh.profile.bundles) and installs it. Restart DSH afterwards.

Manual equivalent — in the profile's package.json:

"dependencies": {
  "dsh-provider-badge": "github:marshfolx/dsh-provider-badge#main"
}

append "dsh-provider-badge" to dsh.profile.bundles, then run pnpm install in the profile directory and restart DSH.

Tuning (edit + refresh; no live reload needed)

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

keydefaultmeaning
iconScale1icon height multiplier (whale 13px, letters 10px)
yOffset0vertical 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').

After editing client/client.js, refresh the page (hard refresh Ctrl+F5 if cached).

Structure

  • cordis.patch.yml — composition insert row (provider-badge)
  • dsh.plugin.json — plugin manifest metadata
  • lib/index.js — host half (empty; client-only plugin)
  • client/client.js — browser half (window.__ModuleLoader__.load registration; zero build, zero deps)

Compatibility

DSH 0.2.1-alpha.1: failedDSH 0.1.7-rc.2: failedDSH 0.1.7-rc.1: failed

Versions

Latest versionPublishedSize
0.1.0——

Comments

Loading…

Similar plugins

dsh-model-provider-badge

by cKNKSnd

DeepSeek Harnes 输入框当前模型提供商名称

Terminal & ClientsManifest valid

★ 0

MIT

JavaScript

Aug 19, 2026

dsh plugin --profile web add dsh-model-provider-badge

by huihuangdi

Shows the provider behind a session's current model as a compact badge in the DSH Web composer tool row.

UI & ExperienceManifest valid

★ 0

MIT

JavaScript

Oct 14, 2026

dsh plugin --profile web add dsh-model-provider-badge

by moonmoonCL

Provider-aware DeepSeek peak/off-peak badge for DSH. 在输入框工具栏显示 DeepSeek 峰谷时段,只在选中的模型属于 DeepSeek provider 时出现。

Manifest valid

★ 0

MIT

JavaScript

Oct 19, 2026

dsh plugin --profile web add dsh-provider-peak

by kjx-talesofai

See which provider and model produced a reply, in the message's own action row.

Manifest valid

★ 0

MIT

JavaScript

Oct 17, 2026

dsh plugin --profile web add dsh-plugin-message-model-badge

by Menpengpeng

DeepSeek Harness plugin: append the provider/platform name after the model name (模型名后追加平台名)

Manifest valid

★ 0

MIT

JavaScript

Nov 6, 2026

dsh plugin --profile web add dsh-plugin-model-provider

by mo-n

DSH provider plugin for Qoder subscriptions.

Models & ProvidersManifest valid

★ 27

↓ 1.1k/wk

MIT

TypeScript

Nov 6, 2026

dsh plugin --profile web add dsh-provider-qoder