Introduction¶
The conversation interface of DeepSeek Harness (DSH) is naturally tool-oriented and often lacks a bit of a “personal” atmosphere if left open for a long time. If you add a third-party online player to the page, it easily disrupts layout, permissions, and network requests. The community plugin dsh-pardofelis-widget takes a different path: without significantly modifying DSH, it uses the character illustration of Pardofelis from Honkai Impact 3rd as a global theme background color, and provides a floating player in the bottom right corner of the conversation page that only handles local audio. The following explains “What it is → What it can do → How to install → How to use”.
What is it¶
dsh-pardofelis-widget is published by maintainer xiaoweiqianluo and categorized as “Fun Skins” in the SkillHub directory. The current package version is 1.2.8 (package.json), and the README functionality description corresponds to the v1.2 feature set.
The plugin does only two things, and deliberately decouples them:
- Global Theme: One character illustration wallpaper for Light/Dark modes, and offsets the DSH background family CSS variables towards the character’s hue; the character stands slightly to the left, leaving the right side for the content.
- Conversation Page Widget: A floating button with a cat-ear avatar in the bottom right corner; clicking it opens a local music player; the button disappears when leaving the conversation page (e.g., entering Settings) and reappears when returning. The theme remains globally effective.
Hard constraints are written in the README: Do not change DSH’s original layout, do not upload any files, and do not request any external interfaces.
Core Features¶
Interface and Theme¶
- The wallpaper is attached to the
htmlpseudo-element without adding nodes that occupy the document flow; Light/Dark modes switch automatically by reading the brightness of DSH’s current background color, without guessing DSH class names. - The theme only covers background family, scrollbar, and sidebar-related tokens (e.g.,
--dsw-alias-bg-*,scrollbar-*,interactive-bg-*,--dsw-specific-sidebar-fill), and does not modify body text, semantic colors, and code highlighting to avoid breaking contrast and semantics. - All plugin UI is placed in Shadow DOM; the host container is
position: fixedandpointer-events: none, only the button and panel receive clicks, not blocking other areas of the page, and not addingoverflow: hiddentohtml/body.
Local Music Player¶
- Import local audio via
<input type="file">, generateblob:addresses usingURL.createObjectURL(), and play viaHTMLAudioElement. - Supports
accept="audio/*"and explicitly lists.mp3,.m4a,.aac,.ogg,.oga,.opus,.wav,.flac,.webm; playback depends on the browser (Chrome/Electron support is better), with Chinese prompts given in the panel on failure. - The build script checks during packaging:
fetch,XMLHttpRequest,WebSocket, and other network APIs must not appear in the artifact. The character avatar is inlined as adata:URL and does not use the network. - Playlist is cleared after refresh (browser security model cannot hold onto user-selected local paths indefinitely); volume, playback mode, and panel open/close state are stored in the
localStoragekeydsh-pardofelis-widget:v1.URL.revokeObjectURL()is used to releaseblob:when removing tracks or uninstalling the plugin.
Accessibility and Diagnostics¶
- Buttons have
aria-label, and the panel isrole="dialog"; clicking the floating ball while holding Shift opens a read-only “Theme Diagnosis” to view the actual state of the theme.
Installation and Enablement¶
The Web version and DSH Desktop share the same profile, and the target location is determined by the environment variable DSH_PROFILE.
Command Line (with dsh CLI installed)¶
The command provided in the README is as follows (--profile desktop refers to the DSH profile name, not “Desktop only”):
dsh plugin --profile desktop add github:<your-username>/dsh-pardofelis-widget
When installing from the maintainer’s repository, replace <your-username> with xiaoweiqianluo, consistent with the repository github.com/xiaoweiqianluo/dsh-pardofelis-widget.
DSH Desktop (without dsh command)¶
- Completely exit DSH Desktop (tray icon → Exit).
- Right-click
tools\install-local.ps1inside the repository → “Run with PowerShell”. - Start DSH and refresh the page.
The script will backup the profile, install, and verify; it will rollback on failure. You can use tools\test-install.ps1 to practice on a .scratch copy profile without touching the real environment.
Interface unchanged after installation¶
- Refresh the page (
Ctrl+R). - If it still doesn’t work, completely exit DSH and restart.
- Confirm you are currently on the Conversation Page (the floating button only appears here).
Uninstallation¶
Inside the app: Settings → Plugins → dsh-pardofelis-widget → Remove.
dsh plugin --profile desktop remove dsh-pardofelis-widget
Typical Usage¶
| Action | Method |
|---|---|
| Expand / Collapse Panel | Click floating button, or press Esc to close |
| Play / Pause | Click the large center button, or press Space inside the panel |
| Previous / Next | Arrow buttons, or Ctrl + ← / Ctrl + → |
| Jump forward/backward 5 seconds | ← / → (when focus is not on the input box) |
| Adjust Volume | Slider, or ↑ / ↓ |
| Switch Track | Click playlist item; remove by clicking the trash can on the right |
| Playback Mode | Leftmost mode button: Sequential / Loop One / Shuffle |
| Import Music | Import inside the panel, select local audio files |
After importing, you can listen to your local library while coding or chatting; when you need to keep the list for a long time, you should manage the library using a system player on your computer, as the list inside DSH is only suitable for a single session.
Applicable Scenarios and Notes¶
Who is it for: Developers or users already using DSH 0.2.0-rc.2 or later, who want a bit of theme atmosphere on the conversation page and want music to stay completely on their local machine. Works on both Web and DSH Desktop; animations will be disabled if the system is set to “Reduce motion”.
Permissions and Trust: The plugin runs with the permissions of the current DSH process in the browser environment; although it does not upload files or initiate external requests, it still reads and writes localStorage and holds your imported audio in memory. Before installing, it is advisable to browse the repository source code and the MIT license; character and illustration attribution can be found in NOTICE.md (outside the MIT scope, non-commercial fanwork statement, no affiliation with miHoYo). The plugin does not include any music.
Ecosystem Note: DSH adopts a “everything is a plugin” model; the SkillHub directory is a community site and has no official affiliation with DeepSeek / Fangfang. The current number of GitHub stars is 2 (refer to the repository page).
Conclusion¶
dsh-pardofelis-widget decouples the Pardofelis theme and the conversation page local player: the theme is global, the widget is only on the conversation page, and the layout and DOM hard constraints are written in the README accompanied by self-checks via verify.mjs / test-widget.mjs. If you need to chat in DSH while listening to songs on your hard drive, and do not want to deal with uploaders or external link players, you can install using the commands above and click the bottom-right cat-ear button in the conversation page to try it out.
- Directory page: https://www.skillhub.cn/plugins/xiaoweiqianluo/dsh-pardofelis-widget
- Source code and documentation: https://github.com/xiaoweiqianluo/dsh-pardofelis-widget