DeepSeek Harness Plugin

megatronyy/dsh-skin-background

Stars ★ 2 Category Themes & Appearance Added 2026-08-23

Image-background skin with four shipped wallpapers, a user wallpaper directory, custom image URLs, and live dim/blur controls in Settings.

Install

# from a prebuilt release tarball

dsh plugin --profile web add "https://github.com/megatronyy/dsh-skin-background/releases/download/v0.1.0/dsh-skin-background-0.1.0.tgz"

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

dsh plugin --profile web add github:megatronyy/dsh-skin-background

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

This plugin publishes its README in Chinese only.

DeepSeek Harness (dsh) 皮肤插件:给 Web 界面加上可切换的图片背景。English summary below.

default skin

skin settings panel

dusk drift wallpaper

  • 内置 4 张原创渐变壁纸(aurora-dawn / dusk-drift / ocean-mist / midnight-bloom),也支持用户目录 ~/.dsh/skin-center/wallpapers 中放入自己的图片,或输入任意 http(s) 图片链接
  • 皮肤面板出现在「设置 → 皮肤」:启用开关、壁纸选择、自定义链接、背景压暗(0–90%)与背景模糊(0–24px)滑杆,保存后即时生效
  • 深浅色自适应:面板变为半透明毛玻璃(通过 ctx.theme.overrideTokens 叠加 token 层),深色模式下加一层更深的暗纱保证文字对比度
  • 设置通过 dsh 的 user-settings 文档(skin-background 命名空间)持久化,带写入校验(拒绝 javascript: 等非法图片引用)

安装

# 在 deepseek-harness 仓库目录下
pnpm dsh plugin --profile web add /path/to/dsh-skin-background

安装前先构建:pnpm install && pnpm build(产物为 lib/index.js 宿主半边 + lib/client.js 浏览器半边)。然后重启 dsh web。

开发

pnpm install
pnpm test        # vitest(node + jsdom)
pnpm build       # tsc 类型产物 + tsdown 双半边打包

目录结构:src/index.ts 宿主半边(设置命名空间 + /skin-background/wallpapers 路由),src/client/ 浏览器半边(皮肤应用 SkinController、设置界面 SkinSection、词典)。

English: a skin plugin for the DeepSeek Harness web client adding a selectable image background. Ships four original gradient wallpapers, serves user wallpapers from ~/.dsh/skin-center/wallpapers, accepts any http(s) image URL, and exposes a Settings → Skin page with enable/dim/blur controls. Surfaces turn translucent-glass via the theme token override API; everything persists through the skin-background settings namespace with write validation.

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.