dsh-plugin-whale-girl: Replace Icons and Resize Within the DSH App

Introduction

In the DeepSeek Harness (DSH) desktop interface, the sidebar brand area, new conversation homepage, and “thinking” status all have fixed visual elements. If you only want to change icons or adjust sizes without touching app.asar, and don’t want to manually re-patch after every application upgrade, you typically need a solution that goes through the Cordis plugin chain and writes to the profile.

The following introduces the community plugin dsh-plugin-whale-girl (maintainer aigisx, MIT license, current version V0.3.0). It replaces the default whale-related visuals with “Whale Girl” themed assets inside the application, and changes the Chinese “DeepSeek searching” text to configurable text (default “Busy eating”); icon and “thinking” small icon sizes can be adjusted separately in plugin settings. It is categorized under “Fun Makeover” in the community catalog.

What Is This

dsh-plugin-whale-girl is a third-party DSH bundle + client plugin dual package: after installation into the profile, not a single line of the official app.asar is modified, and the changes persist after application upgrades.

One-sentence positioning: modify DeepSeek Harness in-app icons and adjust their sizes (consistent with the GitHub repository description).

What Was Changed

The README summarizes the mechanism in a table, the core points are as follows:

Location Method Effect
Top-left sidebar icon Slot override (sidebar.brand.mark, priority: -1) Overrides the official brand mark; the official bundle remains enabled
Fish on the new conversation homepage Slot override (conversation.hero.brand.mark) Replaces the homepage hero brand image
Small icon to the left of “Thinking” Inject CSS targeting [data-chat-running] and [class*="_runningIcon"] Hides the official APNG/SVG and redraws it; default built-in blue-background rice bowl icon, can be separately replaced and enlarged
Browser tab icon Inject <link rel="icon"> Appended, does not remove the official link
Chinese “DeepSeek searching” and timed long text Rewrite the chat namespace zh dictionary zh only; English remains the official Deep diving
Sidebar / homepage icon size Mark component multiplied by a setting factor, and loosens sidebar icon cropping Default 1.8×
Thinking icon size Official ~14px box multiplied by a setting factor Default 1×, independent from the icon above

Not changed: the sidebar “DeepSeek Harness” wordmark, English text, taskbar/tray/welcome page, and any files inside app.asar.

Installation and Activation

Before installing, please read the repository source code and MIT license yourself; the plugin runs with the current DSH process permissions, so only install from sources you trust.

Execute in PowerShell (replace paths with your local DeepSeek Harness and plugin directories):

& "<DeepSeek Harness>\resources\runtime\cli\bin\dsh.cmd" plugin --profile desktop add "<absolute path of this directory>"

The command wraps the package as a link: dependency, writes it into the profile’s dsh.profile.bundles and enables it; after modifying the source code, just restart — no reinstall needed.

In-App Addition

Sidebar → “Plugins” → “Add Plugin”, enter the absolute path of this directory.

Post-Installation Notes

This package comes with its own cordis.patch.yml, whose content inserts a whale-girl line into bundles; the Loader handles it automatically. Do not manually write an insert with the same id in profiles/<name>/cordis.patch.yml, otherwise there will be two whale-girl lines and settings may fail to save (error: Configuration for "whale-girl" is overridden by a home patch or command-line overlay). Starting from V0.3.0, the node side logs duplicate lines at startup.

Restart DeepSeek Harness after installation for changes to take effect.

Quick self-check (when the desktop goes through the HTTP plugin route):

Invoke-WebRequest -Uri 'http://127.0.0.1:19387/plugins/dsh-plugin-whale-girl/client.js' -UseBasicParsing |
    Select-Object StatusCode, @{n='len';e={$_.Content.Length}}

Returning 200 means the host has included it in the startup image; if the dsh-app:// channel returns 404, use the in-app effect as the criterion.

Plugin Settings

Two entry points, same configuration:

  1. Sidebar → “Plugins” → this plugin → whale-girl → Configure (key: dsh-plugin-whale-girl#whale-girl);
  2. Sidebar → “Settings” → Whale Girl Theme.

The five fields (icon / runningIcon / runningText / iconScale / runningScale) are independent of each other:

Section Setting Description
Icon Icon Sidebar, new conversation homepage, tab page; “Select image…” picks a local image, solid-color background is automatically cut out, centered crop scaled to 256px and stored as a data URI; “Restore built-in” clears the override
Icon Icon size Slider 0.2×–3×, step 0.2×, default 1.8×
Thinking Thinking icon Independent from the main icon; stored at 64px original color; default built-in blue-background rice bowl
Thinking Thinking text Default “Busy eating”; leave empty to use the default; timed long text includes “, elapsed X seconds ···”
Thinking Icon size Same-range slider, default 1× (~official 14px)

Writes go through ctx.configForms.get("whale-girl") into the profile’s cordis.patch.yml, with multi-window sync. Images are cut out and scaled in the browser, no temporary files are written.

Changing Built-In Assets (Developers)

Put images into assets/ then rebuild the client:

node tools/build-client.mjs

Supports .svg / .png / .webp. icon.* is required; there are also optional filenames such as icon-dark.*, icon-small.*, hero.*, running.*, favicon.*, etc., with fallbacks per the README table.

White-background illustrations can be processed with the attached script before building:

python tools\prepare-artwork.py "path\original.png" --erase 1180,1420,1536,1536

To change the default “thinking” built-in image:

python tools\prepare-thinking.py assets\your-image.png --preview ..\_whale-girl-work\preview.png
node tools\build-client.mjs

The build output lib/client.js is about 240 KB; before release, the repository provides npm run check (host-check + selftest).

Uninstall and Rollback

The README provides an “Uninstall / Rollback” section: remove the bundle dependency from the profile and remove duplicate patch lines to restore official visuals; specific steps follow the repository documentation.

Use Cases and Notes

Suitable for: users who want lightweight branding or fun themes in the DSH desktop client, and accept only modifying the Web client UI without touching asar.

Notes:

  • The plugin is a community work; directory sites (such as the SkillHub plugin page) have no official affiliation with DeepSeek / Hundsun; the DSH ecosystem philosophy is “everything is a plugin”, so verify the source and license before installing.
  • Peer dependencies are @deepseek-ai/cordis ~4.0.4, @deepseek-ai/schemastery ~3.18.4, which must match the current Harness version.
  • Duplicate manual cordis.patch.yml inserts will cause configuration to fail to save; when installing, make sure to only keep the logic of the line included in the package itself.

Conclusion

dsh-plugin-whale-girl uses Cordis slots together with client CSS and locale patches to replace multiple in-app icons and Chinese thinking text without touching app.asar, and uses two independent sliders to adjust display multipliers. If you want to do similar “fun makeovers” in DSH, you can follow the installation command above to hook into the profile, and make daily adjustments in “Whale Girl Theme” or the plugin configuration page.

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye