dsh-exv-theme 0.0.0-stage → 2.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 VMW_HW
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,3 +1,112 @@
1
- # Temporary Holding Version
1
+ # DSH EXV Theme
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ **DSH EXV Theme** — 为 [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness) 制作的科幻 HUD 主题包:纯黑底 + 青色 HUD、分层视差背景、代码雨与扫描波、15 个 Live2D 主人物、可自定义的 HUD 组件。完全自包含,不依赖任何外部资源服务。
4
+
5
+ A self-contained sci-fi HUD theme pack for DeepSeek Harness: black-and-cyan HUD, layered parallax backdrop, code rain, 15 Live2D characters and a customizable HUD. Everything ships inside the package — no external asset server, no network calls.
6
+
7
+ <img width="2560" height="1440" alt="EXV theme screenshot" src="https://github.com/user-attachments/assets/81479d15-ee22-496d-b08e-70d3425adbcf" />
8
+ <img width="1164" height="761" alt="EXV theme screenshot" src="https://github.com/user-attachments/assets/6776baa6-0037-4aa7-81f3-ddfd19eb3fd9" />
9
+ <img width="1164" height="540" alt="EXV theme screenshot" src="https://github.com/user-attachments/assets/ebb79364-d4fb-4806-9ea1-cc9436a773c1" />
10
+ <img width="808" height="809" alt="EXV theme screenshot" src="https://github.com/user-attachments/assets/cb75588d-ba86-4986-bd5e-2e9e56d4cd84" />
11
+
12
+ ## 安装 / Install
13
+
14
+ 从 2.3.0 起这是一个标准的 DSH 插件包(一个安装入口,包含三个子插件)。
15
+
16
+ **图形界面(推荐)**
17
+
18
+ 侧边栏 **Plugins → Add plugin**,填入包名:
19
+
20
+ ```text
21
+ dsh-exv-theme
22
+ ```
23
+
24
+ **命令行**
25
+
26
+ ```bash
27
+ # 桌面端(Windows 客户端)
28
+ dsh plugin --profile desktop add dsh-exv-theme
29
+
30
+ # Web / CLI profile
31
+ dsh plugin --profile web add dsh-exv-theme
32
+ ```
33
+
34
+ 安装完成后重启 DSH(或按提示刷新页面)。主题会在 **Plugins** 页显示为一个 bundle,包含三行可单独开关的插件:
35
+
36
+ | 插件 | 作用 |
37
+ | --- | --- |
38
+ | `dsh-exv-cyan-theme` | 黑色 + 青色 HUD、背景编辑面板、组件系统、桌面模式 |
39
+ | `dsh-exv-parallax-bg` | 视差背景、代码雨 / 扫描波、15 个 Live2D 主人物 |
40
+ | `dsh-exv-flat-corners` | 去掉界面圆角 |
41
+
42
+ **离线安装包**
43
+
44
+ 不想用插件市场或 npm 时,下载 [Releases](../../releases) 里的 `DSH-EXV-Theme-<版本>.zip`,解压后双击 `install.cmd`。它会关闭 DSH、安装三个插件、更新 profile 并重新启动。两种方式装的是同一套代码。
45
+
46
+ **从 2.2.x 升级**
47
+
48
+ 2.2.x 的包名是 `@local/*`。请先卸载旧版,再按上面的方式安装 2.3.0;离线安装器会自动清理旧条目。
49
+
50
+ ## 功能 / Features
51
+
52
+ - **背景**:default / chips / cyberpunk / starsky / frankfurt 五种预设,可调节位移呼吸、亮度呼吸。
53
+ - **代码雨**:帧率 30/60、分辨率 720P/1K/2K、密度 25–200%、下落速度 25–200%,支持 2D/3D 扫描波与点击涟漪。
54
+ - **主人物**:关闭 / 静态(9 个立绘)/ 动态(15 个 Live2D 模型,入场 + 待机循环,眼神与头部跟随鼠标,待机时会偶尔瞟一眼屏幕中心)。
55
+ - **LOGO**:三种预设,可调大小与呼吸。
56
+ - **HUD 组件**:时间 / 峰谷状态 / 余额 / 剪贴板,可拖动、缩放、单独开关;余额支持本金与赠金明细、实时消耗速率。
57
+ - **其他**:桌面模式、拖拽照明、指针照明、方角界面(flat-corners)。
58
+
59
+ 配置保存在浏览器 `localStorage`(`dsh-exv-theme.config.v1`),面板左下角可一键恢复默认。
60
+
61
+ ## 系统要求 / Requirements
62
+
63
+ - Windows 10 / 11(x64)桌面端;Web 端同样可用。
64
+ - DeepSeek Harness `>= 0.2.2-rc.1 < 0.3.0`(`engines.dsh`)。
65
+ - 主题依赖宿主的内部 DOM 结构与类名,DSH 大版本升级后需要等主题跟进。
66
+
67
+ ## 权限与数据 / Permissions
68
+
69
+ - 不访问网络,不上传任何数据,不读写用户文件。
70
+ - 不调用系统命令,不修改宿主安装目录。
71
+ - 唯一写入的是 `localStorage` 里的主题配置;卸载后配置保留,可在设置里清除。
72
+
73
+ ## 卸载 / Uninstall
74
+
75
+ - **Plugins** 页找到 `dsh-exv-theme` → Remove;或
76
+ ```bash
77
+ dsh plugin --profile desktop remove dsh-exv-theme
78
+ ```
79
+ - 离线版:双击 `uninstall.cmd`。
80
+
81
+ ## 默认设置 / Defaults
82
+
83
+ - Live2D 帧率 120(30/60/90/120)
84
+ - 代码雨 60 FPS、2K、密度与速度 100%
85
+ - 拖拽照明强度 100%(滑条居中)
86
+ - 暂停策略:仅页面最小化时暂停;切到其他窗口继续运行
87
+
88
+ ## 已知限制 / Known limitations
89
+
90
+ - M4 SOPMOD II 4507 N/D 与 M4 SOPMOD II MOD 三个模型本身没有眼动参数,面板会自动隐藏眼动开关。
91
+ - 首次加载与冷切换 Live2D 模型需要解码资源,会有一瞬间卡顿;切换过的模型(LRU 2)可秒切。
92
+ - 2K + 120 帧对集成显卡有压力,可在面板里降档。
93
+ - 桌面模式只隐藏主对话流,输入框仍保留。
94
+ - 4K 全屏下扫描波峰值仍可能掉帧(2K 分辨率满帧)。
95
+
96
+ ## 从源码构建 / Build from source
97
+
98
+ `plugins/parallax-bg/client.js` 是约 40 MB 的构建产物,**不进 git**,只随 Release 和 npm 包分发。需要自行构建时见 [BUILDING.md](BUILDING.md):准备 `assets/`(图片与 Live2D 模型)和 `vendor/`(Cubism Core / Pixi / cubism4),然后运行
99
+
100
+ ```bash
101
+ node tools/build-parallax.mjs
102
+ ```
103
+
104
+ ## 许可证与第三方 / License
105
+
106
+ - 本项目自写的代码采用 [MIT](LICENSE) 许可。
107
+ - `parallax-bg` 内嵌的 Live2D Cubism Core、pixi.js、pixi-live2d-cubism4,以及《少女前线》的模型与美术素材**不在 MIT 范围内**,详见 [THIRD_PARTY_NOTICES.md](THIRD_PARTY_NOTICES.md)。
108
+ - 本项目是爱好者作品,与 Sunborn / MICA Team / Live2D 株式会社没有隶属或授权关系;角色素材仅供学习与个人测试,请勿用于商业用途。
109
+
110
+ ## 反馈 / Feedback
111
+
112
+ 请开 Issue,并附上 DSH 版本、Windows 版本、安装方式(npm / 离线包 / 源码自建)和相关日志。
@@ -0,0 +1,76 @@
1
+ # 第三方组件与素材声明 / Third-Party Notices
2
+
3
+ 本仓库**自写的代码**采用 MIT 许可证(见 [LICENSE](LICENSE))。
4
+ 下列第三方组件与素材**不在 MIT 授权范围内**,其版权与使用条件归各自权利人所有。
5
+
6
+ ## 0. 适用范围 / Scope
7
+
8
+ MIT 只覆盖本项目自写的源代码、构建脚本与文档;**不覆盖**插件产物里内嵌的第三方组件与角色素材,尤其包括:Live2D Cubism Core、pixi.js、pixi-live2d-cubism4,以及《少女前线》的模型与美术素材。它们仍归各自权利人所有,不在 MIT 下再授权。
9
+
10
+ > 这一段原先附在 LICENSE 末尾,导致 GitHub 把整个仓库识别为 "Other / NOASSERTION";现在只保留纯 MIT 正文,适用范围放在这里。
11
+
12
+ ---
13
+
14
+ ## 1. Live2D Cubism Core
15
+
16
+ - **内嵌位置**:`plugins/parallax-bg/client.js`(压缩后的 `Live2DCubismCore`)
17
+ - **版权**:`(C) 2019 Live2D Inc. All rights reserved.`
18
+ - **许可**:Live2D Proprietary Software License Agreement(专有软件许可协议)
19
+ - **协议全文**:<https://www.live2d.com/eula/live2d-proprietary-software-license-agreement_en.html>
20
+ - **文件内声明**:该文件对应协议中的 "Redistributable Code"(可再分发代码),授权声明原文保留在打包产物中,**请勿删除或修改**。
21
+
22
+ 使用与再分发时请注意(依据上述协议):
23
+
24
+ - 不得删除或改写产物中 Live2D 的版权、商标与许可声明(6.1 条);
25
+ - 不得对再分发代码适用 MIT 等「开放源码类许可证」(协议 5.3.2 条所指的 excluded license);
26
+ - 再分发需遵守协议的 5.2 条(保留主要功能、要求下游接受同等保护、原样再分发等);
27
+ - 如将本项目用于公开分发的衍生作品,请自行确认是否需要与 Live2D 签订「出版许可协议」;个人、小规模事业者与教育机构在协议 2.2 条下有豁免条件,具体以协议原文为准。
28
+
29
+ ---
30
+
31
+ ## 2. pixi.js
32
+
33
+ - **版本**:v6.5.10
34
+ - **内嵌位置**:`plugins/parallax-bg/client.js`
35
+ - **许可**:MIT License
36
+ - **版权**:Copyright (c) 2015-2021 Mat Groves / Goodboy Digital
37
+ - 产物内保留了原始 MIT 许可 banner。
38
+ - 项目主页:<https://github.com/pixijs/pixijs>
39
+
40
+ ---
41
+
42
+ ## 3. pixi-live2d-cubism4
43
+
44
+ - **版本**:1.3.2
45
+ - **内嵌位置**:`plugins/parallax-bg/client.js`
46
+ - **许可**:MIT License
47
+ - **作者**:guansss
48
+ - 项目主页:<https://github.com/guansss/pixi-live2d-cubism4>
49
+
50
+ ---
51
+
52
+ ## 4. Live2D 模型与角色素材
53
+
54
+ - **素材内容**:15 套 Live2D 模型(`.moc3`、WebP 贴图、全部 `motion3.json` 动作、`physics3.json`),内嵌于 `plugins/parallax-bg/client.js`。
55
+ - **来源**:手机游戏《少女前线》(Girls' Frontline)。
56
+ - **权利归属**:角色形象与模型资产版权归**上海散爆网络科技有限公司(Sunborn Network Technology)**及相关权利人所有。
57
+ - **使用范围**:本项目将其用于**学习、研究与个人测试**,**禁止任何商业用途**。
58
+ - **非官方声明**:本项目为爱好者作品,与 Sunborn / MICA Team / 云母组 **无任何隶属、授权或背书关系**。
59
+
60
+ ---
61
+
62
+ ## 5. 其他图像素材
63
+
64
+ `plugins/` 内嵌的背景图、LOGO、角色立绘与缩略图同样来自上述作品的公开素材,仅用于个人学习与展示,版权归原权利人所有。
65
+
66
+ ---
67
+
68
+ ## 6. 再分发提示
69
+
70
+ 如果你 fork、镜像或二次分发本项目:
71
+
72
+ 1. 请完整保留本文件与 `LICENSE`;
73
+ 2. 不要把 Live2D 模型素材用于商业产品或公开商业分发;
74
+ 3. 不要删除打包产物中的第三方版权与许可声明。
75
+
76
+ 如权利人认为本仓库中的任何素材存在不妥,请通过 Issue 联系,确认后会尽快移除相关内容。
@@ -0,0 +1,7 @@
1
+ - insert:
2
+ - id: parallax-bg
3
+ name: 'dsh-exv-parallax-bg'
4
+ - id: flat-corners
5
+ name: 'dsh-exv-flat-corners'
6
+ - id: cyan-theme
7
+ name: 'dsh-exv-cyan-theme'
package/icon.svg ADDED
@@ -0,0 +1,4 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64" fill="none">
2
+ <rect x="5" y="5" width="54" height="54" fill="#000000" stroke="#00fff0" stroke-width="4"/>
3
+ <path d="M20 20h24M20 32h18M20 44h24" stroke="#00fff0" stroke-width="4" stroke-linecap="round"/>
4
+ </svg>
package/index.js ADDED
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Umbrella bundle for the EXV theme pack.
3
+ *
4
+ * The Host half only declares the three plugin rows through cordis.patch.yml;
5
+ * every piece of runtime code lives in the dsh-exv-* sub-packages, so this
6
+ * package stays small and the sub-packages can be published and versioned on
7
+ * their own. Installing this package installs the whole theme.
8
+ */
9
+ export function apply() {}
package/locale/en.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "EXV HUD Theme",
4
+ "description": "Sci-fi cyan HUD theme pack: layered parallax backdrop, code rain, Live2D characters, and a customizable HUD."
5
+ }
6
+ }
package/locale/zh.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "EXV 科幻 HUD 主题包",
4
+ "description": "黑青科幻 HUD 主题包:视差背景、代码雨、Live2D 主人物,以及可自定义的 HUD 组件。"
5
+ }
6
+ }
package/package.json CHANGED
@@ -1,6 +1,49 @@
1
1
  {
2
2
  "name": "dsh-exv-theme",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
3
+ "version": "2.3.0",
4
+ "type": "module",
5
+ "description": "Sci-fi cyan HUD theme pack for DeepSeek Harness: layered parallax backdrop, code rain, Live2D characters, and a customizable HUD.",
6
+ "license": "MIT",
7
+ "author": "VMW_HW",
8
+ "exports": {
9
+ ".": "./index.js"
10
+ },
11
+ "files": [
12
+ "index.js",
13
+ "cordis.patch.yml",
14
+ "locale/*.json",
15
+ "icon.svg",
16
+ "README.md",
17
+ "THIRD_PARTY_NOTICES.md"
18
+ ],
19
+ "keywords": [
20
+ "dsh",
21
+ "deepseek-harness",
22
+ "dsh-plugin",
23
+ "theme",
24
+ "hud",
25
+ "live2d",
26
+ "cyberpunk"
27
+ ],
28
+ "engines": {
29
+ "dsh": ">=0.2.2-rc.1 <0.3.0"
30
+ },
31
+ "repository": {
32
+ "type": "git",
33
+ "url": "git+https://github.com/VMWHW/dsh-exv-theme.git"
34
+ },
35
+ "homepage": "https://github.com/VMWHW/dsh-exv-theme#readme",
36
+ "bugs": {
37
+ "url": "https://github.com/VMWHW/dsh-exv-theme/issues"
38
+ },
39
+ "dependencies": {
40
+ "dsh-exv-cyan-theme": "2.3.0",
41
+ "dsh-exv-parallax-bg": "2.3.0",
42
+ "dsh-exv-flat-corners": "2.3.0"
43
+ },
44
+ "dsh": {
45
+ "bundle": {
46
+ "patch": "./cordis.patch.yml"
47
+ }
48
+ }
6
49
  }