判断:中立·待定
公开资料档案资料核验:2026-09-04

Client UI Theme

dsh-client-ui-theme

Theme plugin: ThemeRuntime over the --dsw-* token base stylesheets (static scale + alias semantic layers).

AI 能力插件clientclient-ui-theme
主体国家
未核实
国家/地区待核实
类型
插件
client
形态
插件
用户或 Agent 怎么用它
版本
0.1.1-rc.2
能力包版本
分发
open_source
安装分发方式
访问环境
尚未核实
资料置信度
80/100
资料参考,不是实效评分
↳

插件安装与启用

确认宿主平台、安装位置和启用步骤,再查看安装后增加的能力。

宿主平台
待补充
安装位置
待补充
安装步骤
待补充
启用方式
待补充
增加的能力
待补充
所需权限
待补充
限制与边界
待补充
01

先看适用边界

来源资料与任务效果分开判断。

资源类型
插件
主体国家/地区
未核实
主体国家/地区尚未核实
适用平台
DeepSeek Harness
任务实效
暂无任务实测结论

审核通过不等于官方出品。安装前请核对实际作者、所需权限、平台版本与运行成本。

Theme plugin: ThemeRuntime over the --dsw-* token base stylesheets (static scale + alias semantic layers). The service owns the live theme preference (`light`/`dark`/`system`), resolves `system` through `prefers-color-scheme`, and publishes immutable `ThemeSnapshot`s on the `theme/change` event; it never touches the DOM — ui-layout's presenter applies the resolved snapshot (`html { color-scheme }`, `body[data-ds-dark-theme]`, and inline alias tokens). A loopback browser provides the service immediately with `system`, then loads `ui-theme.preference` in the background and writes each built-in selection through the Host settings API, whose local provider stores it in `$DSH_HOME/settings.yaml` by default; pushed settings changes and reconnects refetch it, rapid selections are serialized in gesture order with namespace revisions, and a rejected latest write reloads the durable value. A remote browser cannot access the privileged settings API, so its selection remains process-local. Third-party registered theme ids remain an in-process extension and do not cross the built-in settings schema; removing one never overwrites the last durable built-in preference. The [Host-backed preferences decision](../../../.agents/notes/implemented/bug-fix/2026-08-06-host-backed-web-preferences.md) owns the persistence boundary.

02

能力

它能让 Agent / 使用者做什么。

  • 适用 Agent:DeepSeek Harness
  • 适配模型:DeepSeek
03

安装与获取

可复现安装方式。

@deepseek-ai/dsh-client-ui-theme

04

来源与核实

保留来源、时间与置信度,供回溯。

来源
DeepSeek Harness 官方 npm @deepseek-ai/dsh(源码仓库 github.com/deepseek-ai/deepseek-harness)
核实日期
2026-09-04
许可证
MIT
05

实效证据

来源可信不等于任务有效。

暂无通过审核、可复现的同任务 A/B 运行证据;本档案仅证明来源可信,不代表实测有效。

关注效率派公众号

效率派 TruePick 公众号二维码

使用微信扫一扫关注