DSH Plugins Marketplace

DSH Plugins

Plugins

/

UI & Experience

/

dsh-whale-buddy

R

dsh-whale-buddy

Manifest valid★ 1

🐋 A quietly alive DeepSeek whale for DeepSeek Harness Web: an inline thinking whale and a right-edge Whale Dock. A quietly lively little DeepSeek whale: inline thinking companion, right-edge always-on interaction.

UI (client)hasBundlePatch

🐋 dsh-whale-buddy

A physics-driven, state-aware companion that brings the DeepSeek whale to life in DeepSeek Harness Web.

English 简体中文

licence: BSD-3-Clause DSH: 0.1.5 – 0.1.7-rc.1 tests: 138 passing runtime dependencies: 0


[!NOTE] Independent Community Project: dsh-whale-buddy is an independent open-source plugin. It is not an official DeepSeek product and is not affiliated with, sponsored by, or endorsed by DeepSeek. The whale mark belongs to DeepSeek; see THIRD_PARTY_NOTICES.md.


🌟 Overview

dsh-whale-buddy enriches DeepSeek Harness Web (DSH) with a lively, responsive companion that visually mirrors the AI's real-time reasoning, tool calls, and execution states.

Built on a deterministic spring physics engine, the whale breaches through simulated water when a turn begins, swims calmly alongside the active status label, and wears dynamic contextual props representing current tasks—all while preserving the exact vector geometry of the official DeepSeek mark.

dsh-whale-buddy in action


✨ Key Features

  • 🌊 Procedural Breach & Water Simulation
    Breaches out of simulated water at the start of every turn, creating lively ripples, splash dynamics, and an engaging sense of presence.

  • 🐋 Living Breathing Companion
    Not just a static mark—the whale breathes steadily, blinks stochastically, and tilts its heading organically according to swimming velocity.

  • 🎯 Full-Lifecycle Task & State Awareness
    Instantly mirrors thinking, streaming responses, tool execution, file reading/editing, context compaction, and user interaction states with clear status labels and bespoke monochrome vector props.

  • 🧷 Dual Seamless Surfaces

    • Inline Status Whale: Nestled directly inside the conversation status row with zero layout shift or visual jitter — or, with the classic option on, in DSH 0.1.5's blue "Deep diving..." row above the composer.
    • Whale Dock: A sleek, edge-anchored floating pill button on the right edge, draggable vertically, expanding smoothly into a comprehensive companion panel.
  • 🎨 Native Visual Integration
    Automatically samples typography gradient color stops from the DSH interface, adapting flawlessly to dark and light themes without modifying official logo paths.

  • ♿ First-Class Accessibility
    Fully respects prefers-reduced-motion: reduce. Immediately presents stable static poses, offers instant panel toggling, and eliminates background frame loop overhead.


🖥️ Product Surfaces

1. Inline Status Whale

When a conversation turn begins, the inline whale executes an authored breach out of a procedural sea, settling into an effortless swim beside the status label. It updates DSH's status text with clear, descriptive task names (深度求索中…, 正在作答…, 读取文件中…, 执行命令中…, etc.) and carries an appropriate task prop.

  • Zero Layout Shift: Employs calculated negative bleeds (fitToMark()) so the breach arc overflows cleanly without shifting surrounding chat layout.
  • Native Ink Sampling: Dynamically extracts DSH's gradient stops on mount, harmonizing with both dark and light modes.
  • Both DSH Label Shapes:
    • DSH 0.1.7 removed the blue "Deep diving..." row; the running label now lives in the turn's grey fold header ("深度求索中,用时12秒"). The whale goes into that header and wears its grey, and only the leading words are swapped (读取文件中,用时12秒), so DSH's own clock keeps ticking.
    • DSH 0.1.5 still draws the blue row, and the whale goes into it as before.
  • Classic "Deep diving" option (Dock panel → Classic "Deep diving", off by default): on DSH 0.1.7, draws the old blue row back — same type, same gradient sweep, clock after 15 s — directly above the composer with the whale in it, and leaves DSH's grey header untouched. Unlike the default, this row takes space: it appears and leaves once per turn, as DSH 0.1.5's own row did. The label stays Deep diving... in both languages while the whale follows the current task. On DSH 0.1.5, the same fixed wording is applied to the existing row without adding another.

2. Whale Dock & Companion Panel

Attached to the right edge of the viewport, the Whale Dock provides a persistent, low-profile companion presence.

  • Vertical Track Dragging: Drag the collapsed button vertically with a pointer, or focus it and use Arrow Up / Arrow Down / Home / End. Position persists proportionally across window resizes.
  • Continuous Surface Expansion: Opens inward into a compact companion panel featuring a live preview, state inspector, and quick toggles.
  • Fluid Dismissal: Closes gracefully via the close button, Escape, or outside clicks.

🎭 State & Gesture Matrix

StateStatus Label (zh)Contextual PropPosture & Behavior
idle—Tossable ball (after 9s dwell)Relaxed swim, subtle drift, unhurried gestures
thinking深度求索中…Pulsing dotsAttentive posture, faster chase spring, slight nose dip
responding正在作答…Breathing speech bubbleSteady forward cruise
working执行命令中…Articulated wrenchBrisk, purposeful movement
working · reading读取文件中…Flowing file streamFiles stream horizontally beneath the hull
working · editing编辑文件中…Sketching pencilDynamic stroke cadence with steady drift
working · searching搜索中…Sweeping magnifierInquisitive scanning motions
compacting压缩上下文中…None (Body deformation)Elastic vertical compression and rebound
waiting等待你的确认…Tilted question markNose-up hover, near stillness
error出错了Red alert exclamationUrgent micro-shake with instant red accent

[!TIP] All props are plugin-authored vector elements drawn outside the logo silhouette, ensuring DeepSeek's official geometry remains 100% pristine.


📦 Installation

dsh-whale-buddy installs as a standard DeepSeek Harness Web plugin.

1. Register in Web Profile

Add the plugin to your DSH web profile configuration:

// ~/.dsh/profiles/web/package.json
{
  "dependencies": {
    "dsh-whale-buddy": "^0.2.1"
  },
  "dsh": {
    "profile": {
      "bundles": [
        "@deepseek-ai/dsh-base",
        "@deepseek-ai/dsh-web-app",
        "dsh-whale-buddy"
      ]
    }
  }
}

2. Install the Package

cd ~/.dsh/profiles/web
npm install dsh-whale-buddy@0.2.1

Environment Requirement: DeepSeek Harness 0.1.5-rc.2 through 0.1.7-rc.1 (requires the shell.overlay and conversation.input.overlay extension slots; the classic row also uses conversation.input.dock).


⚙️ Configuration

The Dock shows the current state and three settings: inline whale, classic status row, and motion. It follows DSH’s light and dark themes. The Dock, its expanded preview, and the session whale share the same task and state-change timing. Turning off the inline whale disables the classic-row control while preserving its preference.

Additional preferences are available through localStorage:

localStorage KeyAccepted ValuesDefaultDescription
dsh-whale-buddy.enabled1 / 01Global master toggle
dsh-whale-buddy.inlineEnabled1 / 01Enable/disable inline status whale
dsh-whale-buddy.classicStatus1 / 00Draw DSH 0.1.5's blue "Deep diving..." row above the composer (DSH 0.1.7+)
dsh-whale-buddy.dockEnabled1 / 01Enable/disable Whale Dock
dsh-whale-buddy.size18 – 3626Inline whale display size (px)
dsh-whale-buddy.motionfull / subtle / staticfullMotion profile intensity
dsh-whale-buddy.dockTop0.0 – 1.00.5Normalized vertical track position

🔬 Technical Implementation & Deep Dive

1. Physics-Driven Motion Core

  • 120 Hz Fixed-Step Integration: Uses fixed-step substeps combined with critically damped harmonic springs to compute kinematic equations, ensuring identical motion cadence across varying display refresh rates.
  • 33-Node Coupled Wave Simulation: Models the sea surface using 33 interconnected discrete harmonic springs, realistically simulating surface depression, fluid rebound, and bidirectional ripple propagation.
  • Sub-Pixel Precision: All trajectory scales and travel amplitudes are computed in CSS pixel dimensions rather than relative vector coordinates, guaranteeing razor-sharp visuals at any display scaling factor.

2. Non-Destructive DOM Anchoring & Zero Reflow

  • Reference Identity Tracking: Hooks into the DSH status element once via role="status", then tracks the DOM node by reference identity to eliminate recursive re-matching loops during text changes. On DSH 0.1.7 the role="status" element is a hidden announcement; the anchor follows it to the [data-turn-process] header right after it, and never writes into the announcement itself.
  • Negative-Bleed Headroom (fitToMark()): Offsets visual headroom through negative margins, keeping the host layout box clamped at a stable 26 px without triggering document reflows.
  • Clean Lifecycle Teardown: Automatically detaches all MutationObservers, animation frame loops, and restores DSH's original DOM state upon unmounting or session switching.

3. Reactive State Derivation & Debouncing

  • Reactive Snapshot Observation: Evaluates DSH snapshot signals directly to identify streaming states, tool queues, and blocking user interaction events.
  • 700 ms Minimum Dwell Window: Implements an intentional hold threshold to prevent microsecond tool calls from causing visual flickering.
  • Pulsed Error Tracking: Identifies error occurrences by detecting state delta events rather than reading latched error strings, preventing stale warnings from lingering permanently.

4. Zero Dependencies & Absolute Vector Fidelity

  • Zero external runtime dependencies; engine mathematics and rendering routines are fully decoupled from UI frameworks.
  • DeepSeek's official vector paths are rendered as an unmodified rigid body inside an SVG luminance mask, with 0 coordinate deformation.

🏗️ Architecture & Project Layout

src/
├── index.ts                     # Plugin entry point
├── client/
│   ├── index.ts                 # DSH slot registrations
│   ├── config.ts                # Schema-validated configuration
│   ├── locales.ts               # Bilingual copy definitions
│   ├── integration/
│   │   ├── dsh.ts               # React bridge for DSH slots
│   │   ├── thinking-state.ts    # Semantic state evaluator
│   │   └── status-anchor.ts     # Safe, non-destructive DOM status-line injector
│   ├── state/
│   │   └── whale-state.ts       # Shared reactive state store
│   ├── whale/                   # Standalone physics & motion core
│   │   ├── geometry.ts          # Unmodified DeepSeek vector mark paths
│   │   ├── types.ts             # Pose and kinematic interfaces
│   │   ├── spring.ts            # Fixed-step spring integrator
│   │   ├── leap.ts              # Analytical breach trajectory model
│   │   ├── water.ts             # 33-node coupled harmonic spring wave model
│   │   ├── props.ts             # Contextual prop definitions & scheduler
│   │   ├── renderer-svg.ts      # Hardware-accelerated SVG renderer
│   │   └── view.ts              # RAF lifecycle controller
│   └── surfaces/
│       ├── inline-status.ts     # Inline status surface controller
│       ├── whale-dock.ts        # Dock trigger surface
│       ├── dock-panel.ts        # Companion panel surface
│       └── dock-drag.ts         # Physics-based drag-and-drop controller
└── styles/
    └── plugin-css.ts            # Scoped component styles & CSS variables

🛠️ Development & Verification

The project includes an extensive automated test suite verifying physical convergence, DOM safety, and bundle integrity:

# Type check TypeScript sources
npm run typecheck

# Build production bundle
npm run build

# Run complete test suite (138 tests against production bundle)
npm run verify

# Launch visual interactive demo sandbox
npm run demo        # Open http://localhost:4173/demo/index.html

# Capture visual artifacts and showcase recordings
npm run shots       # Headless screenshot generation
npm run film        # Record showcase animation video

🧩 Compatibility & Graceful Fallbacks

  • Verified Hosts: @deepseek-ai/dsh@0.1.5-rc.1 with client packages at 0.1.5-rc.2 (measured in the running app); client packages at 0.1.7-rc.1 (types, and markup read from the published ui-chat / ui-conversation bundles — not yet run against a live 0.1.7 app).
  • DSH 0.1.7 signal changes: useSessionPendingInteraction is gone (the waiting state now reads useSessionStatus), and the session list no longer names the current session, so the Dock takes its state from the session-scoped entry instead. Both are handled per host, so 0.1.5 keeps working.
  • Graceful Degradation: If future DSH updates change internal slot names or alter status row markup, the plugin fails silently without interrupting conversation flow.
  • Dynamic Theme Adaptation: Adapts automatically to DSH --dsw-alias-* CSS variables, backed by high-contrast standalone fallback themes.

🙏 Acknowledgements

  • Implementation Heritage: dsh-thought-buddy (BSD-3-Clause) for the host/client bundle architecture, fixed-step spring timing model, and bundle verification strategy.
  • Interaction Inspiration: dsh-notch (MIT) for the edge-anchored continuous surface concept.
  • Classic Row Styling: an independent re-creation of DSH 0.1.5's running-turn label style (@deepseek-ai/dsh-client-ui-chat, MIT, © DeepSeek), using DSH's own design tokens.
  • Trademark Notice: The whale mark is the intellectual property of DeepSeek, incorporated from deepseek-harness (FishLogo.tsx) with zero coordinate alterations.

📄 License

BSD-3-Clause © 2026 dsh-whale-buddy contributors.

Versions

Latest versionPublishedSize
0.2.1——

Comments

Loading…

From the same category

dsh-desktop

by anywhere-labs

为 DeepSeek Harness (DSH) 插件生态打造的现代化桌面端解决方案。万物皆「插件」,桌面本身也是「插件」。

UI & ExperienceManifest valid

★ 30.4k

↓ 108/wk

MIT

TypeScript

Oct 10, 2026

dsh plugin --profile web add dsh-plugin-desktop

by zhu1090093659

DeepSeek Harness (DSH) Web Plugin Aggregation Ecosystem · Everything is a plugin, distributed via the Creative Workshop

UI & ExperienceManifest valid

★ 8.6k

↓ 125/wk

Apache-2.0

TypeScript

Oct 10, 2026

dsh plugin --profile web add dsh-web

A collection of independent Web UI plugins and skins, including task boards, Git graphs, mobile access, and live token stats.

UI & ExperienceManifest valid

★ 7.6k

↓ 119/wk

Apache-2.0

TypeScript

dsh plugin --profile web add dsh-web

by omdsh-dev

开放的侧边栏底座,支持三方拓展注册新侧边栏页面。内置文件渲染编辑/终端/侧边对话/Git/子代理页面 | Open sidebar foundation, supports third-party extensions to register new sidebar pages. Built-in file rendering/editing, terminal, side chat, Git,

UI & ExperienceManifest valid

★ 4.1k

↓ 38.1k/wk

MIT

TypeScript

Oct 9, 2026

dsh plugin --profile web add dsh-better-sidebar

by bowenliang123

The best DeepSeek Harness plugin for context insight and management, with context dashboard / browser / sidebar and context command, for context statistics, composition, breakdown, evolution details,

Tools & CapabilitiesTerminal & ClientsUI & ExperienceManifest valid

★ 2k

↓ 34.4k/wk

Apache-2.0

TypeScript

Oct 11, 2026

dsh plugin --profile web add dsh-context

by shaobeichen

把 DeepSeek Harness 装进你的口袋:电脑上跑 dsh web,手机扫码即同步访问(局域网 + 公网,实时同屏)Put DeepSeek Harness in your pocket: run dsh web on your computer and access it synchronously by scanning a QR code on your phone (LAN +

UI & ExperienceManifest valid

★ 1.6k

↓ 3.2k/wk

GPL-2.0

JavaScript

Sep 16, 2026

dsh plugin --profile web add dsh-pocket