DeepSeek Harness Plugin

hiJoeLee/dsh-whale-brand

Stars ★ 0 Downloads (30d) 736 Category UI Enhancements Added 2026-10-17 npm dsh-whale-brand

Puts your own animated vector logo over the DSH brand mark in the sidebar and beside the start-page headline, taking over the three single slots sidebar.brand.mark, sidebar.brand.name and conversation.hero.brand.mark. The bundled patch only inserts the plugin into the loader — the official brand plugin (@deepseek-ai/dsh-client-ui-brand-official) holds those slots too, so you must disable it in the profile's cordis.patch.yml and restart. Ships a swimming whale that follows light and dark themes through currentColor and is tuned to stay legible at the sidebar's 24 px.

Install

# from npm (prebuilt)

dsh plugin --profile web add dsh-whale-brand

# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)

dsh plugin --profile web add github:hiJoeLee/dsh-whale-brand

Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).

README

Replace the brand mark in DeepSeek Harness — both in the sidebar and beside the start-page headline — with your own vector logo: animated, theme-aware, sharp at any size.

It ships with a swimming whale: the same shape as the official DSH mark, only alive. To use your own artwork, swap the SVG constant in lib/client.js.

What it takes over

Where Slot Size the shell passes down
Sidebar mark sidebar.brand.mark 24px
Sidebar wordmark sidebar.brand.name —
Start-page mark conversation.hero.brand.mark 34px

All three are single slots — only one occupant may render a given key — so the official brand package must be disabled first. See below.

Install

dsh plugin --profile desktop add dsh-whale-brand

Then restart DSH and reload the page (Cmd+R). Both steps matter: the host only reads the plugin manifest at startup, and the page may still hold the previous plugin graph until you reload.

Required: disable the official brand package

sidebar.brand.mark is a single slot, so the official occupant (@deepseek-ai/dsh-client-ui-brand-official) has to step aside — otherwise the two collide at load time.

Add three lines to your profile's cordis.patch.yml:

- id: ui-brand-official
  name: "@deepseek-ai/dsh-client-ui-brand-official"
  disabled: true

Then restart DSH.

This package's own cordis.patch.yml only inserts itself into the loader. The disable line belongs in the profile layer, because the official row is declared by an official bundle.

Using your own logo

The SVG constant at the top of lib/client.js is the entire artwork. Two things to keep in mind:

  1. Fill with currentColor so light and dark themes both follow along.
  2. Prefix your classes and keyframes uniquely (this package uses wb-). If another inline SVG on the same page defines a @keyframes with the same name, the later definition wins — which shows up as "I changed the numbers and nothing happened".

Copy the file into the profile's node_modules/dsh-whale-brand/lib/ and just reload the page — no restart needed (only host-side code or package.json changes require one).

Tuning the motion

Three animations live in the SVG's <style> block:

Animation Does Default
wb-swim Whole-mark bob + slight tilt ±2.5 viewBox units / ±1.6°
wb-wag Tail swing ±9°
wb-blink Blink once every 5.2s

There is a floor at small sizes. A ±4° tail swing on a 24px sidebar mark moves the tip about 0.3px — invisible. To make motion read at 24px you need roughly ±9° of swing plus ±2.5 viewBox units of travel (about 0.8px each).

The 5.2 / 2.6 / 5.2s periods divide evenly into each other, so the loop is seamless.

Under prefers-reduced-motion: reduce all three animations stop, and the eye stays open (the overlay's static default is scaleY(0)).

Known limits

  • Requires DSH 0.1.7-line (built against the current shape of sidebar.brand.* and conversation.hero.brand.mark).
  • The official start-page mark is deliberately still until hovered. This package gives it constant motion; to keep the original restraint, drop the animation on .wb-whale — the shell's hover animation still fires, since it is bound to the className passed down through the slot.
  • The sidebar wordmark (deepseek HARNESS) keeps the official artwork by default; only the mark is replaced. Edit the OfficialBrandName component to change it.

License

MIT

Content from the project README on GitHub ↗

Links

More in this category

View the whole category →

Community comments

Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.