marshfolx/dsh-provider-badge

marshfolx★ 0JavaScript最后同步: 2026-08-18

在 GitHub 打开

add a badge to show your seleted model provider

README 摘要

dsh-provider-badge 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): 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 : 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…

在 GitHub 查看完整 README →
工具/开发deepseek-harnessdshdsh-plugindsh-plugins

分类