插件目录 / UI & Skins / dsh-colorschemes
dsh-colorschemes
已验证 · 实测可装 hatanokokosa
功能简介
A DSH ColorScheme Plugin
可用 — 实测通过,早期项目
A DSH ColorScheme Plugin 实测能干净安装、正常启动。早期项目,但功能可用。
「已验证」表示我们的自动化 CI 在干净 profile 里实际执行了 dsh plugin add 并启动成功——仅此而已。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。
README
color-schemes
A color-scheme plugin for the DSH web GUI. It registers a set of themes,
selectable from Settings > General > Color Scheme, and keeps hover popups
(tooltips, hover cards) consistent with the active theme.
Features:
- Seven built-in schemes: Catppuccin (Latte, Frappe, Macchiato, Mocha),
Everforest (Dark, Light), Nord. - The selected scheme persists across refresh and restart (localStorage,
keydsh.color-schemes.state). - Schemes are typed TypeScript data files in
schemes/; a script rebuilds
the client bundle. No UI code is touched when adding a scheme.
Install
The package is a bundle: package.json declares dsh.bundle.patch
(./cordis.patch.yml), so installing it in any profile activates the
plugin row automatically.
The package is not published to an npm registry yet. Two current
sources:
Git:
dsh plugin --profile web add github:hatanokokosa/dsh-colorschemes
Tarball (offline or self-hosted; generated with pnpm pack in the package
directory):
dsh plugin --profile web add ./color-schemes-1.0.0.tgz
Then restart dsh web; the Color Scheme row appears in
Settings > General. The built lib/ is committed in the repository, so
neither form needs a build step or build permission (a git install runs noprepare script, so no pnpm allowBuilds is required).
Remove with dsh plugin --profile web remove color-schemes.
Local development
Inside a profile (as in this repository) the package is linked as a file
dependency instead:
- Put this package at
web/ext/color-schemes. - Add to
web/package.json:"color-schemes": "file:./ext/color-schemes" - Add to
web/cordis.patch.yml:- insert: - id: color-schemes name: 'color-schemes' - Link the package into
web/node_modules(or run the profile's
package manager), then restartdsh web.
Add a scheme
See schemes/README.md. The short version: create
a new scheme file in schemes/, register it in schemes/index.ts, runnpm run build.
lib/client.js is generated and committed; running it requires no build
tooling. Building it requires Node >= 23.6 (native TypeScript type stripping)
plus the dev dependencies (npm install inside this package): npm run build
type-checks the sources with tsc and bundles src/client.ts + schemes/*.ts
with esbuild into the loader bundle.
Uninstall
For a bundle install: dsh plugin --profile web remove color-schemes.
For a file-dependency install: remove the patch row from the profile'scordis.patch.yml, the color-schemes entry from web/package.json, and
the web/node_modules/color-schemes link. The localStorage entry is inert
once the plugin is gone.
License
BSD-2-Clause
安装
装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:
dsh plugin add dshbase-catalog 然后对 agent 说「帮我装 dsh-colorschemes」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包。
该插件是 GitHub 源码(未发 npm)——直接从仓库装:
Web profile:
dsh plugin --profile web add github:hatanokokosa/dsh-colorschemes Headless(CLI)profile:
dsh plugin --profile headless add github:hatanokokosa/dsh-colorschemes 实测报告
验证通过:从 GitHub 源码完成 L1 安装 + L2 加载 + L3 运行(dsh 0.1.0-rc.6)。