- Startseite
- Plugins
- Themen & Aussehen
- dsh-Sherry
dsh-Sherry
moroboshiai/dsh-sherry
Repaints DeepSeek Harness in lavender frosted glass — a moonlit key-art wallpaper behind translucent sidebar, conversation and composer surfaces, a draggable lab-coat pet in the bottom-right corner, and a portrait brand mark in place of the top-left logo.
Installation
dsh plugin --profile web add github:moroboshiai/dsh-sherryREADME
Haibara glass theme (@local/dsh-haibara-glass)
A DeepSeek Harness Client bundle that repaints the web/desktop window as a lavender frosted-glass scene and parks a lab-coat pet in the bottom-right corner.
- Glass + lavender. All 14 theme tokens are overridden with translucent lavender values (light and dark), the sidebar and composer become blurred glass sheets, and the wallpaper sits behind every column on two fixed pseudo-element layers.
- Night wallpaper. A moonlit city scene with a silent figure at the edge, plus a lavender veil and a fine grain layer so text stays readable on top of it.
- Corner pet. A lab-coat sprite floats above the interface at the bottom-right. Click it for an in-character line, drag it along the edge, hide it with the × badge, and bring it back with the little chip.
- Portrait brand mark. The uploaded portrait replaces the shipped fish logo in the
sidebar's brand row (
sidebar.brand.mark), cropped to a circle and ringed in lavender. It tracks the seat'ssizeprop, so it also fills the collapsed rail.
Interactions
| Action | Result |
|---|---|
| First run, after ~1.6 s | One onboarding bubble: click to talk, drag to move, × to hide |
| Click / Enter / Space on the pet | A random in-character line in a glass bubble (7 s) |
| Drag the sprite | Moves anywhere in the window; the position is remembered and re-clamped |
| Hover or tab → × badge | Hides the pet; a 46 px chip takes its place |
| Focus the composer | The pet's halo glows while you type |
| Idle 2.5 min | A quiet remark, only while the window is visible |
| Sidebar brand row | The portrait avatar sits where the fish logo used to be |
The pet keeps out of the way on its own: when the composer card would collide with it,
the sprite slides up to sit just above the card, and when the dsh-whale-widget pet is
mounted, ours steps sideways so the two do not stack.
Lines are announced to screen readers through a polite live region; the visible bubble is
decorative (aria-hidden) so nothing is read twice. With prefers-reduced-motion the
float and twinkle stop, and with prefers-reduced-transparency the glass turns solid.
Everything is stored in localStorage / sessionStorage of the current browser only
(dsh-haibara-glass:*). The plugin makes no network or model requests.
Layout
index.js Host half: empty apply(), it only exists to own a Loader row
client.js Built browser bundle (generated — do not edit by hand)
src/client.body.js Browser half source: tokens, CSS, locale dicts, pet + brand mark
tools/build-client.mjs Inlines assets/*.webp into client.js as data URIs
tools/prepare-assets.mjs Chroma-keys the pet render and encodes both WebP assets
tools/make-avatar.mjs Crops assets/avatar-source.jpg to the 96 px portrait circle
assets/avatar-source.jpg Uploaded portrait the brand mark is cut from
tools/gen.mjs ComfyUI REST client that produced assets/*-raw.png
locale/{en,zh,ja}.json Plugin Manager metadata (title/description/detail)
docs/preview.svg Detail-page feature image (640×300, text-free)
icon.svg Plugin Manager icon
Rebuilding
The bundled assets are base64 WebP data URIs inside client.js — the Harness exposes no
asset URL to Client modules, so nothing can be fetched at runtime.
cd /tmp
NODE_PATH=/Users/sherry/.dsh/profiles/desktop/node_modules \
ELECTRON_RUN_AS_NODE=1 "/Applications/DeepSeek Harness.app/Contents/MacOS/DeepSeek Harness" \
/Users/sherry/Documents/deepseek-harness/default-workspace/haibara-glass-theme-plugin/tools/prepare-assets.mjs
NODE_PATH=/Users/sherry/.dsh/profiles/desktop/node_modules \
ELECTRON_RUN_AS_NODE=1 "/Applications/DeepSeek Harness.app/Contents/MacOS/DeepSeek Harness" \
/Users/sherry/Documents/deepseek-harness/default-workspace/haibara-glass-theme-plugin/tools/build-client.mjs
client.js is loaded by path, so a plain window reload picks up a rebuild — the bundle
only needs reinstalling when package.json, cordis.patch.yml or the locale metadata
change. The tools/ half (sharp + the ComfyUI renderer) is development-only and is not
shipped in the installed package.
Every build stamps itself with the local build time. apply() logs
[haibara-glass] build <stamp> once, and the same value is written onto the injected
<style data-hg-build="…">, so a running page can prove which bundle it loaded.
Surviving a restart
The plugin is installed as a link: dependency, so the directory in this workspace is
the installed package: nothing is copied, and client.js on disk is what the app serves.
A DSH restart therefore re-reads exactly the build you left behind — there is no separate
"deployed copy" to go stale, and no reinstall is needed after a rebuild.
What is deliberately rebuilt on every boot instead of stored:
- The palette. It is applied twice —
theme.overrideTokens()when the service is reachable, and literal!importantdeclarations on:root, body/body[data-ds-dark-theme]generated from the sameTOKENSobject — so the glass survives a cold start even if the service is still loading. After mount the pet re-applies the override at 400 / 1200 / 3000 / 6000 ms, because a slow boot can settle its own token layer late. - The transparent app canvas (
html, body { background-color: transparent !important }), which is what guarantees the key art can never be painted over again. - Both slot registrations (
shell.overlay,sidebar.brand.mark), the locale dictionaries and the injected stylesheet; they are all registered fromapply()and torn down by their disposers.
What is stored, in the page's own storage:
dsh-haibara-glass:pet-position— the dragged offset (localStorage).dsh-haibara-glass:pet-hidden— whether the pet was put away with the×(localStorage).dsh-haibara-glass:greeted— the one-time hint bubble (sessionStorage, so it returns once per app launch).
If the window ever comes back white after an update, check the console for
[haibara-glass] build …: a missing line means the bundle did not load at all, while a
present line plus a [haibara-glass] theme tokens warning means the CSS layer still
carries the palette and only the service override failed.
Publishing to the plugin market
The local install keeps its private name (@local/dsh-haibara-glass) because the desktop
profile links straight to this directory. The market copy is a separate public package,
dsh-sherry, whose Client half is rebuilt under that id so the module name matches:
ELECTRON_RUN_AS_NODE=1 "/Applications/DeepSeek Harness.app/Contents/MacOS/DeepSeek Harness" \
tools/package-market.mjs <github-owner>
That writes dist/dsh-sherry/ (package.json with market metadata and a MIT LICENSE, the
rebuilt client.js, the dsh-sherry cordis patch, locales retitled dsh-Sherry,
docs and icon), a dist/dsh-sherry-1.0.0.tgz tarball, and dist/SUBMISSION.md with the
publish commands and the one-file market pull request. The market itself hosts nothing:
it indexes github.com/awesome-dsh-plugin/awesome-dsh-plugin, so an entry needs a public
repository plus one YAML file there.
Notes on styling the Harness
- Only
--dsw-alias-*tokens are overridden throughtheme.overrideTokens(); literal colours appear only in the plugin's own artwork and pet chrome. - Column surfaces are matched on the stable local-name suffix of the hashed CSS-module
classes (
[class*="sidebarCol"]). Element hooks ([data-composer-card],[data-conversation-region], …) are the reliable half of that pairing, so the theme degrades gracefully if a Harness build renames a class. - One glass recipe for the whole window: sidebar, conversation and right rail share the
same fill gradient (
--hg-glass-hi→--hg-glass-lo), the same hairline and nobackdrop-filter. A filtered ancestor becomes the containing block for fixed-position Harness popovers (the composer's pickers), so the frosted look comes from blurring the wallpaper once, inbody::before, instead of from three independent column filters. --dsw-alias-bg-baseis nearly transparent on purpose. The conversation root, message rows and the app canvas all paint with it; leaving it opaque is what made the centre read as flat white while the sidebar showed the key art. With it clear, the single column glass is the only surface in every region.- The palette is applied twice over: through
theme.overrideTokens()(the normal path) and as literal CSS declarations on:root, body/body[data-ds-dark-theme]with!important, generated from the same TOKENS object. On a cold start the Client module can run before the theme service is available, and a skipped override used to leave the stock opaque white surfaces covering the key art; the CSS layer and a mount-time re-apply inside the pet component make the lavender glass independent of that race. html, body { background-color: transparent !important }keeps the app canvas clear so nothing the Harness paints can hide the wallpaper.- The brand mark is a
singleslot: it keeps one registration per priority and renders the lowest, so the shipped fish (priority 0) is shadowed by registering at a lower rank. Registering at the same rank throws, and an uncaught throw there tears down the whole client half — the registration is wrapped accordingly. - Hover, active, selected and scrollbar fills are not part of the 14 overridable tokens,
so they are re-tinted lavender directly on
body(andbody[data-ds-dark-theme]) to keep neutral grey from surviving in the sidebar.
Ähnliche Plugins
dsh-wallpaper-engine
elysia395/dsh-wallpaper-engine
dsh-deep-whale (maid-atelier)
small-tailqwq/dsh-deep-whale
dsh-claude-style
nwflower/dsh-claude-style
dsh-deep-whale
small-tailqwq/dsh-deep-whale