Back to home@Developerprit

dsh-new-ui

He can change your DeepSeek Harness (DSH) page, but it will conflict with dsh-web-ui.

Stars
0
Language
HTML
Created
Aug 20, 2026
Updated
Aug 20, 2026
GitHub repo

Introduction

dsh-new-ui

English | 中文

A full-site UI rewrite plugin for DeepSeek Harness (dsh): deep tech blue + liquid glass + motion polish, with automatic interception of dsh-web-ui to prevent skin / slot conflicts.

logo


What

dsh-new-ui is a single-package DSH plugin that does two things:

  1. Full-site UI rewrite — a deep tech-blue + liquid-glass light/dark theme designed with ui-ux-pro-max. It remaps every --dsw-alias-* token through the official ThemeRuntime.overrideTokens() API and injects a liquid-glass style layer (aurora backdrop, frosted pane, 150–300ms transitions) plus a persistent bottom-right Russian tagline «Пусть технологии изменят мир!».
  2. Automatic interception of dsh-web-ui — a bundled patch layer (cordis.patch.yml) disables the entire dsh-web-ui family at the load source by row id (web-ui-*, standalone @linxin666/*, and external dsh-better-sidebar), with a host-side runtime conflict detector as defense in depth.

No DSH source changes — everything mounts through the official profile / bundle mechanism.


Features

FeatureDescription
🎨 Full token rewriteRemaps every --dsw-alias-* token: backgrounds, borders, text, buttons, states, sidebar, and more
🌗 Light + darkEvery token carries a { light, dark } pair and follows the system color scheme automatically
🧊 Liquid glassTranslucent surfaces + backdrop-filter frost + animated aurora background
✨ Motion polish150–300ms transitions on interactive elements, honoring prefers-reduced-motion
🛡️ Auto interceptioncordis.patch.yml disables all dsh-web-ui rows + host-side runtime warning
🌐 Russian taglineBottom-right «Пусть технологии изменят мир!»

Install

Requires DeepSeek Harness (dsh web runs).

dsh plugin --profile web add dsh-new-ui
dsh web

From source (development):

git clone https://github.com/123654qw/dsh-new-ui.git
cd dsh-new-ui
pnpm install
pnpm run build
dsh plugin --profile web add link:$(pwd)
dsh web

How the interception works

dsh-new-ui declares dsh.bundle.patch = ./cordis.patch.yml in its package.json. On install it stacks as a bundle layer and writes disabled: true by row id for:

  • the aggregate @linxin666/dsh-web-ui-all (all 17 web-ui-* rows)
  • the standalone @linxin666/* packages (their own 15 row ids)

The host half (src/index.ts) enumerates loader entries via ctx.loader.entries() and prints a loud warning if any dsh-web-ui plugin is still active:

[dsh-new-ui] detected N dsh-web-ui plugin(s) still active. ...

Verify:

dsh --profile web --dump-config

The web-ui-* / better-sidebar rows should show disabled: true.


How the UI rewrite works

  • Themesrc/client/theme.ts exports TOKENS (ThemeTokenOverrides); src/client/index.ts calls ctx.theme.overrideTokens('dsh-new-ui', TOKENS). The layer stacks over the active theme and picks the right { light, dark } value per color scheme — immediate and reversible (unload restores).
  • Atmospheresrc/client/styles.ts injects the aurora backdrop, frosted pane, transitions, and the Russian tagline as a plugin-owned <style> tag removed on unload / HMR.

Structure

dsh-new-ui/
├── package.json          # dsh.bundle.patch + dsh.client + peerDeps + exports
├── cordis.patch.yml      # interceptor: disables all dsh-web-ui rows
├── tsconfig.json
├── tsdown.config.ts      # dual build (host + browser)
├── src/
│   ├── index.ts          # host half: interceptor (detect + warn)
│   └── client/
│       ├── index.ts      # browser half: token layer + styles + tagline
│       ├── theme.ts      # deep tech blue token remap
│       └── styles.ts     # liquid glass / motion / aurora / tagline
├── README.md / README.zh.md
└── LICENSE               # Available License

License

Available License — Copyright © 2026 kscm.


Links