@lengduan/dsh-client-ui-skin-815 0.1.6 → 0.1.7
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/CHANGELOG.md +4 -0
- package/README.md +6 -6
- package/lib/client.js +2 -21
- package/package.json +1 -1
- package/skin.json +1 -1
- package/src/client/art.generated.ts +0 -1
- package/src/client/index.ts +4 -23
- package/src/client/vj815.module.css +0 -18
- package/tests/apply.spec.ts +6 -0
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
这个懂的都懂,不得的先欣赏世界名画
|
|
4
4
|

|
|
5
5
|
|
|
6
|
-
DeepSeek Harness **Web GUI** 史料皮肤。对话区底图是陈坚油画《公元一九四五年九月九日九时》:1945-09-09
|
|
6
|
+
DeepSeek Harness **Web GUI** 史料皮肤。对话区底图是陈坚油画《公元一九四五年九月九日九时》:1945-09-09 南京受降,日军代表弯腰递交投降书。
|
|
7
7
|
|
|
8
8
|
加载即生效,卸载即还原 DOM / CSS / `document.title`。不改会话、不调模型、不访问网络。
|
|
9
9
|
|
|
@@ -20,7 +20,7 @@ DeepSeek Harness **Web GUI** 史料皮肤。对话区底图是陈坚油画《公
|
|
|
20
20
|
|
|
21
21
|
## Overview
|
|
22
22
|
|
|
23
|
-
**解决什么:** Web UI 默认浅色/默认底换成 1945
|
|
23
|
+
**解决什么:** Web UI 默认浅色/默认底换成 1945 终战史料外观(油画底、选中会话青天白日小旗、标题栏品牌)。
|
|
24
24
|
|
|
25
25
|
**适合谁:** 本机跑 `dsh web` / `--profile web`、只想换皮的人。
|
|
26
26
|
|
|
@@ -64,7 +64,7 @@ dsh plugin --profile web update @lengduan/dsh-client-ui-skin-815
|
|
|
64
64
|
dsh plugin --profile web remove @lengduan/dsh-client-ui-skin-815
|
|
65
65
|
```
|
|
66
66
|
|
|
67
|
-
依赖和 `dsh.profile.bundles` 层一并拿掉。重启 `dsh web` 后不应再有 `data-dsh-815
|
|
67
|
+
依赖和 `dsh.profile.bundles` 层一并拿掉。重启 `dsh web` 后不应再有 `data-dsh-815`、内嵌油画。
|
|
68
68
|
|
|
69
69
|
固定版本:用 commit / tag,不要依赖会漂移的未钉死分支。建议先在隔离 profile 试加载,再进日常 web profile。
|
|
70
70
|
|
|
@@ -72,7 +72,7 @@ dsh plugin --profile web remove @lengduan/dsh-client-ui-skin-815
|
|
|
72
72
|
|
|
73
73
|
1. `pnpm build` 且 `dsh plugin --profile web add .` 成功。
|
|
74
74
|
2. `dsh web`,打开 GUI。
|
|
75
|
-
3. 最小验收:`document.body` 有 `data-dsh-815
|
|
75
|
+
3. 最小验收:`document.body` 有 `data-dsh-815`;对话区能看见南京受降油画;侧栏不出现诏书缩略;点卸载/禁用后上述全部消失。
|
|
76
76
|
|
|
77
77
|
无需额外配置文件、无需环境变量。
|
|
78
78
|
|
|
@@ -86,10 +86,10 @@ dsh plugin --profile web remove @lengduan/dsh-client-ui-skin-815
|
|
|
86
86
|
|
|
87
87
|
| 面 | 行为 |
|
|
88
88
|
|---|---|
|
|
89
|
-
| 网络 |
|
|
89
|
+
| 网络 | 无。底图在构建期 embed 进 client bundle(data URL) |
|
|
90
90
|
| 文件系统 | 运行时不读用户文件;构建读本仓 `assets/` |
|
|
91
91
|
| 凭据 / 会话 | 不读 token、密钥、聊天内容 |
|
|
92
|
-
| DOM | 写 `body` 样式与 `data-dsh-815
|
|
92
|
+
| DOM | 写 `body` 样式与 `data-dsh-815`;插入标题栏品牌、宽度 stylesheet;给选中会话行打 `data-vj-session*` |
|
|
93
93
|
| 权限模型 | `dsh.client.inject` 为空;不申请宿主服务 |
|
|
94
94
|
|
|
95
95
|
卸载走 Cordis `ctx.effect` 销毁器:断 observer、还原 style、删 `data-skin-owner="815"` 节点、清会话标记。
|