Introduction¶
DeepSeek Harness (DSH) Desktop integrates plugins into the client loader tree. In the community, beyond functional extensions, there are also client patches focused on interaction and entertainment. If you are already using DSH for conversations and agent configuration, but occasionally want to clear your head without leaving the client or opening a separate game window, these types of “interface-embedded” mini-games are quite useful.
Here is an introduction to the community plugin dsh-whale-run (maintainer wei125775-lab): It is not a standalone program, but rather a game where you drag down the whale found on the welcome page or sidebar to play a parkour game similar to the Chrome “offline” dinosaur, right on the water track above the input box. The gameplay is inspired by the interaction of dragging Octocat in the GitHub Copilot desktop app, with obstacles and art following a marine theme.
What is This¶
dsh-whale-run is a hidden mini-game plugin for DeepSeek Harness Desktop. To put it simply: it takes the whale from the interface and places it onto a track above the input box to start a run.
- Package Name:
@dph/dsh-whale-run(Current version 0.1.0, License MIT) - Directory Page: skillhub.cn/plugins/wei125775-lab/dsh-whale-run
- Source Code: github.com/wei125775-lab/dsh-whale-run
- Community Category: Fun/Cosmetic (Categorized in the directory, consistent with the “Hidden Mini-game” description in the README, both referring to fun client extensions)
The plugin integrates into the DSH plugin loader tree via cordis.patch.yml, relying on metadata such as dsh.bundle.patch and dsh.client.platform="web"; if any of these three are missing, it will silently fail to load on the client side. The installation script places files into profiles/<name>/node_modules/ without going through the npm registry; the package itself has zero dependencies.
Before use, DSH Desktop must be installed (Website deepseek.com/download, described as a preview version providing installers for Windows x64 and Apple Silicon macOS). After opening the client and creating a new empty session, the whale is visible on the welcome page.
Core Features¶
Drag to Start and the Track¶
- After creating a new session, press and hold the whale to the left of the welcome page title “Explore the Unexplored” (or the same marker in the top left corner of the sidebar) to pick it up.
- Upon picking it up, the title shatters into waves and floats away, and a faint water track appears above the input box.
- Drag the whale to the water surface and release: it swims from the drop point to the start of the track and then begins running; if released not on the water surface, the whale falls, and upon hitting the bottom edge, turns into a splash before the icon fades back to its original position.
The size of the whale on the track remains consistent with its original position; it does not suddenly enlarge when picked up.
Controls and Obstacles¶
Controls while running (from README):
| Action | Effect |
|---|---|
Space / ↑ / W |
Jump (hold to jump higher, release to cut the jump) |
↓ / S |
Dive to avoid overhead jellyfish |
Space / Click track |
Restart after game over |
Esc / Top-right × |
Collapse track, whale flies back to original position |
Top-right ♪ |
Sound toggle (preference is remembered) |
Obstacles are marine-themed: Plastic Bottles, Fishing Nets, and Coral must be jumped over, while Jellyfish require diving or timing jumps based on height. There are hints every 100 points, and every 700 points the scene switches from “Sunlit Shallows” to “Dark Deep Sea”; the high score is stored locally. After hitting an obstacle, the whale is knocked flying out of the window, and the icon and title restore together after the water surface recedes.
Integration with DSH Interface¶
- Uses stable
data-slotanchors (e.g.,conversation.hero.brand.mark,sidebar.brand.mark,data-composer-card), avoiding hardcoded CSS module hash class names. - The whale SVG path and colors are read from the current DOM, so it still draws the current graphic even if DSH changes its logo; if the whale is not found, no logic is injected.
- Follows DSH light/dark themes: line art, water surfaces, and text switch with the theme without needing to restart the game.
- When command palettes, settings, or other overlays appear, the game automatically yields and does not block the top layer.
Installation and Activation¶
The documentation provides two acquisition methods: download dsh-whale-run-*.zip from Releases and extract it, or run the installer in a local directory containing the source code. The installer is a Node script; if Node is not installed separately, install.cmd will attempt to use DSH’s built-in Node.
On Windows, execute the following in the extracted directory:
install.cmd :: Install (double-click works too)
install.cmd --dry-run :: Only print what will be changed
install.cmd --verify :: Self-check after installation
install.cmd --uninstall :: Uninstall
On macOS / Linux, if there is no .cmd, execute in the extracted directory (arguments are consistent with Windows):
node install.mjs
You can also explicitly specify the DSH directory and profile:
node install.mjs [--dsh-home path] [--profile name]
The script copies files to <profile>/node_modules/@dph/dsh-whale-run, registers dependencies and dsh.profile.bundles in the profile’s package.json, and keeps a package.json.bak-whalerun backup; it does not modify pnpm or fetch from the registry.
After the first installation, you must completely exit and reopen DSH (the profile patch is read only once at startup). Afterwards, if only lib/client.js is changed, the documentation states HMR takes effect in about 1 second, generally requiring no restart.
Typical Usage¶
Reproduce by following the “How to play” order in the README:
- Install and restart DSH, create a new empty session.
- Grab the whale from the left side of the welcome page or the sidebar, drag it to the water surface above the input box, and release.
- Use
Space/W/↑to jump andS/↓to dive, trying to avoid obstacles and chase a high score. - When finished, use
Escor the top-right×to collapse the track; click♪if muting is needed.
If there are already messages in the session, the welcome page hero whale disappears, but you can still grab it from the marker in the sidebar (explained in the README’s known limitations).
For development-side offline verification, the repository provides test/harness.html and scripts like node test/cdp-harness.mjs; regular users can simply follow the installation section above.
Applicable Scenarios & Notes¶
Who it is for: Users already using DSH Desktop who want to play a minute or two of parkour without leaving the client; also suitable for learning the plugin integration method of “Client patch + data-slot anchor + Zero-dependency local installation”.
Permissions & Security: The plugin runs on the Web client side with the current DSH process permissions, reading and writing node_modules and package.json under the profile. Before installation, please review the GitHub repository source code and the MIT license to ensure you accept its behavior.
Known Limitations (Excerpt from README):
- Can only be grabbed on interfaces with the whale marker; sessions with messages require using the sidebar whale.
- macOS not sufficiently verified in the maintainer’s environment; sidebar dragging and
data-window-dragrelated logic have dedicated branches for darwin but are not confirmed on real hardware. - If the input box cursor is lost after exiting the game, click the input box to restore it.
- Sound effects are enabled by default; can be turned off via
♪and remembered.
The community directory SkillHub has no official affiliation with DeepSeek or HFTC; the DSH ecosystem emphasizes “Everything is a plugin,” and this plugin is one of the community’s fun-oriented extensions.
Conclusion¶
dsh-whale-run turns the DSH brand whale into a draggable track mini-game. With a clear installation path, zero npm dependencies, and themes and logos that update with the client, it serves as a good reference example for desktop client plugins. For details and screenshots, see the repository README; for installers, see Releases.
- Directory Page: https://www.skillhub.cn/plugins/wei125775-lab/dsh-whale-run
- GitHub: https://github.com/wei125775-lab/dsh-whale-run