Preface¶
When you have many plugins in DeepSeek Harness (DSH), the official “Installed” page often only shows package names and English descriptions, with inconsistent icons. You may want to group plugins by project or habit, add Chinese annotations to frequently used plugins, without modifying cordis or touching plugin source code. The community plugin dsh-plugin-namecards (maintainer: 3Tiga3, category: Fun Customization) works purely at the presentation layer: it overrides icons, Chinese names (annotations), and Chinese descriptions, and organizes them using folders, favorites, drag-to-reorder, and list/grid views. Enable/disable switches still go through the official plugin manager without modifying plugin files themselves.
What Is This¶
Plugin Namecards (npm package name dsh-plugin-namecards, current version 0.6.2, MIT License) is a plugin for the DSH Web client. On the host side, it only wraps the return value of pluginManager.listBundles() to replace display fields; the local HTTP route only accepts loopback addresses, with no network access or data upload. Tested on DSH 0.2.1-rc.2 desktop, declaring engines.dsh: >=0.2.0-rc.1.
Directory page: https://www.skillhub.cn/plugins/3Tiga3/dsh-plugin-namecards
Source code: https://github.com/3Tiga3/dsh-plugin-namecards
What Do the Two Tabs Do¶
| Tab | Purpose |
|---|---|
| Installed | Official page; icons/names/descriptions in the list are overridden by namecards |
| Plugin Management | Edit namecards, folders, favorites, sorting, list/grid view, and enable/disable switches |
The official “Installed” page structure cannot be modified; all organization and editing are done on the “Plugin Management” page.
Core Features¶
Namecards & Auto Icons¶
- Set icons, annotations (display names), and Chinese descriptions (supports multi-line; list view shows single line with ellipsis) for each plugin.
- Auto icons: After loading, automatically matches and fills icons for all plugins by name/description; does not overwrite manually set ones; also fills in uninstalled entries.
- Restore presets: One-click clear all custom namecards and layouts, regenerate default icons, experimental plugin folder, sub-agent plugin folder, and official Chinese annotations.
Plugin Management UI¶
The toolbar provides: search, list/grid toggle, +New Folder, sort by annotation name, enable namecard override, Import, Export, refresh.
- List: Order is favorites → custom folders → ungrouped; bundle rows can expand sub-rows; rows support favorite, toggle, and more actions.
- Sort by annotation name: Sorts all folders and folder popups by annotation name pinyin; when off, returns to drag order.
- Grid: 72px icon grid with toggle and annotation name below the icon; folders are thumbnail blocks, click to open and show icons only, click outside the popup to exit.
- Click a plugin row or icon → right-side “Edit Namecard” drawer: can change icon, Chinese description, annotation, and folder; click outside the drawer or press Esc to close.
Data & Migration¶
- Namecards, folders, favorites, order, views:
%USERPROFILE%\.dsh\dsh-plugin-namecards\cards.json - Uploaded icons:
%USERPROFILE%\.dsh\dsh-plugin-namecards\icons\ - Import / Export: Exported JSON includes icons (built-in id + uploaded image base64), annotation names, Chinese descriptions, folder names and contents, sorting; import restores everything including icons.
- Upgrading from the old
dsh-plugin-cards(~/.dsh/plugin-cards) automatically migrates data and preserves the old directory.
Known Limitations¶
- The “Installed” page description only shows one line in the list.
- Depends on host internal interfaces for display override; may need adaptation after major DSH version upgrades.
- Some enable/disable changes require restart to take effect; routes are loopback only, available only locally.
Installation & Activation¶
Install from GitHub (Recommended, no npm needed)¶
dsh plugin --profile web add github:3Tiga3/dsh-plugin-namecards
Desktop: Plugin page → Add Plugin → Install third-party plugin → Enter GitHub URL.
Local directory install (Development)¶
Plugin page → Add Plugin → Install third-party plugin → Enter absolute path of this repository.
Install from npm¶
dsh plugin --profile web add dsh-plugin-namecards
Restart the application once after installation (the host side needs restart); afterwards, when only modifying the client or styles, just refresh the page.
Typical Usage¶
- After installing and restarting, open the Plugin Management page and confirm that Enable Namecard Override in the toolbar is turned on.
- Click a plugin in the list or grid view, modify the icon, annotation name, and Chinese description in the right-side drawer, and select Folder; use the toolbar +New Folder and drag to adjust order as needed.
- Click the favorite on the row for frequently used plugins; when searching by Chinese annotation, temporarily enable Sort by annotation name.
- Switch machines or backup: toolbar Export JSON, then Import in the new environment to restore namecards and icons.
- Return to the official Installed page to verify: icons and names/descriptions should match the namecards; enable/disable switches still call the official
setBundleEnabled/setPluginEnabled.
Use Cases & Notes¶
Suitable for DSH users who have many plugins, want to manage display with Chinese annotations and folders, but don’t want to modify each plugin repository. This plugin runs with the current DSH process permissions; please review the GitHub repository source code and MIT License before installation. The DSH community directory (e.g., SkillHub) is an independent site with no official affiliation with DeepSeek / High-Flyer.
Conclusion¶
dsh-plugin-namecards makes the “plugin page as readable and groupable as a contact list” a reality at the pure presentation layer: namecard data is stored in local JSON, with import/export for backup. For installation commands and details, refer to the repository README.