DeepSeek Harness Plugin

qinvnb/dsh-theme-integration

Stars ★ 1 Category Themes & Appearance Added 2026-12-01

Theme and UI integration with 6 brand presets, independent accent colors, 11 CJK+Latin font options with 9 offline variable font files, 9 ambient or custom image backgrounds, a customizable command-style model picker, and inline message editing/retract/rerun/delete.

Install

# from a prebuilt release tarball

dsh plugin --profile web add -w "https://github.com/qinvnb/dsh-theme-integration/releases/download/v0.6.1/dsh-theme-integration-0.6.1.tgz"

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

dsh plugin --profile web add github:qinvnb/dsh-theme-integration

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

中文 | English

A theme and UI integration plugin for DeepSeek Harness (DSH): four-tab live settings, multi-brand identity and independent accent colors, differentiated CJK + Latin global typography, curated gradient and custom image backgrounds with card surface controls, and a customizable command-style model picker. All configuration fields are volatile and apply immediately.

Features

1. Brand Identity & Independent Accent Color

  • Includes 6 brand presets (DeepSeek (Default), Claude, ChatGPT, Codex, Antigravity, Cursor) that update the sidebar brand mark/wordmark, empty-chat hero icon and greeting, and window title bar.
  • Supports custom titles, custom new-chat greetings, and an independent global accent color (--ti-accent, with Match Brand, 6 curated presets, and a custom color picker).

2. Differentiated CJK + Latin Global Typography

  • Ships 9 offline SIL OFL variable font files (8 Latin families: Geist, Plus Jakarta Sans, Outfit, Lora, Fira Code, Inter, Noto Serif, and JetBrains Mono regular/italic).
  • Offers 11 font style options (Match Brand, DSH Native, and 9 presets pairing distinct Latin and CJK typefaces: Noto Sans SC, DengXian, STXihei, Microsoft YaHei UI, Noto Serif SC, STZhongsong, STFangsong, STKaiti / LXGW WenKai, and Fira Code), accompanied by a live bilingual and code preview card.
  • Fine-tune code font (5 options), body font size (12–20px), line height (1.30–2.10), and font weight independently.
  • Supports uploading local font files (.woff2 / .ttf / .otf, up to 35 MB) or selecting installed system fonts (with Canvas-based local availability detection and a one-click override clear banner). Applies across UI controls, sidebars, dialogs, Markdown prose, and code blocks while preserving KaTeX math and SVG icons.

3. Custom Backgrounds, Card Surfaces & Opaque Popover Protection

  • Includes 9 light/dark-adaptive ambient gradients (Aurora Glow, Warm Sunset, Deep Ocean, Soft Mist, Midnight Indigo, Warm Paper, Misty Sage, Golden Dawn, Graphite Slate), plus local image uploads (PNG / JPEG / WebP / GIF / AVIF, up to 20 MB) and http(s):// image URLs.
  • Multi-select 4 target regions (Main Chat, Left Sidebar, Right Panel, Settings & Cards); unchecked regions retain native opaque DSH surfaces. Adjust background visibility (10%–100%), background blur (0–24px), overlay mask tint & opacity (0%–95%), image fit, card opacity (40%–100%), and card frosted blur (0–24px).
  • Keeps floating overlays ([popover], .ti-popup-panel, .ci-popup-panel, [role="menu"], [role="listbox"]) opaque when card translucency is enabled so underlying chat text never bleeds through.

4. Command-Style Model Picker & Reasoning Effort Slider

  • Replaces the composer model menu with vendor icons, wrapped vendor filter pills, auto-focused search with quick clear, full keyboard navigation (↑/↓/Home/End/Enter/Esc), reasoning badges, and a segmented reasoning effort slider.
  • Configurable popup surface (Solid Opaque / Soft Frosted Glass), vendor pill bar visibility, and model description subtitles, with a live preview in settings. Disabling the toggle immediately restores the native DSH model selector.

5. Historical Message Editing & Turn Actions

  • Inline Edit & Resend: Click Edit under any historical user message to edit inline (IME-safe: Enter saves & sends, Shift+Enter newline, Esc cancels), branching cleanly before that turn via native DSH session fork and resending.
  • Retract to Composer: Branches before the turn and restores the original prompt into the composer so you can refine it or add attachments.
  • Rerun / Delete Turn: Adds Rerun Turn and Delete Turn buttons on completed replies while keeping the original session intact in history, with automatic guards for active turns and attachment messages.
  • Model & Reasoning Effort Inheritance: Automatically carries over the source session's currently selected model and reasoning effort (including switches made right before saving) to the forked or fresh child session before submitting.

Installation

Requires Node.js >= 24.9.

Option 1: Install from GitHub Release tarball (recommended)

Download dsh-theme-integration-<version>.tgz from GitHub Releases and add it in DSH Settings → Plugins → Add plugin, or run:

dsh plugin --profile web add https://github.com/qinvnb/dsh-theme-integration/releases/download/v0.6.1/dsh-theme-integration-0.6.1.tgz

Option 2: Install from GitHub source

dsh plugin --profile web add github:qinvnb/dsh-theme-integration

Open Settings → Theme Integration (or the plugin's configuration panel) to customize appearance live.

Data & Privacy

  • Uploaded background images and local font files are stored locally under $DSH_HOME/storages/dsh-theme-integration/ (backgrounds/ and fonts/). Upload and delete routes enforce same-origin checks.
  • The plugin does not read account credentials, API keys, or conversation content, and makes no outbound network requests unless you configure a remote background image URL.

Development

npm install
npm run check
npm pack

See CHANGELOG.md for release history.

License

  • Plugin source code and icons are licensed under the MIT License.
  • Bundled fonts (Geist, Plus Jakarta Sans, Outfit, Lora, Fira Code, Noto Serif, Inter, JetBrains Mono) are licensed under the SIL Open Font License 1.1 (see assets/fonts/OFL.txt).

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.