czzzlq/deepseek-harness-background
A dynamic Cordis theme plugin for the DeepSeek Harness web UI. It adds background switching (gradient wallpapers / custom images), background opacity and blur, accent colors, light/dark/system mode, and persists settings across sessions.
catalog 简介 / catalog descriptioncatalog description:deepseek-harness背景自定义
项目介绍Project Overview
这是 DSH 网页 UI 的动态 Cordis 主题插件,提供渐变/自定义背景、透明度、模糊、强调色与明暗模式切换,并持久化设置。适合想个性化界面外观时使用。注意:动态插件重启后需重新运行,且持久化路径需按本机 DSH_HOME 修改。
This is a dynamic Cordis theme plugin for the DSH web UI. It provides gradient or custom backgrounds, opacity, blur, accent colors, and light/dark/system theme modes, with settings persisted to disk. Use it when customizing the interface appearance. Caveat: dynamic plugins must be re-run after restarts, and the persistence path in host.js should match your DSH_HOME.
请帮我了解并安装插件:【deepseek-harness-background】【https://github.com/czzzlq/deepseek-harness-background】
把上面这条消息直接发给当前会话里的 DSH,让它帮你了解并安装。安装命令不一定准确,发给 DSH 更稳。Send this message to DSH in your current session. CLI install commands may not be accurate across systems — DSH will figure it out for you.
或使用命令行安装(适合开发者)Or use CLI install (for developers)
命令行安装CLI Install
dsh plugin --profile web add github:czzzlq/deepseek-harness-background
把 czzzlq/deepseek-harness-background 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
DeepSeek Harness Background (Theme Pro)
A dynamic Cordis theme plugin for the DeepSeek Harness web UI. It adds background switching (gradient wallpapers / custom images), background opacity and blur, accent colors, light/dark/system mode, and persists settings across sessions.
Features
- Theme mode: light / dark / follow system (built on the official
themeservice). - Background switching: 7 built-in gradient wallpapers (default, ocean, sunset, forest, violet, midnight, aurora).
- Custom background image: upload a local image (≤2MB) as wallpaper, replaceable anytime.
- Background opacity: 0–100% slider controlling wallpaper opacity.
- Background blur: 0–20px slider for a frosted-glass effect.
- Accent color: 9 presets plus a custom color picker, live-updating
--dsw-alias-brand-primary. - Persistence: settings are written to disk and restored when the plugin runs again.
- One-click reset: restore the default configuration.
Directory structure
deepseek-harness-background/
├── host.js # Host half: persists settings via the fs service, exposes load/save RPC
├── client.js # Client half: theme UI + token overrides + wallpaper style injection
├── LICENSE # MIT
└── README.md
Usage
This plugin ships as a DSH "dynamic Cordis plugin": the contents of host.js and client.js are the code.host and code.client for cordis_define (plain JavaScript function bodies returning a Cordis Plugin).
In the DSH web GUI:
- Use the dynamic Cordis plugin tool (
cordis_define): paste the contents ofhost.jsintocode.hostand the contents ofclient.jsintocode.client. - Activate with
cordis_run. - Open the settings panel (bottom-left gear), then the new "Theme Pro" page.
Note: dynamic plugins are temporary (re-run after each process restart). To auto-load on every startup, rewrite it as a persistent web plugin in the repo (host composition's web bundle layer) and rebuild.
Persistence
Settings are written to a JSON file through the host-side fs service. It tries the following locations in order and uses the first writable one:
C:/Users/33144/.dsh/theme-pro.json(the DSH_HOME directory on the dev machine).dsh-theme-pro.json(workspace root, relative)
Update the paths array at the top of host.js to point at your own DSH_HOME directory (Windows: C:/Users/<you>/.dsh, macOS/Linux: ~/.dsh).
Dependencies
- Client:
theme(token overrides / color scheme),slots(settings.section),styles,host,React - Host:
fs(persistence),harness(private RPC)
nexu-io/open-design
freestylefly/awesome-gpt-image-2
anywhere-labs/dsh-desktop
walkinglabs/learn-harness-engineering
awesome-dsh-plugin/awesome-dsh-plugin
MemTensor/MemOS