DeepSeek Harness Plugin

zhang66633/dsh-pixel-ui

Stars ★ 4 Downloads (30d) 3,618 Category Themes & Appearance Added 2026-10-14 npm dsh-pixel-ui

Four-palette pixel-art skin for DSH Web (wood, parchment, warm, terminal green) with a bundled CJK pixel font served by the plugin's own host route, and a flat, shadow-free look.

Install

# from npm (prebuilt)

dsh plugin --profile web add dsh-pixel-ui

# from a prebuilt release tarball

dsh plugin --profile web add -w "https://github.com/zhang66633/dsh-pixel-ui/releases/latest/download/dsh-pixel-ui.tgz"

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

dsh plugin --profile web add github:zhang66633/dsh-pixel-ui

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.

🪵 dsh-pixel-ui

把 DeepSeek Harness 换成像素 RPG 风:九套主题、全套控件与光标重绘,一键切回现代 UI。

特性

  • 九套主题:木屋、羊皮纸、暖阳、终端绿、全息、南瓜灯、便签本、云石、秘银;七深色 + 两浅色。
  • 不只是换背景:23 个宿主 token 覆盖侧栏、气泡、菜单、输入区、提示底;连按钮、输入框、表格、滚动条、光标一起重做。
  • 两种质感:前四套完全平面(2px 描边、棋盘抖动、阶梯动效);后五套用 Complete UI 的真实 PNG 9-slice(构建期内联,离线可用)。
  • 记得住:主题偏好同时写宿主文件与 localStorage,DSH Desktop 随机端口重启也不会失忆。
  • 可退出:设置里选「现代默认」,立即回到原生 UI,不残留样式。

主题

九套全展示。前四套为真实 DSH 宿主截图,后五套为组件预览图。

高清原图见 assets/。

安装

# npm(推荐)
dsh plugin add dsh-pixel-ui

# 或 GitHub Releases 的 tgz
dsh plugin add ./dsh-pixel-ui-1.13.2.tgz

# 或源码 link
dsh plugin add github:zhang66633/dsh-pixel-ui

安装后重启 dsh / DSH Desktop。DSH Desktop 用户可在托盘 Open DSH Terminal 里执行同一命令。

使用

  1. 首次安装默认激活「像素·木屋」;之后恢复上次选择。
  2. 设置 → 通用设置 → 像素主题,十个按钮切换九套皮肤或「现代默认」。
  3. 选「现代默认」即整体退出;选择会记住,刷新/重启不复活。

主题偏好位于 $DSH_HOME/storages/dsh-pixel-ui/preference.json,浏览器 localStorage 只做同端口镜像。

兼容

  • DSH:目标 0.2.1-rc.5(真实宿主九套验证);声明范围 0.1.0-rc.6 ~ 0.2.x,engines.dsh / dsh peers / dshReleases 三处一致。
  • DSH Desktop:2.0.x,web 兼容模式/高级模式均可。
  • 浏览器:现代 Chromium / Firefox;CSS 变量 + SVG 光标 + 本地字体。
  • 无障碍:九主题全部通过 WCAG AA;prefers-reduced-motion 下关闭动效。

开发

npm install
npm run build   # 构建 lib/client.js,CSS 与 9-slice PNG 内联
npm test        # compat + host + client + contrast

开发文档在 docs/dev/(计划 / 迭代 / 踩坑)。宣传片与状态录像在 promo/。

许可

MIT © 2026 zhang66633。

安全问题请走 GitHub security advisory,不要发公开 issue。

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.