DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

Style Hub — DeepSeek Harness 插件(DSH Plugin)
← Plugins
S

dsh-style-hub

Style Hub

DeepSeek Harness Web GUI 的主题工作室:预设样式、微调和主机端壁纸上传。

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add github:Au1314/dsh-style-hub#dfd42aa92d6e7d38cd5b998b95d9761602489e1e
README兼容性版本
Settings dialog open on the plugins page

兼容性与来源证明

Style Hub 以 dsh-style-hub 发布,当前版本为 0.1.0。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
web
发布来源
github
Registry 更新时间
2026/9/25

版本

0.1.0stable
2026/9/25

相关插件

正在加载相关插件…

最新版
0.1.0
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
未提供
文件数
未提供
Surface
web
许可证
MIT
发布源
github
GitHub
★ 0
周下载
0
最近提交
2026/9/25
查看源码 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录

相关插件

继续浏览 ui-customization 分类下经过校验的插件。

Web App@deepseek-ai/dsh-web-appdsh 浏览器界面捆绑包:位于 dsh-base 之上的 Web 补丁层,加上运行时粘合插件(提供前端 dist、Web 界面提示符、bash 运行时变量和 URL 行)Experimental Agent Team Web Profile@deepseek-ai/dsh-experimental-agent-team-web-profile用于 Agent Teams Remote 和 UI 插件的实验性 Web 配置层Client Ui Task Board@linxin666/dsh-client-ui-task-board面向 DSH Web GUI 的主机权威任务面板,支持实际会话执行、主机 cron 调度以及可选的跨平台空闲睡眠保护;以挂载方式提供,无需修改 DSH 源代码。Remote Web Ui@linxin666/dsh-remote-web-ui通过扫码配对访问 dsh Web GUI,共享一个官方界面:设置按钮旁的二维码可将手机和 PC 配对到同一个 Web GUI(手机采用竖屏触控适配层,PC 使用完整桌面界面),通过一次性令牌和 r

README


description: "Theme studio for the DeepSeek Harness Web GUI: eight preset styles, accent and surface-translucency fine-tuning, and a host-side wallpaper library."

dsh-style-hub

English | 中文

Summary

dsh-style-hub is a composition plugin (host half + browser half) that gives the DeepSeek Harness Web GUI three things in one settings card:

  • Preset styles — eight bundled palettes registered as first-class themes, so the design system's own token directory does the work instead of a stylesheet that fights it.
  • Fine-tuning — a brand accent, and a panel-opacity slider that turns the raised surfaces translucent so a picture can show through them.
  • A wallpaper library of your own — images you upload are stored on the Host next to its other data, served over one route, and painted as a layer under the application frame.

Everything lives in the Plugins → Style Hub card. Turning the master switch off restores the appearance exactly as it was: this plugin never decides what "normal" looks like for your deployment.

Table of Contents

  • Install
  • Use it
  • Settings reference
  • The wallpaper library
  • Design decisions
  • Known limitations
  • Development

Install

The package wires itself: dsh.bundle.patch points at the bundled cordis.patch.yml, which inserts one host row (dsh-style-hub) over whatever layers the profile already composes. The browser half is discovered separately, through the dsh.client manifest in package.json. Neither half needs a hand-written row.

In a DSH Desktop profile (the usual way to try it):

  1. Unpack the package into the profile's node_modules, named after the package:

    cd "$DSH_HOME/profiles/web/node_modules"   # e.g. %APPDATA%/dsh-desktop/harness/profiles/web/node_modules
    tar -xzf dsh-style-hub-0.1.0.tgz && mv package dsh-style-hub
    
  2. In that profile's package.json, add "dsh-style-hub" to dependencies and to dsh.profile.bundles.

  3. Re-install the profile (pnpm, hoisted) and restart the app.

In a composition you own: add dsh-style-hub to the same bundle list that carries @deepseek-ai/dsh-base and @deepseek-ai/dsh-web-app, install, restart.

Requirements. A web composition that already carries dsh-client-ui-settings-plugins (the card's slot), dsh-client-ui-theme (the theme registry), and dsh-client-locale. The runtime peer range is >=0.1.5-rc.2 <0.2.0; npm run build typechecks against 0.1.5-rc.3, the first release of that line that ships type declarations.

The Host registers the style-hub settings namespace, serves /api/style-hub/wallpapers, and answers every page load with the boot wallpaper rule. webServer is an optional peer: in a profile with no HTTP surface the bundle still loads, and the route plus the boot rule simply stand aside.

Use it

Open Settings → Plugins → Plugin configuration → Style Hub.

  • Pick a style chip, or leave Stock selected to follow the built-in Appearance preference untouched.
  • Drag Accent and Panel opacity to adjust the active style; opacity 1 keeps the theme's own fills.
  • Choose or upload a wallpaper, then set its Fit, Opacity, Blur, and Dim.

The card writes immediately — there is no save button — because each field is a single revision-fenced write through the client settings scope.

The switch-off contract

setTheme only ever persists light, dark, or system, so a style this plugin registered cannot survive a reload on its own; the style-hub section is what replays it. That also means the preference the user held before this plugin ever selected one of its own has to be remembered somewhere else. It is: the browser half captures it at start and observes every later theme/change, so switching the master switch off hands the preference back rather than pinning a default. Stock never writes to Appearance at all — selecting it means "leave that preference where the user put it".

Settings reference

The section is flat (one field, one write) and every value below is validated twice: by the Host schema, and again by validateSettings, which is where the ranges live.

FieldTypeRange / valuesDefault
enabledbooleanmaster switchfalse
themeIdstringstock, or a bundled preset idstock
accentstring#rrggbb, or empty to follow the style""
panelOpacitynumber0.8 … 11
wallpaperIdstringhex storage id, or empty""
wallpaperFitstringcover | containcover
wallpaperOpacitynumber0 … 11
wallpaperBlurnumber0 … 50 px0
wallpaperDimnumber0 … 10

Bundled preset ids: nord, dracula, mocha, tokyo-night, gruvbox-dark, solarized-light, github-light, latte. The registered theme ids are those with an sh: prefix, so they can never collide with another plugin's themes.

The wallpaper library

  • Storage — one directory under the Host's data dir ($DSH_HOME/dsh-style-hub, overridable with DSH_STYLE_HUB_DIR): images/ holds the bytes, catalogue.json holds the index.
  • Route — a single prefix route, /api/style-hub/wallpapers, dispatching on its own sub-path: GET the catalogue, POST an upload, GET/DELETE /:id.
  • Accepted uploads — PNG, JPEG, and WebP identified by magic bytes (the declared content type is never trusted), up to 15 MB.
  • Safety — writes require a same-host Origin/Referer, ids are 32 hex chars and are the only path segment the route will read, and display names are stripped of anything a header or markup context could misread.

The Host renders the same wallpaper rule into index.html as an injection row, so the very first paint already shows your picture; the browser half then owns that layer for the rest of the session.

Design decisions

No menu blur. A backdrop-filter on the menus would need a stable hook the design system does not offer — --dsw-mask-blur is declared but never consumed, and the menu cards carry no class this plugin may rely on. The equivalent effect is delivered with tools this plugin does own: panel translucency (the surfaces above the picture go translucent) and wallpaper blur (the picture itself is softened). If the design system later publishes a menu hook, a blur option can be added without breaking anything here.

The canvas is capped while a wallpaper shows. ui-layout paints the frame with an opaque --dsw-alias-bg-base, so with a wallpaper active the base is held at 0.85 alpha — enough for the picture to read through, not so much that the frame stops being a frame.

Tokens are derived, never copied. Each preset is twelve swatches; tokensFor derives the whole --dsw-alias-* directory from them, and no preset emits a --dsw-static-* value (those are shared constants, and overriding them would leak one style into every other). The test suite reads the required token names out of the installed design-system stylesheet, so the derivation is checked against the system rather than against a stale copy.

One tweak layer. Accent and translucency are stacked as a single override layer with a fingerprint, so a reconciliation pass that changes nothing writes nothing — and an empty layer is torn down instead of being registered as "applied but empty".

Known limitations

  • The preference is replayed, not persisted. A style selection lives in the style-hub section; the built-in Appearance preference stays light/dark/system. Reloading replays it from the section.
  • The first paint can show the stock palette. The wallpaper is injected into index.html, but the colour scheme is not: there can be a beat before the selected style lands. Injecting the boot palette is a known follow-up.
  • Changing Appearance while a style is active snaps back. That is deliberate — the feature is on, so the style wins — and the new Appearance choice is remembered as the preference to restore. Turn the master switch off to steer Appearance yourself.
  • menuBlur does not exist. See Design decisions.

Development

npm install --legacy-peer-deps
npm run check   # typecheck, build all three artifacts, syntax-check, test

npm run build produces:

  • lib/index.js — the Host half, ESM, bare specifiers external.
  • lib/client.js — the browser half, wrapped in the window.__ModuleLoader__.load({ id, factory }) shell the composition's module loader expects.
  • lib/types/** — the declaration tree (emitted separately, because the sources import .ts extensions).
  • test/build/*.test.js — the tests, bundled because they import TypeScript sources directly.

Tests are plain node:test:

npm test

See docs/architecture.md for how the two halves fit together.

License

MIT — see LICENSE.