ymh0000123/dsh-theme-endfield
终末地官网风格的 DSH Web 主题:奶油纸底、墨黑文字、信号黄强调、全直角工业编辑风。
Project Overview项目介绍
This is a web theme plugin built exclusively for DeepSeek Harness (DSH), modeled after the official website design of Arknights: Endfield. It features a cream paper base, dark ink text, accent colors of signal yellow and Wuling green, and a full right-angle industrial editing aesthetic. It runs only on the client side, modifying the interface via theme tokens and style overrides without changing any core DSH application code. To install it, users run the command dsh plugin --profile web add github:ymh0000123/dsh-theme-endfield via the DSH CLI, then restart or reload the DSH web profile to activate it.
The theme is targeted at DSH users who prefer the Arknights: Endfield visual style. After installation, all customizable settings are accessible through the DSH settings menu under the "Endfield Theme Settings" section. Users can toggle the theme on or off, switch between color schemes, adjust corner rounding, toggle contour background, set animation FPS, adjust contour speed, enable or disable watermarks, startup animations, and large title entrance animations. All settings are persisted via DSH's native persistent settings namespace, working correctly on both DSH Web and DSH Desktop without configuration loss from port changes.
The plugin is released under the open source MIT license, and follows accessibility best practices by respecting the system "reduce motion" setting. All animation frame rates and speeds can be adjusted independently by the user, and all setting text is available in both English and Chinese. The repository includes full documentation covering design language, feature behavior, engineering implementation details, and testing protocols, plus developer scripts for static style checks and self-testing. Partial browser-based testing requires a full local installation of Chrome or Edge to run and complete successfully.
这是一款参考《明日方舟:终末地》官网风格制作的DSH网页主题原生插件,采用奶油纸底、墨黑文字、信号黄与武陵青强调色,打造全直角工业编辑风格。插件仅在客户端运行,通过主题令牌和样式覆盖修改界面,不改动应用本身代码,可通过DSH命令行工具安装,重启或重载web配置文件后即可生效。
这款主题面向喜欢《明日方舟:终末地》设计风格的DSH用户,安装后可在DSH的「设置 › 终末地主题设置」面板调整多项参数,包括主题总开关、配色方案、边角风格、等高线背景、动画帧率、等高线速度、背景水印、启动动画、标题动画等。所有设置通过DSH持久化命名空间保存,同时支持DSH Web和DSH Desktop,不会因端口变动丢失配置。
该插件开源遵循MIT许可证,所有动态效果尊重系统「减少动态效果」的无障碍设置,帧率和动画速度可独立调整,设置文案同时支持中英文。仓库包含完整的设计规范、功能说明、工程笔记和测试文档,还附带静态校验和自检脚本供开发者使用,部分浏览器测试需要本机安装Chrome或Edge浏览器。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-theme-endfield(ymh0000123/dsh-theme-endfield)
仓库:https://github.com/ymh0000123/dsh-theme-endfield
本站详情页:https://www.yhbd.top/plugins/ymh0000123-dsh-theme-endfield/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证 MIT · ⭐ 120 · 最近提交 2026-10-03 · 主语言 JavaScript
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【1 兼容性检查】
① 我这边:DSH 版本、Node 版本、操作系统、当前 profile(web / desktop)。
② 读它的 README、package.json、插件 manifest,列出它要求的 DSH 版本 / Node 版本 / 操作系统 / 外部依赖 / 需要另外先装的运行时。
③ 逐条比对,结论只写「满足 / 不满足 / 未知」三种;不满足的给出可行替代方案。
④ 检查是否和我已装的插件冲突:命令名重复、skill / tool 重名、端口占用、重复注册的 MCP server。
【2 安全性检查】
① 仓库可信度:和上面「本站登记」是否一致;star / fork 数、创建时间、最近提交,是否归档或长期停更。
② 安装脚本:逐行看 package.json 的 preinstall / install / postinstall,以及 install.sh、setup.ps1 之类脚本。出现 curl|bash、下载后直接执行、混淆代码、访问与插件功能无关的域名,立刻停下来告诉我,不要继续装。
③ 依赖:列出新增依赖,标出无人维护、或与知名包拼写近似的可疑包(typosquatting)。
④ 权限与副作用:它会读写哪些目录、访问哪些域名、需要哪些 DSH 权限(filesystem / network / shell / clipboard 等),以及怎么卸载和回滚。
⑤ 如果它要求 sudo / 管理员权限,或权限明显超出功能所需,先停下来问我。
【3 安装】
上面两步没有「不满足」和「高危项」时才执行;用官方推荐方式安装,不要自行提权。
【4 汇报】
用表格输出:检查项 / 结论 / 依据 / 是否需要我决策。拿不准的一律写「未知」并说明要我怎么确认——不要猜,也不要替我决定。
Send this message to DSH in your current session: it verifies compatibility and security first (answering met / not met / unknown item by item) and only installs once everything checks out — it will stop and ask you if it finds a high-risk item. The box scrolls; the copy is the full prompt. CLI install commands may not be accurate across systems, so DSH is the safer route.把上面这条消息直接发给当前会话里的 DSH:它会先核对兼容性与安全性(逐条给「满足 / 不满足 / 未知」),确认没问题再安装,有高危项会停下来问你。框内可滚动,复制到的是完整提示词;安装命令不一定准确,发给 DSH 更稳。
- This site's static screen found no obvious risk signal (stars, license, activity, manifest)本站静态筛查没发现明显风险信号(星标、许可证、更新活跃度、清单完整度)
DSH walks through these 9 checksDSH 会逐条核对这 9 项
Compatibility兼容性
- DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
- External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
- Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册
Security安全性
- Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
- Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
- curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
- Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
- Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
- Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式
Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。
Or use CLI install (for developers)或使用命令行安装(适合开发者)
CLI Install命令行安装
dsh plugin --profile web add github:ymh0000123/dsh-theme-endfield
把 ymh0000123/dsh-theme-endfield 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
dsh-theme-endfield
参考《明日方舟:终末地》官网风格的 DSH Web 主题插件。
奶油纸底、墨黑文字、信号黄/武陵青强调色、全直角工业编辑风。Client 侧(client.js)通过主题令牌和样式覆盖界面;Host 侧(index.js)负责设置持久化与可选的音频通知(派生系统播放器子进程),均不修改应用代码。
版本支持
| DSH | 设置持久化 | 备注 |
|---|---|---|
| 0.2.x(在 0.2.0-rc.2 上实测) | Host 导出 Config,浏览器 ctx.configForms |
当前支持目标 |
| 0.1.7 – 0.1.x | 同一套 Config/configForms 接缝 | 无需改动 |
| ≤ 0.1.5 | ctx.settings.register + ctx.settingsScope |
自动回落,无需配置 |
0.2 改动了三处本插件依赖的应用侧细节,本次已跟进(都验证过「旧写法在 0.2 上静默失效」):
- 回合状态标签(“Deep diving…”)从
@deepseek-ai/dsh-client-ui-conversation的渐变文字搬到@deepseek-ai/dsh-client-ui-chat的遮罩扫光文字,不再有turnStatus类名,着色改由--dsw-alias-label-deep-diving/-shimmer两个令牌承担,所以旧规则已删除、改在theme.overrideTokens层换色(实测:留着旧规则时该令牌仍是应用自带值,标签完全没有主题色); - 右侧栏列名由
_detailsCol改为_rightbarCol,且不透明底色移到列元素本身——等高线图层在右侧栏打开时不会再被整块盖住; - 插件卡片展示文案改由
locale/<语言>.json的meta.title/meta.description提供;package.json的dsh.client.inject也不再列 0.2 已删除的@deepseek-ai/dsh-client-runtime与@deepseek-ai/dsh-client-ui-slots(改为列出 0.2 真正的提供方)。
安装
dsh plugin --profile web add github:ymh0000123/dsh-theme-endfield
重启或重新加载 web profile 后生效。更新插件文件时注意:Client 半(client.js)由 Host 按请求从磁盘读取,浏览器刷新即可生效;Host 半(index.js)只在 profile 启动时 import 一次,必须整进程重启 DSH 才会重新加载(dsh-hmr 的 watch 默认忽略 **/node_modules,软链安装的仓库文件不在其观察范围内)。只刷新页面时,运行的仍是启动时那份 Host 代码。卸载:
dsh plugin --profile web rm dsh-theme-endfield
功能
在 设置 › 终末地主题设置 中调整:
- 主题总开关、谷地黄/武陵青配色、直角/圆角模式;
- 等高线背景、动态开关、
24 / 60 / 120 FPS; - 等高线速度
1x / 2x / 4x; - 可选鼠标轨迹:鼠标附近的等高线局部变形并逐渐恢复,默认关闭;
- 背景水印及持续显示;
- 启动加载动画;
- 雷霆大字及入场动画;
- 顶部余额胶囊:悬浮显示 DeepSeek API 余额与峰谷时段(高峰为工作日
9-12点、14-18点;周末、法定节假日与落在周末的调休日都按低谷半价),默认关闭;会话使用 dsh-codearts-auth 渠道模型时自动切换为该渠道的剩余额度与积分消耗进度,随渠道切换实时跟随,主读数可在设置中选择显示剩余或已用(详见 docs/features.md「渠道额度模式」); - 可选音频通知:启动音、任务开始/结束音、需要回应时提示,音量与自定义音效目录可调(默认关闭,详见 docs/audio-notifications.md)。
所有设置由 DSH 自己的设置服务持久化,与页面 origin/端口无关:在 DSH 0.2.0-rc.2 / 0.1.7-rc.1 及以后,Host index.js 导出一份字段全部 .volatile() 的 schemastery Config(命名空间 = 本插件 profile entry id theme-endfield),浏览器 client.js 通过 ctx.configForms 读写并订阅,值随 <profile>/cordis.patch.yml 落盘;在更旧的 DSH(≤ 0.1.5) 上则回落到 ctx.settings.register('dsh-theme-endfield', schema) + ctx.settingsScope(<dshHome>/settings.yaml)。两代都与页面 origin 无关,因此 DSH web 与 DSH Desktop 都能正确保存并在重启/换端口后恢复,不再使用会被 Desktop 随机端口清空的 localStorage。详见 docs/features.md 与 docs/engineering-notes.md;0.1.7 升级后旧设置需要在设置页重设一次(settings.yaml 已被 DSH 废弃,见 engineering-notes.md § DSH 0.1.7-rc.1 换掉了整套 settings API)。设置文案支持中英文;动态等高线尊重系统「减少动态效果」,动画帧率和速度可独立调整。
Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →
Small-tailqwq/dsh-deep-whale
d-dev0101/open-sea-skin
kingOfSoySauce/dsh-liang-skin
RevolutionLA/dsh-dream-skin
Fishquito7/dsh-skill-mcp-panel
01Virex/dsh-status-rotator
SLin-code/dsh-custom-skin
XieRW/dsh-beauty-skins