dsh-client-ui-theme-presets
Verified@tawny/dsh-client-ui-theme-presets · v0.1.0 · MIT · Web UI
Solarized and future style presets for the DeepSeek Harness client UI
Install
dsh plugin add @tawny/dsh-client-ui-theme-presets Confirm the layer applied with dsh --profile default --dump-config — see the install guide.
Source
Tags
Creators
Readme
description: "为 DeepSeek Harness Web Profile 添加可选的 Solarized 样式预设。" kind: "package-bundle"
@tawny/dsh-client-ui-theme-presets
English | 中文
简介
这个 bundle 会在 DeepSeek Harness Web Profile 的 设置 → 通用设置 中加入 主题 选择器。 Solarized 是样式预设,和 DSH 自带的明暗外观偏好相互独立。 安装到 Profile 后选择 Solarized,客户端会按当前明暗模式应用对应的 token 组。 当前版本仅提供 Default 和 Solarized,不注册模型工具或 Host 服务。
目录
使用这个包
安装到 Web Profile
将已发布的包安装到 web Profile:
npx @deepseek-ai/dsh plugin --profile web add @tawny/dsh-client-ui-theme-presets
DSH 会识别包的 dsh.bundle 声明,并将其 patch 加入 Profile 的组合层栈。
安装后重启 DSH,使客户端 bundle 从已安装的包重新启动。
选择 Solarized
打开 设置 → 通用设置 → 主题,然后选择 Solarized。
选择会保存为 ui-theme-style.selectedTheme;外观设置仍只控制浅色、深色或跟随系统。
从 Profile 移除
npx @deepseek-ai/dsh plugin --profile web remove @tawny/dsh-client-ui-theme-presets
移除依赖也会移除对应的 Profile 层。重启 DSH 后,客户端贡献会卸载。
了解实现方式
实现细节 — 点击展开
cordis.patch.yml 插入一个 Client 行。包清单声明所需的 DSH Client bundle,src/client/index.ts 在 Appearance 后注册一个附加的 settings.general.item 行。
src/client/preset-controller.ts 拥有一个受生命周期管理的主题覆盖层,src/solarized.ts 保存 Solarized token 映射。
延伸阅读
模型体验
这个 bundle 不提供模型可调用的工具,只添加客户端偏好与 token 覆盖层。
已知限制与延后工作
- 此 bundle 面向本包声明的 DSH Web Client API,当前版本为
0.1.2-alpha.3。 - 版本
0.1.0仅提供 Default 和 Solarized。 - 此 bundle 不提供自定义主题编辑器,也不提供导入导出格式。