dsh-outerwilds-theme 0.0.0-stage → 0.1.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/ARTWORK.md +5 -0
- package/LICENSE +25 -0
- package/README.md +88 -2
- package/cordis.patch.yml +3 -0
- package/docs/screenshots/preview.png +0 -0
- package/lib/client.js +533 -0
- package/lib/index.js +20 -0
- package/lib/index.js.map +7 -0
- package/package.json +62 -4
package/ARTWORK.md
ADDED
package/LICENSE
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
License scope: The MIT License below applies to this project's software code
|
|
2
|
+
and original documentation. Background artwork, artwork previews, and embedded
|
|
3
|
+
artwork are excluded. See ARTWORK.md for their source and usage information.
|
|
4
|
+
|
|
5
|
+
MIT License
|
|
6
|
+
|
|
7
|
+
Copyright (c) 2026 dsh-outerwilds-theme contributors
|
|
8
|
+
|
|
9
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
10
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
11
|
+
in the Software without restriction, including without limitation the rights
|
|
12
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
13
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
14
|
+
furnished to do so, subject to the following conditions:
|
|
15
|
+
|
|
16
|
+
The above copyright notice and this permission notice shall be included in all
|
|
17
|
+
copies or substantial portions of the Software.
|
|
18
|
+
|
|
19
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
20
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
21
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
22
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
23
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
24
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
25
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,3 +1,89 @@
|
|
|
1
|
-
#
|
|
1
|
+
# dsh-outerwilds-theme
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
一个以《星际拓荒》(Outer Wilds)为主题的 DeepSeek Harness(DSH)外观插件。在篝火和星空下,继续聊天、写代码和整理想法。
|
|
4
|
+
|
|
5
|
+

|
|
6
|
+
|
|
7
|
+
- 篝火、烟雾和零星火星的小动效,也可以切换成完全静止。
|
|
8
|
+
- 背景随窗口大小调整,营地保持在右下角。
|
|
9
|
+
- 可以调整背景亮度、星星数量、面板透明度、字号和布局密度。
|
|
10
|
+
- 支持 DSH Web 和 Windows Desktop。
|
|
11
|
+
|
|
12
|
+
目前初版是 **0.1.0**,主题效果已在 **DSH 0.2.0-rc.2** 的 Web 与 Windows Desktop 上完成个人使用验收。其他系统和 DSH 版本还没有验证。
|
|
13
|
+
|
|
14
|
+
## 安装和启用
|
|
15
|
+
|
|
16
|
+
从 [Releases](https://github.com/xikan0/dsh-outerwilds-theme/releases/tag/0.1.0) 下载 `dsh-outerwilds-theme-0.1.0.tgz`。
|
|
17
|
+
|
|
18
|
+
### Web
|
|
19
|
+
|
|
20
|
+
先安装 DSH,并确保终端能运行 `dsh`。在安装包所在目录运行:
|
|
21
|
+
|
|
22
|
+
```powershell
|
|
23
|
+
dsh plugin --profile web add ./dsh-outerwilds-theme-0.1.0.tgz
|
|
24
|
+
dsh web
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
如果 Web 已经运行,安装后需要重启。
|
|
28
|
+
|
|
29
|
+
### Harness Desktop
|
|
30
|
+
|
|
31
|
+
如果你的版本提供插件管理入口,在侧栏打开 **插件 → 添加插件**,填入下载的安装包的完整路径,例如 `C:/Downloads/dsh-outerwilds-theme-0.1.0.tgz`。安装并启用插件后,完全退出应用(包括托盘)并重新打开。
|
|
32
|
+
|
|
33
|
+
桌面版和 Web 的插件安装位置不同。命令安装请参考 [DSH 官方桌面端说明](https://github.com/deepseek-ai/deepseek-harness/blob/master/apps/desktop/README.zh.md#bundled-command-runtime),使用桌面版随附的命令;旧版本可能不支持该方式,不要用 npm 版 `dsh` 修改桌面端的插件目录。
|
|
34
|
+
|
|
35
|
+
如果使用桌面版随附的 `dsh` 命令,先完全退出 Desktop,再在安装包所在目录运行:
|
|
36
|
+
|
|
37
|
+
```powershell
|
|
38
|
+
dsh plugin --profile desktop add ./dsh-outerwilds-theme-0.1.0.tgz
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
安装后重新打开 Desktop。
|
|
42
|
+
|
|
43
|
+
### 启用主题
|
|
44
|
+
|
|
45
|
+
打开 **设置 → dsh-outerwilds-theme → 启用深色主题**。首次安装默认关闭,手动启用后才会显示。
|
|
46
|
+
|
|
47
|
+
建议关闭其他完整主题、壁纸和自定义配色,以免相互覆盖。切换到浅色时,篝火场景会自动停用。
|
|
48
|
+
|
|
49
|
+
## 调整外观
|
|
50
|
+
|
|
51
|
+
| 设置 | 可以做什么 |
|
|
52
|
+
| --- | --- |
|
|
53
|
+
| 背景亮度 | 调整整个背景的明暗,默认 35% |
|
|
54
|
+
| 星星数量 | 少、标准、多;调整的是插画外的扩展星空 |
|
|
55
|
+
| 动效强度 | 静止、轻微、增强;只影响营地,星空始终静止 |
|
|
56
|
+
| 面板不透明度 | 调整输入框和菜单的透明程度,默认 96% |
|
|
57
|
+
| 正文字号 | 与 DSH 原生字号同步 |
|
|
58
|
+
| 布局密度 | 舒适或紧凑 |
|
|
59
|
+
|
|
60
|
+
设置修改后会立即预览。“恢复主题默认”会重置主题参数,保留启用状态和正文字号。
|
|
61
|
+
|
|
62
|
+
## 卸载
|
|
63
|
+
|
|
64
|
+
Web 端先关闭主题,再运行:
|
|
65
|
+
|
|
66
|
+
```powershell
|
|
67
|
+
dsh plugin --profile web remove dsh-outerwilds-theme
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
重启 Web 后生效。Desktop 请通过桌面应用自己的插件管理方式移除,再完全退出并重开。
|
|
71
|
+
|
|
72
|
+
## 想自己改一改
|
|
73
|
+
|
|
74
|
+
下载源码后,在项目目录运行:
|
|
75
|
+
|
|
76
|
+
```powershell
|
|
77
|
+
npm ci
|
|
78
|
+
npm run typecheck
|
|
79
|
+
npm test
|
|
80
|
+
npm run build
|
|
81
|
+
npm pack
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
`npm run preview` 可以启动本地样例页,地址是 `http://127.0.0.1:3092`。它用来预览主题,不会调用模型。
|
|
85
|
+
|
|
86
|
+
## 关于素材
|
|
87
|
+
|
|
88
|
+
这是免费的非官方主题。软件代码采用 [MIT 许可](LICENSE),背景图片不包含在 MIT 许可内。素材参考见 [ARTWORK.md](ARTWORK.md)。
|
|
89
|
+
|
package/cordis.patch.yml
ADDED
|
Binary file
|