Custom Chinese nicknames for dsh plugins, displayed directly in the native plugin list.
Install
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:sanlisanxun/dsh-plugin-nickname
Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).
README
Custom Chinese nicknames for DeepSeek Harness (dsh) plugins, displayed directly in the native plugin settings page. Supports grouping (by nickname / by tag), collapsible groups, official-plugin protection, and custom tags.
Features
- Automatically replace English package names in the plugin list with custom Chinese nicknames; hover to see the original English name
- Visual edit panel: click the "📝 Nickname" button in the bottom left, or press
Ctrl+Shift+N - Automatically scan all installed plugins for direct editing; nicknames are saved in browser localStorage and persist
- 🛡 Official plugins are protected by default:
@deepseek-ai/*and dsh's built-in bundles are marked "官方" with a disabled input; an "改官方" (allow official) toggle in Advanced lifts the restriction - 🗂 Grouping: group by whether a nickname is set, or by tag; group headers collapse/expand and remember their state
- 🏷 Custom tags: create and apply a tag inline via "+ 标签"; toggle or delete tags; fixed categories "官方 / 已修改 / 未修改" are applied automatically
- 🔍 Search box, sort by original/nickname name, export/import, draggable button, master switch, one-click reset
Installation
Method 1: Install from GitHub (Recommended)
Desktop (DSH 0.2.0-rc.2): Open "Plugins → Add Plugin" in the sidebar, paste the address below, and select "Enable Now" after installation. If prompted to restart, follow the instructions.
github:sanlisanxun/dsh-plugin-nickname
Method 2: Local Directory Installation
- Download this project and extract it to a local folder
- Open dsh → Plugins → Add Plugin
- Enter the full path to the local folder and click install
- Refresh the page to take effect
Usage
After installation:
- Click the "📝 Nickname" button in the bottom left, or press
Ctrl+Shift+Nto open the edit panel - Edit Chinese names directly in the input box, press Tab to save
- Leave blank to restore the original English package name
Directory Structure
dsh-plugin-nickname/
├── lib/
│ ├── index.js # Host-side plugin entry
│ └── client.js # Client-side script (injected into the browser page)
├── cordis.patch.yml # Cordis mount patch
├── package.json # Package configuration
├── README.md # Project documentation
└── LICENSE # Open source license
Changelog
Full changelog: CHANGELOG.md.
v0.3.2
- 🏷 Added tag grouping: a new "by tag" grouping option (alongside "by nickname"); fixed categories "官方 / 已修改 / 未修改" are applied automatically; users can create custom tags and apply them inline, and manage/delete them in Advanced
v0.3.1
- 🗂 Collapsible groups: when grouping is on, click a group header to expand/collapse; the state persists, with a
▾/▸indicator
v0.3.0
- 🛡 Official plugins can no longer be renamed by default:
@deepseek-ai/*and dsh's built-in bundles are skipped, marked “官方” and disabled in the panel - ✨ New “改官方” (allow official) toggle to lift the restriction when you need it
- ✨ Saving a nickname for an official plugin is blocked even if the UI is bypassed
v0.2.9
- 🐛 Fixed nicknames not applying in a real browser: the guard counted
childNodes.length <= 2, so whitespace text nodes from line breaks pushed it to 3 and blocked the replacement; it now counts element children only - 🐛 Fixed the plugin rewriting its own panel: the package-name labels inside the edit panel were being replaced with the nicknames; nodes inside
[data-nickname-ui]are now skipped - ✅ Added real-browser verification:
npm run test:browser(Chromium loadstests/harness/index.html, 7 assertions)
v0.2.8
- 🐛 Fixed nicknames not applying at all: dsh renders the plugin name inside
<button class="cardTitle">wrapped in two moredivs, so the leaf-only rewrite found no direct text node and skipped everything. It now walks down to the node that actually holds the text - 🐛 Fixed the title button being wiped out: the old
textContentoverwrite also cleared the<button>, icon and description - ✨ Supports dsh's
Display Name (package)title form, e.g.上下文 (dsh-context) - ✨
buttonadded to the default scan selector - ⚡ The panel list now derives installed packages from dsh's
data-plugin-packageattribute instead of guessing from text
v0.2.7
- ✨ Works without
__ModuleLoader__(dsh web): self-boots when no module loader is present - ✨ Storage falls back to memory when localStorage is unavailable (private mode / web)
- ⚡ Removed the fixed 1 s delay: initializes immediately, then retries for up to ~2 s
- ✨ Advanced settings in the panel: scan selector and package-name regex are configurable
- 🐛 dispose now sweeps UI by session tag at 0 / 200 / 600 ms, removing late-rendered leftovers
- ✨ Shows a "click to reload" hint when no plugin list is detected; panel has a reload button
v0.2.6
- 🐛 Fixed nickname replacement wiping child elements: only direct text nodes are rewritten now
- 🐛 Fixed package-name prefix collision (
dsh.pluginvsdsh.plugin-manager): longest name wins - 🐛 Fixed panel markup being broken by quotes/angle brackets in nicknames: HTML-escaped before render
- 🐛 Fixed the panel being closed after reset/import: corrected the open/close semantics
- 🐛 Fixed
<style>tags accumulating in<head>when toggling the panel repeatedly - 🐛 Hardened dispose: clears the MutationObserver debounce timer and global handles
- 🐛 Fixed the export URL being revoked too early, which could abort the download
- ⚡ Optimized MutationObserver: debounce timer moved into the closure; self-triggered records discarded
v0.2.5
- 🐛 Fixed undeclared variable (
style→styleEl) when injecting panel styles: no moreReferenceErrorin strict mode, the panel opens correctly - 🐛 Fixed the injected
<style>tag not being removable on dispose
v0.2.4
- ✨ Added uninstall button: clears all local data and prompts you to finish uninstalling in the dsh plugin list
v0.2.3
- 🐛 Fixed leftover UI after disabling the plugin; improved dispose cleanup
v0.2.2
- ✨ Added sorting by original name / nickname
- ✨ Added grouping by whether a nickname is set
- 🎨 Improved UI for the dark theme
v0.2.1
- 🎨 Refined UI styles to better match the dsh dark theme
- Added hover effect and animation to the floating button
v0.2.0
- ✨ Added master switch for enabling/disabling nickname replacement
- ✨ Added reset button to clear all custom nicknames
- ✨ Added draggable floating button with auto-saved position
v0.1.1
- ✨ Added search box: quickly find plugins when there are many
- ✨ Added export/import: backup your nickname settings
- ✨ Improved interaction: click outside the panel to auto-close
v0.1.0
- 🎉 First release
- Support custom plugin Chinese nicknames
- Support visual edit panel
- Support shortcut Ctrl+Shift+N to open panel
Disclaimer
- This software is for personal learning, research, and technical exchange only, and may not be used for any illegal or commercial purposes.
- When using this software, please comply with the laws and regulations of your region, and do not use this software to engage in any illegal activities.
- Any direct or indirect consequences arising from the use of this software shall be borne by the user, and the author shall not be liable.
- This software is provided "as is" without any express or implied warranty.
License
MIT License
Links
More in this category
zhu1090093659/dsh-web#packages/dsh-task-board★ 10703
Task board for the dsh web GUI: a sidebar multi-column kanban whose cards run in real DSH agent sessions and can also be scheduled with cron expressions, executed host-side even with the browser closed.
zhu1090093659/dsh-web#packages/dsh-web-all★ 10703
Plugin and skin collection for the DSH Web UI: task board, Git graph, right-side panel, remote mobile UI, pet, live token stats, and a skin center.
ccch1mneyyy/dsh-TUI★ 8557
Claude Code-style full-screen terminal UI: pixel-whale header, live status line, and streaming thought expansion.
MeteorNOX/DeepSeek-Balance-Whale-Widget★ 7523
A fixed-corner whale widget for the DSH web GUI — balance, today's usage and per-turn cost with peak/off-peak pricing, editable balance-alert and daily-budget bubbles, a module-based custom bubble queue with A/B weighted choices and random lines or images, 30+ vendor templates (OpenAI, OpenRouter, Kimi, SiliconFlow, Ark, Zhipu, MiniMax and more) with per-model balance and subscription quota, plus task-end sound, imported audio, custom roles and a resource manager. Local-only, no telemetry.
omdsh-dev/DSH-better-sidebar★ 5405
Full sidebar workbench with file rendering and editing, terminal, Git, and subagents; third-party plugins can register new tabs.
omdsh-dev/dsh-genui★ 1091
Interactive UI components rendered inline in replies: layout, charts, forms, quizzes, mermaid, 3D scenes, and an action event loop back to the model.
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.