dshbase

Plugin directory / Developer / dsh-provider-badge

dsh-provider-badge

Verified · install-tested on dsh marshfolx

✓ Actively maintained Builds on 3 official DSH packages

View on GitHub ↗ ← Back to plugin directory

0Stars
0Forks
0Open issues
—Language
2026-08-18Last push
Cross-platformPlatform

What it does

add a badge to show your seleted model provider

✅
Our take
Works — verified, early-stage project

add a badge to show your seleted model provider It installs cleanly and boots without issues in our testing. It's early-stage but functional.

“Verified” means our automated CI actually ran dsh plugin add in a clean profile and it booted — nothing more. Feature descriptions and version compatibility are the author’s claims. This is not a security audit and not an endorsement of third-party code.

README

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:

key default meaning
iconScale 1 icon height multiplier (whale 13px, letters 10px)
yOffset 0 vertical 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)

Install

🧩 Let your agent install it (recommended)

Install the catalog once, then DeepSeek Harness can find and install any plugin from this site automatically:

dsh plugin add dshbase-catalog

Then say "install dsh-provider-badge for me" — your agent finds it in the directory and installs it. Docs: dshbase-catalog · verified packs.

This plugin is GitHub source (not published to npm) — install it straight from the repo:

Web profile:

dsh plugin --profile web add github:marshfolx/dsh-provider-badge

Headless (CLI) profile:

dsh plugin --profile headless add github:marshfolx/dsh-provider-badge

Test report

Verified: L1 install + L2 load + L3 runtime from GitHub source on dsh 0.1.0-rc.6.

Security: not yet scanned — our daily static scan will cover it shortly.

Share this badge

More in Developer

Browse all 7819 plugins →