插件目录 / UI & Skins / dsh-dracula
dsh-dracula
已验证 · 实测可装 lzylyd
功能简介
A third-party Dracula dark theme for the DeepSeek Harness web UI
可用 — 实测通过,早期项目
A third-party Dracula dark theme for the DeepSeek Harness web UI 实测能干净安装、正常启动。早期项目,但功能可用。
「已验证」表示我们的自动化 CI 在干净 profile 里实际执行了 dsh plugin add 并启动成功——仅此而已。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。
README
dsh-dracula
A third-party Dracula dark theme for the DeepSeek Harness web UI. Dark-only, covers the full --dsw-alias-* layer plus --shiki-* syntax highlighting, and ships a "Themes" settings page for switching.
Quick read (for agents)
- What it is: a DSH bundle npm package that registers a third-party theme (
dracula) through the client theme servicectx.theme.register(...), recolouring the whole web UI by overriding--dsw-alias-*and--shiki-*CSS tokens. - Shape: one package is both the bundle and the client plugin —
package.jsondeclaresdsh.bundle.patch(→cordis.patch.yml) anddsh.client(→./client). - Files:
src/client.tsx(theme registration + settings page + persistence),src/index.ts(empty host half),cordis.patch.yml(one self-referential rowdsh-dracula). - Persistence:
localStoragekeydsh.dracula-theme.preferencemirrors everytheme/change; restores on startup, defaults todraculaon first run. Guarded against quota/privacy/parse failures. - Build:
pnpm install && pnpm build(tsdown →lib/client.js,lib/index.js). - Install on another DSH:
dsh plugin --profile web add dsh-dracula.
Install / use
dsh plugin --profile web add dsh-dracula
dsh web
Then open Settings → Themes to switch between Light / Dark / System / Dracula.
Develop
pnpm install
pnpm build # or: pnpm watch
Publish
Tag a v* release; GitHub Actions runs pnpm install && pnpm build && pnpm publish using the NPM_TOKEN secret.
Design record
See ../doc/CONTEXT.md (glossary) and ../doc/adr/0001-dracula-theme-persistence.md (persistence decision).
安装
装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:
dsh plugin add dshbase-catalog 然后对 agent 说「帮我装 dsh-dracula」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包。
该插件是 GitHub 源码(未发 npm)——直接从仓库装:
Web profile:
dsh plugin --profile web add github:lzylyd/dsh-dracula Headless(CLI)profile:
dsh plugin --profile headless add github:lzylyd/dsh-dracula 实测报告
验证通过:从 GitHub 源码完成 L1 安装 + L2 加载 + L3 运行(dsh 0.1.0-rc.6)。