@qwqweeo123/dsh-wallpaper 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.
- package/LICENSE +21 -0
- package/README.md +35 -0
- package/README.zh.md +35 -0
- package/client.js +1902 -0
- package/cordis.patch.yml +4 -0
- package/icon.svg +7 -0
- package/index.js +606 -0
- package/locale/en.json +4 -0
- package/locale/zh.json +4 -0
- package/package.json +57 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 MingXuanZi
|
|
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
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# dsh-wallpaper
|
|
2
|
+
|
|
3
|
+
A global wallpaper for DeepSeek Harness that stays **consistent across every surface**, not just behind the conversation.
|
|
4
|
+
|
|
5
|
+
English | [中文](README.zh.md)
|
|
6
|
+
|
|
7
|
+
## What it does
|
|
8
|
+
|
|
9
|
+
- **One image, one composite.** Instead of letting each panel keep its own opaque fill, the plugin re-composites the surfaces it walks (frame, columns, sidebar, chat canvas, composer) from the same recipe, so the wallpaper shows through with the *same* weight everywhere — the input box and the conversation area measure identical.
|
|
10
|
+
- **Marketplace + local files.** Search [wallhaven.cc](https://wallhaven.cc) inside **Settings → Wallpaper**, or pick any local image. The source image lives in `~/.dsh/wallpaper`.
|
|
11
|
+
- **Live sliders.** Image blur, mask (veil) opacity, panel opacity and fill mode (cover / contain / tile) apply immediately, no reload.
|
|
12
|
+
- **Native titlebar on the desktop app.** On the Windows desktop build the caption strip and its Electron window-controls overlay are painted opaque from a theme token; the plugin points that token at transparent, so the wallpaper continues to the top edge while the drag region and the caption buttons keep working.
|
|
13
|
+
|
|
14
|
+
## Install
|
|
15
|
+
|
|
16
|
+
From the market: **Settings → Plugin Market → Wallpaper → Install** (the market lists it under **Themes** as well).
|
|
17
|
+
|
|
18
|
+
Manually:
|
|
19
|
+
|
|
20
|
+
```sh
|
|
21
|
+
dsh plugin --profile desktop add dsh-wallpaper
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
## Configure
|
|
25
|
+
|
|
26
|
+
**Settings → Wallpaper** — image source, blur, mask opacity, panel opacity, fill mode. Lower panel opacity means more wallpaper; `0` leaves only the veil.
|
|
27
|
+
|
|
28
|
+
## Compatibility
|
|
29
|
+
|
|
30
|
+
- Any Harness web UI; the titlebar integration applies to the Windows desktop app only (detected from its preload marker).
|
|
31
|
+
- Requires Harness `0.2.0-rc.2` or newer.
|
|
32
|
+
|
|
33
|
+
## License
|
|
34
|
+
|
|
35
|
+
MIT © 2026 MingXuanZi
|
package/README.zh.md
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# dsh-wallpaper 壁纸
|
|
2
|
+
|
|
3
|
+
给 DeepSeek Harness 加全局壁纸,而且做到**每个界面一致**——不只是会话区后面有一张图。
|
|
4
|
+
|
|
5
|
+
[English](README.md) | 中文
|
|
6
|
+
|
|
7
|
+
## 功能
|
|
8
|
+
|
|
9
|
+
- **一张图,一套合成。** 不靠各面板各自不透明,插件会把它遍历到的表面(外框、栏目、侧栏、会话画布、输入框)按同一配方重新合成,壁纸在每处的透出权重相同——输入框与会话区的实测值完全一致。
|
|
10
|
+
- **图库 + 本地图片。** 在 **设置 → 壁纸** 里搜 [wallhaven.cc](https://wallhaven.cc),或直接选本地图片;原图存在 `~/.dsh/wallpaper`。
|
|
11
|
+
- **实时滑杆。** 图片模糊、遮罩(veil)不透明度、面板不透明度、填充模式(覆盖/包含/平铺)改完即生效,不用刷新。
|
|
12
|
+
- **桌面端标题栏一体化。** Windows 桌面端的标题条与 Electron 窗口控件覆盖层默认是不透明的主题色;插件把那个主题变量指向透明,壁纸一直通到窗口顶边,拖拽区和最小化/最大化/关闭按钮照常可用。
|
|
13
|
+
|
|
14
|
+
## 安装
|
|
15
|
+
|
|
16
|
+
市场里:**设置 → 插件市场 → 壁纸 → 安装**(也会出现在市场的 **主题** 标签页)。
|
|
17
|
+
|
|
18
|
+
手动:
|
|
19
|
+
|
|
20
|
+
```sh
|
|
21
|
+
dsh plugin --profile desktop add dsh-wallpaper
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
## 配置
|
|
25
|
+
|
|
26
|
+
**设置 → 壁纸**:图片来源、模糊、遮罩不透明度、面板不透明度、填充模式。面板不透明度越低,壁纸越明显;设为 `0` 就只剩遮罩。
|
|
27
|
+
|
|
28
|
+
## 兼容性
|
|
29
|
+
|
|
30
|
+
- 任意 Harness Web 界面;标题栏一体化只在 Windows 桌面端生效(靠 preload 的标记识别)。
|
|
31
|
+
- 需要 Harness `0.2.0-rc.2` 或更新。
|
|
32
|
+
|
|
33
|
+
## 许可
|
|
34
|
+
|
|
35
|
+
MIT © 2026 MingXuanZi
|