dsh-agent-whale-girl: Whale Girl Client Companion for DSH Web GUI

Introduction

When running agents for long periods in DeepSeek Harness (DSH), the sidebar typically shows a fixed brand mark, while session token and context usage are scattered across the composer’s built-in indicators. If you want an interactive visual element in the Web GUI that reflects the current session state—without modifying your profile or manually wiring up mounts—the community plugin dsh-agent-whale-girl offers a purely client-side solution: it replaces the sidebar brand mark and overlays a draggable floating character on the page. Dialogue bubbles and token cards are derived from DSH’s own session projections; no additional network requests or model calls are made.

The sections below describe the plugin’s positioning, capabilities, installation, and caveats. For authoritative information, refer to the GitHub repository README.

What Is This

dsh-agent-whale-girl is an unofficial “whale-girl” companion plugin for the DSH Web GUI, published by maintainer Turanbuturan and categorized as client-side in the SkillHub directory. The plugin mounts both the sidebar and overlay halves in a single pass via a dsh.bundle patch—no manual profile editing required.

In one sentence: it replaces the default fish logo in the sidebar with the character’s face, and floats a 220×298 paper-doll figure on the page that is draggable and collapsible, with a head that follows the pointer, click and long-press feedback, plus bubbles and a token card showing the real token and context usage of the current session.

The character art is a community fan creation, not official DeepSeek assets; the code is MIT-licensed.

Core Features

The plugin registers sidebar.brand.mark, replacing the default fish logo with a close-up from avatar-face.png, and sets priority: -1 to occupy that single-value slot.

Floating Companion (shell.overlay)

A paper-doll figure is overlaid on the frame, with a token card above and a dialogue bubble beside it. It can be dragged freely within the frame, and its position is saved to localStorage['whale-girl:position']; double-clicking returns it to the bottom-right corner and clears the saved position; when the window narrows, it automatically retracts into the visible area.

Gaze and Limb Motion

The head rotates toward the pointer direction (approximately ±7°), while the tail swings in the opposite direction (approximately ±4.8°); about 0.22 s after the pointer leaves, it returns to center. The rotation pivot is measured from the original artwork’s eyes/eyelashes, not from the bounding box.

The body, head, and tail are three-layer puppets that are pixel-identical to the illustration when static, with no visible layering before movement.

Interactions: Pat, Click, Rapid Clicks

  1. Long press (≥ 350 ms): One-shot squash animation and a dedicated line; does not collapse the character.
  2. Short press (< 350 ms): Collapse or expand, with a response line.
  3. Rapid clicks: 3–4 times triggers a count-based complaint; the 5th triggers a one-time easter-egg animation.

Animations only run during interaction: three one-shot @keyframes (wg-pat / wg-egg / wg-emote), with no infinite, no alternate, no will-change; when idle, getAnimations() returns an empty array.

Mood and Dialogue

data-mood changes with context usage: below 50% is calm, ≥50% is tense, ≥85% is crit; each time it crosses a threshold, 💦 is shown at the character’s corner for about 2.6 s.

Dialogue lines are triggered by state, with numbers coming from DSH session projections (tokenUsage, contextPressure): mount greeting, click response, output-in-progress progress, 80% context warning, and a completion line about 2.5 s after output stops. The plugin makes no network or model calls.

Token Card

Displays context usage (progress bar and tokens / window) as well as the current session’s output / input / cache-read counts, sourced from the same projections as the composer indicator. Hidden when there is no session; hidden (yielding space) when the window width is less than 900 px.

Installation and Activation

The package declares a dsh.bundle patch, so installation mounts it automatically—no profile changes, no manual file copying.

Desktop DSH apps use the desktop profile; for a pure Web profile, change --profile desktop to --profile web:

dsh plugin --profile desktop add github:Turanbuturan/dsh-agent-whale-girl

A local directory or release tarball works the same way:

dsh plugin --profile desktop add ./dsh-agent-whale-girl

After installing, simply refresh the page. If you modified host-side code, you need to restart the entire application (Node ESM caching pins module paths); since this plugin’s host half has an empty apply(), a refresh is generally sufficient.

Manual Drop-in (Optional)

Copy the plugin directory to <profile>/plugins/, and add the following to the profile’s cordis.patch.yml:

- insert:
    - id: whale-girl
      name: "./plugins/dsh-agent-whale-girl/index.js"

The path is resolved relative to the profile directory. To uninstall, delete the insert line and refresh; the directory can remain.

Uninstallation

dsh plugin --profile desktop remove dsh-agent-whale-girl

For the manual drop-in method, delete the insert line above and refresh.

Typical Usage and Building (Maintainers)

Daily use: install → refresh → drag the character within the Web GUI, click to collapse/expand, long-press to “pat”, and watch the token card and bubble change with the session.

The repository already commits lib/client.js and lib/client.css, so installation requires no build step. If you modify the original artwork or skeleton, run the following in the plugin root directory:

node build.mjs
node verify-bundle.cjs lib/client.js

verify-bundle.cjs performs self-checks on registration entries, injected CSS, layer geometry, gaze math, click/pat/rapid-click timing, mood values, etc.; use absolute paths or an explicit working directory.

Use Cases and Caveats

Who it’s for: Users developing or debugging agents in the DSH Web / desktop GUI who want a unified character identity in the sidebar and overlay, and want to visually see the current session’s token and context pressure.

Permissions and security: The plugin runs in the browser side with the permissions of the current DSH process, reading session projections already available to the GUI. Before installing, it is recommended to review the source code and the LICENSE; the character artwork follows the terms of its respective upstream repositories—see the README’s Source & attribution and NOTICE for details.

Ecosystem note: DSH adopts an “everything is a plugin” extension approach; community directories such as SkillHub are independent sites and have no official affiliation with DeepSeek or Hithink RoyalFlush. This plugin is an unofficial community project; “DeepSeek” and the official whale logo belong to their respective rights holders.

Conclusion

dsh-agent-whale-girl packages the sidebar mark and an interactive floating companion into a single dsh plugin add-able bundle: no added network surface, with dialogue and token data sourced from the same projections as the composer. If you want the experience described above, you can install it using the README commands and refresh the page to verify.

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

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

Xiaoye