DeepSeek Harness plugin

dsh-provider-badge

Provider badge icon beside the composer model selector: DeepSeek whale SVG, bold GO/ZEN wordmarks for OpenCode Go/Zen, blocky initials otherwise. Client-only DSH plugin. · DSH 客户端插件:在模型选择器旁显示当前

Jump to install

Source facts

Repository
marshfolx/dsh-provider-badge
Latest update
Aug 18, 2026
Category
Just for Fun
GitHub stars
0
Format
plugin
Catalog evidence
Upstream dsh.bundle evidence
Evidence path
package.json#dsh.bundle
Checked against
0.1.0-rc.8
Upstream check date
2026-08-20

This evidence comes from the upstream catalog. This site has not installed, run, or security-reviewed the plugin.

Install

Start with a prompt that asks an agent to review the GitHub repository and source. Switch to the command if you want to install it yourself.

Copy this prompt into DSH, Codex, or another agent and ask it to review the GitHub repository and source first.

Do not install or run any commands yet. Read this plugin's GitHub repository, README, and relevant source code. Then answer the questions below clearly and directly so I can decide whether it fits my needs:

1. What is this plugin, and what problem does it solve?
2. Who is it for, and what are its typical use cases?
3. How is it used after installation? Include one minimal example.
4. What known limitations or privacy, security, compatibility, or maintenance risks does it have?
5. Give a clear recommendation: recommend, conditionally recommend, or do not recommend, with reasons.

Distinguish statements documented by the repository, inferences from source code, and unknowns. If evidence is insufficient, say so explicitly. Do not guess or simply repeat the README.

GitHub: https://github.com/marshfolx/dsh-provider-badge
Plugin: dsh-provider-badge
Author: marshfolx

Check the source files

Read the README and other files from this plugin directory before installing.

File explorer3 files
README.mdSource · read only

dsh-provider-badge

![image-20260819024142969](pics/README.zh/image-20260819024142969.png)

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)