dsh-zed-space 0.0.0-stage → 1.0.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.
Files changed (40) hide show
  1. package/CHANGELOG.md +216 -0
  2. package/LICENSE +22 -0
  3. package/README.en.md +97 -0
  4. package/README.md +96 -2
  5. package/README.zh.md +97 -0
  6. package/SECURITY.md +57 -0
  7. package/THIRD_PARTY_NOTICES.md +40 -0
  8. package/cordis.patch.yml +6 -0
  9. package/docs/market-integration.md +71 -0
  10. package/docs/video-background.md +49 -0
  11. package/native-dist/README.md +31 -0
  12. package/native-dist/cosmos.html +19 -0
  13. package/native-dist/cosmos.js +600 -0
  14. package/native-dist/icons/icon128.png +0 -0
  15. package/native-dist/loader.js +2193 -0
  16. package/native-dist/ocean.js +732 -0
  17. package/native-dist/skin.html +28 -0
  18. package/native-dist/skins/accretion.js +256 -0
  19. package/native-dist/skins/horizon.js +17 -0
  20. package/native-dist/skins/vortex.js +15 -0
  21. package/native-dist/styles.css +367 -0
  22. package/native-dist/vendor/addons/controls/OrbitControls.js +1 -0
  23. package/native-dist/vendor/addons/tsl/display/BloomNode.js +1 -0
  24. package/native-dist/vendor/fonts/geist-mono-latin-400.woff2 +0 -0
  25. package/native-dist/vendor/fonts/geist-sans-latin-400.woff2 +0 -0
  26. package/native-dist/vendor/fonts/geist-sans-latin-500.woff2 +0 -0
  27. package/native-dist/vendor/licenses/geist-OFL.txt +88 -0
  28. package/native-dist/vendor/licenses/three-LICENSE.txt +21 -0
  29. package/native-dist/vendor/three.core.js +44 -0
  30. package/native-dist/vendor/three.tsl.js +5 -0
  31. package/native-dist/vendor/three.webgpu.js +394 -0
  32. package/native-dist/video-media.js +137 -0
  33. package/native-dist/video.html +11 -0
  34. package/native-dist/video.js +241 -0
  35. package/package.json +89 -4
  36. package/plugin/client.js +2455 -0
  37. package/plugin/index.js +83 -0
  38. package/plugin/locale/en.json +6 -0
  39. package/plugin/locale/zh.json +6 -0
  40. package/plugin/market-server.js +181 -0
package/CHANGELOG.md ADDED
@@ -0,0 +1,216 @@
1
+ # Changelog
2
+
3
+ 本文件记录 Zed Space Skin 及其 Backspace 历史变更。Zed Space Skin 从 1.0.0 开始独立编号;Backspace 的历史版本号和本地候选记录保留原含义。
4
+
5
+ ## Zed Space Skin 1.0.0 — 2026-10-28
6
+
7
+ - 展示名改为 Zed Space Skin;包、插件和新仓库标识为 `dsh-zed-space`。
8
+ - 保留 Open Sea Skin / Backspace 来源与许可,旧存储键和视频数据库名称保持兼容。
9
+ - Git tag 从 `v1.0.0` 重新开始;npm、Release 与社区市场进度见[发布记录](docs/publishing/releases/1.0.0.md)。视频市场当前仅支持本地服务。
10
+ - 插件列表、皮肤设置入口和面板使用统一的 Zed Space 产品图标,列表展示名为 Zed Space Skin。
11
+ - 根目录 bundle 提供多背景;旧 React 源码集成仍只接海洋。
12
+
13
+ ### 本地视频市场接入
14
+
15
+ - 发现页无法连接时说明公网平台尚未上线,提供返回本地视频和重试入口。
16
+ - 导入和发现入口并排显示小图标,视频移除增加二次确认。
17
+ - 本地视频与内置皮肤、不同视频之间统一渐变过渡,完成后释放旧画面与媒体资源。
18
+
19
+ - DSH 插件新增全窗口官方画廊入口,复用市场搜索与详情;返回或 Esc 关闭后恢复入口焦点。
20
+ - 从可信签名目录下载视频,校验字节数、SHA-256 与现有视频兼容性后加入「我的视频」;用户显式应用后返回 DSH。
21
+ - 同一来源复用已有素材并保留重命名;取消会停止尚未入库的下载,已完成的副本可保留,下载不会自动应用。
22
+ - 保持 32 MiB、30 秒、1080p 限制和现有 IndexedDB 隔离;嵌入模式不回退浏览器下载,独立网站保留下载功能。
23
+ - 当前市场、目录与媒体仅接固定本地服务;[接入说明](docs/market-integration.md)记录安装步骤、网络边界及验证范围,原生 Electron 尚未验证。
24
+
25
+ ### 本地视频素材列表
26
+
27
+ - 新增第四个「本地视频」入口,支持多选导入、缩略图列表、单选启用、重命名及单项移除。
28
+ - 素材和选择仅在本机 IndexedDB 保存,重启恢复;扩展路径按宿主 origin 隔离,不同步视频内容。
29
+ - 检查实际容器、编码、大小、分辨率与时长;错误可见,播放或存储失败时回退海面。
30
+ - 静音循环播放,遵守总开关、页面可见性和减少动态设置;未新增运行时依赖。
31
+
32
+ ### 设置面板
33
+
34
+ - 更新设置入口、深浅色面板、逐项帮助提示及键盘操作;窄屏内容可滚动。
35
+ - 各皮肤独立保存效果参数、自动光影和通用配置,迁移旧设置并保留原值。
36
+ - 恢复默认仅作用于当前皮肤,先显示标题与确认按钮;切换时同步中间区域高度。
37
+
38
+ ### 日常背景开销
39
+
40
+ - 宇宙背景在静稳工作状态采用 10 FPS 帧预算,设置预览、视角切换、视差和点击效果的活跃阶段恢复完整帧预算;不缩放流动速度、亮度或任何可调参数,保留原生清晰度。
41
+ - 海面与宇宙切换时保留旧画面,目标首帧就绪后交叠并释放旧 iframe;视频切回内置皮肤也保留画面直到目标准备完成。减少动态效果时缩短交叠,重复入口不接管已有界面。
42
+ - 过滤零强度及重复交互消息,消息流新增内容不再反复触发入口定位;保留锚点迟到、替换和窗口调整的定位行为。
43
+
44
+ ### Backspace 1.3.0-rc.1 本地候选记录
45
+
46
+ - 将事件视界与吸积涡旋的八项共享参数接入正式插件,切换视角保留参数和同一画布;迁移已有配置并保留旧记录。
47
+ - 优化宇宙渲染调度:静止画面按需绘制,高刷新屏的装饰动画限制为 30 FPS;保留原生 Retina 分辨率和原有着色器视觉。
48
+ - 减少逐帧参数归一化,补充参数迁移、插件生命周期和渲染唤醒回归。
49
+ - 本版本用于本地 Desktop 验证,未发布到 npm。
50
+
51
+ ### Changed
52
+
53
+ - 事件视界与吸积涡旋合并为一个吸积场景:共享星空、光线积分与辉光,保留紫红侧视和铜金俯视的视觉标定,并以约 2.2 秒连续切换。
54
+ - 本地宇宙预览页提供两种视角和同一组八项参数;切换保留调参,支持中途反向、暂停补帧和减少动态效果。现有旧参数入口保持兼容。
55
+ - 提升宇宙皮肤的 Retina 分辨率、近缘光弧采样和自适应画质恢复;补充浏览器回归检查。
56
+
57
+ - **New code-level defaults**, matching the shipped skin baseline: sea state
58
+ **50**, daylight **55** (afternoon), glass opacity **70%**, automatic day
59
+ cycle on, and the independent conversation background **on at 90%**. Earlier
60
+ installs keep their saved values; the new defaults apply to fresh installs
61
+ and to the panel's "Reset to defaults" button, whose note now names them.
62
+
63
+ ### Added
64
+
65
+ - **Independent conversation background** in the skin settings panel. A
66
+ switch reveals a slider that sets the center conversation column's own
67
+ opacity from **40% to 100%**; 100% is indistinguishable from unthemed Harness
68
+ because the paint is derived from Harness's own
69
+ `--dsw-static-neutral-bluish-*` palette and only scaled by `color-mix()`.
70
+ With the switch off the conversation follows the workspace glass, exactly as
71
+ before, and the sidebars and details columns keep that glass in both modes.
72
+ On by default at 90%; stored as `bsChatCustom` / `bsChatOpacity` (localStorage) and
73
+ `skinChatCustom` / `skinChatOpacity` (extension sync storage). The control is
74
+ wired through all install paths: DSH bundle, static installer and MV3
75
+ extension.
76
+
77
+ ### Fixed
78
+
79
+ - Floating Harness surfaces no longer inherit the workspace glass opacity.
80
+ Harness paints its hover preview cards — including the edited-file diff
81
+ popover — with `--dsw-alias-bg-layer-1`, and dialogs and floating dock
82
+ windows with `--dsw-alias-bg-layer-2`. Both are opaque in Harness's own
83
+ palette, but the skin had overridden them with the glass alpha, so page
84
+ content showed through the preview card's diff text. They now keep a
85
+ near-opaque `ELEVATED_ALPHA` (0.97, the same value the settings dialog
86
+ already used) while `--dsw-alias-bg-base` still follows the glass setting.
87
+ - The community desktop details column no longer composites two nested
88
+ translucent fills when the independent conversation background is on.
89
+
90
+ ## 1.2.6 — 2026-10-20
91
+
92
+ ### 修复 / Fixed
93
+
94
+ - 将浮层背景与工作区玻璃值分离:插件广场使用的 overlay token 保持 97% 不透明度。
95
+ - 语义 dialog / alertdialog 与设置弹窗使用独立可读底色,覆盖 body portal 中的二级插件配置弹窗;不改遮罩、层级和海洋效果。感谢 #16 的复现信息。
96
+ - Keep overlay tokens and semantic modal cards legible independently of workspace glass opacity, including sibling-portalled plugin configuration dialogs.
97
+
98
+ ### 验证范围 / Verification scope
99
+
100
+ - macOS / Windows 页面结构、浅深色、40% / 90% 工作区玻璃组合回归;确认工作区透明度与 shell overlay 不变,停用后样式清除。
101
+ - 核对官方 Harness 0.2.1-rc.2 安装文档及 Modal 结构。不是 Windows 原生安装或该新版完整实机兼容认证。
102
+ - 中文安装指引明确 npm 插件优先、社区市场可选、浏览器扩展不适用于桌面客户端。Logo 未修改。
103
+
104
+ ## 1.2.5 — 2026-10-10
105
+
106
+ ### Fixed
107
+
108
+ - Official DeepSeek Harness Desktop `0.2.0-rc.2` now paints one glass layer
109
+ across the sidebar, conversation, and rightbar. The conversation's nested
110
+ background no longer compounds opacity, while the composer remains readable.
111
+ - Official Desktop Settings stays opaque enough to read when workspace glass
112
+ is set to its minimum 40%.
113
+
114
+ ### Tested
115
+
116
+ - Installed the release package into an isolated official macOS Desktop
117
+ `0.2.0-rc.2` profile with its bundled CLI and visually verified the shell.
118
+ - Added a 0.2.x shell regression fixture for macOS/Windows structure in light
119
+ and dark modes. Windows is fixture-tested, not native Windows E2E-tested.
120
+
121
+ ### Documentation
122
+
123
+ - Clarified the Desktop install path and distinguished the GitHub release from
124
+ the older npm package currently available through registries.
125
+
126
+ ## 1.2.4 — 2026-09-09
127
+
128
+ ### Fixed
129
+
130
+ - Quick controls follow asynchronous Harness document-language changes in both
131
+ Chinese and English, including accessibility labels, without losing focus or
132
+ control state. The observer is removed on disposal. Thanks to @Max-Null for
133
+ reporting the issue in #6; the fix lives in the shared source and all generated
134
+ install targets.
135
+
136
+ ### Documentation
137
+
138
+ - Recommend the prebuilt npm package to avoid Git transport failures during
139
+ installation; explain why a `git ls-remote` error is not proof of a blocked
140
+ build script (#8).
141
+
142
+ ## 1.2.3 — 2026-09-07
143
+
144
+ ### Fixed
145
+
146
+ - DSH Desktop advanced and extended layouts now paint a single shared glass
147
+ background. The sidebar, conversation and details panes no longer differ
148
+ in opacity due to transparent sidebar overrides and stacked conversation fills.
149
+ - Composer cards and dialogs retain their own backgrounds. Disabling or
150
+ unloading Backspace restores the desktop's original styles.
151
+
152
+ ### Tested
153
+
154
+ - Desktop shell regression based on DSH Desktop Beta `2.0.5-beta.1`: 24
155
+ combinations of layout, native material, light/dark mode and glass opacity,
156
+ plus settings, text input, disable/re-enable and disposal in Chromium.
157
+ - The old `1.2.2` bundle fails this regression: at 40% glass the sidebar's
158
+ effective opacity is 0%, while nested conversation fills reach 64%.
159
+
160
+ ## 1.2.2 — 2026-09-01
161
+
162
+ ### Added
163
+
164
+ - Quick-controls panel gains an enable toggle, an automatic day-cycle toggle,
165
+ and a reset-to-defaults button. Disabling the skin now only tears down the
166
+ ocean surface while keeping the button and panel, so the skin can always be
167
+ re-enabled from the same page.
168
+ - Public npm publishing metadata and guarded release automation for DSH
169
+ Desktop managed installation.
170
+
171
+ ### Fixed
172
+
173
+ - Dragging the daylight slider now unchecks the automatic day-cycle toggle to
174
+ match the persisted state.
175
+ - Native source integration now supports Harness `0.1.2-alpha.3` and its split
176
+ client store, renderer, and session services.
177
+ - Browsers without WebGPU can use a capped low-end WebGL2 fallback instead of
178
+ stopping at an unavailable screen.
179
+
180
+ ## 1.2.1 — 2026-08-18
181
+
182
+ ### Changed
183
+
184
+ - The Chrome/Edge extension is now Harness-only and no longer replaces the
185
+ browser new-tab page.
186
+ - Loopback pages must match the DeepSeek Harness title, root element, and
187
+ server-injected boot marker before the extension changes their DOM.
188
+ - Browser acceptance now proves that real Harness pages are skinned while a
189
+ generic localhost app and an existing third-party new-tab homepage remain
190
+ untouched.
191
+
192
+ ## 1.2.0 — 2026-08-17
193
+
194
+ ### Added
195
+
196
+ - A root `dsh.bundle` package that installs directly into DeepSeek Harness.
197
+ - Lower-left quick controls for wave size, daylight, glass opacity, and the
198
+ automatic day/night cycle in the one-line DSH installation.
199
+ - A DeepSeek Harness-specific marketplace cover and four 40%-glass gallery
200
+ animations covering dark mode, light mode, waves, and sunset.
201
+ - Host-route boundary tests for local renderer assets.
202
+
203
+ ### Fixed
204
+
205
+ - Kept the native Settings dialog above the conversation composer at wide
206
+ aspect ratios.
207
+ - Restored the lower-left Skin settings launcher and persisted every control.
208
+
209
+ ## 1.1.0 — 2026-08-17
210
+
211
+ - Added the native Harness source integration, static installer, browser
212
+ acceptance coverage, and bilingual 40%-glass gallery.
213
+
214
+ ## 1.0.0 — 2026-08-14
215
+
216
+ - Initial Backspace WebGPU showcase and Chrome/Edge extension.
package/LICENSE ADDED
@@ -0,0 +1,22 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Open Sea Skin contributors (upstream: d-dev0101/open-sea-skin)
4
+ Copyright (c) 2026 Zed Space Skin contributors
5
+
6
+ Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ of this software and associated documentation files (the "Software"), to deal
8
+ in the Software without restriction, including without limitation the rights
9
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ copies of the Software, and to permit persons to whom the Software is
11
+ furnished to do so, subject to the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be included in all
14
+ copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
+ SOFTWARE.
package/README.en.md ADDED
@@ -0,0 +1,97 @@
1
+ <div align="center">
2
+ <img src="https://raw.githubusercontent.com/hetonghao/dsh-zed-space/main/extension/icons/icon128.png" width="80" height="80" alt="Zed Space mark" />
3
+ <h1>Zed Space Skin</h1>
4
+ <p>Dynamic backgrounds and interface skins for DeepSeek Harness</p>
5
+ <p><a href="README.md">简体中文</a> · <strong>English</strong></p>
6
+ </div>
7
+
8
+ Ocean, two cosmic views, and local videos for your Harness workspace. Each scene keeps its own settings, with smooth transitions between backgrounds.
9
+
10
+ **1.0.0 · Package name: `dsh-zed-space`.** See the [release record](https://github.com/hetonghao/dsh-zed-space/blob/main/docs/publishing/releases/1.0.0.md) for downloads and marketplace review status.
11
+
12
+ [Source](https://github.com/hetonghao/dsh-zed-space) · [Installation](https://github.com/hetonghao/dsh-zed-space/blob/main/docs/dsh-plugin.md) · [Issues](https://github.com/hetonghao/dsh-zed-space/issues)
13
+
14
+ This is an independent community plugin for DeepSeek Harness, not an official DeepSeek product or a skin for the DeepSeek web chat site.
15
+
16
+ ## Current features
17
+
18
+ | Scene or feature | What it does |
19
+ | --- | --- |
20
+ | Live ocean | Adjust waves and daylight, or enable the automatic day cycle. |
21
+ | Two cosmic views | Switch between horizon and vortex, with separate glow, stars, and motion settings. |
22
+ | Per-scene settings | Keep scene parameters and glass opacity; optionally adjust the conversation background independently. |
23
+ | Local video library | Import multiple files, view thumbnails, enable one video, rename, remove, and restore after reopening. |
24
+ | Smooth transitions | Wait for the next frame before blending; both cosmic views transition within one renderer. |
25
+
26
+ Each video is limited to **32 MiB, 30 seconds, and 1080p**. See [local video background](https://github.com/hetonghao/dsh-zed-space/blob/main/docs/video-background.md) for formats and storage details. Media stays on the device and is not automatically uploaded or synced through a browser account. **The local acceptance build includes the official video skin gallery.** Open “Discover official animated skins” from “Local video” to browse, preview, and download; applying a downloaded video is a separate action. The gallery service currently runs locally. See [local marketplace integration](docs/market-integration.md).
27
+
28
+ ## Scene gallery
29
+
30
+ These five screenshots were captured in the real **DeepSeek Harness Web 0.2.1-rc.3** application with `dsh-zed-space@1.0.0` installed in a separate temporary profile. Each image shows the active wallpaper’s settings: glass opacity at its minimum of **40%**, with independent conversation opacity enabled at **60%**. The PNGs are compressed without resizing. See the [capture environment, settings, and media sources](https://github.com/hetonghao/dsh-zed-space/blob/main/docs/screenshots/README.md).
31
+
32
+ ### Black hole · event horizon
33
+
34
+ ![Event horizon running in DeepSeek Harness Web](https://raw.githubusercontent.com/hetonghao/dsh-zed-space/main/docs/screenshots/harness-event-horizon.png)
35
+
36
+ ### Black hole · accretion vortex
37
+
38
+ ![Accretion vortex running in DeepSeek Harness Web](https://raw.githubusercontent.com/hetonghao/dsh-zed-space/main/docs/screenshots/harness-accretion-vortex.png)
39
+
40
+ ### Ocean · golden hour
41
+
42
+ ![Ocean background running in the light theme of DeepSeek Harness Web](https://raw.githubusercontent.com/hetonghao/dsh-zed-space/main/docs/screenshots/harness-ocean.png)
43
+
44
+ ### Local video · sea of clouds
45
+
46
+ ![Sea of clouds video wallpaper playing in DeepSeek Harness Web](https://raw.githubusercontent.com/hetonghao/dsh-zed-space/main/docs/screenshots/harness-video-clouds.png)
47
+
48
+ ### Local video · deep dive
49
+
50
+ ![Deep dive video wallpaper playing in DeepSeek Harness Web](https://raw.githubusercontent.com/hetonghao/dsh-zed-space/main/docs/screenshots/harness-video-deep-dive.png)
51
+
52
+ Both videos were imported through the local video library and played in the application. They are demonstration media and are not included with the plugin.
53
+
54
+ ## Installation
55
+
56
+ In Harness, open Plugins → Add plugin and enter `dsh-zed-space@1.0.0`. For Harness Web:
57
+
58
+ ```sh
59
+ dsh plugin --profile web add dsh-zed-space@1.0.0
60
+ ```
61
+
62
+ Alternatively, download `dsh-zed-space-1.0.0.tgz` from the [GitHub Release](https://github.com/hetonghao/dsh-zed-space/releases/tag/v1.0.0) and install using its local path. Restart the corresponding Harness instance after installation.
63
+
64
+ When upgrading from Backspace, remove the old plugin from the same profile before adding the new one. Keep your settings and video data. See [installation and migration](https://github.com/hetonghao/dsh-zed-space/blob/main/docs/install.zh.md).
65
+
66
+ ## Build and preview locally
67
+
68
+ Requires Node.js 20+. From the repository directory:
69
+
70
+ ```sh
71
+ npm ci
72
+ npm run build
73
+ npm run build:site
74
+ npm test
75
+ ```
76
+
77
+ `pages-dist/` contains the static website and can be previewed through a local HTTP server. Pages deployment is manual and does not run with npm or GitHub releases.
78
+
79
+ See [plugin integration](https://github.com/hetonghao/dsh-zed-space/blob/main/docs/dsh-plugin.md), [source integration](https://github.com/hetonghao/dsh-zed-space/blob/main/harness-plugin/README.md), and [migration notes](https://github.com/hetonghao/dsh-zed-space/blob/main/docs/install.zh.md). Do not delete the entire Harness configuration or session directory.
80
+
81
+ ## Common questions
82
+
83
+ **Can I install this version from npm or a marketplace?**
84
+
85
+ Use the exact package version or Release file above. Marketplace listing requires maintainer review; see the [release record](https://github.com/hetonghao/dsh-zed-space/blob/main/docs/publishing/releases/1.0.0.md).
86
+
87
+ **Is there a shared wallpaper marketplace?**
88
+
89
+ The local acceptance build connects to the official video skin gallery and shares its catalog with Zed Space. You can browse, download to “My videos,” and apply a video in DSH. It is not publicly released; see [local marketplace integration](docs/market-integration.md) for setup requirements.
90
+
91
+ **Why is historical Backspace content still present?**
92
+
93
+ This project evolved from Backspace. Historical changelog entries and media remain for provenance. Git tags in the current repository restart at `v1.0.0`. See [THIRD_PARTY_NOTICES.md](https://github.com/hetonghao/dsh-zed-space/blob/main/THIRD_PARTY_NOTICES.md) and [LICENSE](https://github.com/hetonghao/dsh-zed-space/blob/main/LICENSE) for upstream authorship and licensing.
94
+
95
+ ## Development
96
+
97
+ [Changelog](https://github.com/hetonghao/dsh-zed-space/blob/main/CHANGELOG.md) · [Contributing](https://github.com/hetonghao/dsh-zed-space/blob/main/CONTRIBUTING.md) · [Privacy](https://github.com/hetonghao/dsh-zed-space/blob/main/docs/privacy.md) · [Security](https://github.com/hetonghao/dsh-zed-space/blob/main/SECURITY.md)
package/README.md CHANGED
@@ -1,3 +1,97 @@
1
- # Temporary Holding Version
1
+ <div align="center">
2
+ <img src="https://raw.githubusercontent.com/hetonghao/dsh-zed-space/main/extension/icons/icon128.png" width="80" height="80" alt="Zed Space 标志" />
3
+ <h1>Zed Space Skin</h1>
4
+ <p>DeepSeek Harness 动态背景与界面皮肤</p>
5
+ <p><strong>简体中文</strong> · <a href="README.en.md">English</a></p>
6
+ </div>
2
7
 
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.
8
+ 海洋、宇宙双视角和本地视频,让 Harness 随你的工作场景变化。每个场景单独保存参数,切换时平滑衔接。
9
+
10
+ **1.0.0 · 技术包名 `dsh-zed-space`。** 下载安装入口与市场收录进度见[发布记录](https://github.com/hetonghao/dsh-zed-space/blob/main/docs/publishing/releases/1.0.0.md)。
11
+
12
+ [源代码](https://github.com/hetonghao/dsh-zed-space) · [安装说明](https://github.com/hetonghao/dsh-zed-space/blob/main/docs/install.zh.md) · [问题反馈](https://github.com/hetonghao/dsh-zed-space/issues)
13
+
14
+ 本项目是 DeepSeek Harness 的社区插件,不是 DeepSeek 官方产品,也不适用于 DeepSeek 网页聊天站点。
15
+
16
+ ## 当前功能
17
+
18
+ | 场景或功能 | 可以做什么 |
19
+ | --- | --- |
20
+ | 实时海洋 | 调节波浪、日光,或启用自动昼夜变化。 |
21
+ | 宇宙双视角 | 在地平线和漩涡视角间切换,分别调整光晕、星点与运动参数。 |
22
+ | 每场景参数 | 各场景保存自己的参数和玻璃浓度;可单独调整对话面板背景。 |
23
+ | 本地视频库 | 多选导入、缩略图列表、勾选启用一个、重命名和移除,重新打开后恢复。 |
24
+ | 平滑切换 | 新画面就绪后交叠过渡;宇宙双视角在同一个渲染器内切换。 |
25
+
26
+ 单个视频上限为 **32 MiB、30 秒、1080p**,支持范围及存储说明见[本地视频背景](https://github.com/hetonghao/dsh-zed-space/blob/main/docs/video-background.md)。素材保存在本机,不会自动上传或随浏览器账号同步。**本地验收版已接入官方视频皮肤画廊**:在「本地视频」中点击「发现官方精美动态皮肤」,即可搜索、预览和下载;校验入库后再显式应用。市场服务目前仅在本机运行,详见[本地市场接入](docs/market-integration.md)。
27
+
28
+ ## 场景展示
29
+
30
+ 以下五张截图来自 **DeepSeek Harness Web 0.2.1-rc.3** 的真实运行界面,安装的是 `dsh-zed-space@1.0.0`。截图使用独立临时 profile,展示当前壁纸的配置面板:玻璃不透明度为最低值 **40%**,开启对话面板独立调整并设为 **60%**。图片已压缩;[截图环境、参数与素材来源](https://github.com/hetonghao/dsh-zed-space/blob/main/docs/screenshots/README.md)均有记录。
31
+
32
+ ### 黑洞 · 事件视界
33
+
34
+ ![事件视界在 DeepSeek Harness Web 中的真实运行截图](https://raw.githubusercontent.com/hetonghao/dsh-zed-space/main/docs/screenshots/harness-event-horizon.png)
35
+
36
+ ### 黑洞 · 吸积涡旋
37
+
38
+ ![吸积涡旋在 DeepSeek Harness Web 中的真实运行截图](https://raw.githubusercontent.com/hetonghao/dsh-zed-space/main/docs/screenshots/harness-accretion-vortex.png)
39
+
40
+ ### 海面 · 金色时刻
41
+
42
+ ![浅色界面下海面背景在 DeepSeek Harness Web 中的真实运行截图](https://raw.githubusercontent.com/hetonghao/dsh-zed-space/main/docs/screenshots/harness-ocean.png)
43
+
44
+ ### 本地视频 · 云海日出
45
+
46
+ ![云海日出视频壁纸在 DeepSeek Harness Web 中的真实运行截图](https://raw.githubusercontent.com/hetonghao/dsh-zed-space/main/docs/screenshots/harness-video-clouds.png)
47
+
48
+ ### 本地视频 · 深蓝潜行
49
+
50
+ ![深蓝潜行视频壁纸在 DeepSeek Harness Web 中的真实运行截图](https://raw.githubusercontent.com/hetonghao/dsh-zed-space/main/docs/screenshots/harness-video-deep-dive.png)
51
+
52
+ 两段视频通过「本地视频」导入并实际播放,仅作效果展示,不随插件分发。
53
+
54
+ ## 安装
55
+
56
+ 在 Harness 的「插件 → 添加插件」中输入 `dsh-zed-space@1.0.0`。Harness Web 可运行:
57
+
58
+ ```sh
59
+ dsh plugin --profile web add dsh-zed-space@1.0.0
60
+ ```
61
+
62
+ 也可从 [GitHub Release](https://github.com/hetonghao/dsh-zed-space/releases/tag/v1.0.0) 下载 `dsh-zed-space-1.0.0.tgz`,将本地文件路径填入安装命令。安装后重启对应的 Harness 实例。
63
+
64
+ 从 Backspace 升级时,先在同一 profile 卸载旧插件,再安装新包;保留原有配置与视频数据。详见[安装与迁移](https://github.com/hetonghao/dsh-zed-space/blob/main/docs/install.zh.md)。
65
+
66
+ ## 本地构建与预览
67
+
68
+ 需要 Node.js 20+。在仓库目录运行:
69
+
70
+ ```sh
71
+ npm ci
72
+ npm run build
73
+ npm run build:site
74
+ npm test
75
+ ```
76
+
77
+ `pages-dist/` 是官网静态产物,可通过本地 HTTP 服务预览。Pages 工作流只保留手动触发,不随 npm 或 GitHub Release 自动发布。
78
+
79
+ 开发者接入方式见[插件构建说明](https://github.com/hetonghao/dsh-zed-space/blob/main/docs/dsh-plugin.md)和[源码集成](https://github.com/hetonghao/dsh-zed-space/blob/main/harness-plugin/README.md)。旧版迁移注意事项见[安装说明](https://github.com/hetonghao/dsh-zed-space/blob/main/docs/install.zh.md),不要删除整个 Harness 配置或会话目录。
80
+
81
+ ## 常见问题
82
+
83
+ **现在能从 npm 或市场安装新版吗?**
84
+
85
+ 可按上方精确版本或 Release 文件安装。社区市场需要维护者审核,收录状态见[发布记录](https://github.com/hetonghao/dsh-zed-space/blob/main/docs/publishing/releases/1.0.0.md)。
86
+
87
+ **有共享壁纸市场吗?**
88
+
89
+ 已接通本地官方视频皮肤画廊,与 Zed Space 网站复用目录。支持在 DSH 内浏览、下载到「我的视频」并应用;尚未公开发布,启动条件见[本地市场接入](docs/market-integration.md)。
90
+
91
+ **历史 Backspace 内容为什么还在?**
92
+
93
+ 本项目从 Backspace 演进而来。历史变更记录和旧媒体保留溯源用途。当前仓库的 Git tag 从 `v1.0.0` 重新开始。上游作者和许可记录见 [THIRD_PARTY_NOTICES.md](https://github.com/hetonghao/dsh-zed-space/blob/main/THIRD_PARTY_NOTICES.md) 与 [LICENSE](https://github.com/hetonghao/dsh-zed-space/blob/main/LICENSE)。
94
+
95
+ ## 开发资料
96
+
97
+ [变更记录](https://github.com/hetonghao/dsh-zed-space/blob/main/CHANGELOG.md) · [贡献指南](https://github.com/hetonghao/dsh-zed-space/blob/main/CONTRIBUTING.md) · [隐私说明](https://github.com/hetonghao/dsh-zed-space/blob/main/docs/privacy.md) · [安全政策](https://github.com/hetonghao/dsh-zed-space/blob/main/SECURITY.md)
package/README.zh.md ADDED
@@ -0,0 +1,97 @@
1
+ <div align="center">
2
+ <img src="https://raw.githubusercontent.com/hetonghao/dsh-zed-space/main/extension/icons/icon128.png" width="80" height="80" alt="Zed Space 标志" />
3
+ <h1>Zed Space Skin</h1>
4
+ <p>DeepSeek Harness 动态背景与界面皮肤</p>
5
+ <p><strong>简体中文</strong> · <a href="README.en.md">English</a></p>
6
+ </div>
7
+
8
+ 海洋、宇宙双视角和本地视频,让 Harness 随你的工作场景变化。每个场景单独保存参数,切换时平滑衔接。
9
+
10
+ **1.0.0 · 技术包名 `dsh-zed-space`。** 下载安装入口与市场收录进度见[发布记录](https://github.com/hetonghao/dsh-zed-space/blob/main/docs/publishing/releases/1.0.0.md)。
11
+
12
+ [源代码](https://github.com/hetonghao/dsh-zed-space) · [安装说明](https://github.com/hetonghao/dsh-zed-space/blob/main/docs/install.zh.md) · [问题反馈](https://github.com/hetonghao/dsh-zed-space/issues)
13
+
14
+ 本项目是 DeepSeek Harness 的社区插件,不是 DeepSeek 官方产品,也不适用于 DeepSeek 网页聊天站点。
15
+
16
+ ## 当前功能
17
+
18
+ | 场景或功能 | 可以做什么 |
19
+ | --- | --- |
20
+ | 实时海洋 | 调节波浪、日光,或启用自动昼夜变化。 |
21
+ | 宇宙双视角 | 在地平线和漩涡视角间切换,分别调整光晕、星点与运动参数。 |
22
+ | 每场景参数 | 各场景保存自己的参数和玻璃浓度;可单独调整对话面板背景。 |
23
+ | 本地视频库 | 多选导入、缩略图列表、勾选启用一个、重命名和移除,重新打开后恢复。 |
24
+ | 平滑切换 | 新画面就绪后交叠过渡;宇宙双视角在同一个渲染器内切换。 |
25
+
26
+ 单个视频上限为 **32 MiB、30 秒、1080p**,支持范围及存储说明见[本地视频背景](https://github.com/hetonghao/dsh-zed-space/blob/main/docs/video-background.md)。素材保存在本机,不会自动上传或随浏览器账号同步。**本地验收版已接入官方视频皮肤画廊**:在「本地视频」中点击「发现官方精美动态皮肤」,即可搜索、预览和下载;校验入库后再显式应用。市场服务目前仅在本机运行,详见[本地市场接入](docs/market-integration.md)。
27
+
28
+ ## 场景展示
29
+
30
+ 以下五张截图来自 **DeepSeek Harness Web 0.2.1-rc.3** 的真实运行界面,安装的是 `dsh-zed-space@1.0.0`。截图使用独立临时 profile,展示当前壁纸的配置面板:玻璃不透明度为最低值 **40%**,开启对话面板独立调整并设为 **60%**。图片已压缩;[截图环境、参数与素材来源](https://github.com/hetonghao/dsh-zed-space/blob/main/docs/screenshots/README.md)均有记录。
31
+
32
+ ### 黑洞 · 事件视界
33
+
34
+ ![事件视界在 DeepSeek Harness Web 中的真实运行截图](https://raw.githubusercontent.com/hetonghao/dsh-zed-space/main/docs/screenshots/harness-event-horizon.png)
35
+
36
+ ### 黑洞 · 吸积涡旋
37
+
38
+ ![吸积涡旋在 DeepSeek Harness Web 中的真实运行截图](https://raw.githubusercontent.com/hetonghao/dsh-zed-space/main/docs/screenshots/harness-accretion-vortex.png)
39
+
40
+ ### 海面 · 金色时刻
41
+
42
+ ![浅色界面下海面背景在 DeepSeek Harness Web 中的真实运行截图](https://raw.githubusercontent.com/hetonghao/dsh-zed-space/main/docs/screenshots/harness-ocean.png)
43
+
44
+ ### 本地视频 · 云海日出
45
+
46
+ ![云海日出视频壁纸在 DeepSeek Harness Web 中的真实运行截图](https://raw.githubusercontent.com/hetonghao/dsh-zed-space/main/docs/screenshots/harness-video-clouds.png)
47
+
48
+ ### 本地视频 · 深蓝潜行
49
+
50
+ ![深蓝潜行视频壁纸在 DeepSeek Harness Web 中的真实运行截图](https://raw.githubusercontent.com/hetonghao/dsh-zed-space/main/docs/screenshots/harness-video-deep-dive.png)
51
+
52
+ 两段视频通过「本地视频」导入并实际播放,仅作效果展示,不随插件分发。
53
+
54
+ ## 安装
55
+
56
+ 在 Harness 的「插件 → 添加插件」中输入 `dsh-zed-space@1.0.0`。Harness Web 可运行:
57
+
58
+ ```sh
59
+ dsh plugin --profile web add dsh-zed-space@1.0.0
60
+ ```
61
+
62
+ 也可从 [GitHub Release](https://github.com/hetonghao/dsh-zed-space/releases/tag/v1.0.0) 下载 `dsh-zed-space-1.0.0.tgz`,将本地文件路径填入安装命令。安装后重启对应的 Harness 实例。
63
+
64
+ 从 Backspace 升级时,先在同一 profile 卸载旧插件,再安装新包;保留原有配置与视频数据。详见[安装与迁移](https://github.com/hetonghao/dsh-zed-space/blob/main/docs/install.zh.md)。
65
+
66
+ ## 本地构建与预览
67
+
68
+ 需要 Node.js 20+。在仓库目录运行:
69
+
70
+ ```sh
71
+ npm ci
72
+ npm run build
73
+ npm run build:site
74
+ npm test
75
+ ```
76
+
77
+ `pages-dist/` 是官网静态产物,可通过本地 HTTP 服务预览。Pages 工作流只保留手动触发,不随 npm 或 GitHub Release 自动发布。
78
+
79
+ 开发者接入方式见[插件构建说明](https://github.com/hetonghao/dsh-zed-space/blob/main/docs/dsh-plugin.md)和[源码集成](https://github.com/hetonghao/dsh-zed-space/blob/main/harness-plugin/README.md)。旧版迁移注意事项见[安装说明](https://github.com/hetonghao/dsh-zed-space/blob/main/docs/install.zh.md),不要删除整个 Harness 配置或会话目录。
80
+
81
+ ## 常见问题
82
+
83
+ **现在能从 npm 或市场安装新版吗?**
84
+
85
+ 可按上方精确版本或 Release 文件安装。社区市场需要维护者审核,收录状态见[发布记录](https://github.com/hetonghao/dsh-zed-space/blob/main/docs/publishing/releases/1.0.0.md)。
86
+
87
+ **有共享壁纸市场吗?**
88
+
89
+ 已接通本地官方视频皮肤画廊,与 Zed Space 网站复用目录。支持在 DSH 内浏览、下载到「我的视频」并应用;尚未公开发布,启动条件见[本地市场接入](docs/market-integration.md)。
90
+
91
+ **历史 Backspace 内容为什么还在?**
92
+
93
+ 本项目从 Backspace 演进而来。历史变更记录和旧媒体保留溯源用途。当前仓库的 Git tag 从 `v1.0.0` 重新开始。上游作者和许可记录见 [THIRD_PARTY_NOTICES.md](https://github.com/hetonghao/dsh-zed-space/blob/main/THIRD_PARTY_NOTICES.md) 与 [LICENSE](https://github.com/hetonghao/dsh-zed-space/blob/main/LICENSE)。
94
+
95
+ ## 开发资料
96
+
97
+ [变更记录](https://github.com/hetonghao/dsh-zed-space/blob/main/CHANGELOG.md) · [贡献指南](https://github.com/hetonghao/dsh-zed-space/blob/main/CONTRIBUTING.md) · [隐私说明](https://github.com/hetonghao/dsh-zed-space/blob/main/docs/privacy.md) · [安全政策](https://github.com/hetonghao/dsh-zed-space/blob/main/SECURITY.md)
package/SECURITY.md ADDED
@@ -0,0 +1,57 @@
1
+ # Security policy
2
+
3
+ ## Supported version
4
+
5
+ Zed Space Skin 1.0.0 is an unpublished candidate. After its first release, security fixes target the latest maintained release; inherited historical tags do not establish a Zed Space Skin release.
6
+
7
+ ## Reporting a vulnerability
8
+
9
+ Please use [the new repository's security page](https://github.com/hetonghao/dsh-zed-space/security) and its **Report a vulnerability** form so a
10
+ report and any proof of concept remain private until a fix is available. If
11
+ private vulnerability reporting is unavailable, open a minimal issue that
12
+ does not include exploit details and ask the maintainer for a private channel.
13
+
14
+ Include the affected installation path (DSH plugin, source integration, static
15
+ installer, or browser extension), browser and Harness version, reproduction
16
+ steps, and expected impact.
17
+
18
+ ## Security model
19
+
20
+ - 渲染器、three.js 与字体随包提供,不加载远程代码或遥测。DSH 视频市场新增固定
21
+ loopback 目录与媒体读取,用于用户主动浏览和添加视频;范围见下文。
22
+ - Preferences contain only appearance values and stay in `localStorage` or
23
+ `chrome.storage.sync`, depending on the installation path.
24
+ - DSH Host 静态路由仅提供包内 `native-dist` 文件;市场路由另外提供受限的目录与媒体
25
+ 读取。两者仅接受 `GET` 和 `HEAD`。
26
+ - The extension is limited to `storage` and loopback Harness URLs on
27
+ `127.0.0.1` or `localhost`.
28
+
29
+ These constraints are covered by repository and browser acceptance tests but
30
+ do not replace independent review of code before installation.
31
+
32
+ ## 用户素材存储
33
+
34
+ 用户导入的视频、缩略图、显示名称及启用项仅由背景 iframe 保存在 `backspace-videos`
35
+ IndexedDB 中,不进入 localStorage 或 chrome.storage.sync,不外传。每个文件上限 32 MiB,
36
+ 整体容量受浏览器配额限制;支持面板内逐项移除,也可清除对应站点/扩展的数据。
37
+ 移除不会改变磁盘上的原始文件。
38
+
39
+ 消息边界校验父窗口来源、实际 origin 和每次挂载生成的 token。素材按浏览器认证的
40
+ 宿主 origin 隔离;URL 中自报的 parentOrigin 不单独作为访问依据。文件及名称只以 Blob、
41
+ textContent 或表单值传递,用户名称不拼接进 HTML。文件大小、容器、编码、视频轨、尺寸、
42
+ 时长与读取时限均在 iframe 的接收边界检查,写入采用 IndexedDB 事务。
43
+
44
+ ## 本地视频市场网络边界
45
+
46
+ 市场页面固定为 `http://127.0.0.1:4173`。新增请求仅用于读取
47
+ `http://127.0.0.1:8080/api/catalog` 的 Ed25519 签名目录及目录内
48
+ `http://127.0.0.1:9000/zed-space-public/` 媒体;插件使用固定公钥,禁止重定向、
49
+ 任意 URL 代理及通过 HTTP 修改信任配置。此接入不上传素材、不加入遥测。
50
+
51
+ 嵌入通信校验实际窗口、准确 origin、版本和 session;网站提交的素材 ID 与哈希必须
52
+ 重新匹配可信目录。插件下载时校验字节数及 SHA-256,现有视频接收端再次检查哈希、
53
+ 真实容器和兼容性后才写入 IndexedDB。来源去重按当前 owner 范围执行,不跨宿主读取。
54
+ 导入不等于应用;取消可能保留已原子写入的副本,但不会因下载完成而自动切换背景。
55
+
56
+ 嵌入握手失败时不回退浏览器下载。独立市场网站的下载行为保留;完整流程和本地服务
57
+ 要求见[视频市场接入](docs/market-integration.md)。CLI 登录地址含认证信息,不应公开。
@@ -0,0 +1,40 @@
1
+ # 来源与第三方许可
2
+
3
+ Zed Space Skin 继续使用下列上游代码、库和字体。安装版把渲染依赖与字体打包在本地;网络安装、更新和访问托管网站不属于离线运行承诺。
4
+
5
+ ## Open Sea Skin 与本项目沿革
6
+
7
+ - 上游项目:https://github.com/d-dev0101/open-sea-skin
8
+ - 本项目旧名 Backspace:https://github.com/hetonghao/dsh-backspace
9
+ - 许可:MIT
10
+ - 上游版权:© 2026 Open Sea Skin contributors
11
+ - 本项目版权:© 2026 Zed Space Skin contributors(包含以 Backspace 名义提交的贡献)
12
+
13
+ 海洋渲染、Harness 集成、扩展与安装器继承自 Open Sea Skin。Backspace 是本项目的旧名;宇宙双视角、本地视频、各皮肤配置与背景切换延续了更名前的功能历史。项目更名后,自有贡献者署名统一为 Zed Space Skin contributors,历史贡献和提交记录保留。`LICENSE` 继续保留 Open Sea Skin 的上游版权声明和完整 MIT 许可。
14
+
15
+ ## three.js 0.178.0
16
+
17
+ - 项目:https://threejs.org/
18
+ - 源码:https://github.com/mrdoob/three.js/tree/r178
19
+ - 许可:MIT
20
+ - 版权:© 2010–2025 three.js authors
21
+ - 本地许可:`shared/vendor/licenses/three-LICENSE.txt`(构建后随 runtime 分发)
22
+
23
+ 内置 WebGPU/TSL 构建已压缩,导入路径调整为本地相对地址;未携带上游可选的远程 WebGPU 调试导入。
24
+
25
+ ## Geist 字体
26
+
27
+ - 项目:https://vercel.com/font
28
+ - 源码:https://github.com/vercel/geist-font
29
+ - 许可:SIL Open Font License 1.1
30
+ - 本地许可:`shared/vendor/licenses/geist-OFL.txt`(构建后随字体分发)
31
+
32
+ `.woff2` 文件本地提供。OFL 适用于字体文件,本仓库自有源码仍按 MIT 分发。
33
+
34
+ ## Zed Space 品牌标志
35
+
36
+ 本次使用用户现有同品牌项目的标志:`../zed-space/apps/website/public/brand/zed-space-mark.png`。本仓库的扩展图标与展示标志由该图片复用、缩放而来。此记录说明资产来源,不代表已完成第三方商标或全部历史素材权利清查。
37
+
38
+ ## 历史演示
39
+
40
+ `site/` 保留原始参考实现,使用 jsDelivr 加载 three.js 0.178.0 与 Geist,保持其历史来源。自包含扩展和 Harness 安装版不使用这些 CDN 地址。
@@ -0,0 +1,6 @@
1
+ # DeepSeek Harness bundle layer. Installing this repository with
2
+ # `dsh plugin --profile web add github:hetonghao/dsh-zed-space` adds the Host
3
+ # route and the matching browser module without modifying Harness source.
4
+ - insert:
5
+ - id: dsh-zed-space
6
+ name: dsh-zed-space