dsh-whale-girl-pet: DSH Web Desktop Pet, Usage Statistics, and Character Voice Broadcasting

Preface

When running Agents in DeepSeek Harness (DSH), the interface often only shows the conversation stream and token statistics, with no persistent element reflecting a “working / finished” status; usage and costs are scattered across multiple places and not intuitive. The community plugin dsh-whale-girl-pet places a chibi blue-haired whale maid desktop pet in the bottom-right corner of the Web interface, binding together working-status animations, task-completion bubbles, balance and time-segmented cost dashboards, and optional task-end voice announcements. YEJASONJIEXIN/dsh-whale-girl-pet is a fork based on yanzwzz/dsh-whale-girl-pet 0.3.2 (the npm package name remains dsh-whale-girl-pet, current version 0.3.2-fork.1); while retaining the original usage and animation capabilities, it adds a drag-adjustable pet size, 16 character voice tones for task announcements, and changes weather and balance queries to direct in-process connections in the host, avoiding restrictions from the session sandbox and approval policies.

The following sections describe positioning, capabilities, installation and configuration, typical usage, and notes.

What is this

dsh-whale-girl-pet is a Cordis plugin for DeepSeek Harness Web: the host side registers routes and billing logic, while the browser side renders transparent WebM animations and interaction buttons. Maintainer YEJASONJIEXIN, categorized as Fun Dress-up in the SkillHub community directory; source code and documentation are at GitHub repo, directory page at SkillHub plugin page. License is MIT.

Core features

Working pipeline and animation

The pet switches animations according to Agent states: entering “start working” when beginning; during running it randomly cycles among diligently working, slacking off, thinking, etc. about every 10.5 seconds; plays a finish celebration at task end. Long tasks exceeding a threshold (default 10 minutes, adjustable in settings) trigger a “check watch” animation; clicking the pet while busy plays an “annoyed” reaction. Assets are 46+ transparent WebM (VP9 alpha), supporting prefers-reduced-motion.

Usage, costs, and dashboard

At task end, a bubble above the pet’s head shows elapsed time, token consumption, and cost estimate, split into three buckets: cache hit / cache miss / output; pricing uses DeepSeek official rates and event-time tiering, including Beijing time peak/off-peak (weekday 9:00–12:00, 14:00–18:00 peak is 2x the idle price). The side data dashboard (📊 button) uses hand-written inline SVG to show today’s time-segmented or last N days (1–30 days configurable) costs or tokens, with three-bucket stacked bars, peak shading, and cache hit rate summary; data comes from incremental session/event statistics, and at startup sessionPersistence can backfill historical sessions. The read-only endpoint is GET /api/whale-pet/usage (optional ?hours=1..24&days=1..30).

Below the input box and in the in-conversation action row, session cumulative and per-turn cost pills are shown, sharing the same calculation as the bubble and balance button via lib/usage.js; since DSH 0.1.6-alpha.2 changed the official composer dock to a horizontal flex row, this plugin’s cost item has been registered as an inline flex item per the new layout.

Balance, weather, and interaction

Balance (💰) calls the official balance API, showing balance and today’s consumption/cost (same three buckets and peak/off-peak split), and plays a “flip wallet” animation. Tomorrow’s weather (☁️) supports Chinese city names or automatic location if left blank, fetched directly in the host, falling back to a PowerShell route /api/whale-pet/weather-shell only if Node network access fails. Feed (🍪) is a TOKEN fish-biscuit interaction (30-second cooldown). There’s also a sleep system (falls asleep after 5 minutes idle), time awareness (e.g., 12:00 boxed lunch, late-night drowsiness), and optional pomodoro, late-night care, random mini-dramas, roaming switch, etc., all adjustable in the settings panel.

Incremental capabilities of this fork

  1. Pet size: drag the slash handle at the bottom-right, or use the slider/presets in DSH settings → Pet config (small 180, medium 260, large 360, extra large 480); range 80–600px, written to size in settings.yaml. Side button sizes scale proportionally via --wb-scale, and buttons only show when the mouse is over the pet (keep visible during query/dashboard/drag; always shown on touch screens).

  2. Task announcement voice: reads aloud on task completion, interruption (turn/end with reason.kind: 'aborted'), and failure, using the first human question of the turn as the task name (truncated to 24 characters if too long). Defaults to Edge neural network TTS (host synthesizes MP3, no API key needed, implementation in lib/edge-tts.js); falls back to browser speechSynthesis on failure. Built-in 16 character presets (Hu Tao, Paimon, Zhong Li, Nahida, Klee, Northeast Auntie, Shaanxi Girl, Hong Kong style / Taiwanese girl, etc.), audible preview and switchable in settings; master switch voiceEnabled enabled by default.

  3. Weather and balance: changed from the fork description to host-side direct connection, no longer relying on in-session shell, thus unaffected by sandbox and approval policies.

Installation and enabling

In an environment with DSH CLI installed, install from npm (original command):

# Install from npm marketplace (recommended)
dsh plugin --profile web add dsh-whale-girl-pet

# Or install from local tarball
dsh plugin --profile web add dsh-whale-girl-pet-0.3.0.tgz

After installation, restart dsh web, then refresh the browser; the pet appears at the bottom-right by default. After modifying the plugin client bundle or lib/ host logic, the process must also be restarted; refreshing the page alone won’t load new code.

Compatibility: the README states version 0.3.2 was verified on DSH 0.1.6-alpha.2; peerDependencies is ^0.1.6-alpha.2. When the DSH alpha line changes, the peer range may need updating with the host, otherwise package managers may warn that peers aren’t satisfied (usually a warning, doesn’t affect running).

Typical usage

  1. After installing and restarting dsh web, observe the pet at the bottom-right of the Web UI switching animations according to Agent running / idle.
  2. After a task round completes, view the elapsed time, tokens, and three-bucket cost in the task completion bubble above the head; when you need details, click 📊 to open the time-segmented dashboard, or click the session cost pill next to the input box to see cumulative details.
  3. To hear announcements, open DSH settings → Pet config, confirm “Task announcement voice” is on, engine set to edge, select a character (default Hu Tao) to preview; disabling voice keeps only the bubble.
  4. Check balance or tomorrow’s weather: move the mouse over the pet, click 💰 or ☁️; weather city can be filled in settings, or auto-located if blank.
  5. Adjust the look: drag the pet’s bottom-right handle to change size, or change “button position (left/right)” in settings, turn off “roaming” to keep the pet fixed.

Use cases and notes

Suitable for developers who work long-term in the DSH Web interface, want to use the pet to perceive task rhythm, and want to view peak/off-peak and cache three-bucket costs in one place. Voice character tones are Edge TTS approximations of pitch and speed, not game original sound recordings.

The plugin runs with the current dsh web process permissions: it registers routes like /api/whale-pet/*, reads session persistence data to backfill usage, and requests balance and weather in the host. Before installing, it’s recommended to check the source code and MIT license at GitHub; the community directory SkillHub and DeepSeek / High-Flyer have no official affiliation, and it’s a third-party entry in the DSH “everything is a plugin” ecosystem.

Conclusion

dsh-whale-girl-pet (YEJASONJIEXIN Hu Tao voice fork) concentrates pet animation, usage dashboard, balance/weather, and optional 16-character task announcements in the bottom-right of the Web, and adapts cost pills to DSH 0.1.6-alpha.2’s composer layout. Installation commands are above; details and configuration tables are subject to the repo README.

  • Directory page: https://www.skillhub.cn/plugins/YEJASONJIEXIN/dsh-whale-girl-pet
  • GitHub: https://github.com/YEJASONJIEXIN/dsh-whale-girl-pet
羽毛球分组比赛记分
小程序二维码

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

Xiaoye